diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c50b437..8a14276 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: - uses: subosito/flutter-action@v2 with: # Matches the `flutter: ">=3.44.0"` constraint in bccm_core/pubspec.yaml. - flutter-version: 3.44.0 + flutter-version: 3.47.2 channel: stable cache: true diff --git a/bccm_core/CHANGELOG.md b/bccm_core/CHANGELOG.md index 41cc7d8..3c2d8b7 100644 --- a/bccm_core/CHANGELOG.md +++ b/bccm_core/CHANGELOG.md @@ -1,3 +1,12 @@ +## 2.0.0 + +- Breaking: requires Dart 3.13 / Flutter 3.47. +- Breaking: `auto_route` 9 -> 11. `pushNamed` etc. are gone; use `pushPath`. +- Breaking: `freezed_annotation` 2 -> 3, `json_annotation` 4.12. Freezed models are now + `abstract` and `Diagnosticable`. +- Chore: `build_runner` 2.16, `graphql_codegen` 3, `json_serializable` 6.14, `mockito` 5.8. +- Chore: dropped `riverpod_annotation` (unused). + ## 0.0.1 * TODO: Describe initial release. diff --git a/bccm_core/lib/src/features/graphql/queries/achievements.graphql.dart b/bccm_core/lib/src/features/graphql/queries/achievements.graphql.dart index 9a82e97..9771dda 100644 --- a/bccm_core/lib/src/features/graphql/queries/achievements.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/achievements.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -136,10 +137,7 @@ class Fragment$Achievement { extension UtilityExtension$Fragment$Achievement on Fragment$Achievement { CopyWith$Fragment$Achievement get copyWith => - CopyWith$Fragment$Achievement( - this, - (i) => i, - ); + CopyWith$Fragment$Achievement(this, (i) => i); } abstract class CopyWith$Fragment$Achievement { @@ -164,10 +162,7 @@ abstract class CopyWith$Fragment$Achievement { class _CopyWithImpl$Fragment$Achievement implements CopyWith$Fragment$Achievement { - _CopyWithImpl$Fragment$Achievement( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Achievement(this._instance, this._then); final Fragment$Achievement _instance; @@ -183,26 +178,27 @@ class _CopyWithImpl$Fragment$Achievement Object? image = _undefined, Object? achievedAt = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Achievement( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - achieved: achieved == _undefined || achieved == null - ? _instance.achieved - : (achieved as bool), - image: image == _undefined ? _instance.image : (image as String?), - achievedAt: achievedAt == _undefined - ? _instance.achievedAt - : (achievedAt as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Achievement( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + achieved: achieved == _undefined || achieved == null + ? _instance.achieved + : (achieved as bool), + image: image == _undefined ? _instance.image : (image as String?), + achievedAt: achievedAt == _undefined + ? _instance.achievedAt + : (achievedAt as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Achievement @@ -219,91 +215,89 @@ class _CopyWithStubImpl$Fragment$Achievement String? image, String? achievedAt, String? $__typename, - }) => - _res; + }) => _res; } const fragmentDefinitionAchievement = FragmentDefinitionNode( name: NameNode(value: 'Achievement'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Achievement'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Achievement'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'achieved'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'achievedAt'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'achieved'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'achievedAt'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentAchievement = DocumentNode( + definitions: [fragmentDefinitionAchievement], ); -const documentNodeFragmentAchievement = DocumentNode(definitions: [ - fragmentDefinitionAchievement, -]); extension ClientExtension$Fragment$Achievement on graphql.GraphQLClient { void writeFragment$Achievement({ required Fragment$Achievement data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Achievement', - document: documentNodeFragmentAchievement, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Achievement', + document: documentNodeFragmentAchievement, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Achievement? readFragment$Achievement({ required Map idFields, @@ -332,7 +326,8 @@ class Variables$Fragment$AchievementGroup { Variables$Fragment$AchievementGroup._(this._$data); factory Variables$Fragment$AchievementGroup.fromJson( - Map data) { + Map data, + ) { final result$data = {}; if (data.containsKey('achievementsFirst')) { final l$achievementsFirst = data['achievementsFirst']; @@ -355,11 +350,9 @@ class Variables$Fragment$AchievementGroup { } CopyWith$Variables$Fragment$AchievementGroup< - Variables$Fragment$AchievementGroup> - get copyWith => CopyWith$Variables$Fragment$AchievementGroup( - this, - (i) => i, - ); + Variables$Fragment$AchievementGroup + > + get copyWith => CopyWith$Variables$Fragment$AchievementGroup(this, (i) => i); @override bool operator ==(Object other) { @@ -386,7 +379,7 @@ class Variables$Fragment$AchievementGroup { int get hashCode { final l$achievementsFirst = achievementsFirst; return Object.hashAll([ - _$data.containsKey('achievementsFirst') ? l$achievementsFirst : const {} + _$data.containsKey('achievementsFirst') ? l$achievementsFirst : const {}, ]); } } @@ -405,10 +398,7 @@ abstract class CopyWith$Variables$Fragment$AchievementGroup { class _CopyWithImpl$Variables$Fragment$AchievementGroup implements CopyWith$Variables$Fragment$AchievementGroup { - _CopyWithImpl$Variables$Fragment$AchievementGroup( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Fragment$AchievementGroup(this._instance, this._then); final Variables$Fragment$AchievementGroup _instance; @@ -416,12 +406,13 @@ class _CopyWithImpl$Variables$Fragment$AchievementGroup static const _undefined = {}; - TRes call({Object? achievementsFirst = _undefined}) => - _then(Variables$Fragment$AchievementGroup._({ - ..._instance._$data, - if (achievementsFirst != _undefined) - 'achievementsFirst': (achievementsFirst as int?), - })); + TRes call({Object? achievementsFirst = _undefined}) => _then( + Variables$Fragment$AchievementGroup._({ + ..._instance._$data, + if (achievementsFirst != _undefined) + 'achievementsFirst': (achievementsFirst as int?), + }), + ); } class _CopyWithStubImpl$Variables$Fragment$AchievementGroup @@ -450,7 +441,8 @@ class Fragment$AchievementGroup { id: (l$id as String), title: (l$title as String), achievements: Fragment$AchievementGroup$achievements.fromJson( - (l$achievements as Map)), + (l$achievements as Map), + ), $__typename: (l$$__typename as String), ); } @@ -482,12 +474,7 @@ class Fragment$AchievementGroup { final l$title = title; final l$achievements = achievements; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$achievements, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$achievements, l$$__typename]); } @override @@ -526,10 +513,7 @@ class Fragment$AchievementGroup { extension UtilityExtension$Fragment$AchievementGroup on Fragment$AchievementGroup { CopyWith$Fragment$AchievementGroup get copyWith => - CopyWith$Fragment$AchievementGroup( - this, - (i) => i, - ); + CopyWith$Fragment$AchievementGroup(this, (i) => i); } abstract class CopyWith$Fragment$AchievementGroup { @@ -552,10 +536,7 @@ abstract class CopyWith$Fragment$AchievementGroup { class _CopyWithImpl$Fragment$AchievementGroup implements CopyWith$Fragment$AchievementGroup { - _CopyWithImpl$Fragment$AchievementGroup( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$AchievementGroup(this._instance, this._then); final Fragment$AchievementGroup _instance; @@ -568,24 +549,27 @@ class _CopyWithImpl$Fragment$AchievementGroup Object? title = _undefined, Object? achievements = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$AchievementGroup( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - achievements: achievements == _undefined || achievements == null - ? _instance.achievements - : (achievements as Fragment$AchievementGroup$achievements), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$AchievementGroup( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + achievements: achievements == _undefined || achievements == null + ? _instance.achievements + : (achievements as Fragment$AchievementGroup$achievements), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$AchievementGroup$achievements get achievements { final local$achievements = _instance.achievements; return CopyWith$Fragment$AchievementGroup$achievements( - local$achievements, (e) => call(achievements: e)); + local$achievements, + (e) => call(achievements: e), + ); } } @@ -600,8 +584,7 @@ class _CopyWithStubImpl$Fragment$AchievementGroup String? title, Fragment$AchievementGroup$achievements? achievements, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$AchievementGroup$achievements get achievements => CopyWith$Fragment$AchievementGroup$achievements.stub(_res); @@ -610,46 +593,60 @@ class _CopyWithStubImpl$Fragment$AchievementGroup const fragmentDefinitionAchievementGroup = FragmentDefinitionNode( name: NameNode(value: 'AchievementGroup'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'AchievementGroup'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + on: NamedTypeNode( + name: NameNode(value: 'AchievementGroup'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: 'achievements'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'achievementsFirst')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Achievement'), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'achievements'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'achievementsFirst')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Achievement'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -658,30 +655,25 @@ const fragmentDefinitionAchievementGroup = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentAchievementGroup = DocumentNode( + definitions: [ + fragmentDefinitionAchievementGroup, + fragmentDefinitionAchievement, + ], ); -const documentNodeFragmentAchievementGroup = DocumentNode(definitions: [ - fragmentDefinitionAchievementGroup, - fragmentDefinitionAchievement, -]); extension ClientExtension$Fragment$AchievementGroup on graphql.GraphQLClient { void writeFragment$AchievementGroup({ @@ -689,19 +681,18 @@ extension ClientExtension$Fragment$AchievementGroup on graphql.GraphQLClient { required Map idFields, Variables$Fragment$AchievementGroup? variables, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'AchievementGroup', - document: documentNodeFragmentAchievementGroup, - ), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'AchievementGroup', + document: documentNodeFragmentAchievementGroup, + ), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$AchievementGroup? readFragment$AchievementGroup({ required Map idFields, @@ -730,13 +721,15 @@ class Fragment$AchievementGroup$achievements { }); factory Fragment$AchievementGroup$achievements.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$AchievementGroup$achievements( items: (l$items as List) .map( - (e) => Fragment$Achievement.fromJson((e as Map))) + (e) => Fragment$Achievement.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -798,11 +791,10 @@ class Fragment$AchievementGroup$achievements { extension UtilityExtension$Fragment$AchievementGroup$achievements on Fragment$AchievementGroup$achievements { CopyWith$Fragment$AchievementGroup$achievements< - Fragment$AchievementGroup$achievements> - get copyWith => CopyWith$Fragment$AchievementGroup$achievements( - this, - (i) => i, - ); + Fragment$AchievementGroup$achievements + > + get copyWith => + CopyWith$Fragment$AchievementGroup$achievements(this, (i) => i); } abstract class CopyWith$Fragment$AchievementGroup$achievements { @@ -814,14 +806,13 @@ abstract class CopyWith$Fragment$AchievementGroup$achievements { factory CopyWith$Fragment$AchievementGroup$achievements.stub(TRes res) = _CopyWithStubImpl$Fragment$AchievementGroup$achievements; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$AchievementGroup$achievements @@ -837,28 +828,28 @@ class _CopyWithImpl$Fragment$AchievementGroup$achievements static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$AchievementGroup$achievements( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$AchievementGroup$achievements( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$Achievement( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$Achievement(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$AchievementGroup$achievements @@ -867,11 +858,7 @@ class _CopyWithStubImpl$Fragment$AchievementGroup$achievements TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -880,16 +867,16 @@ class Variables$Query$getAchievementGroups { factory Variables$Query$getAchievementGroups({ required int first, required int achievementsFirst, - }) => - Variables$Query$getAchievementGroups._({ - r'first': first, - r'achievementsFirst': achievementsFirst, - }); + }) => Variables$Query$getAchievementGroups._({ + r'first': first, + r'achievementsFirst': achievementsFirst, + }); Variables$Query$getAchievementGroups._(this._$data); factory Variables$Query$getAchievementGroups.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$first = data['first']; result$data['first'] = (l$first as int); @@ -914,11 +901,9 @@ class Variables$Query$getAchievementGroups { } CopyWith$Variables$Query$getAchievementGroups< - Variables$Query$getAchievementGroups> - get copyWith => CopyWith$Variables$Query$getAchievementGroups( - this, - (i) => i, - ); + Variables$Query$getAchievementGroups + > + get copyWith => CopyWith$Variables$Query$getAchievementGroups(this, (i) => i); @override bool operator ==(Object other) { @@ -946,10 +931,7 @@ class Variables$Query$getAchievementGroups { int get hashCode { final l$first = first; final l$achievementsFirst = achievementsFirst; - return Object.hashAll([ - l$first, - l$achievementsFirst, - ]); + return Object.hashAll([l$first, l$achievementsFirst]); } } @@ -962,10 +944,7 @@ abstract class CopyWith$Variables$Query$getAchievementGroups { factory CopyWith$Variables$Query$getAchievementGroups.stub(TRes res) = _CopyWithStubImpl$Variables$Query$getAchievementGroups; - TRes call({ - int? first, - int? achievementsFirst, - }); + TRes call({int? first, int? achievementsFirst}); } class _CopyWithImpl$Variables$Query$getAchievementGroups @@ -984,13 +963,14 @@ class _CopyWithImpl$Variables$Query$getAchievementGroups TRes call({ Object? first = _undefined, Object? achievementsFirst = _undefined, - }) => - _then(Variables$Query$getAchievementGroups._({ - ..._instance._$data, - if (first != _undefined && first != null) 'first': (first as int), - if (achievementsFirst != _undefined && achievementsFirst != null) - 'achievementsFirst': (achievementsFirst as int), - })); + }) => _then( + Variables$Query$getAchievementGroups._({ + ..._instance._$data, + if (first != _undefined && first != null) 'first': (first as int), + if (achievementsFirst != _undefined && achievementsFirst != null) + 'achievementsFirst': (achievementsFirst as int), + }), + ); } class _CopyWithStubImpl$Variables$Query$getAchievementGroups @@ -999,11 +979,7 @@ class _CopyWithStubImpl$Variables$Query$getAchievementGroups TRes _res; - call({ - int? first, - int? achievementsFirst, - }) => - _res; + call({int? first, int? achievementsFirst}) => _res; } class Query$getAchievementGroups { @@ -1017,7 +993,8 @@ class Query$getAchievementGroups { final l$$__typename = json['__typename']; return Query$getAchievementGroups( achievementGroups: Query$getAchievementGroups$achievementGroups.fromJson( - (l$achievementGroups as Map)), + (l$achievementGroups as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1039,10 +1016,7 @@ class Query$getAchievementGroups { int get hashCode { final l$achievementGroups = achievementGroups; final l$$__typename = $__typename; - return Object.hashAll([ - l$achievementGroups, - l$$__typename, - ]); + return Object.hashAll([l$achievementGroups, l$$__typename]); } @override @@ -1071,10 +1045,7 @@ class Query$getAchievementGroups { extension UtilityExtension$Query$getAchievementGroups on Query$getAchievementGroups { CopyWith$Query$getAchievementGroups - get copyWith => CopyWith$Query$getAchievementGroups( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$getAchievementGroups(this, (i) => i); } abstract class CopyWith$Query$getAchievementGroups { @@ -1091,15 +1062,12 @@ abstract class CopyWith$Query$getAchievementGroups { String? $__typename, }); CopyWith$Query$getAchievementGroups$achievementGroups - get achievementGroups; + get achievementGroups; } class _CopyWithImpl$Query$getAchievementGroups implements CopyWith$Query$getAchievementGroups { - _CopyWithImpl$Query$getAchievementGroups( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getAchievementGroups(this._instance, this._then); final Query$getAchievementGroups _instance; @@ -1110,23 +1078,25 @@ class _CopyWithImpl$Query$getAchievementGroups TRes call({ Object? achievementGroups = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getAchievementGroups( - achievementGroups: - achievementGroups == _undefined || achievementGroups == null - ? _instance.achievementGroups - : (achievementGroups - as Query$getAchievementGroups$achievementGroups), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getAchievementGroups( + achievementGroups: + achievementGroups == _undefined || achievementGroups == null + ? _instance.achievementGroups + : (achievementGroups as Query$getAchievementGroups$achievementGroups), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getAchievementGroups$achievementGroups - get achievementGroups { + get achievementGroups { final local$achievementGroups = _instance.achievementGroups; return CopyWith$Query$getAchievementGroups$achievementGroups( - local$achievementGroups, (e) => call(achievementGroups: e)); + local$achievementGroups, + (e) => call(achievementGroups: e), + ); } } @@ -1139,69 +1109,77 @@ class _CopyWithStubImpl$Query$getAchievementGroups call({ Query$getAchievementGroups$achievementGroups? achievementGroups, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$getAchievementGroups$achievementGroups - get achievementGroups => - CopyWith$Query$getAchievementGroups$achievementGroups.stub(_res); -} - -const documentNodeQuerygetAchievementGroups = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getAchievementGroups'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: true, + get achievementGroups => + CopyWith$Query$getAchievementGroups$achievementGroups.stub(_res); +} + +const documentNodeQuerygetAchievementGroups = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getAchievementGroups'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'achievementsFirst')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'achievementsFirst')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'achievementGroups'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'achievementGroups'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'AchievementGroup'), - directives: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'AchievementGroup'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1210,23 +1188,16 @@ const documentNodeQuerygetAchievementGroups = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionAchievementGroup, - fragmentDefinitionAchievement, -]); + ), + fragmentDefinitionAchievementGroup, + fragmentDefinitionAchievement, + ], +); Query$getAchievementGroups _parserFn$Query$getAchievementGroups( - Map data) => - Query$getAchievementGroups.fromJson(data); + Map data, +) => Query$getAchievementGroups.fromJson(data); typedef OnQueryComplete$Query$getAchievementGroups = FutureOr Function( Map?, Query$getAchievementGroups?, @@ -1246,38 +1217,38 @@ class Options$Query$getAchievementGroups graphql.Context? context, OnQueryComplete$Query$getAchievementGroups? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$getAchievementGroups(data), - ), - onError: onError, - document: documentNodeQuerygetAchievementGroups, - parserFn: _parserFn$Query$getAchievementGroups, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$getAchievementGroups(data), + ), + onError: onError, + document: documentNodeQuerygetAchievementGroups, + parserFn: _parserFn$Query$getAchievementGroups, + ); final OnQueryComplete$Query$getAchievementGroups? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getAchievementGroups @@ -1296,20 +1267,20 @@ class WatchOptions$Query$getAchievementGroups bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetAchievementGroups, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getAchievementGroups, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetAchievementGroups, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getAchievementGroups, + ); } class FetchMoreOptions$Query$getAchievementGroups @@ -1318,37 +1289,37 @@ class FetchMoreOptions$Query$getAchievementGroups required graphql.UpdateQuery updateQuery, required Variables$Query$getAchievementGroups variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetAchievementGroups, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetAchievementGroups, + ); } extension ClientExtension$Query$getAchievementGroups on graphql.GraphQLClient { Future> - query$getAchievementGroups( - Options$Query$getAchievementGroups options) async => - await this.query(options); + query$getAchievementGroups( + Options$Query$getAchievementGroups options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$getAchievementGroups( - WatchOptions$Query$getAchievementGroups options) => - this.watchQuery(options); + watchQuery$getAchievementGroups( + WatchOptions$Query$getAchievementGroups options, + ) => this.watchQuery(options); void writeQuery$getAchievementGroups({ required Query$getAchievementGroups data, required Variables$Query$getAchievementGroups variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQuerygetAchievementGroups), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQuerygetAchievementGroups, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getAchievementGroups? readQuery$getAchievementGroups({ required Variables$Query$getAchievementGroups variables, @@ -1356,8 +1327,9 @@ extension ClientExtension$Query$getAchievementGroups on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetAchievementGroups), + operation: graphql.Operation( + document: documentNodeQuerygetAchievementGroups, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -1367,12 +1339,12 @@ extension ClientExtension$Query$getAchievementGroups on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$getAchievementGroups(Options$Query$getAchievementGroups options) => - graphql_flutter.useQuery(options); +useQuery$getAchievementGroups(Options$Query$getAchievementGroups options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$getAchievementGroups( - WatchOptions$Query$getAchievementGroups options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$getAchievementGroups( + WatchOptions$Query$getAchievementGroups options, +) => graphql_flutter.useWatchQuery(options); class Query$getAchievementGroups$Widget extends graphql_flutter.Query { @@ -1380,11 +1352,7 @@ class Query$getAchievementGroups$Widget widgets.Key? key, required Options$Query$getAchievementGroups options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$getAchievementGroups$achievementGroups { @@ -1394,13 +1362,16 @@ class Query$getAchievementGroups$achievementGroups { }); factory Query$getAchievementGroups$achievementGroups.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$getAchievementGroups$achievementGroups( items: (l$items as List) - .map((e) => - Fragment$AchievementGroup.fromJson((e as Map))) + .map( + (e) => + Fragment$AchievementGroup.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1462,11 +1433,10 @@ class Query$getAchievementGroups$achievementGroups { extension UtilityExtension$Query$getAchievementGroups$achievementGroups on Query$getAchievementGroups$achievementGroups { CopyWith$Query$getAchievementGroups$achievementGroups< - Query$getAchievementGroups$achievementGroups> - get copyWith => CopyWith$Query$getAchievementGroups$achievementGroups( - this, - (i) => i, - ); + Query$getAchievementGroups$achievementGroups + > + get copyWith => + CopyWith$Query$getAchievementGroups$achievementGroups(this, (i) => i); } abstract class CopyWith$Query$getAchievementGroups$achievementGroups { @@ -1478,16 +1448,13 @@ abstract class CopyWith$Query$getAchievementGroups$achievementGroups { factory CopyWith$Query$getAchievementGroups$achievementGroups.stub(TRes res) = _CopyWithStubImpl$Query$getAchievementGroups$achievementGroups; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$AchievementGroup< - Fragment$AchievementGroup>>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$getAchievementGroups$achievementGroups @@ -1503,31 +1470,30 @@ class _CopyWithImpl$Query$getAchievementGroups$achievementGroups static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getAchievementGroups$achievementGroups( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getAchievementGroups$achievementGroups( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$AchievementGroup< - Fragment$AchievementGroup>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$AchievementGroup( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$AchievementGroup(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$getAchievementGroups$achievementGroups @@ -1536,11 +1502,7 @@ class _CopyWithStubImpl$Query$getAchievementGroups$achievementGroups TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -1549,16 +1511,16 @@ class Variables$Query$getAchievementGroup { factory Variables$Query$getAchievementGroup({ required String id, required int achievementsFirst, - }) => - Variables$Query$getAchievementGroup._({ - r'id': id, - r'achievementsFirst': achievementsFirst, - }); + }) => Variables$Query$getAchievementGroup._({ + r'id': id, + r'achievementsFirst': achievementsFirst, + }); Variables$Query$getAchievementGroup._(this._$data); factory Variables$Query$getAchievementGroup.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -1583,11 +1545,9 @@ class Variables$Query$getAchievementGroup { } CopyWith$Variables$Query$getAchievementGroup< - Variables$Query$getAchievementGroup> - get copyWith => CopyWith$Variables$Query$getAchievementGroup( - this, - (i) => i, - ); + Variables$Query$getAchievementGroup + > + get copyWith => CopyWith$Variables$Query$getAchievementGroup(this, (i) => i); @override bool operator ==(Object other) { @@ -1615,10 +1575,7 @@ class Variables$Query$getAchievementGroup { int get hashCode { final l$id = id; final l$achievementsFirst = achievementsFirst; - return Object.hashAll([ - l$id, - l$achievementsFirst, - ]); + return Object.hashAll([l$id, l$achievementsFirst]); } } @@ -1631,18 +1588,12 @@ abstract class CopyWith$Variables$Query$getAchievementGroup { factory CopyWith$Variables$Query$getAchievementGroup.stub(TRes res) = _CopyWithStubImpl$Variables$Query$getAchievementGroup; - TRes call({ - String? id, - int? achievementsFirst, - }); + TRes call({String? id, int? achievementsFirst}); } class _CopyWithImpl$Variables$Query$getAchievementGroup implements CopyWith$Variables$Query$getAchievementGroup { - _CopyWithImpl$Variables$Query$getAchievementGroup( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$getAchievementGroup(this._instance, this._then); final Variables$Query$getAchievementGroup _instance; @@ -1653,13 +1604,14 @@ class _CopyWithImpl$Variables$Query$getAchievementGroup TRes call({ Object? id = _undefined, Object? achievementsFirst = _undefined, - }) => - _then(Variables$Query$getAchievementGroup._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (achievementsFirst != _undefined && achievementsFirst != null) - 'achievementsFirst': (achievementsFirst as int), - })); + }) => _then( + Variables$Query$getAchievementGroup._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (achievementsFirst != _undefined && achievementsFirst != null) + 'achievementsFirst': (achievementsFirst as int), + }), + ); } class _CopyWithStubImpl$Variables$Query$getAchievementGroup @@ -1668,11 +1620,7 @@ class _CopyWithStubImpl$Variables$Query$getAchievementGroup TRes _res; - call({ - String? id, - int? achievementsFirst, - }) => - _res; + call({String? id, int? achievementsFirst}) => _res; } class Query$getAchievementGroup { @@ -1686,7 +1634,8 @@ class Query$getAchievementGroup { final l$$__typename = json['__typename']; return Query$getAchievementGroup( achievementGroup: Fragment$AchievementGroup.fromJson( - (l$achievementGroup as Map)), + (l$achievementGroup as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1708,10 +1657,7 @@ class Query$getAchievementGroup { int get hashCode { final l$achievementGroup = achievementGroup; final l$$__typename = $__typename; - return Object.hashAll([ - l$achievementGroup, - l$$__typename, - ]); + return Object.hashAll([l$achievementGroup, l$$__typename]); } @override @@ -1740,10 +1686,7 @@ class Query$getAchievementGroup { extension UtilityExtension$Query$getAchievementGroup on Query$getAchievementGroup { CopyWith$Query$getAchievementGroup get copyWith => - CopyWith$Query$getAchievementGroup( - this, - (i) => i, - ); + CopyWith$Query$getAchievementGroup(this, (i) => i); } abstract class CopyWith$Query$getAchievementGroup { @@ -1755,19 +1698,13 @@ abstract class CopyWith$Query$getAchievementGroup { factory CopyWith$Query$getAchievementGroup.stub(TRes res) = _CopyWithStubImpl$Query$getAchievementGroup; - TRes call({ - Fragment$AchievementGroup? achievementGroup, - String? $__typename, - }); + TRes call({Fragment$AchievementGroup? achievementGroup, String? $__typename}); CopyWith$Fragment$AchievementGroup get achievementGroup; } class _CopyWithImpl$Query$getAchievementGroup implements CopyWith$Query$getAchievementGroup { - _CopyWithImpl$Query$getAchievementGroup( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getAchievementGroup(this._instance, this._then); final Query$getAchievementGroup _instance; @@ -1778,21 +1715,24 @@ class _CopyWithImpl$Query$getAchievementGroup TRes call({ Object? achievementGroup = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getAchievementGroup( - achievementGroup: - achievementGroup == _undefined || achievementGroup == null - ? _instance.achievementGroup - : (achievementGroup as Fragment$AchievementGroup), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getAchievementGroup( + achievementGroup: + achievementGroup == _undefined || achievementGroup == null + ? _instance.achievementGroup + : (achievementGroup as Fragment$AchievementGroup), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$AchievementGroup get achievementGroup { final local$achievementGroup = _instance.achievementGroup; return CopyWith$Fragment$AchievementGroup( - local$achievementGroup, (e) => call(achievementGroup: e)); + local$achievementGroup, + (e) => call(achievementGroup: e), + ); } } @@ -1802,56 +1742,60 @@ class _CopyWithStubImpl$Query$getAchievementGroup TRes _res; - call({ - Fragment$AchievementGroup? achievementGroup, - String? $__typename, - }) => + call({Fragment$AchievementGroup? achievementGroup, String? $__typename}) => _res; CopyWith$Fragment$AchievementGroup get achievementGroup => CopyWith$Fragment$AchievementGroup.stub(_res); } -const documentNodeQuerygetAchievementGroup = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getAchievementGroup'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQuerygetAchievementGroup = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getAchievementGroup'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'achievementsFirst')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'achievementsFirst')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'achievementGroup'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'AchievementGroup'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'achievementGroup'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'AchievementGroup'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1860,23 +1804,16 @@ const documentNodeQuerygetAchievementGroup = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionAchievementGroup, - fragmentDefinitionAchievement, -]); + ), + fragmentDefinitionAchievementGroup, + fragmentDefinitionAchievement, + ], +); Query$getAchievementGroup _parserFn$Query$getAchievementGroup( - Map data) => - Query$getAchievementGroup.fromJson(data); + Map data, +) => Query$getAchievementGroup.fromJson(data); typedef OnQueryComplete$Query$getAchievementGroup = FutureOr Function( Map?, Query$getAchievementGroup?, @@ -1896,38 +1833,38 @@ class Options$Query$getAchievementGroup graphql.Context? context, OnQueryComplete$Query$getAchievementGroup? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$getAchievementGroup(data), - ), - onError: onError, - document: documentNodeQuerygetAchievementGroup, - parserFn: _parserFn$Query$getAchievementGroup, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$getAchievementGroup(data), + ), + onError: onError, + document: documentNodeQuerygetAchievementGroup, + parserFn: _parserFn$Query$getAchievementGroup, + ); final OnQueryComplete$Query$getAchievementGroup? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getAchievementGroup @@ -1946,20 +1883,20 @@ class WatchOptions$Query$getAchievementGroup bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetAchievementGroup, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getAchievementGroup, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetAchievementGroup, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getAchievementGroup, + ); } class FetchMoreOptions$Query$getAchievementGroup @@ -1968,37 +1905,36 @@ class FetchMoreOptions$Query$getAchievementGroup required graphql.UpdateQuery updateQuery, required Variables$Query$getAchievementGroup variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetAchievementGroup, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetAchievementGroup, + ); } extension ClientExtension$Query$getAchievementGroup on graphql.GraphQLClient { Future> - query$getAchievementGroup( - Options$Query$getAchievementGroup options) async => - await this.query(options); + query$getAchievementGroup(Options$Query$getAchievementGroup options) async => + await this.query(options); graphql.ObservableQuery - watchQuery$getAchievementGroup( - WatchOptions$Query$getAchievementGroup options) => - this.watchQuery(options); + watchQuery$getAchievementGroup( + WatchOptions$Query$getAchievementGroup options, + ) => this.watchQuery(options); void writeQuery$getAchievementGroup({ required Query$getAchievementGroup data, required Variables$Query$getAchievementGroup variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetAchievementGroup), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQuerygetAchievementGroup, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getAchievementGroup? readQuery$getAchievementGroup({ required Variables$Query$getAchievementGroup variables, @@ -2006,8 +1942,9 @@ extension ClientExtension$Query$getAchievementGroup on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetAchievementGroup), + operation: graphql.Operation( + document: documentNodeQuerygetAchievementGroup, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -2017,12 +1954,12 @@ extension ClientExtension$Query$getAchievementGroup on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$getAchievementGroup(Options$Query$getAchievementGroup options) => - graphql_flutter.useQuery(options); +useQuery$getAchievementGroup(Options$Query$getAchievementGroup options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$getAchievementGroup( - WatchOptions$Query$getAchievementGroup options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$getAchievementGroup( + WatchOptions$Query$getAchievementGroup options, +) => graphql_flutter.useWatchQuery(options); class Query$getAchievementGroup$Widget extends graphql_flutter.Query { @@ -2030,11 +1967,7 @@ class Query$getAchievementGroup$Widget widgets.Key? key, required Options$Query$getAchievementGroup options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$getPendingAchievements { @@ -2049,7 +1982,8 @@ class Query$getPendingAchievements { return Query$getPendingAchievements( pendingAchievements: (l$pendingAchievements as List) .map( - (e) => Fragment$Achievement.fromJson((e as Map))) + (e) => Fragment$Achievement.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -2062,8 +1996,9 @@ class Query$getPendingAchievements { Map toJson() { final _resultData = {}; final l$pendingAchievements = pendingAchievements; - _resultData['pendingAchievements'] = - l$pendingAchievements.map((e) => e.toJson()).toList(); + _resultData['pendingAchievements'] = l$pendingAchievements + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; @@ -2112,10 +2047,7 @@ class Query$getPendingAchievements { extension UtilityExtension$Query$getPendingAchievements on Query$getPendingAchievements { CopyWith$Query$getPendingAchievements - get copyWith => CopyWith$Query$getPendingAchievements( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$getPendingAchievements(this, (i) => i); } abstract class CopyWith$Query$getPendingAchievements { @@ -2132,17 +2064,16 @@ abstract class CopyWith$Query$getPendingAchievements { String? $__typename, }); TRes pendingAchievements( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$getPendingAchievements implements CopyWith$Query$getPendingAchievements { - _CopyWithImpl$Query$getPendingAchievements( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getPendingAchievements(this._instance, this._then); final Query$getPendingAchievements _instance; @@ -2153,27 +2084,30 @@ class _CopyWithImpl$Query$getPendingAchievements TRes call({ Object? pendingAchievements = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getPendingAchievements( - pendingAchievements: - pendingAchievements == _undefined || pendingAchievements == null - ? _instance.pendingAchievements - : (pendingAchievements as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getPendingAchievements( + pendingAchievements: + pendingAchievements == _undefined || pendingAchievements == null + ? _instance.pendingAchievements + : (pendingAchievements as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes pendingAchievements( - Iterable Function( - Iterable>) - _fn) => - call( - pendingAchievements: _fn(_instance.pendingAchievements - .map((e) => CopyWith$Fragment$Achievement( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + pendingAchievements: _fn( + _instance.pendingAchievements.map( + (e) => CopyWith$Fragment$Achievement(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$getPendingAchievements @@ -2185,28 +2119,40 @@ class _CopyWithStubImpl$Query$getPendingAchievements call({ List? pendingAchievements, String? $__typename, - }) => - _res; + }) => _res; pendingAchievements(_fn) => _res; } -const documentNodeQuerygetPendingAchievements = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getPendingAchievements'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'pendingAchievements'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Achievement'), +const documentNodeQuerygetPendingAchievements = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getPendingAchievements'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'pendingAchievements'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Achievement'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2215,22 +2161,15 @@ const documentNodeQuerygetPendingAchievements = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionAchievement, -]); + ), + fragmentDefinitionAchievement, + ], +); Query$getPendingAchievements _parserFn$Query$getPendingAchievements( - Map data) => - Query$getPendingAchievements.fromJson(data); + Map data, +) => Query$getPendingAchievements.fromJson(data); typedef OnQueryComplete$Query$getPendingAchievements = FutureOr Function( Map?, Query$getPendingAchievements?, @@ -2249,37 +2188,37 @@ class Options$Query$getPendingAchievements graphql.Context? context, OnQueryComplete$Query$getPendingAchievements? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$getPendingAchievements(data), - ), - onError: onError, - document: documentNodeQuerygetPendingAchievements, - parserFn: _parserFn$Query$getPendingAchievements, - ); + }) : onCompleteWithParsed = onComplete, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$getPendingAchievements(data), + ), + onError: onError, + document: documentNodeQuerygetPendingAchievements, + parserFn: _parserFn$Query$getPendingAchievements, + ); final OnQueryComplete$Query$getPendingAchievements? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getPendingAchievements @@ -2297,61 +2236,66 @@ class WatchOptions$Query$getPendingAchievements bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetPendingAchievements, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getPendingAchievements, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetPendingAchievements, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getPendingAchievements, + ); } class FetchMoreOptions$Query$getPendingAchievements extends graphql.FetchMoreOptions { - FetchMoreOptions$Query$getPendingAchievements( - {required graphql.UpdateQuery updateQuery}) - : super( - updateQuery: updateQuery, - document: documentNodeQuerygetPendingAchievements, - ); + FetchMoreOptions$Query$getPendingAchievements({ + required graphql.UpdateQuery updateQuery, + }) : super( + updateQuery: updateQuery, + document: documentNodeQuerygetPendingAchievements, + ); } extension ClientExtension$Query$getPendingAchievements on graphql.GraphQLClient { Future> - query$getPendingAchievements( - [Options$Query$getPendingAchievements? options]) async => - await this.query(options ?? Options$Query$getPendingAchievements()); + query$getPendingAchievements([ + Options$Query$getPendingAchievements? options, + ]) async => + await this.query(options ?? Options$Query$getPendingAchievements()); - graphql.ObservableQuery< - Query$getPendingAchievements> watchQuery$getPendingAchievements( - [WatchOptions$Query$getPendingAchievements? options]) => - this.watchQuery(options ?? WatchOptions$Query$getPendingAchievements()); + graphql.ObservableQuery + watchQuery$getPendingAchievements([ + WatchOptions$Query$getPendingAchievements? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$getPendingAchievements()); void writeQuery$getPendingAchievements({ required Query$getPendingAchievements data, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQuerygetPendingAchievements)), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQuerygetPendingAchievements, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); - Query$getPendingAchievements? readQuery$getPendingAchievements( - {bool optimistic = true}) { + Query$getPendingAchievements? readQuery$getPendingAchievements({ + bool optimistic = true, + }) { final result = this.readQuery( graphql.Request( - operation: graphql.Operation( - document: documentNodeQuerygetPendingAchievements)), + operation: graphql.Operation( + document: documentNodeQuerygetPendingAchievements, + ), + ), optimistic: optimistic, ); return result == null @@ -2361,15 +2305,16 @@ extension ClientExtension$Query$getPendingAchievements } graphql_flutter.QueryHookResult - useQuery$getPendingAchievements( - [Options$Query$getPendingAchievements? options]) => - graphql_flutter - .useQuery(options ?? Options$Query$getPendingAchievements()); +useQuery$getPendingAchievements([ + Options$Query$getPendingAchievements? options, +]) => + graphql_flutter.useQuery(options ?? Options$Query$getPendingAchievements()); graphql.ObservableQuery - useWatchQuery$getPendingAchievements( - [WatchOptions$Query$getPendingAchievements? options]) => - graphql_flutter.useWatchQuery( - options ?? WatchOptions$Query$getPendingAchievements()); +useWatchQuery$getPendingAchievements([ + WatchOptions$Query$getPendingAchievements? options, +]) => graphql_flutter.useWatchQuery( + options ?? WatchOptions$Query$getPendingAchievements(), +); class Query$getPendingAchievements$Widget extends graphql_flutter.Query { @@ -2378,22 +2323,21 @@ class Query$getPendingAchievements$Widget Options$Query$getPendingAchievements? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$getPendingAchievements(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$getPendingAchievements(), + builder: builder, + ); } class Variables$Mutation$confirmAchievement { factory Variables$Mutation$confirmAchievement({required String id}) => - Variables$Mutation$confirmAchievement._({ - r'id': id, - }); + Variables$Mutation$confirmAchievement._({r'id': id}); Variables$Mutation$confirmAchievement._(this._$data); factory Variables$Mutation$confirmAchievement.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -2412,11 +2356,10 @@ class Variables$Mutation$confirmAchievement { } CopyWith$Variables$Mutation$confirmAchievement< - Variables$Mutation$confirmAchievement> - get copyWith => CopyWith$Variables$Mutation$confirmAchievement( - this, - (i) => i, - ); + Variables$Mutation$confirmAchievement + > + get copyWith => + CopyWith$Variables$Mutation$confirmAchievement(this, (i) => i); @override bool operator ==(Object other) { @@ -2467,11 +2410,12 @@ class _CopyWithImpl$Variables$Mutation$confirmAchievement static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Mutation$confirmAchievement._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Mutation$confirmAchievement._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$confirmAchievement @@ -2495,7 +2439,8 @@ class Mutation$confirmAchievement { return Mutation$confirmAchievement( confirmAchievement: Mutation$confirmAchievement$confirmAchievement.fromJson( - (l$confirmAchievement as Map)), + (l$confirmAchievement as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2517,10 +2462,7 @@ class Mutation$confirmAchievement { int get hashCode { final l$confirmAchievement = confirmAchievement; final l$$__typename = $__typename; - return Object.hashAll([ - l$confirmAchievement, - l$$__typename, - ]); + return Object.hashAll([l$confirmAchievement, l$$__typename]); } @override @@ -2549,10 +2491,7 @@ class Mutation$confirmAchievement { extension UtilityExtension$Mutation$confirmAchievement on Mutation$confirmAchievement { CopyWith$Mutation$confirmAchievement - get copyWith => CopyWith$Mutation$confirmAchievement( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$confirmAchievement(this, (i) => i); } abstract class CopyWith$Mutation$confirmAchievement { @@ -2569,15 +2508,12 @@ abstract class CopyWith$Mutation$confirmAchievement { String? $__typename, }); CopyWith$Mutation$confirmAchievement$confirmAchievement - get confirmAchievement; + get confirmAchievement; } class _CopyWithImpl$Mutation$confirmAchievement implements CopyWith$Mutation$confirmAchievement { - _CopyWithImpl$Mutation$confirmAchievement( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$confirmAchievement(this._instance, this._then); final Mutation$confirmAchievement _instance; @@ -2588,23 +2524,26 @@ class _CopyWithImpl$Mutation$confirmAchievement TRes call({ Object? confirmAchievement = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$confirmAchievement( - confirmAchievement: - confirmAchievement == _undefined || confirmAchievement == null - ? _instance.confirmAchievement - : (confirmAchievement - as Mutation$confirmAchievement$confirmAchievement), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$confirmAchievement( + confirmAchievement: + confirmAchievement == _undefined || confirmAchievement == null + ? _instance.confirmAchievement + : (confirmAchievement + as Mutation$confirmAchievement$confirmAchievement), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$confirmAchievement$confirmAchievement - get confirmAchievement { + get confirmAchievement { final local$confirmAchievement = _instance.confirmAchievement; return CopyWith$Mutation$confirmAchievement$confirmAchievement( - local$confirmAchievement, (e) => call(confirmAchievement: e)); + local$confirmAchievement, + (e) => call(confirmAchievement: e), + ); } } @@ -2617,48 +2556,57 @@ class _CopyWithStubImpl$Mutation$confirmAchievement call({ Mutation$confirmAchievement$confirmAchievement? confirmAchievement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$confirmAchievement$confirmAchievement - get confirmAchievement => - CopyWith$Mutation$confirmAchievement$confirmAchievement.stub(_res); -} - -const documentNodeMutationconfirmAchievement = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'confirmAchievement'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, + get confirmAchievement => + CopyWith$Mutation$confirmAchievement$confirmAchievement.stub(_res); +} + +const documentNodeMutationconfirmAchievement = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'confirmAchievement'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'confirmAchievement'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'success'), + name: NameNode(value: 'confirmAchievement'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'success'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2667,26 +2615,19 @@ const documentNodeMutationconfirmAchievement = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Mutation$confirmAchievement _parserFn$Mutation$confirmAchievement( - Map data) => - Mutation$confirmAchievement.fromJson(data); -typedef OnMutationCompleted$Mutation$confirmAchievement = FutureOr - Function( - Map?, - Mutation$confirmAchievement?, + ), + ], ); +Mutation$confirmAchievement _parserFn$Mutation$confirmAchievement( + Map data, +) => Mutation$confirmAchievement.fromJson(data); +typedef OnMutationCompleted$Mutation$confirmAchievement = + FutureOr Function( + Map?, + Mutation$confirmAchievement?, + ); class Options$Mutation$confirmAchievement extends graphql.MutationOptions { @@ -2702,38 +2643,38 @@ class Options$Mutation$confirmAchievement OnMutationCompleted$Mutation$confirmAchievement? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$confirmAchievement(data), - ), - update: update, - onError: onError, - document: documentNodeMutationconfirmAchievement, - parserFn: _parserFn$Mutation$confirmAchievement, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$confirmAchievement(data), + ), + update: update, + onError: onError, + document: documentNodeMutationconfirmAchievement, + parserFn: _parserFn$Mutation$confirmAchievement, + ); final OnMutationCompleted$Mutation$confirmAchievement? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$confirmAchievement @@ -2752,63 +2693,62 @@ class WatchOptions$Mutation$confirmAchievement bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationconfirmAchievement, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$confirmAchievement, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationconfirmAchievement, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$confirmAchievement, + ); } extension ClientExtension$Mutation$confirmAchievement on graphql.GraphQLClient { Future> - mutate$confirmAchievement( - Options$Mutation$confirmAchievement options) async => - await this.mutate(options); + mutate$confirmAchievement( + Options$Mutation$confirmAchievement options, + ) async => await this.mutate(options); graphql.ObservableQuery - watchMutation$confirmAchievement( - WatchOptions$Mutation$confirmAchievement options) => - this.watchMutation(options); + watchMutation$confirmAchievement( + WatchOptions$Mutation$confirmAchievement options, + ) => this.watchMutation(options); } class Mutation$confirmAchievement$HookResult { - Mutation$confirmAchievement$HookResult( - this.runMutation, - this.result, - ); + Mutation$confirmAchievement$HookResult(this.runMutation, this.result); final RunMutation$Mutation$confirmAchievement runMutation; final graphql.QueryResult result; } -Mutation$confirmAchievement$HookResult useMutation$confirmAchievement( - [WidgetOptions$Mutation$confirmAchievement? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$confirmAchievement()); +Mutation$confirmAchievement$HookResult useMutation$confirmAchievement([ + WidgetOptions$Mutation$confirmAchievement? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$confirmAchievement(), + ); return Mutation$confirmAchievement$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$confirmAchievement( - WatchOptions$Mutation$confirmAchievement options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$confirmAchievement( + WatchOptions$Mutation$confirmAchievement options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$confirmAchievement extends graphql.MutationOptions { @@ -2823,45 +2763,45 @@ class WidgetOptions$Mutation$confirmAchievement OnMutationCompleted$Mutation$confirmAchievement? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$confirmAchievement(data), - ), - update: update, - onError: onError, - document: documentNodeMutationconfirmAchievement, - parserFn: _parserFn$Mutation$confirmAchievement, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$confirmAchievement(data), + ), + update: update, + onError: onError, + document: documentNodeMutationconfirmAchievement, + parserFn: _parserFn$Mutation$confirmAchievement, + ); final OnMutationCompleted$Mutation$confirmAchievement? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; -} - -typedef RunMutation$Mutation$confirmAchievement - = graphql.MultiSourceResult Function( - Variables$Mutation$confirmAchievement, { - Object? optimisticResult, - Mutation$confirmAchievement? typedOptimisticResult, -}); + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; +} + +typedef RunMutation$Mutation$confirmAchievement = + graphql.MultiSourceResult Function( + Variables$Mutation$confirmAchievement, { + Object? optimisticResult, + Mutation$confirmAchievement? typedOptimisticResult, + }); typedef Builder$Mutation$confirmAchievement = widgets.Widget Function( RunMutation$Mutation$confirmAchievement, graphql.QueryResult?, @@ -2874,26 +2814,17 @@ class Mutation$confirmAchievement$Widget WidgetOptions$Mutation$confirmAchievement? options, required Builder$Mutation$confirmAchievement builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$confirmAchievement(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$confirmAchievement(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$confirmAchievement$confirmAchievement { @@ -2903,7 +2834,8 @@ class Mutation$confirmAchievement$confirmAchievement { }); factory Mutation$confirmAchievement$confirmAchievement.fromJson( - Map json) { + Map json, + ) { final l$success = json['success']; final l$$__typename = json['__typename']; return Mutation$confirmAchievement$confirmAchievement( @@ -2929,10 +2861,7 @@ class Mutation$confirmAchievement$confirmAchievement { int get hashCode { final l$success = success; final l$$__typename = $__typename; - return Object.hashAll([ - l$success, - l$$__typename, - ]); + return Object.hashAll([l$success, l$$__typename]); } @override @@ -2961,11 +2890,10 @@ class Mutation$confirmAchievement$confirmAchievement { extension UtilityExtension$Mutation$confirmAchievement$confirmAchievement on Mutation$confirmAchievement$confirmAchievement { CopyWith$Mutation$confirmAchievement$confirmAchievement< - Mutation$confirmAchievement$confirmAchievement> - get copyWith => CopyWith$Mutation$confirmAchievement$confirmAchievement( - this, - (i) => i, - ); + Mutation$confirmAchievement$confirmAchievement + > + get copyWith => + CopyWith$Mutation$confirmAchievement$confirmAchievement(this, (i) => i); } abstract class CopyWith$Mutation$confirmAchievement$confirmAchievement { @@ -2975,13 +2903,10 @@ abstract class CopyWith$Mutation$confirmAchievement$confirmAchievement { ) = _CopyWithImpl$Mutation$confirmAchievement$confirmAchievement; factory CopyWith$Mutation$confirmAchievement$confirmAchievement.stub( - TRes res) = - _CopyWithStubImpl$Mutation$confirmAchievement$confirmAchievement; + TRes res, + ) = _CopyWithStubImpl$Mutation$confirmAchievement$confirmAchievement; - TRes call({ - bool? success, - String? $__typename, - }); + TRes call({bool? success, String? $__typename}); } class _CopyWithImpl$Mutation$confirmAchievement$confirmAchievement @@ -2997,18 +2922,17 @@ class _CopyWithImpl$Mutation$confirmAchievement$confirmAchievement static const _undefined = {}; - TRes call({ - Object? success = _undefined, - Object? $__typename = _undefined, - }) => - _then(Mutation$confirmAchievement$confirmAchievement( - success: success == _undefined || success == null - ? _instance.success - : (success as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? success = _undefined, Object? $__typename = _undefined}) => + _then( + Mutation$confirmAchievement$confirmAchievement( + success: success == _undefined || success == null + ? _instance.success + : (success as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$confirmAchievement$confirmAchievement @@ -3017,9 +2941,5 @@ class _CopyWithStubImpl$Mutation$confirmAchievement$confirmAchievement TRes _res; - call({ - bool? success, - String? $__typename, - }) => - _res; + call({bool? success, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/application.graphql.dart b/bccm_core/lib/src/features/graphql/queries/application.graphql.dart index 3e78ba6..5bc8de6 100644 --- a/bccm_core/lib/src/features/graphql/queries/application.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/application.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -35,10 +36,7 @@ class Variables$Query$Application { } CopyWith$Variables$Query$Application - get copyWith => CopyWith$Variables$Query$Application( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$Application(this, (i) => i); @override bool operator ==(Object other) { @@ -64,8 +62,9 @@ class Variables$Query$Application { @override int get hashCode { final l$timestamp = timestamp; - return Object.hashAll( - [_$data.containsKey('timestamp') ? l$timestamp : const {}]); + return Object.hashAll([ + _$data.containsKey('timestamp') ? l$timestamp : const {}, + ]); } } @@ -83,10 +82,7 @@ abstract class CopyWith$Variables$Query$Application { class _CopyWithImpl$Variables$Query$Application implements CopyWith$Variables$Query$Application { - _CopyWithImpl$Variables$Query$Application( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$Application(this._instance, this._then); final Variables$Query$Application _instance; @@ -94,11 +90,12 @@ class _CopyWithImpl$Variables$Query$Application static const _undefined = {}; - TRes call({Object? timestamp = _undefined}) => - _then(Variables$Query$Application._({ - ..._instance._$data, - if (timestamp != _undefined) 'timestamp': (timestamp as String?), - })); + TRes call({Object? timestamp = _undefined}) => _then( + Variables$Query$Application._({ + ..._instance._$data, + if (timestamp != _undefined) 'timestamp': (timestamp as String?), + }), + ); } class _CopyWithStubImpl$Variables$Query$Application @@ -121,7 +118,8 @@ class Query$Application { final l$$__typename = json['__typename']; return Query$Application( application: Query$Application$application.fromJson( - (l$application as Map)), + (l$application as Map), + ), $__typename: (l$$__typename as String), ); } @@ -143,10 +141,7 @@ class Query$Application { int get hashCode { final l$application = application; final l$$__typename = $__typename; - return Object.hashAll([ - l$application, - l$$__typename, - ]); + return Object.hashAll([l$application, l$$__typename]); } @override @@ -173,10 +168,7 @@ class Query$Application { extension UtilityExtension$Query$Application on Query$Application { CopyWith$Query$Application get copyWith => - CopyWith$Query$Application( - this, - (i) => i, - ); + CopyWith$Query$Application(this, (i) => i); } abstract class CopyWith$Query$Application { @@ -188,19 +180,13 @@ abstract class CopyWith$Query$Application { factory CopyWith$Query$Application.stub(TRes res) = _CopyWithStubImpl$Query$Application; - TRes call({ - Query$Application$application? application, - String? $__typename, - }); + TRes call({Query$Application$application? application, String? $__typename}); CopyWith$Query$Application$application get application; } class _CopyWithImpl$Query$Application implements CopyWith$Query$Application { - _CopyWithImpl$Query$Application( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Application(this._instance, this._then); final Query$Application _instance; @@ -211,20 +197,23 @@ class _CopyWithImpl$Query$Application TRes call({ Object? application = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$Application( - application: application == _undefined || application == null - ? _instance.application - : (application as Query$Application$application), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$Application( + application: application == _undefined || application == null + ? _instance.application + : (application as Query$Application$application), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$Application$application get application { final local$application = _instance.application; return CopyWith$Query$Application$application( - local$application, (e) => call(application: e)); + local$application, + (e) => call(application: e), + ); } } @@ -234,130 +223,146 @@ class _CopyWithStubImpl$Query$Application TRes _res; - call({ - Query$Application$application? application, - String? $__typename, - }) => + call({Query$Application$application? application, String? $__typename}) => _res; CopyWith$Query$Application$application get application => CopyWith$Query$Application$application.stub(_res); } -const documentNodeQueryApplication = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'Application'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'timestamp')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: false, - ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'application'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'timestamp'), - value: VariableNode(name: NameNode(value: 'timestamp')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'clientVersion'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'page'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), +const documentNodeQueryApplication = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'Application'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'timestamp')), + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: false, ), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'searchPage'), + name: NameNode(value: 'application'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'timestamp'), + value: VariableNode(name: NameNode(value: 'timestamp')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'gamesPage'), - alias: null, - arguments: [], + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'livestreamEnabled'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'clientVersion'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'page'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'searchPage'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'gamesPage'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'livestreamEnabled'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -366,18 +371,11 @@ const documentNodeQueryApplication = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$Application _parserFn$Query$Application(Map data) => Query$Application.fromJson(data); typedef OnQueryComplete$Query$Application = FutureOr Function( @@ -399,36 +397,36 @@ class Options$Query$Application graphql.Context? context, OnQueryComplete$Query$Application? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$Application(data), - ), - onError: onError, - document: documentNodeQueryApplication, - parserFn: _parserFn$Query$Application, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$Application(data), + ), + onError: onError, + document: documentNodeQueryApplication, + parserFn: _parserFn$Query$Application, + ); final OnQueryComplete$Query$Application? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$Application @@ -447,20 +445,20 @@ class WatchOptions$Query$Application bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryApplication, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$Application, - ); + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryApplication, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$Application, + ); } class FetchMoreOptions$Query$Application extends graphql.FetchMoreOptions { @@ -468,34 +466,33 @@ class FetchMoreOptions$Query$Application extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, Variables$Query$Application? variables, }) : super( - updateQuery: updateQuery, - variables: variables?.toJson() ?? {}, - document: documentNodeQueryApplication, - ); + updateQuery: updateQuery, + variables: variables?.toJson() ?? {}, + document: documentNodeQueryApplication, + ); } extension ClientExtension$Query$Application on graphql.GraphQLClient { - Future> query$Application( - [Options$Query$Application? options]) async => - await this.query(options ?? Options$Query$Application()); + Future> query$Application([ + Options$Query$Application? options, + ]) async => await this.query(options ?? Options$Query$Application()); - graphql.ObservableQuery watchQuery$Application( - [WatchOptions$Query$Application? options]) => - this.watchQuery(options ?? WatchOptions$Query$Application()); + graphql.ObservableQuery watchQuery$Application([ + WatchOptions$Query$Application? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$Application()); void writeQuery$Application({ required Query$Application data, Variables$Query$Application? variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryApplication), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryApplication), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$Application? readQuery$Application({ Variables$Query$Application? variables, @@ -512,11 +509,12 @@ extension ClientExtension$Query$Application on graphql.GraphQLClient { } } -graphql_flutter.QueryHookResult useQuery$Application( - [Options$Query$Application? options]) => - graphql_flutter.useQuery(options ?? Options$Query$Application()); -graphql.ObservableQuery useWatchQuery$Application( - [WatchOptions$Query$Application? options]) => +graphql_flutter.QueryHookResult useQuery$Application([ + Options$Query$Application? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$Application()); +graphql.ObservableQuery useWatchQuery$Application([ + WatchOptions$Query$Application? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$Application()); class Query$Application$Widget @@ -526,10 +524,10 @@ class Query$Application$Widget Options$Query$Application? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$Application(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$Application(), + builder: builder, + ); } class Query$Application$application { @@ -557,15 +555,18 @@ class Query$Application$application { page: l$page == null ? null : Query$Application$application$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), searchPage: l$searchPage == null ? null : Query$Application$application$searchPage.fromJson( - (l$searchPage as Map)), + (l$searchPage as Map), + ), gamesPage: l$gamesPage == null ? null : Query$Application$application$gamesPage.fromJson( - (l$gamesPage as Map)), + (l$gamesPage as Map), + ), livestreamEnabled: (l$livestreamEnabled as bool), $__typename: (l$$__typename as String), ); @@ -675,10 +676,7 @@ class Query$Application$application { extension UtilityExtension$Query$Application$application on Query$Application$application { CopyWith$Query$Application$application - get copyWith => CopyWith$Query$Application$application( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$Application$application(this, (i) => i); } abstract class CopyWith$Query$Application$application { @@ -706,10 +704,7 @@ abstract class CopyWith$Query$Application$application { class _CopyWithImpl$Query$Application$application implements CopyWith$Query$Application$application { - _CopyWithImpl$Query$Application$application( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Application$application(this._instance, this._then); final Query$Application$application _instance; @@ -725,56 +720,65 @@ class _CopyWithImpl$Query$Application$application Object? gamesPage = _undefined, Object? livestreamEnabled = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$Application$application( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - clientVersion: clientVersion == _undefined || clientVersion == null - ? _instance.clientVersion - : (clientVersion as String), - page: page == _undefined - ? _instance.page - : (page as Query$Application$application$page?), - searchPage: searchPage == _undefined - ? _instance.searchPage - : (searchPage as Query$Application$application$searchPage?), - gamesPage: gamesPage == _undefined - ? _instance.gamesPage - : (gamesPage as Query$Application$application$gamesPage?), - livestreamEnabled: - livestreamEnabled == _undefined || livestreamEnabled == null - ? _instance.livestreamEnabled - : (livestreamEnabled as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$Application$application( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + clientVersion: clientVersion == _undefined || clientVersion == null + ? _instance.clientVersion + : (clientVersion as String), + page: page == _undefined + ? _instance.page + : (page as Query$Application$application$page?), + searchPage: searchPage == _undefined + ? _instance.searchPage + : (searchPage as Query$Application$application$searchPage?), + gamesPage: gamesPage == _undefined + ? _instance.gamesPage + : (gamesPage as Query$Application$application$gamesPage?), + livestreamEnabled: + livestreamEnabled == _undefined || livestreamEnabled == null + ? _instance.livestreamEnabled + : (livestreamEnabled as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$Application$application$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$Application$application$page.stub(_then(_instance)) : CopyWith$Query$Application$application$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } CopyWith$Query$Application$application$searchPage get searchPage { final local$searchPage = _instance.searchPage; return local$searchPage == null ? CopyWith$Query$Application$application$searchPage.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$Application$application$searchPage( - local$searchPage, (e) => call(searchPage: e)); + local$searchPage, + (e) => call(searchPage: e), + ); } CopyWith$Query$Application$application$gamesPage get gamesPage { final local$gamesPage = _instance.gamesPage; return local$gamesPage == null ? CopyWith$Query$Application$application$gamesPage.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$Application$application$gamesPage( - local$gamesPage, (e) => call(gamesPage: e)); + local$gamesPage, + (e) => call(gamesPage: e), + ); } } @@ -792,8 +796,7 @@ class _CopyWithStubImpl$Query$Application$application Query$Application$application$gamesPage? gamesPage, bool? livestreamEnabled, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$Application$application$page get page => CopyWith$Query$Application$application$page.stub(_res); @@ -812,7 +815,8 @@ class Query$Application$application$page { }); factory Query$Application$application$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$Application$application$page( @@ -838,10 +842,7 @@ class Query$Application$application$page { int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -870,11 +871,9 @@ class Query$Application$application$page { extension UtilityExtension$Query$Application$application$page on Query$Application$application$page { CopyWith$Query$Application$application$page< - Query$Application$application$page> - get copyWith => CopyWith$Query$Application$application$page( - this, - (i) => i, - ); + Query$Application$application$page + > + get copyWith => CopyWith$Query$Application$application$page(this, (i) => i); } abstract class CopyWith$Query$Application$application$page { @@ -886,18 +885,12 @@ abstract class CopyWith$Query$Application$application$page { factory CopyWith$Query$Application$application$page.stub(TRes res) = _CopyWithStubImpl$Query$Application$application$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$Application$application$page implements CopyWith$Query$Application$application$page { - _CopyWithImpl$Query$Application$application$page( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Application$application$page(this._instance, this._then); final Query$Application$application$page _instance; @@ -905,18 +898,17 @@ class _CopyWithImpl$Query$Application$application$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$Application$application$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$Application$application$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$Application$application$page @@ -925,11 +917,7 @@ class _CopyWithStubImpl$Query$Application$application$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$Application$application$searchPage { @@ -939,7 +927,8 @@ class Query$Application$application$searchPage { }); factory Query$Application$application$searchPage.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$Application$application$searchPage( @@ -965,10 +954,7 @@ class Query$Application$application$searchPage { int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -997,11 +983,10 @@ class Query$Application$application$searchPage { extension UtilityExtension$Query$Application$application$searchPage on Query$Application$application$searchPage { CopyWith$Query$Application$application$searchPage< - Query$Application$application$searchPage> - get copyWith => CopyWith$Query$Application$application$searchPage( - this, - (i) => i, - ); + Query$Application$application$searchPage + > + get copyWith => + CopyWith$Query$Application$application$searchPage(this, (i) => i); } abstract class CopyWith$Query$Application$application$searchPage { @@ -1013,10 +998,7 @@ abstract class CopyWith$Query$Application$application$searchPage { factory CopyWith$Query$Application$application$searchPage.stub(TRes res) = _CopyWithStubImpl$Query$Application$application$searchPage; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$Application$application$searchPage @@ -1032,18 +1014,17 @@ class _CopyWithImpl$Query$Application$application$searchPage static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$Application$application$searchPage( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$Application$application$searchPage( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$Application$application$searchPage @@ -1052,11 +1033,7 @@ class _CopyWithStubImpl$Query$Application$application$searchPage TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$Application$application$gamesPage { @@ -1066,7 +1043,8 @@ class Query$Application$application$gamesPage { }); factory Query$Application$application$gamesPage.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$Application$application$gamesPage( @@ -1092,10 +1070,7 @@ class Query$Application$application$gamesPage { int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -1124,11 +1099,10 @@ class Query$Application$application$gamesPage { extension UtilityExtension$Query$Application$application$gamesPage on Query$Application$application$gamesPage { CopyWith$Query$Application$application$gamesPage< - Query$Application$application$gamesPage> - get copyWith => CopyWith$Query$Application$application$gamesPage( - this, - (i) => i, - ); + Query$Application$application$gamesPage + > + get copyWith => + CopyWith$Query$Application$application$gamesPage(this, (i) => i); } abstract class CopyWith$Query$Application$application$gamesPage { @@ -1140,10 +1114,7 @@ abstract class CopyWith$Query$Application$application$gamesPage { factory CopyWith$Query$Application$application$gamesPage.stub(TRes res) = _CopyWithStubImpl$Query$Application$application$gamesPage; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$Application$application$gamesPage @@ -1159,18 +1130,17 @@ class _CopyWithImpl$Query$Application$application$gamesPage static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$Application$application$gamesPage( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$Application$application$gamesPage( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$Application$application$gamesPage @@ -1179,9 +1149,5 @@ class _CopyWithStubImpl$Query$Application$application$gamesPage TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/calendar.graphql.dart b/bccm_core/lib/src/features/graphql/queries/calendar.graphql.dart index c7912e4..00f692c 100644 --- a/bccm_core/lib/src/features/graphql/queries/calendar.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/calendar.graphql.dart @@ -1,5 +1,7 @@ import 'dart:async'; + import 'live/calendar_days.graphql.dart'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -9,11 +11,7 @@ class Variables$Query$CalendarPeriod { factory Variables$Query$CalendarPeriod({ required String from, required String to, - }) => - Variables$Query$CalendarPeriod._({ - r'from': from, - r'to': to, - }); + }) => Variables$Query$CalendarPeriod._({r'from': from, r'to': to}); Variables$Query$CalendarPeriod._(this._$data); @@ -42,10 +40,7 @@ class Variables$Query$CalendarPeriod { } CopyWith$Variables$Query$CalendarPeriod - get copyWith => CopyWith$Variables$Query$CalendarPeriod( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$CalendarPeriod(this, (i) => i); @override bool operator ==(Object other) { @@ -73,10 +68,7 @@ class Variables$Query$CalendarPeriod { int get hashCode { final l$from = from; final l$to = to; - return Object.hashAll([ - l$from, - l$to, - ]); + return Object.hashAll([l$from, l$to]); } } @@ -89,18 +81,12 @@ abstract class CopyWith$Variables$Query$CalendarPeriod { factory CopyWith$Variables$Query$CalendarPeriod.stub(TRes res) = _CopyWithStubImpl$Variables$Query$CalendarPeriod; - TRes call({ - String? from, - String? to, - }); + TRes call({String? from, String? to}); } class _CopyWithImpl$Variables$Query$CalendarPeriod implements CopyWith$Variables$Query$CalendarPeriod { - _CopyWithImpl$Variables$Query$CalendarPeriod( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$CalendarPeriod(this._instance, this._then); final Variables$Query$CalendarPeriod _instance; @@ -108,15 +94,13 @@ class _CopyWithImpl$Variables$Query$CalendarPeriod static const _undefined = {}; - TRes call({ - Object? from = _undefined, - Object? to = _undefined, - }) => - _then(Variables$Query$CalendarPeriod._({ - ..._instance._$data, - if (from != _undefined && from != null) 'from': (from as String), - if (to != _undefined && to != null) 'to': (to as String), - })); + TRes call({Object? from = _undefined, Object? to = _undefined}) => _then( + Variables$Query$CalendarPeriod._({ + ..._instance._$data, + if (from != _undefined && from != null) 'from': (from as String), + if (to != _undefined && to != null) 'to': (to as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$CalendarPeriod @@ -125,18 +109,11 @@ class _CopyWithStubImpl$Variables$Query$CalendarPeriod TRes _res; - call({ - String? from, - String? to, - }) => - _res; + call({String? from, String? to}) => _res; } class Query$CalendarPeriod { - Query$CalendarPeriod({ - this.calendar, - this.$__typename = 'QueryRoot', - }); + Query$CalendarPeriod({this.calendar, this.$__typename = 'QueryRoot'}); factory Query$CalendarPeriod.fromJson(Map json) { final l$calendar = json['calendar']; @@ -145,7 +122,8 @@ class Query$CalendarPeriod { calendar: l$calendar == null ? null : Query$CalendarPeriod$calendar.fromJson( - (l$calendar as Map)), + (l$calendar as Map), + ), $__typename: (l$$__typename as String), ); } @@ -167,10 +145,7 @@ class Query$CalendarPeriod { int get hashCode { final l$calendar = calendar; final l$$__typename = $__typename; - return Object.hashAll([ - l$calendar, - l$$__typename, - ]); + return Object.hashAll([l$calendar, l$$__typename]); } @override @@ -197,10 +172,7 @@ class Query$CalendarPeriod { extension UtilityExtension$Query$CalendarPeriod on Query$CalendarPeriod { CopyWith$Query$CalendarPeriod get copyWith => - CopyWith$Query$CalendarPeriod( - this, - (i) => i, - ); + CopyWith$Query$CalendarPeriod(this, (i) => i); } abstract class CopyWith$Query$CalendarPeriod { @@ -212,19 +184,13 @@ abstract class CopyWith$Query$CalendarPeriod { factory CopyWith$Query$CalendarPeriod.stub(TRes res) = _CopyWithStubImpl$Query$CalendarPeriod; - TRes call({ - Query$CalendarPeriod$calendar? calendar, - String? $__typename, - }); + TRes call({Query$CalendarPeriod$calendar? calendar, String? $__typename}); CopyWith$Query$CalendarPeriod$calendar get calendar; } class _CopyWithImpl$Query$CalendarPeriod implements CopyWith$Query$CalendarPeriod { - _CopyWithImpl$Query$CalendarPeriod( - this._instance, - this._then, - ); + _CopyWithImpl$Query$CalendarPeriod(this._instance, this._then); final Query$CalendarPeriod _instance; @@ -235,22 +201,25 @@ class _CopyWithImpl$Query$CalendarPeriod TRes call({ Object? calendar = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$CalendarPeriod( - calendar: calendar == _undefined - ? _instance.calendar - : (calendar as Query$CalendarPeriod$calendar?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$CalendarPeriod( + calendar: calendar == _undefined + ? _instance.calendar + : (calendar as Query$CalendarPeriod$calendar?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$CalendarPeriod$calendar get calendar { final local$calendar = _instance.calendar; return local$calendar == null ? CopyWith$Query$CalendarPeriod$calendar.stub(_then(_instance)) : CopyWith$Query$CalendarPeriod$calendar( - local$calendar, (e) => call(calendar: e)); + local$calendar, + (e) => call(calendar: e), + ); } } @@ -260,107 +229,114 @@ class _CopyWithStubImpl$Query$CalendarPeriod TRes _res; - call({ - Query$CalendarPeriod$calendar? calendar, - String? $__typename, - }) => - _res; + call({Query$CalendarPeriod$calendar? calendar, String? $__typename}) => _res; CopyWith$Query$CalendarPeriod$calendar get calendar => CopyWith$Query$CalendarPeriod$calendar.stub(_res); } -const documentNodeQueryCalendarPeriod = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'CalendarPeriod'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'from')), - type: NamedTypeNode( - name: NameNode(value: 'Date'), - isNonNull: true, +const documentNodeQueryCalendarPeriod = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'CalendarPeriod'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'from')), + type: NamedTypeNode(name: NameNode(value: 'Date'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'to')), - type: NamedTypeNode( - name: NameNode(value: 'Date'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'to')), + type: NamedTypeNode(name: NameNode(value: 'Date'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'calendar'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'period'), + name: NameNode(value: 'calendar'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'from'), - value: VariableNode(name: NameNode(value: 'from')), - ), - ArgumentNode( - name: NameNode(value: 'to'), - value: VariableNode(name: NameNode(value: 'to')), - ), - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'activeDays'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'events'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'period'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'from'), + value: VariableNode(name: NameNode(value: 'from')), + ), + ArgumentNode( + name: NameNode(value: 'to'), + value: VariableNode(name: NameNode(value: 'to')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'activeDays'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'events'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'end'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -369,21 +345,14 @@ const documentNodeQueryCalendarPeriod = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), -]); + ), + ], +); Query$CalendarPeriod _parserFn$Query$CalendarPeriod( - Map data) => - Query$CalendarPeriod.fromJson(data); + Map data, +) => Query$CalendarPeriod.fromJson(data); typedef OnQueryComplete$Query$CalendarPeriod = FutureOr Function( Map?, Query$CalendarPeriod?, @@ -403,36 +372,36 @@ class Options$Query$CalendarPeriod graphql.Context? context, OnQueryComplete$Query$CalendarPeriod? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$CalendarPeriod(data), - ), - onError: onError, - document: documentNodeQueryCalendarPeriod, - parserFn: _parserFn$Query$CalendarPeriod, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$CalendarPeriod(data), + ), + onError: onError, + document: documentNodeQueryCalendarPeriod, + parserFn: _parserFn$Query$CalendarPeriod, + ); final OnQueryComplete$Query$CalendarPeriod? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$CalendarPeriod @@ -451,20 +420,20 @@ class WatchOptions$Query$CalendarPeriod bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryCalendarPeriod, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$CalendarPeriod, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryCalendarPeriod, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$CalendarPeriod, + ); } class FetchMoreOptions$Query$CalendarPeriod extends graphql.FetchMoreOptions { @@ -472,35 +441,33 @@ class FetchMoreOptions$Query$CalendarPeriod extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$CalendarPeriod variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryCalendarPeriod, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryCalendarPeriod, + ); } extension ClientExtension$Query$CalendarPeriod on graphql.GraphQLClient { Future> query$CalendarPeriod( - Options$Query$CalendarPeriod options) async => - await this.query(options); + Options$Query$CalendarPeriod options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$CalendarPeriod( - WatchOptions$Query$CalendarPeriod options) => - this.watchQuery(options); + WatchOptions$Query$CalendarPeriod options, + ) => this.watchQuery(options); void writeQuery$CalendarPeriod({ required Query$CalendarPeriod data, required Variables$Query$CalendarPeriod variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryCalendarPeriod), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryCalendarPeriod), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$CalendarPeriod? readQuery$CalendarPeriod({ required Variables$Query$CalendarPeriod variables, @@ -518,11 +485,11 @@ extension ClientExtension$Query$CalendarPeriod on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$CalendarPeriod( - Options$Query$CalendarPeriod options) => - graphql_flutter.useQuery(options); + Options$Query$CalendarPeriod options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$CalendarPeriod( - WatchOptions$Query$CalendarPeriod options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$CalendarPeriod options, +) => graphql_flutter.useWatchQuery(options); class Query$CalendarPeriod$Widget extends graphql_flutter.Query { @@ -530,11 +497,7 @@ class Query$CalendarPeriod$Widget widgets.Key? key, required Options$Query$CalendarPeriod options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$CalendarPeriod$calendar { @@ -548,7 +511,8 @@ class Query$CalendarPeriod$calendar { final l$$__typename = json['__typename']; return Query$CalendarPeriod$calendar( period: Query$CalendarPeriod$calendar$period.fromJson( - (l$period as Map)), + (l$period as Map), + ), $__typename: (l$$__typename as String), ); } @@ -570,10 +534,7 @@ class Query$CalendarPeriod$calendar { int get hashCode { final l$period = period; final l$$__typename = $__typename; - return Object.hashAll([ - l$period, - l$$__typename, - ]); + return Object.hashAll([l$period, l$$__typename]); } @override @@ -602,10 +563,7 @@ class Query$CalendarPeriod$calendar { extension UtilityExtension$Query$CalendarPeriod$calendar on Query$CalendarPeriod$calendar { CopyWith$Query$CalendarPeriod$calendar - get copyWith => CopyWith$Query$CalendarPeriod$calendar( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$CalendarPeriod$calendar(this, (i) => i); } abstract class CopyWith$Query$CalendarPeriod$calendar { @@ -626,10 +584,7 @@ abstract class CopyWith$Query$CalendarPeriod$calendar { class _CopyWithImpl$Query$CalendarPeriod$calendar implements CopyWith$Query$CalendarPeriod$calendar { - _CopyWithImpl$Query$CalendarPeriod$calendar( - this._instance, - this._then, - ); + _CopyWithImpl$Query$CalendarPeriod$calendar(this._instance, this._then); final Query$CalendarPeriod$calendar _instance; @@ -637,23 +592,24 @@ class _CopyWithImpl$Query$CalendarPeriod$calendar static const _undefined = {}; - TRes call({ - Object? period = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$CalendarPeriod$calendar( - period: period == _undefined || period == null - ? _instance.period - : (period as Query$CalendarPeriod$calendar$period), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? period = _undefined, Object? $__typename = _undefined}) => + _then( + Query$CalendarPeriod$calendar( + period: period == _undefined || period == null + ? _instance.period + : (period as Query$CalendarPeriod$calendar$period), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$CalendarPeriod$calendar$period get period { final local$period = _instance.period; return CopyWith$Query$CalendarPeriod$calendar$period( - local$period, (e) => call(period: e)); + local$period, + (e) => call(period: e), + ); } } @@ -663,10 +619,7 @@ class _CopyWithStubImpl$Query$CalendarPeriod$calendar TRes _res; - call({ - Query$CalendarPeriod$calendar$period? period, - String? $__typename, - }) => + call({Query$CalendarPeriod$calendar$period? period, String? $__typename}) => _res; CopyWith$Query$CalendarPeriod$calendar$period get period => @@ -681,16 +634,21 @@ class Query$CalendarPeriod$calendar$period { }); factory Query$CalendarPeriod$calendar$period.fromJson( - Map json) { + Map json, + ) { final l$activeDays = json['activeDays']; final l$events = json['events']; final l$$__typename = json['__typename']; return Query$CalendarPeriod$calendar$period( - activeDays: - (l$activeDays as List).map((e) => (e as String)).toList(), + activeDays: (l$activeDays as List) + .map((e) => (e as String)) + .toList(), events: (l$events as List) - .map((e) => Query$CalendarPeriod$calendar$period$events.fromJson( - (e as Map))) + .map( + (e) => Query$CalendarPeriod$calendar$period$events.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -770,11 +728,9 @@ class Query$CalendarPeriod$calendar$period { extension UtilityExtension$Query$CalendarPeriod$calendar$period on Query$CalendarPeriod$calendar$period { CopyWith$Query$CalendarPeriod$calendar$period< - Query$CalendarPeriod$calendar$period> - get copyWith => CopyWith$Query$CalendarPeriod$calendar$period( - this, - (i) => i, - ); + Query$CalendarPeriod$calendar$period + > + get copyWith => CopyWith$Query$CalendarPeriod$calendar$period(this, (i) => i); } abstract class CopyWith$Query$CalendarPeriod$calendar$period { @@ -792,11 +748,15 @@ abstract class CopyWith$Query$CalendarPeriod$calendar$period { String? $__typename, }); TRes events( - Iterable Function( - Iterable< - CopyWith$Query$CalendarPeriod$calendar$period$events< - Query$CalendarPeriod$calendar$period$events>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$CalendarPeriod$calendar$period$events< + Query$CalendarPeriod$calendar$period$events + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$CalendarPeriod$calendar$period @@ -816,31 +776,37 @@ class _CopyWithImpl$Query$CalendarPeriod$calendar$period Object? activeDays = _undefined, Object? events = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$CalendarPeriod$calendar$period( - activeDays: activeDays == _undefined || activeDays == null - ? _instance.activeDays - : (activeDays as List), - events: events == _undefined || events == null - ? _instance.events - : (events as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$CalendarPeriod$calendar$period( + activeDays: activeDays == _undefined || activeDays == null + ? _instance.activeDays + : (activeDays as List), + events: events == _undefined || events == null + ? _instance.events + : (events as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes events( - Iterable Function( - Iterable< - CopyWith$Query$CalendarPeriod$calendar$period$events< - Query$CalendarPeriod$calendar$period$events>>) - _fn) => - call( - events: _fn(_instance.events - .map((e) => CopyWith$Query$CalendarPeriod$calendar$period$events( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$CalendarPeriod$calendar$period$events< + Query$CalendarPeriod$calendar$period$events + > + >, + ) + _fn, + ) => call( + events: _fn( + _instance.events.map( + (e) => + CopyWith$Query$CalendarPeriod$calendar$period$events(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$CalendarPeriod$calendar$period @@ -853,8 +819,7 @@ class _CopyWithStubImpl$Query$CalendarPeriod$calendar$period List? activeDays, List? events, String? $__typename, - }) => - _res; + }) => _res; events(_fn) => _res; } @@ -867,7 +832,8 @@ class Query$CalendarPeriod$calendar$period$events { }); factory Query$CalendarPeriod$calendar$period$events.fromJson( - Map json) { + Map json, + ) { final l$start = json['start']; final l$end = json['end']; final l$$__typename = json['__typename']; @@ -900,11 +866,7 @@ class Query$CalendarPeriod$calendar$period$events { final l$start = start; final l$end = end; final l$$__typename = $__typename; - return Object.hashAll([ - l$start, - l$end, - l$$__typename, - ]); + return Object.hashAll([l$start, l$end, l$$__typename]); } @override @@ -938,11 +900,10 @@ class Query$CalendarPeriod$calendar$period$events { extension UtilityExtension$Query$CalendarPeriod$calendar$period$events on Query$CalendarPeriod$calendar$period$events { CopyWith$Query$CalendarPeriod$calendar$period$events< - Query$CalendarPeriod$calendar$period$events> - get copyWith => CopyWith$Query$CalendarPeriod$calendar$period$events( - this, - (i) => i, - ); + Query$CalendarPeriod$calendar$period$events + > + get copyWith => + CopyWith$Query$CalendarPeriod$calendar$period$events(this, (i) => i); } abstract class CopyWith$Query$CalendarPeriod$calendar$period$events { @@ -954,11 +915,7 @@ abstract class CopyWith$Query$CalendarPeriod$calendar$period$events { factory CopyWith$Query$CalendarPeriod$calendar$period$events.stub(TRes res) = _CopyWithStubImpl$Query$CalendarPeriod$calendar$period$events; - TRes call({ - String? start, - String? end, - String? $__typename, - }); + TRes call({String? start, String? end, String? $__typename}); } class _CopyWithImpl$Query$CalendarPeriod$calendar$period$events @@ -978,16 +935,17 @@ class _CopyWithImpl$Query$CalendarPeriod$calendar$period$events Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$CalendarPeriod$calendar$period$events( - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$CalendarPeriod$calendar$period$events( + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$CalendarPeriod$calendar$period$events @@ -996,19 +954,12 @@ class _CopyWithStubImpl$Query$CalendarPeriod$calendar$period$events TRes _res; - call({ - String? start, - String? end, - String? $__typename, - }) => - _res; + call({String? start, String? end, String? $__typename}) => _res; } class Variables$Query$CalendarDay { factory Variables$Query$CalendarDay({required String date}) => - Variables$Query$CalendarDay._({ - r'date': date, - }); + Variables$Query$CalendarDay._({r'date': date}); Variables$Query$CalendarDay._(this._$data); @@ -1031,10 +982,7 @@ class Variables$Query$CalendarDay { } CopyWith$Variables$Query$CalendarDay - get copyWith => CopyWith$Variables$Query$CalendarDay( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$CalendarDay(this, (i) => i); @override bool operator ==(Object other) { @@ -1074,10 +1022,7 @@ abstract class CopyWith$Variables$Query$CalendarDay { class _CopyWithImpl$Variables$Query$CalendarDay implements CopyWith$Variables$Query$CalendarDay { - _CopyWithImpl$Variables$Query$CalendarDay( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$CalendarDay(this._instance, this._then); final Variables$Query$CalendarDay _instance; @@ -1085,11 +1030,12 @@ class _CopyWithImpl$Variables$Query$CalendarDay static const _undefined = {}; - TRes call({Object? date = _undefined}) => - _then(Variables$Query$CalendarDay._({ - ..._instance._$data, - if (date != _undefined && date != null) 'date': (date as String), - })); + TRes call({Object? date = _undefined}) => _then( + Variables$Query$CalendarDay._({ + ..._instance._$data, + if (date != _undefined && date != null) 'date': (date as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$CalendarDay @@ -1102,10 +1048,7 @@ class _CopyWithStubImpl$Variables$Query$CalendarDay } class Query$CalendarDay { - Query$CalendarDay({ - this.calendar, - this.$__typename = 'QueryRoot', - }); + Query$CalendarDay({this.calendar, this.$__typename = 'QueryRoot'}); factory Query$CalendarDay.fromJson(Map json) { final l$calendar = json['calendar']; @@ -1114,7 +1057,8 @@ class Query$CalendarDay { calendar: l$calendar == null ? null : Query$CalendarDay$calendar.fromJson( - (l$calendar as Map)), + (l$calendar as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1136,10 +1080,7 @@ class Query$CalendarDay { int get hashCode { final l$calendar = calendar; final l$$__typename = $__typename; - return Object.hashAll([ - l$calendar, - l$$__typename, - ]); + return Object.hashAll([l$calendar, l$$__typename]); } @override @@ -1166,10 +1107,7 @@ class Query$CalendarDay { extension UtilityExtension$Query$CalendarDay on Query$CalendarDay { CopyWith$Query$CalendarDay get copyWith => - CopyWith$Query$CalendarDay( - this, - (i) => i, - ); + CopyWith$Query$CalendarDay(this, (i) => i); } abstract class CopyWith$Query$CalendarDay { @@ -1181,19 +1119,13 @@ abstract class CopyWith$Query$CalendarDay { factory CopyWith$Query$CalendarDay.stub(TRes res) = _CopyWithStubImpl$Query$CalendarDay; - TRes call({ - Query$CalendarDay$calendar? calendar, - String? $__typename, - }); + TRes call({Query$CalendarDay$calendar? calendar, String? $__typename}); CopyWith$Query$CalendarDay$calendar get calendar; } class _CopyWithImpl$Query$CalendarDay implements CopyWith$Query$CalendarDay { - _CopyWithImpl$Query$CalendarDay( - this._instance, - this._then, - ); + _CopyWithImpl$Query$CalendarDay(this._instance, this._then); final Query$CalendarDay _instance; @@ -1204,22 +1136,25 @@ class _CopyWithImpl$Query$CalendarDay TRes call({ Object? calendar = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$CalendarDay( - calendar: calendar == _undefined - ? _instance.calendar - : (calendar as Query$CalendarDay$calendar?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$CalendarDay( + calendar: calendar == _undefined + ? _instance.calendar + : (calendar as Query$CalendarDay$calendar?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$CalendarDay$calendar get calendar { final local$calendar = _instance.calendar; return local$calendar == null ? CopyWith$Query$CalendarDay$calendar.stub(_then(_instance)) : CopyWith$Query$CalendarDay$calendar( - local$calendar, (e) => call(calendar: e)); + local$calendar, + (e) => call(calendar: e), + ); } } @@ -1229,62 +1164,70 @@ class _CopyWithStubImpl$Query$CalendarDay TRes _res; - call({ - Query$CalendarDay$calendar? calendar, - String? $__typename, - }) => - _res; + call({Query$CalendarDay$calendar? calendar, String? $__typename}) => _res; CopyWith$Query$CalendarDay$calendar get calendar => CopyWith$Query$CalendarDay$calendar.stub(_res); } -const documentNodeQueryCalendarDay = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'CalendarDay'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'date')), - type: NamedTypeNode( - name: NameNode(value: 'Date'), - isNonNull: true, +const documentNodeQueryCalendarDay = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'CalendarDay'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'date')), + type: NamedTypeNode(name: NameNode(value: 'Date'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'calendar'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'day'), + name: NameNode(value: 'calendar'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'day'), - value: VariableNode(name: NameNode(value: 'date')), - ) - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarDay'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'day'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'day'), + value: VariableNode(name: NameNode(value: 'date')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarDay'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1293,20 +1236,13 @@ const documentNodeQueryCalendarDay = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - fragmentDefinitionCalendarDay, - fragmentDefinitionCalendarEntry, -]); + ), + fragmentDefinitionCalendarDay, + fragmentDefinitionCalendarEntry, + ], +); Query$CalendarDay _parserFn$Query$CalendarDay(Map data) => Query$CalendarDay.fromJson(data); typedef OnQueryComplete$Query$CalendarDay = FutureOr Function( @@ -1328,36 +1264,36 @@ class Options$Query$CalendarDay graphql.Context? context, OnQueryComplete$Query$CalendarDay? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$CalendarDay(data), - ), - onError: onError, - document: documentNodeQueryCalendarDay, - parserFn: _parserFn$Query$CalendarDay, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$CalendarDay(data), + ), + onError: onError, + document: documentNodeQueryCalendarDay, + parserFn: _parserFn$Query$CalendarDay, + ); final OnQueryComplete$Query$CalendarDay? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$CalendarDay @@ -1376,20 +1312,20 @@ class WatchOptions$Query$CalendarDay bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryCalendarDay, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$CalendarDay, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryCalendarDay, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$CalendarDay, + ); } class FetchMoreOptions$Query$CalendarDay extends graphql.FetchMoreOptions { @@ -1397,34 +1333,33 @@ class FetchMoreOptions$Query$CalendarDay extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$CalendarDay variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryCalendarDay, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryCalendarDay, + ); } extension ClientExtension$Query$CalendarDay on graphql.GraphQLClient { Future> query$CalendarDay( - Options$Query$CalendarDay options) async => - await this.query(options); + Options$Query$CalendarDay options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$CalendarDay( - WatchOptions$Query$CalendarDay options) => - this.watchQuery(options); + WatchOptions$Query$CalendarDay options, + ) => this.watchQuery(options); void writeQuery$CalendarDay({ required Query$CalendarDay data, required Variables$Query$CalendarDay variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryCalendarDay), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryCalendarDay), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$CalendarDay? readQuery$CalendarDay({ required Variables$Query$CalendarDay variables, @@ -1442,11 +1377,11 @@ extension ClientExtension$Query$CalendarDay on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$CalendarDay( - Options$Query$CalendarDay options) => - graphql_flutter.useQuery(options); + Options$Query$CalendarDay options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$CalendarDay( - WatchOptions$Query$CalendarDay options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$CalendarDay options, +) => graphql_flutter.useWatchQuery(options); class Query$CalendarDay$Widget extends graphql_flutter.Query { @@ -1454,11 +1389,7 @@ class Query$CalendarDay$Widget widgets.Key? key, required Options$Query$CalendarDay options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$CalendarDay$calendar { @@ -1493,10 +1424,7 @@ class Query$CalendarDay$calendar { int get hashCode { final l$day = day; final l$$__typename = $__typename; - return Object.hashAll([ - l$day, - l$$__typename, - ]); + return Object.hashAll([l$day, l$$__typename]); } @override @@ -1525,10 +1453,7 @@ class Query$CalendarDay$calendar { extension UtilityExtension$Query$CalendarDay$calendar on Query$CalendarDay$calendar { CopyWith$Query$CalendarDay$calendar - get copyWith => CopyWith$Query$CalendarDay$calendar( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$CalendarDay$calendar(this, (i) => i); } abstract class CopyWith$Query$CalendarDay$calendar { @@ -1540,19 +1465,13 @@ abstract class CopyWith$Query$CalendarDay$calendar { factory CopyWith$Query$CalendarDay$calendar.stub(TRes res) = _CopyWithStubImpl$Query$CalendarDay$calendar; - TRes call({ - Fragment$CalendarDay? day, - String? $__typename, - }); + TRes call({Fragment$CalendarDay? day, String? $__typename}); CopyWith$Fragment$CalendarDay get day; } class _CopyWithImpl$Query$CalendarDay$calendar implements CopyWith$Query$CalendarDay$calendar { - _CopyWithImpl$Query$CalendarDay$calendar( - this._instance, - this._then, - ); + _CopyWithImpl$Query$CalendarDay$calendar(this._instance, this._then); final Query$CalendarDay$calendar _instance; @@ -1560,18 +1479,17 @@ class _CopyWithImpl$Query$CalendarDay$calendar static const _undefined = {}; - TRes call({ - Object? day = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$CalendarDay$calendar( - day: day == _undefined || day == null - ? _instance.day - : (day as Fragment$CalendarDay), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? day = _undefined, Object? $__typename = _undefined}) => + _then( + Query$CalendarDay$calendar( + day: day == _undefined || day == null + ? _instance.day + : (day as Fragment$CalendarDay), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CalendarDay get day { final local$day = _instance.day; @@ -1585,11 +1503,7 @@ class _CopyWithStubImpl$Query$CalendarDay$calendar TRes _res; - call({ - Fragment$CalendarDay? day, - String? $__typename, - }) => - _res; + call({Fragment$CalendarDay? day, String? $__typename}) => _res; CopyWith$Fragment$CalendarDay get day => CopyWith$Fragment$CalendarDay.stub(_res); diff --git a/bccm_core/lib/src/features/graphql/queries/calendar_episode_entries.graphql.dart b/bccm_core/lib/src/features/graphql/queries/calendar_episode_entries.graphql.dart index 4b3e2ff..9b61e2d 100644 --- a/bccm_core/lib/src/features/graphql/queries/calendar_episode_entries.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/calendar_episode_entries.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -32,7 +33,8 @@ class Fragment$CalendarEntryEpisode { season: l$season == null ? null : Fragment$CalendarEntryEpisode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -141,10 +143,7 @@ class Fragment$CalendarEntryEpisode { extension UtilityExtension$Fragment$CalendarEntryEpisode on Fragment$CalendarEntryEpisode { CopyWith$Fragment$CalendarEntryEpisode - get copyWith => CopyWith$Fragment$CalendarEntryEpisode( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CalendarEntryEpisode(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntryEpisode { @@ -170,10 +169,7 @@ abstract class CopyWith$Fragment$CalendarEntryEpisode { class _CopyWithImpl$Fragment$CalendarEntryEpisode implements CopyWith$Fragment$CalendarEntryEpisode { - _CopyWithImpl$Fragment$CalendarEntryEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarEntryEpisode(this._instance, this._then); final Fragment$CalendarEntryEpisode _instance; @@ -189,33 +185,36 @@ class _CopyWithImpl$Fragment$CalendarEntryEpisode Object? description = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntryEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - season: season == _undefined - ? _instance.season - : (season as Fragment$CalendarEntryEpisode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntryEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + season: season == _undefined + ? _instance.season + : (season as Fragment$CalendarEntryEpisode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CalendarEntryEpisode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$CalendarEntryEpisode$season.stub(_then(_instance)) : CopyWith$Fragment$CalendarEntryEpisode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -233,8 +232,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntryEpisode String? description, Fragment$CalendarEntryEpisode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntryEpisode$season get season => CopyWith$Fragment$CalendarEntryEpisode$season.stub(_res); @@ -243,73 +241,53 @@ class _CopyWithStubImpl$Fragment$CalendarEntryEpisode const fragmentDefinitionCalendarEntryEpisode = FragmentDefinitionNode( name: NameNode(value: 'CalendarEntryEpisode'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'id'), alias: null, @@ -324,6 +302,37 @@ const fragmentDefinitionCalendarEntryEpisode = FragmentDefinitionNode( directives: [], selectionSet: null, ), + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), FieldNode( name: NameNode(value: '__typename'), alias: null, @@ -331,29 +340,22 @@ const fragmentDefinitionCalendarEntryEpisode = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentCalendarEntryEpisode = DocumentNode( + definitions: [fragmentDefinitionCalendarEntryEpisode], ); -const documentNodeFragmentCalendarEntryEpisode = DocumentNode(definitions: [ - fragmentDefinitionCalendarEntryEpisode, -]); extension ClientExtension$Fragment$CalendarEntryEpisode on graphql.GraphQLClient { @@ -361,18 +363,17 @@ extension ClientExtension$Fragment$CalendarEntryEpisode required Fragment$CalendarEntryEpisode data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'CalendarEntryEpisode', - document: documentNodeFragmentCalendarEntryEpisode, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'CalendarEntryEpisode', + document: documentNodeFragmentCalendarEntryEpisode, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$CalendarEntryEpisode? readFragment$CalendarEntryEpisode({ required Map idFields, @@ -403,7 +404,8 @@ class Fragment$CalendarEntryEpisode$season { }); factory Fragment$CalendarEntryEpisode$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -412,7 +414,8 @@ class Fragment$CalendarEntryEpisode$season { id: (l$id as String), title: (l$title as String), $show: Fragment$CalendarEntryEpisode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -444,12 +447,7 @@ class Fragment$CalendarEntryEpisode$season { final l$title = title; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename]); } @override @@ -488,11 +486,9 @@ class Fragment$CalendarEntryEpisode$season { extension UtilityExtension$Fragment$CalendarEntryEpisode$season on Fragment$CalendarEntryEpisode$season { CopyWith$Fragment$CalendarEntryEpisode$season< - Fragment$CalendarEntryEpisode$season> - get copyWith => CopyWith$Fragment$CalendarEntryEpisode$season( - this, - (i) => i, - ); + Fragment$CalendarEntryEpisode$season + > + get copyWith => CopyWith$Fragment$CalendarEntryEpisode$season(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntryEpisode$season { @@ -531,24 +527,27 @@ class _CopyWithImpl$Fragment$CalendarEntryEpisode$season Object? title = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntryEpisode$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$CalendarEntryEpisode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntryEpisode$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$CalendarEntryEpisode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CalendarEntryEpisode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$CalendarEntryEpisode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -563,8 +562,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntryEpisode$season String? title, Fragment$CalendarEntryEpisode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntryEpisode$season$show get $show => CopyWith$Fragment$CalendarEntryEpisode$season$show.stub(_res); @@ -578,7 +576,8 @@ class Fragment$CalendarEntryEpisode$season$show { }); factory Fragment$CalendarEntryEpisode$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -611,11 +610,7 @@ class Fragment$CalendarEntryEpisode$season$show { final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -649,11 +644,10 @@ class Fragment$CalendarEntryEpisode$season$show { extension UtilityExtension$Fragment$CalendarEntryEpisode$season$show on Fragment$CalendarEntryEpisode$season$show { CopyWith$Fragment$CalendarEntryEpisode$season$show< - Fragment$CalendarEntryEpisode$season$show> - get copyWith => CopyWith$Fragment$CalendarEntryEpisode$season$show( - this, - (i) => i, - ); + Fragment$CalendarEntryEpisode$season$show + > + get copyWith => + CopyWith$Fragment$CalendarEntryEpisode$season$show(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntryEpisode$season$show { @@ -665,11 +659,7 @@ abstract class CopyWith$Fragment$CalendarEntryEpisode$season$show { factory CopyWith$Fragment$CalendarEntryEpisode$season$show.stub(TRes res) = _CopyWithStubImpl$Fragment$CalendarEntryEpisode$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Fragment$CalendarEntryEpisode$season$show @@ -689,16 +679,17 @@ class _CopyWithImpl$Fragment$CalendarEntryEpisode$season$show Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntryEpisode$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntryEpisode$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntryEpisode$season$show @@ -707,12 +698,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntryEpisode$season$show TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Fragment$CalendarDayEntries { @@ -726,8 +712,11 @@ class Fragment$CalendarDayEntries { final l$$__typename = json['__typename']; return Fragment$CalendarDayEntries( entries: (l$entries as List) - .map((e) => Fragment$CalendarDayEntries$entries.fromJson( - (e as Map))) + .map( + (e) => Fragment$CalendarDayEntries$entries.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -789,10 +778,7 @@ class Fragment$CalendarDayEntries { extension UtilityExtension$Fragment$CalendarDayEntries on Fragment$CalendarDayEntries { CopyWith$Fragment$CalendarDayEntries - get copyWith => CopyWith$Fragment$CalendarDayEntries( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CalendarDayEntries(this, (i) => i); } abstract class CopyWith$Fragment$CalendarDayEntries { @@ -809,19 +795,20 @@ abstract class CopyWith$Fragment$CalendarDayEntries { String? $__typename, }); TRes entries( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarDayEntries$entries< - Fragment$CalendarDayEntries$entries>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$CalendarDayEntries$entries< + Fragment$CalendarDayEntries$entries + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$CalendarDayEntries implements CopyWith$Fragment$CalendarDayEntries { - _CopyWithImpl$Fragment$CalendarDayEntries( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarDayEntries(this._instance, this._then); final Fragment$CalendarDayEntries _instance; @@ -829,31 +816,34 @@ class _CopyWithImpl$Fragment$CalendarDayEntries static const _undefined = {}; - TRes call({ - Object? entries = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDayEntries( - entries: entries == _undefined || entries == null - ? _instance.entries - : (entries as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? entries = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CalendarDayEntries( + entries: entries == _undefined || entries == null + ? _instance.entries + : (entries as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes entries( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarDayEntries$entries< - Fragment$CalendarDayEntries$entries>>) - _fn) => - call( - entries: _fn(_instance.entries - .map((e) => CopyWith$Fragment$CalendarDayEntries$entries( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$CalendarDayEntries$entries< + Fragment$CalendarDayEntries$entries + > + >, + ) + _fn, + ) => call( + entries: _fn( + _instance.entries.map( + (e) => CopyWith$Fragment$CalendarDayEntries$entries(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$CalendarDayEntries @@ -865,8 +855,7 @@ class _CopyWithStubImpl$Fragment$CalendarDayEntries call({ List? entries, String? $__typename, - }) => - _res; + }) => _res; entries(_fn) => _res; } @@ -874,58 +863,72 @@ class _CopyWithStubImpl$Fragment$CalendarDayEntries const fragmentDefinitionCalendarDayEntries = FragmentDefinitionNode( name: NameNode(value: 'CalendarDayEntries'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'CalendarDay'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'CalendarDay'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'entries'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'EpisodeCalendarEntry'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'entries'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'episode'), + name: NameNode(value: 'start'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarEntryEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'end'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'EpisodeCalendarEntry'), + isNonNull: false, ), - ]), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'episode'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarEntryEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -934,48 +937,42 @@ const fragmentDefinitionCalendarDayEntries = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentCalendarDayEntries = DocumentNode( + definitions: [ + fragmentDefinitionCalendarDayEntries, + fragmentDefinitionCalendarEntryEpisode, + ], ); -const documentNodeFragmentCalendarDayEntries = DocumentNode(definitions: [ - fragmentDefinitionCalendarDayEntries, - fragmentDefinitionCalendarEntryEpisode, -]); extension ClientExtension$Fragment$CalendarDayEntries on graphql.GraphQLClient { void writeFragment$CalendarDayEntries({ required Fragment$CalendarDayEntries data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'CalendarDayEntries', - document: documentNodeFragmentCalendarDayEntries, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'CalendarDayEntries', + document: documentNodeFragmentCalendarDayEntries, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$CalendarDayEntries? readFragment$CalendarDayEntries({ required Map idFields, @@ -1003,23 +1000,28 @@ class Fragment$CalendarDayEntries$entries { }); factory Fragment$CalendarDayEntries$entries.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "EpisodeCalendarEntry": - return Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry - .fromJson(json); + return Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry.fromJson( + json, + ); case "SimpleCalendarEntry": - return Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry - .fromJson(json); + return Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry.fromJson( + json, + ); case "SeasonCalendarEntry": - return Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry - .fromJson(json); + return Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry.fromJson( + json, + ); case "ShowCalendarEntry": return Fragment$CalendarDayEntries$entries$$ShowCalendarEntry.fromJson( - json); + json, + ); default: final l$start = json['start']; @@ -1055,11 +1057,7 @@ class Fragment$CalendarDayEntries$entries { final l$start = start; final l$end = end; final l$$__typename = $__typename; - return Object.hashAll([ - l$start, - l$end, - l$$__typename, - ]); + return Object.hashAll([l$start, l$end, l$$__typename]); } @override @@ -1093,42 +1091,47 @@ class Fragment$CalendarDayEntries$entries { extension UtilityExtension$Fragment$CalendarDayEntries$entries on Fragment$CalendarDayEntries$entries { CopyWith$Fragment$CalendarDayEntries$entries< - Fragment$CalendarDayEntries$entries> - get copyWith => CopyWith$Fragment$CalendarDayEntries$entries( - this, - (i) => i, - ); + Fragment$CalendarDayEntries$entries + > + get copyWith => CopyWith$Fragment$CalendarDayEntries$entries(this, (i) => i); _T when<_T>({ required _T Function( - Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry) - episodeCalendarEntry, + Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry, + ) + episodeCalendarEntry, required _T Function( - Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry) - simpleCalendarEntry, + Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry, + ) + simpleCalendarEntry, required _T Function( - Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry) - seasonCalendarEntry, + Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry, + ) + seasonCalendarEntry, required _T Function(Fragment$CalendarDayEntries$entries$$ShowCalendarEntry) - showCalendarEntry, + showCalendarEntry, required _T Function() orElse, }) { switch ($__typename) { case "EpisodeCalendarEntry": return episodeCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry, + ); case "SimpleCalendarEntry": return simpleCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry, + ); case "SeasonCalendarEntry": return seasonCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry, + ); case "ShowCalendarEntry": return showCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$ShowCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$ShowCalendarEntry, + ); default: return orElse(); @@ -1137,20 +1140,21 @@ extension UtilityExtension$Fragment$CalendarDayEntries$entries _T maybeWhen<_T>({ _T Function(Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry)? - episodeCalendarEntry, + episodeCalendarEntry, _T Function(Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry)? - simpleCalendarEntry, + simpleCalendarEntry, _T Function(Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry)? - seasonCalendarEntry, + seasonCalendarEntry, _T Function(Fragment$CalendarDayEntries$entries$$ShowCalendarEntry)? - showCalendarEntry, + showCalendarEntry, required _T Function() orElse, }) { switch ($__typename) { case "EpisodeCalendarEntry": if (episodeCalendarEntry != null) { - return episodeCalendarEntry(this - as Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry); + return episodeCalendarEntry( + this as Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry, + ); } else { return orElse(); } @@ -1158,7 +1162,8 @@ extension UtilityExtension$Fragment$CalendarDayEntries$entries case "SimpleCalendarEntry": if (simpleCalendarEntry != null) { return simpleCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry, + ); } else { return orElse(); } @@ -1166,7 +1171,8 @@ extension UtilityExtension$Fragment$CalendarDayEntries$entries case "SeasonCalendarEntry": if (seasonCalendarEntry != null) { return seasonCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry, + ); } else { return orElse(); } @@ -1174,7 +1180,8 @@ extension UtilityExtension$Fragment$CalendarDayEntries$entries case "ShowCalendarEntry": if (showCalendarEntry != null) { return showCalendarEntry( - this as Fragment$CalendarDayEntries$entries$$ShowCalendarEntry); + this as Fragment$CalendarDayEntries$entries$$ShowCalendarEntry, + ); } else { return orElse(); } @@ -1194,19 +1201,12 @@ abstract class CopyWith$Fragment$CalendarDayEntries$entries { factory CopyWith$Fragment$CalendarDayEntries$entries.stub(TRes res) = _CopyWithStubImpl$Fragment$CalendarDayEntries$entries; - TRes call({ - String? start, - String? end, - String? $__typename, - }); + TRes call({String? start, String? end, String? $__typename}); } class _CopyWithImpl$Fragment$CalendarDayEntries$entries implements CopyWith$Fragment$CalendarDayEntries$entries { - _CopyWithImpl$Fragment$CalendarDayEntries$entries( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarDayEntries$entries(this._instance, this._then); final Fragment$CalendarDayEntries$entries _instance; @@ -1218,16 +1218,17 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDayEntries$entries( - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarDayEntries$entries( + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries @@ -1236,12 +1237,7 @@ class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries TRes _res; - call({ - String? start, - String? end, - String? $__typename, - }) => - _res; + call({String? start, String? end, String? $__typename}) => _res; } class Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry @@ -1254,7 +1250,8 @@ class Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry }); factory Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$episode = json['episode']; final l$$__typename = json['__typename']; final l$start = json['start']; @@ -1263,7 +1260,8 @@ class Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry episode: l$episode == null ? null : Fragment$CalendarEntryEpisode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), start: (l$start as String), end: (l$end as String), @@ -1297,12 +1295,7 @@ class Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry final l$$__typename = $__typename; final l$start = start; final l$end = end; - return Object.hashAll([ - l$episode, - l$$__typename, - l$start, - l$end, - ]); + return Object.hashAll([l$episode, l$$__typename, l$start, l$end]); } @override @@ -1341,25 +1334,27 @@ class Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry extension UtilityExtension$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry on Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry { CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< - Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry> - get copyWith => - CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry instance, TRes Function(Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry) - then, + then, ) = _CopyWithImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry; factory CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry; TRes call({ Fragment$CalendarEntryEpisode? episode, @@ -1371,10 +1366,12 @@ abstract class CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntr } class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< - TRes> { + TRes + > { _CopyWithImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( this._instance, this._then, @@ -1383,7 +1380,7 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< final Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry _instance; final TRes Function(Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry) - _then; + _then; static const _undefined = {}; @@ -1392,36 +1389,42 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< Object? $__typename = _undefined, Object? start = _undefined, Object? end = _undefined, - }) => - _then(Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( - episode: episode == _undefined - ? _instance.episode - : (episode as Fragment$CalendarEntryEpisode?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - )); + }) => _then( + Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( + episode: episode == _undefined + ? _instance.episode + : (episode as Fragment$CalendarEntryEpisode?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + ), + ); CopyWith$Fragment$CalendarEntryEpisode get episode { final local$episode = _instance.episode; return local$episode == null ? CopyWith$Fragment$CalendarEntryEpisode.stub(_then(_instance)) : CopyWith$Fragment$CalendarEntryEpisode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntry( - this._res); + this._res, + ); TRes _res; @@ -1430,8 +1433,7 @@ class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$EpisodeCalendarEntr String? $__typename, String? start, String? end, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntryEpisode get episode => CopyWith$Fragment$CalendarEntryEpisode.stub(_res); @@ -1446,7 +1448,8 @@ class Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry }); factory Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$start = json['start']; final l$end = json['end']; final l$$__typename = json['__typename']; @@ -1479,11 +1482,7 @@ class Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry final l$start = start; final l$end = end; final l$$__typename = $__typename; - return Object.hashAll([ - l$start, - l$end, - l$$__typename, - ]); + return Object.hashAll([l$start, l$end, l$$__typename]); } @override @@ -1517,38 +1516,38 @@ class Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry extension UtilityExtension$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry on Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry { CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< - Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry> - get copyWith => - CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry instance, TRes Function(Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry) - then, + then, ) = _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry; factory CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry; - TRes call({ - String? start, - String? end, - String? $__typename, - }); + TRes call({String? start, String? end, String? $__typename}); } class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< - TRes> { + TRes + > { _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( this._instance, this._then, @@ -1557,7 +1556,7 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< final Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry _instance; final TRes Function(Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry) - _then; + _then; static const _undefined = {}; @@ -1565,34 +1564,33 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SimpleCalendarEntry( - this._res); + this._res, + ); TRes _res; - call({ - String? start, - String? end, - String? $__typename, - }) => - _res; + call({String? start, String? end, String? $__typename}) => _res; } class Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry @@ -1604,7 +1602,8 @@ class Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry }); factory Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$start = json['start']; final l$end = json['end']; final l$$__typename = json['__typename']; @@ -1637,11 +1636,7 @@ class Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry final l$start = start; final l$end = end; final l$$__typename = $__typename; - return Object.hashAll([ - l$start, - l$end, - l$$__typename, - ]); + return Object.hashAll([l$start, l$end, l$$__typename]); } @override @@ -1675,38 +1670,38 @@ class Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry extension UtilityExtension$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry on Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry { CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< - Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry> - get copyWith => - CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry instance, TRes Function(Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry) - then, + then, ) = _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry; factory CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry; - TRes call({ - String? start, - String? end, - String? $__typename, - }); + TRes call({String? start, String? end, String? $__typename}); } class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< - TRes> { + TRes + > { _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( this._instance, this._then, @@ -1715,7 +1710,7 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< final Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry _instance; final TRes Function(Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry) - _then; + _then; static const _undefined = {}; @@ -1723,34 +1718,33 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$SeasonCalendarEntry( - this._res); + this._res, + ); TRes _res; - call({ - String? start, - String? end, - String? $__typename, - }) => - _res; + call({String? start, String? end, String? $__typename}) => _res; } class Fragment$CalendarDayEntries$entries$$ShowCalendarEntry @@ -1762,7 +1756,8 @@ class Fragment$CalendarDayEntries$entries$$ShowCalendarEntry }); factory Fragment$CalendarDayEntries$entries$$ShowCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$start = json['start']; final l$end = json['end']; final l$$__typename = json['__typename']; @@ -1795,11 +1790,7 @@ class Fragment$CalendarDayEntries$entries$$ShowCalendarEntry final l$start = start; final l$end = end; final l$$__typename = $__typename; - return Object.hashAll([ - l$start, - l$end, - l$$__typename, - ]); + return Object.hashAll([l$start, l$end, l$$__typename]); } @override @@ -1833,30 +1824,28 @@ class Fragment$CalendarDayEntries$entries$$ShowCalendarEntry extension UtilityExtension$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry on Fragment$CalendarDayEntries$entries$$ShowCalendarEntry { CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry< - Fragment$CalendarDayEntries$entries$$ShowCalendarEntry> - get copyWith => - CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarDayEntries$entries$$ShowCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry( Fragment$CalendarDayEntries$entries$$ShowCalendarEntry instance, TRes Function(Fragment$CalendarDayEntries$entries$$ShowCalendarEntry) then, ) = _CopyWithImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry; factory CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry; - TRes call({ - String? start, - String? end, - String? $__typename, - }); + TRes call({String? start, String? end, String? $__typename}); } class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry @@ -1870,7 +1859,7 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry final Fragment$CalendarDayEntries$entries$$ShowCalendarEntry _instance; final TRes Function(Fragment$CalendarDayEntries$entries$$ShowCalendarEntry) - _then; + _then; static const _undefined = {}; @@ -1878,45 +1867,42 @@ class _CopyWithImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDayEntries$entries$$ShowCalendarEntry( - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarDayEntries$entries$$ShowCalendarEntry( + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry< - TRes> + TRes +> implements CopyWith$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry { _CopyWithStubImpl$Fragment$CalendarDayEntries$entries$$ShowCalendarEntry( - this._res); + this._res, + ); TRes _res; - call({ - String? start, - String? end, - String? $__typename, - }) => - _res; + call({String? start, String? end, String? $__typename}) => _res; } class Variables$Query$CalendarDayEpisodeEntries { factory Variables$Query$CalendarDayEpisodeEntries({required String date}) => - Variables$Query$CalendarDayEpisodeEntries._({ - r'date': date, - }); + Variables$Query$CalendarDayEpisodeEntries._({r'date': date}); Variables$Query$CalendarDayEpisodeEntries._(this._$data); factory Variables$Query$CalendarDayEpisodeEntries.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$date = data['date']; result$data['date'] = (l$date as String); @@ -1935,11 +1921,10 @@ class Variables$Query$CalendarDayEpisodeEntries { } CopyWith$Variables$Query$CalendarDayEpisodeEntries< - Variables$Query$CalendarDayEpisodeEntries> - get copyWith => CopyWith$Variables$Query$CalendarDayEpisodeEntries( - this, - (i) => i, - ); + Variables$Query$CalendarDayEpisodeEntries + > + get copyWith => + CopyWith$Variables$Query$CalendarDayEpisodeEntries(this, (i) => i); @override bool operator ==(Object other) { @@ -1990,11 +1975,12 @@ class _CopyWithImpl$Variables$Query$CalendarDayEpisodeEntries static const _undefined = {}; - TRes call({Object? date = _undefined}) => - _then(Variables$Query$CalendarDayEpisodeEntries._({ - ..._instance._$data, - if (date != _undefined && date != null) 'date': (date as String), - })); + TRes call({Object? date = _undefined}) => _then( + Variables$Query$CalendarDayEpisodeEntries._({ + ..._instance._$data, + if (date != _undefined && date != null) 'date': (date as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$CalendarDayEpisodeEntries @@ -2019,7 +2005,8 @@ class Query$CalendarDayEpisodeEntries { calendar: l$calendar == null ? null : Query$CalendarDayEpisodeEntries$calendar.fromJson( - (l$calendar as Map)), + (l$calendar as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2041,10 +2028,7 @@ class Query$CalendarDayEpisodeEntries { int get hashCode { final l$calendar = calendar; final l$$__typename = $__typename; - return Object.hashAll([ - l$calendar, - l$$__typename, - ]); + return Object.hashAll([l$calendar, l$$__typename]); } @override @@ -2073,10 +2057,7 @@ class Query$CalendarDayEpisodeEntries { extension UtilityExtension$Query$CalendarDayEpisodeEntries on Query$CalendarDayEpisodeEntries { CopyWith$Query$CalendarDayEpisodeEntries - get copyWith => CopyWith$Query$CalendarDayEpisodeEntries( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$CalendarDayEpisodeEntries(this, (i) => i); } abstract class CopyWith$Query$CalendarDayEpisodeEntries { @@ -2097,10 +2078,7 @@ abstract class CopyWith$Query$CalendarDayEpisodeEntries { class _CopyWithImpl$Query$CalendarDayEpisodeEntries implements CopyWith$Query$CalendarDayEpisodeEntries { - _CopyWithImpl$Query$CalendarDayEpisodeEntries( - this._instance, - this._then, - ); + _CopyWithImpl$Query$CalendarDayEpisodeEntries(this._instance, this._then); final Query$CalendarDayEpisodeEntries _instance; @@ -2111,23 +2089,27 @@ class _CopyWithImpl$Query$CalendarDayEpisodeEntries TRes call({ Object? calendar = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$CalendarDayEpisodeEntries( - calendar: calendar == _undefined - ? _instance.calendar - : (calendar as Query$CalendarDayEpisodeEntries$calendar?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$CalendarDayEpisodeEntries( + calendar: calendar == _undefined + ? _instance.calendar + : (calendar as Query$CalendarDayEpisodeEntries$calendar?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$CalendarDayEpisodeEntries$calendar get calendar { final local$calendar = _instance.calendar; return local$calendar == null ? CopyWith$Query$CalendarDayEpisodeEntries$calendar.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$CalendarDayEpisodeEntries$calendar( - local$calendar, (e) => call(calendar: e)); + local$calendar, + (e) => call(calendar: e), + ); } } @@ -2140,59 +2122,70 @@ class _CopyWithStubImpl$Query$CalendarDayEpisodeEntries call({ Query$CalendarDayEpisodeEntries$calendar? calendar, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$CalendarDayEpisodeEntries$calendar get calendar => CopyWith$Query$CalendarDayEpisodeEntries$calendar.stub(_res); } -const documentNodeQueryCalendarDayEpisodeEntries = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'CalendarDayEpisodeEntries'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'date')), - type: NamedTypeNode( - name: NameNode(value: 'Date'), - isNonNull: true, +const documentNodeQueryCalendarDayEpisodeEntries = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'CalendarDayEpisodeEntries'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'date')), + type: NamedTypeNode(name: NameNode(value: 'Date'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'calendar'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'day'), + name: NameNode(value: 'calendar'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'day'), - value: VariableNode(name: NameNode(value: 'date')), - ) - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarDayEntries'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'day'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'day'), + value: VariableNode(name: NameNode(value: 'date')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarDayEntries'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2201,28 +2194,21 @@ const documentNodeQueryCalendarDayEpisodeEntries = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - fragmentDefinitionCalendarDayEntries, - fragmentDefinitionCalendarEntryEpisode, -]); -Query$CalendarDayEpisodeEntries _parserFn$Query$CalendarDayEpisodeEntries( - Map data) => - Query$CalendarDayEpisodeEntries.fromJson(data); -typedef OnQueryComplete$Query$CalendarDayEpisodeEntries = FutureOr - Function( - Map?, - Query$CalendarDayEpisodeEntries?, + ), + fragmentDefinitionCalendarDayEntries, + fragmentDefinitionCalendarEntryEpisode, + ], ); +Query$CalendarDayEpisodeEntries _parserFn$Query$CalendarDayEpisodeEntries( + Map data, +) => Query$CalendarDayEpisodeEntries.fromJson(data); +typedef OnQueryComplete$Query$CalendarDayEpisodeEntries = + FutureOr Function( + Map?, + Query$CalendarDayEpisodeEntries?, + ); class Options$Query$CalendarDayEpisodeEntries extends graphql.QueryOptions { @@ -2238,38 +2224,38 @@ class Options$Query$CalendarDayEpisodeEntries graphql.Context? context, OnQueryComplete$Query$CalendarDayEpisodeEntries? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$CalendarDayEpisodeEntries(data), - ), - onError: onError, - document: documentNodeQueryCalendarDayEpisodeEntries, - parserFn: _parserFn$Query$CalendarDayEpisodeEntries, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$CalendarDayEpisodeEntries(data), + ), + onError: onError, + document: documentNodeQueryCalendarDayEpisodeEntries, + parserFn: _parserFn$Query$CalendarDayEpisodeEntries, + ); final OnQueryComplete$Query$CalendarDayEpisodeEntries? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$CalendarDayEpisodeEntries @@ -2288,20 +2274,20 @@ class WatchOptions$Query$CalendarDayEpisodeEntries bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryCalendarDayEpisodeEntries, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$CalendarDayEpisodeEntries, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryCalendarDayEpisodeEntries, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$CalendarDayEpisodeEntries, + ); } class FetchMoreOptions$Query$CalendarDayEpisodeEntries @@ -2310,38 +2296,38 @@ class FetchMoreOptions$Query$CalendarDayEpisodeEntries required graphql.UpdateQuery updateQuery, required Variables$Query$CalendarDayEpisodeEntries variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryCalendarDayEpisodeEntries, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryCalendarDayEpisodeEntries, + ); } extension ClientExtension$Query$CalendarDayEpisodeEntries on graphql.GraphQLClient { Future> - query$CalendarDayEpisodeEntries( - Options$Query$CalendarDayEpisodeEntries options) async => - await this.query(options); + query$CalendarDayEpisodeEntries( + Options$Query$CalendarDayEpisodeEntries options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$CalendarDayEpisodeEntries( - WatchOptions$Query$CalendarDayEpisodeEntries options) => - this.watchQuery(options); + watchQuery$CalendarDayEpisodeEntries( + WatchOptions$Query$CalendarDayEpisodeEntries options, + ) => this.watchQuery(options); void writeQuery$CalendarDayEpisodeEntries({ required Query$CalendarDayEpisodeEntries data, required Variables$Query$CalendarDayEpisodeEntries variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryCalendarDayEpisodeEntries), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryCalendarDayEpisodeEntries, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$CalendarDayEpisodeEntries? readQuery$CalendarDayEpisodeEntries({ required Variables$Query$CalendarDayEpisodeEntries variables, @@ -2350,7 +2336,8 @@ extension ClientExtension$Query$CalendarDayEpisodeEntries final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQueryCalendarDayEpisodeEntries), + document: documentNodeQueryCalendarDayEpisodeEntries, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -2362,13 +2349,13 @@ extension ClientExtension$Query$CalendarDayEpisodeEntries } graphql_flutter.QueryHookResult - useQuery$CalendarDayEpisodeEntries( - Options$Query$CalendarDayEpisodeEntries options) => - graphql_flutter.useQuery(options); +useQuery$CalendarDayEpisodeEntries( + Options$Query$CalendarDayEpisodeEntries options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$CalendarDayEpisodeEntries( - WatchOptions$Query$CalendarDayEpisodeEntries options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$CalendarDayEpisodeEntries( + WatchOptions$Query$CalendarDayEpisodeEntries options, +) => graphql_flutter.useWatchQuery(options); class Query$CalendarDayEpisodeEntries$Widget extends graphql_flutter.Query { @@ -2376,12 +2363,8 @@ class Query$CalendarDayEpisodeEntries$Widget widgets.Key? key, required Options$Query$CalendarDayEpisodeEntries options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$CalendarDayEpisodeEntries$calendar { @@ -2391,12 +2374,14 @@ class Query$CalendarDayEpisodeEntries$calendar { }); factory Query$CalendarDayEpisodeEntries$calendar.fromJson( - Map json) { + Map json, + ) { final l$day = json['day']; final l$$__typename = json['__typename']; return Query$CalendarDayEpisodeEntries$calendar( - day: - Fragment$CalendarDayEntries.fromJson((l$day as Map)), + day: Fragment$CalendarDayEntries.fromJson( + (l$day as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2418,10 +2403,7 @@ class Query$CalendarDayEpisodeEntries$calendar { int get hashCode { final l$day = day; final l$$__typename = $__typename; - return Object.hashAll([ - l$day, - l$$__typename, - ]); + return Object.hashAll([l$day, l$$__typename]); } @override @@ -2450,11 +2432,10 @@ class Query$CalendarDayEpisodeEntries$calendar { extension UtilityExtension$Query$CalendarDayEpisodeEntries$calendar on Query$CalendarDayEpisodeEntries$calendar { CopyWith$Query$CalendarDayEpisodeEntries$calendar< - Query$CalendarDayEpisodeEntries$calendar> - get copyWith => CopyWith$Query$CalendarDayEpisodeEntries$calendar( - this, - (i) => i, - ); + Query$CalendarDayEpisodeEntries$calendar + > + get copyWith => + CopyWith$Query$CalendarDayEpisodeEntries$calendar(this, (i) => i); } abstract class CopyWith$Query$CalendarDayEpisodeEntries$calendar { @@ -2466,10 +2447,7 @@ abstract class CopyWith$Query$CalendarDayEpisodeEntries$calendar { factory CopyWith$Query$CalendarDayEpisodeEntries$calendar.stub(TRes res) = _CopyWithStubImpl$Query$CalendarDayEpisodeEntries$calendar; - TRes call({ - Fragment$CalendarDayEntries? day, - String? $__typename, - }); + TRes call({Fragment$CalendarDayEntries? day, String? $__typename}); CopyWith$Fragment$CalendarDayEntries get day; } @@ -2486,18 +2464,17 @@ class _CopyWithImpl$Query$CalendarDayEpisodeEntries$calendar static const _undefined = {}; - TRes call({ - Object? day = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$CalendarDayEpisodeEntries$calendar( - day: day == _undefined || day == null - ? _instance.day - : (day as Fragment$CalendarDayEntries), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? day = _undefined, Object? $__typename = _undefined}) => + _then( + Query$CalendarDayEpisodeEntries$calendar( + day: day == _undefined || day == null + ? _instance.day + : (day as Fragment$CalendarDayEntries), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CalendarDayEntries get day { final local$day = _instance.day; @@ -2511,11 +2488,7 @@ class _CopyWithStubImpl$Query$CalendarDayEpisodeEntries$calendar TRes _res; - call({ - Fragment$CalendarDayEntries? day, - String? $__typename, - }) => - _res; + call({Fragment$CalendarDayEntries? day, String? $__typename}) => _res; CopyWith$Fragment$CalendarDayEntries get day => CopyWith$Fragment$CalendarDayEntries.stub(_res); diff --git a/bccm_core/lib/src/features/graphql/queries/devices.graphql.dart b/bccm_core/lib/src/features/graphql/queries/devices.graphql.dart index 8607c58..d840025 100644 --- a/bccm_core/lib/src/features/graphql/queries/devices.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/devices.graphql.dart @@ -1,5 +1,7 @@ import '../schema/mutations.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -9,22 +11,23 @@ class Variables$Mutation$SetDeviceToken { factory Variables$Mutation$SetDeviceToken({ required String token, required List languages, - }) => - Variables$Mutation$SetDeviceToken._({ - r'token': token, - r'languages': languages, - }); + }) => Variables$Mutation$SetDeviceToken._({ + r'token': token, + r'languages': languages, + }); Variables$Mutation$SetDeviceToken._(this._$data); factory Variables$Mutation$SetDeviceToken.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$token = data['token']; result$data['token'] = (l$token as String); final l$languages = data['languages']; - result$data['languages'] = - (l$languages as List).map((e) => (e as String)).toList(); + result$data['languages'] = (l$languages as List) + .map((e) => (e as String)) + .toList(); return Variables$Mutation$SetDeviceToken._(result$data); } @@ -44,10 +47,7 @@ class Variables$Mutation$SetDeviceToken { } CopyWith$Variables$Mutation$SetDeviceToken - get copyWith => CopyWith$Variables$Mutation$SetDeviceToken( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Mutation$SetDeviceToken(this, (i) => i); @override bool operator ==(Object other) { @@ -82,10 +82,7 @@ class Variables$Mutation$SetDeviceToken { int get hashCode { final l$token = token; final l$languages = languages; - return Object.hashAll([ - l$token, - Object.hashAll(l$languages.map((v) => v)), - ]); + return Object.hashAll([l$token, Object.hashAll(l$languages.map((v) => v))]); } } @@ -98,18 +95,12 @@ abstract class CopyWith$Variables$Mutation$SetDeviceToken { factory CopyWith$Variables$Mutation$SetDeviceToken.stub(TRes res) = _CopyWithStubImpl$Variables$Mutation$SetDeviceToken; - TRes call({ - String? token, - List? languages, - }); + TRes call({String? token, List? languages}); } class _CopyWithImpl$Variables$Mutation$SetDeviceToken implements CopyWith$Variables$Mutation$SetDeviceToken { - _CopyWithImpl$Variables$Mutation$SetDeviceToken( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Mutation$SetDeviceToken(this._instance, this._then); final Variables$Mutation$SetDeviceToken _instance; @@ -117,16 +108,15 @@ class _CopyWithImpl$Variables$Mutation$SetDeviceToken static const _undefined = {}; - TRes call({ - Object? token = _undefined, - Object? languages = _undefined, - }) => - _then(Variables$Mutation$SetDeviceToken._({ - ..._instance._$data, - if (token != _undefined && token != null) 'token': (token as String), - if (languages != _undefined && languages != null) - 'languages': (languages as List), - })); + TRes call({Object? token = _undefined, Object? languages = _undefined}) => + _then( + Variables$Mutation$SetDeviceToken._({ + ..._instance._$data, + if (token != _undefined && token != null) 'token': (token as String), + if (languages != _undefined && languages != null) + 'languages': (languages as List), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$SetDeviceToken @@ -135,11 +125,7 @@ class _CopyWithStubImpl$Variables$Mutation$SetDeviceToken TRes _res; - call({ - String? token, - List? languages, - }) => - _res; + call({String? token, List? languages}) => _res; } class Mutation$SetDeviceToken { @@ -155,7 +141,8 @@ class Mutation$SetDeviceToken { setDevicePushToken: l$setDevicePushToken == null ? null : Mutation$SetDeviceToken$setDevicePushToken.fromJson( - (l$setDevicePushToken as Map)), + (l$setDevicePushToken as Map), + ), $__typename: (l$$__typename as String), ); } @@ -178,10 +165,7 @@ class Mutation$SetDeviceToken { int get hashCode { final l$setDevicePushToken = setDevicePushToken; final l$$__typename = $__typename; - return Object.hashAll([ - l$setDevicePushToken, - l$$__typename, - ]); + return Object.hashAll([l$setDevicePushToken, l$$__typename]); } @override @@ -208,10 +192,7 @@ class Mutation$SetDeviceToken { extension UtilityExtension$Mutation$SetDeviceToken on Mutation$SetDeviceToken { CopyWith$Mutation$SetDeviceToken get copyWith => - CopyWith$Mutation$SetDeviceToken( - this, - (i) => i, - ); + CopyWith$Mutation$SetDeviceToken(this, (i) => i); } abstract class CopyWith$Mutation$SetDeviceToken { @@ -228,15 +209,12 @@ abstract class CopyWith$Mutation$SetDeviceToken { String? $__typename, }); CopyWith$Mutation$SetDeviceToken$setDevicePushToken - get setDevicePushToken; + get setDevicePushToken; } class _CopyWithImpl$Mutation$SetDeviceToken implements CopyWith$Mutation$SetDeviceToken { - _CopyWithImpl$Mutation$SetDeviceToken( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$SetDeviceToken(this._instance, this._then); final Mutation$SetDeviceToken _instance; @@ -247,25 +225,28 @@ class _CopyWithImpl$Mutation$SetDeviceToken TRes call({ Object? setDevicePushToken = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$SetDeviceToken( - setDevicePushToken: setDevicePushToken == _undefined - ? _instance.setDevicePushToken - : (setDevicePushToken - as Mutation$SetDeviceToken$setDevicePushToken?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$SetDeviceToken( + setDevicePushToken: setDevicePushToken == _undefined + ? _instance.setDevicePushToken + : (setDevicePushToken as Mutation$SetDeviceToken$setDevicePushToken?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$SetDeviceToken$setDevicePushToken - get setDevicePushToken { + get setDevicePushToken { final local$setDevicePushToken = _instance.setDevicePushToken; return local$setDevicePushToken == null ? CopyWith$Mutation$SetDeviceToken$setDevicePushToken.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Mutation$SetDeviceToken$setDevicePushToken( - local$setDevicePushToken, (e) => call(setDevicePushToken: e)); + local$setDevicePushToken, + (e) => call(setDevicePushToken: e), + ); } } @@ -278,94 +259,96 @@ class _CopyWithStubImpl$Mutation$SetDeviceToken call({ Mutation$SetDeviceToken$setDevicePushToken? setDevicePushToken, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$SetDeviceToken$setDevicePushToken - get setDevicePushToken => - CopyWith$Mutation$SetDeviceToken$setDevicePushToken.stub(_res); + get setDevicePushToken => + CopyWith$Mutation$SetDeviceToken$setDevicePushToken.stub(_res); } -const documentNodeMutationSetDeviceToken = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'SetDeviceToken'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'token')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, +const documentNodeMutationSetDeviceToken = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'SetDeviceToken'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'token')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'languages')), - type: ListTypeNode( - type: NamedTypeNode( - name: NameNode(value: 'String'), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'languages')), + type: ListTypeNode( + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: true, + ), isNonNull: true, ), - isNonNull: true, + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'setDevicePushToken'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'token'), - value: VariableNode(name: NameNode(value: 'token')), - ), - ArgumentNode( - name: NameNode(value: 'languages'), - value: VariableNode(name: NameNode(value: 'languages')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'token'), + name: NameNode(value: 'setDevicePushToken'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'token'), + value: VariableNode(name: NameNode(value: 'token')), + ), + ArgumentNode( + name: NameNode(value: 'languages'), + value: VariableNode(name: NameNode(value: 'languages')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'token'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'updatedAt'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( - name: NameNode(value: 'updatedAt'), + name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Mutation$SetDeviceToken _parserFn$Mutation$SetDeviceToken( - Map data) => - Mutation$SetDeviceToken.fromJson(data); + Map data, +) => Mutation$SetDeviceToken.fromJson(data); typedef OnMutationCompleted$Mutation$SetDeviceToken = FutureOr Function( Map?, Mutation$SetDeviceToken?, @@ -385,38 +368,36 @@ class Options$Mutation$SetDeviceToken OnMutationCompleted$Mutation$SetDeviceToken? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$SetDeviceToken(data), - ), - update: update, - onError: onError, - document: documentNodeMutationSetDeviceToken, - parserFn: _parserFn$Mutation$SetDeviceToken, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null ? null : _parserFn$Mutation$SetDeviceToken(data), + ), + update: update, + onError: onError, + document: documentNodeMutationSetDeviceToken, + parserFn: _parserFn$Mutation$SetDeviceToken, + ); final OnMutationCompleted$Mutation$SetDeviceToken? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$SetDeviceToken @@ -435,61 +416,59 @@ class WatchOptions$Mutation$SetDeviceToken bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationSetDeviceToken, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$SetDeviceToken, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationSetDeviceToken, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$SetDeviceToken, + ); } extension ClientExtension$Mutation$SetDeviceToken on graphql.GraphQLClient { Future> mutate$SetDeviceToken( - Options$Mutation$SetDeviceToken options) async => - await this.mutate(options); + Options$Mutation$SetDeviceToken options, + ) async => await this.mutate(options); graphql.ObservableQuery watchMutation$SetDeviceToken( - WatchOptions$Mutation$SetDeviceToken options) => - this.watchMutation(options); + WatchOptions$Mutation$SetDeviceToken options, + ) => this.watchMutation(options); } class Mutation$SetDeviceToken$HookResult { - Mutation$SetDeviceToken$HookResult( - this.runMutation, - this.result, - ); + Mutation$SetDeviceToken$HookResult(this.runMutation, this.result); final RunMutation$Mutation$SetDeviceToken runMutation; final graphql.QueryResult result; } -Mutation$SetDeviceToken$HookResult useMutation$SetDeviceToken( - [WidgetOptions$Mutation$SetDeviceToken? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$SetDeviceToken()); +Mutation$SetDeviceToken$HookResult useMutation$SetDeviceToken([ + WidgetOptions$Mutation$SetDeviceToken? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$SetDeviceToken(), + ); return Mutation$SetDeviceToken$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$SetDeviceToken( - WatchOptions$Mutation$SetDeviceToken options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$SetDeviceToken(WatchOptions$Mutation$SetDeviceToken options) => + graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$SetDeviceToken extends graphql.MutationOptions { @@ -504,45 +483,43 @@ class WidgetOptions$Mutation$SetDeviceToken OnMutationCompleted$Mutation$SetDeviceToken? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$SetDeviceToken(data), - ), - update: update, - onError: onError, - document: documentNodeMutationSetDeviceToken, - parserFn: _parserFn$Mutation$SetDeviceToken, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null ? null : _parserFn$Mutation$SetDeviceToken(data), + ), + update: update, + onError: onError, + document: documentNodeMutationSetDeviceToken, + parserFn: _parserFn$Mutation$SetDeviceToken, + ); final OnMutationCompleted$Mutation$SetDeviceToken? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } -typedef RunMutation$Mutation$SetDeviceToken - = graphql.MultiSourceResult Function( - Variables$Mutation$SetDeviceToken, { - Object? optimisticResult, - Mutation$SetDeviceToken? typedOptimisticResult, -}); +typedef RunMutation$Mutation$SetDeviceToken = + graphql.MultiSourceResult Function( + Variables$Mutation$SetDeviceToken, { + Object? optimisticResult, + Mutation$SetDeviceToken? typedOptimisticResult, + }); typedef Builder$Mutation$SetDeviceToken = widgets.Widget Function( RunMutation$Mutation$SetDeviceToken, graphql.QueryResult?, @@ -555,26 +532,17 @@ class Mutation$SetDeviceToken$Widget WidgetOptions$Mutation$SetDeviceToken? options, required Builder$Mutation$SetDeviceToken builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$SetDeviceToken(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$SetDeviceToken(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$SetDeviceToken$setDevicePushToken { @@ -585,7 +553,8 @@ class Mutation$SetDeviceToken$setDevicePushToken { }); factory Mutation$SetDeviceToken$setDevicePushToken.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$token = json['token']; final l$updatedAt = json['updatedAt']; @@ -618,11 +587,7 @@ class Mutation$SetDeviceToken$setDevicePushToken { final l$$__typename = $__typename; final l$token = token; final l$updatedAt = updatedAt; - return Object.hashAll([ - l$$__typename, - l$token, - l$updatedAt, - ]); + return Object.hashAll([l$$__typename, l$token, l$updatedAt]); } @override @@ -656,11 +621,10 @@ class Mutation$SetDeviceToken$setDevicePushToken { extension UtilityExtension$Mutation$SetDeviceToken$setDevicePushToken on Mutation$SetDeviceToken$setDevicePushToken { CopyWith$Mutation$SetDeviceToken$setDevicePushToken< - Mutation$SetDeviceToken$setDevicePushToken> - get copyWith => CopyWith$Mutation$SetDeviceToken$setDevicePushToken( - this, - (i) => i, - ); + Mutation$SetDeviceToken$setDevicePushToken + > + get copyWith => + CopyWith$Mutation$SetDeviceToken$setDevicePushToken(this, (i) => i); } abstract class CopyWith$Mutation$SetDeviceToken$setDevicePushToken { @@ -672,11 +636,7 @@ abstract class CopyWith$Mutation$SetDeviceToken$setDevicePushToken { factory CopyWith$Mutation$SetDeviceToken$setDevicePushToken.stub(TRes res) = _CopyWithStubImpl$Mutation$SetDeviceToken$setDevicePushToken; - TRes call({ - String? $__typename, - String? token, - String? updatedAt, - }); + TRes call({String? $__typename, String? token, String? updatedAt}); } class _CopyWithImpl$Mutation$SetDeviceToken$setDevicePushToken @@ -696,18 +656,19 @@ class _CopyWithImpl$Mutation$SetDeviceToken$setDevicePushToken Object? $__typename = _undefined, Object? token = _undefined, Object? updatedAt = _undefined, - }) => - _then(Mutation$SetDeviceToken$setDevicePushToken( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - token: token == _undefined || token == null - ? _instance.token - : (token as String), - updatedAt: updatedAt == _undefined || updatedAt == null - ? _instance.updatedAt - : (updatedAt as String), - )); + }) => _then( + Mutation$SetDeviceToken$setDevicePushToken( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + token: token == _undefined || token == null + ? _instance.token + : (token as String), + updatedAt: updatedAt == _undefined || updatedAt == null + ? _instance.updatedAt + : (updatedAt as String), + ), + ); } class _CopyWithStubImpl$Mutation$SetDeviceToken$setDevicePushToken @@ -716,12 +677,7 @@ class _CopyWithStubImpl$Mutation$SetDeviceToken$setDevicePushToken TRes _res; - call({ - String? $__typename, - String? token, - String? updatedAt, - }) => - _res; + call({String? $__typename, String? token, String? updatedAt}) => _res; } class Variables$Mutation$SetDeviceTokenV2 { @@ -730,24 +686,25 @@ class Variables$Mutation$SetDeviceTokenV2 { required List languages, required Enum$OS os, required int appBuildNumber, - }) => - Variables$Mutation$SetDeviceTokenV2._({ - r'token': token, - r'languages': languages, - r'os': os, - r'appBuildNumber': appBuildNumber, - }); + }) => Variables$Mutation$SetDeviceTokenV2._({ + r'token': token, + r'languages': languages, + r'os': os, + r'appBuildNumber': appBuildNumber, + }); Variables$Mutation$SetDeviceTokenV2._(this._$data); factory Variables$Mutation$SetDeviceTokenV2.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$token = data['token']; result$data['token'] = (l$token as String); final l$languages = data['languages']; - result$data['languages'] = - (l$languages as List).map((e) => (e as String)).toList(); + result$data['languages'] = (l$languages as List) + .map((e) => (e as String)) + .toList(); final l$os = data['os']; result$data['os'] = fromJson$Enum$OS((l$os as String)); final l$appBuildNumber = data['appBuildNumber']; @@ -779,11 +736,9 @@ class Variables$Mutation$SetDeviceTokenV2 { } CopyWith$Variables$Mutation$SetDeviceTokenV2< - Variables$Mutation$SetDeviceTokenV2> - get copyWith => CopyWith$Variables$Mutation$SetDeviceTokenV2( - this, - (i) => i, - ); + Variables$Mutation$SetDeviceTokenV2 + > + get copyWith => CopyWith$Variables$Mutation$SetDeviceTokenV2(this, (i) => i); @override bool operator ==(Object other) { @@ -858,10 +813,7 @@ abstract class CopyWith$Variables$Mutation$SetDeviceTokenV2 { class _CopyWithImpl$Variables$Mutation$SetDeviceTokenV2 implements CopyWith$Variables$Mutation$SetDeviceTokenV2 { - _CopyWithImpl$Variables$Mutation$SetDeviceTokenV2( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Mutation$SetDeviceTokenV2(this._instance, this._then); final Variables$Mutation$SetDeviceTokenV2 _instance; @@ -874,16 +826,17 @@ class _CopyWithImpl$Variables$Mutation$SetDeviceTokenV2 Object? languages = _undefined, Object? os = _undefined, Object? appBuildNumber = _undefined, - }) => - _then(Variables$Mutation$SetDeviceTokenV2._({ - ..._instance._$data, - if (token != _undefined && token != null) 'token': (token as String), - if (languages != _undefined && languages != null) - 'languages': (languages as List), - if (os != _undefined && os != null) 'os': (os as Enum$OS), - if (appBuildNumber != _undefined && appBuildNumber != null) - 'appBuildNumber': (appBuildNumber as int), - })); + }) => _then( + Variables$Mutation$SetDeviceTokenV2._({ + ..._instance._$data, + if (token != _undefined && token != null) 'token': (token as String), + if (languages != _undefined && languages != null) + 'languages': (languages as List), + if (os != _undefined && os != null) 'os': (os as Enum$OS), + if (appBuildNumber != _undefined && appBuildNumber != null) + 'appBuildNumber': (appBuildNumber as int), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$SetDeviceTokenV2 @@ -897,8 +850,7 @@ class _CopyWithStubImpl$Variables$Mutation$SetDeviceTokenV2 List? languages, Enum$OS? os, int? appBuildNumber, - }) => - _res; + }) => _res; } class Mutation$SetDeviceTokenV2 { @@ -914,7 +866,8 @@ class Mutation$SetDeviceTokenV2 { setDevicePushTokenV2: l$setDevicePushTokenV2 == null ? null : Mutation$SetDeviceTokenV2$setDevicePushTokenV2.fromJson( - (l$setDevicePushTokenV2 as Map)), + (l$setDevicePushTokenV2 as Map), + ), $__typename: (l$$__typename as String), ); } @@ -936,10 +889,7 @@ class Mutation$SetDeviceTokenV2 { int get hashCode { final l$setDevicePushTokenV2 = setDevicePushTokenV2; final l$$__typename = $__typename; - return Object.hashAll([ - l$setDevicePushTokenV2, - l$$__typename, - ]); + return Object.hashAll([l$setDevicePushTokenV2, l$$__typename]); } @override @@ -968,10 +918,7 @@ class Mutation$SetDeviceTokenV2 { extension UtilityExtension$Mutation$SetDeviceTokenV2 on Mutation$SetDeviceTokenV2 { CopyWith$Mutation$SetDeviceTokenV2 get copyWith => - CopyWith$Mutation$SetDeviceTokenV2( - this, - (i) => i, - ); + CopyWith$Mutation$SetDeviceTokenV2(this, (i) => i); } abstract class CopyWith$Mutation$SetDeviceTokenV2 { @@ -988,15 +935,12 @@ abstract class CopyWith$Mutation$SetDeviceTokenV2 { String? $__typename, }); CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 - get setDevicePushTokenV2; + get setDevicePushTokenV2; } class _CopyWithImpl$Mutation$SetDeviceTokenV2 implements CopyWith$Mutation$SetDeviceTokenV2 { - _CopyWithImpl$Mutation$SetDeviceTokenV2( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$SetDeviceTokenV2(this._instance, this._then); final Mutation$SetDeviceTokenV2 _instance; @@ -1007,25 +951,29 @@ class _CopyWithImpl$Mutation$SetDeviceTokenV2 TRes call({ Object? setDevicePushTokenV2 = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$SetDeviceTokenV2( - setDevicePushTokenV2: setDevicePushTokenV2 == _undefined - ? _instance.setDevicePushTokenV2 - : (setDevicePushTokenV2 + }) => _then( + Mutation$SetDeviceTokenV2( + setDevicePushTokenV2: setDevicePushTokenV2 == _undefined + ? _instance.setDevicePushTokenV2 + : (setDevicePushTokenV2 as Mutation$SetDeviceTokenV2$setDevicePushTokenV2?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 - get setDevicePushTokenV2 { + get setDevicePushTokenV2 { final local$setDevicePushTokenV2 = _instance.setDevicePushTokenV2; return local$setDevicePushTokenV2 == null ? CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2( - local$setDevicePushTokenV2, (e) => call(setDevicePushTokenV2: e)); + local$setDevicePushTokenV2, + (e) => call(setDevicePushTokenV2: e), + ); } } @@ -1038,120 +986,116 @@ class _CopyWithStubImpl$Mutation$SetDeviceTokenV2 call({ Mutation$SetDeviceTokenV2$setDevicePushTokenV2? setDevicePushTokenV2, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 - get setDevicePushTokenV2 => - CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2.stub(_res); + get setDevicePushTokenV2 => + CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2.stub(_res); } -const documentNodeMutationSetDeviceTokenV2 = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'SetDeviceTokenV2'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'token')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, +const documentNodeMutationSetDeviceTokenV2 = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'SetDeviceTokenV2'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'token')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'languages')), - type: ListTypeNode( - type: NamedTypeNode( - name: NameNode(value: 'String'), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'languages')), + type: ListTypeNode( + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: true, + ), isNonNull: true, ), - isNonNull: true, + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'os')), - type: NamedTypeNode( - name: NameNode(value: 'OS'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'os')), + type: NamedTypeNode(name: NameNode(value: 'OS'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'appBuildNumber')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'appBuildNumber')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'setDevicePushTokenV2'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'token'), - value: VariableNode(name: NameNode(value: 'token')), - ), - ArgumentNode( - name: NameNode(value: 'languages'), - value: VariableNode(name: NameNode(value: 'languages')), - ), - ArgumentNode( - name: NameNode(value: 'os'), - value: VariableNode(name: NameNode(value: 'os')), - ), - ArgumentNode( - name: NameNode(value: 'appBuildNumber'), - value: VariableNode(name: NameNode(value: 'appBuildNumber')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'setDevicePushTokenV2'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'token'), + value: VariableNode(name: NameNode(value: 'token')), + ), + ArgumentNode( + name: NameNode(value: 'languages'), + value: VariableNode(name: NameNode(value: 'languages')), + ), + ArgumentNode( + name: NameNode(value: 'os'), + value: VariableNode(name: NameNode(value: 'os')), + ), + ArgumentNode( + name: NameNode(value: 'appBuildNumber'), + value: VariableNode(name: NameNode(value: 'appBuildNumber')), + ), + ], directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'token'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'token'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'updatedAt'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( - name: NameNode(value: 'updatedAt'), + name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Mutation$SetDeviceTokenV2 _parserFn$Mutation$SetDeviceTokenV2( - Map data) => - Mutation$SetDeviceTokenV2.fromJson(data); + Map data, +) => Mutation$SetDeviceTokenV2.fromJson(data); typedef OnMutationCompleted$Mutation$SetDeviceTokenV2 = FutureOr Function( Map?, Mutation$SetDeviceTokenV2?, @@ -1171,38 +1115,38 @@ class Options$Mutation$SetDeviceTokenV2 OnMutationCompleted$Mutation$SetDeviceTokenV2? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$SetDeviceTokenV2(data), - ), - update: update, - onError: onError, - document: documentNodeMutationSetDeviceTokenV2, - parserFn: _parserFn$Mutation$SetDeviceTokenV2, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$SetDeviceTokenV2(data), + ), + update: update, + onError: onError, + document: documentNodeMutationSetDeviceTokenV2, + parserFn: _parserFn$Mutation$SetDeviceTokenV2, + ); final OnMutationCompleted$Mutation$SetDeviceTokenV2? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$SetDeviceTokenV2 @@ -1221,63 +1165,61 @@ class WatchOptions$Mutation$SetDeviceTokenV2 bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationSetDeviceTokenV2, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$SetDeviceTokenV2, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationSetDeviceTokenV2, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$SetDeviceTokenV2, + ); } extension ClientExtension$Mutation$SetDeviceTokenV2 on graphql.GraphQLClient { Future> - mutate$SetDeviceTokenV2( - Options$Mutation$SetDeviceTokenV2 options) async => - await this.mutate(options); + mutate$SetDeviceTokenV2(Options$Mutation$SetDeviceTokenV2 options) async => + await this.mutate(options); graphql.ObservableQuery - watchMutation$SetDeviceTokenV2( - WatchOptions$Mutation$SetDeviceTokenV2 options) => - this.watchMutation(options); + watchMutation$SetDeviceTokenV2( + WatchOptions$Mutation$SetDeviceTokenV2 options, + ) => this.watchMutation(options); } class Mutation$SetDeviceTokenV2$HookResult { - Mutation$SetDeviceTokenV2$HookResult( - this.runMutation, - this.result, - ); + Mutation$SetDeviceTokenV2$HookResult(this.runMutation, this.result); final RunMutation$Mutation$SetDeviceTokenV2 runMutation; final graphql.QueryResult result; } -Mutation$SetDeviceTokenV2$HookResult useMutation$SetDeviceTokenV2( - [WidgetOptions$Mutation$SetDeviceTokenV2? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$SetDeviceTokenV2()); +Mutation$SetDeviceTokenV2$HookResult useMutation$SetDeviceTokenV2([ + WidgetOptions$Mutation$SetDeviceTokenV2? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$SetDeviceTokenV2(), + ); return Mutation$SetDeviceTokenV2$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$SetDeviceTokenV2( - WatchOptions$Mutation$SetDeviceTokenV2 options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$SetDeviceTokenV2( + WatchOptions$Mutation$SetDeviceTokenV2 options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$SetDeviceTokenV2 extends graphql.MutationOptions { @@ -1292,45 +1234,45 @@ class WidgetOptions$Mutation$SetDeviceTokenV2 OnMutationCompleted$Mutation$SetDeviceTokenV2? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$SetDeviceTokenV2(data), - ), - update: update, - onError: onError, - document: documentNodeMutationSetDeviceTokenV2, - parserFn: _parserFn$Mutation$SetDeviceTokenV2, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$SetDeviceTokenV2(data), + ), + update: update, + onError: onError, + document: documentNodeMutationSetDeviceTokenV2, + parserFn: _parserFn$Mutation$SetDeviceTokenV2, + ); final OnMutationCompleted$Mutation$SetDeviceTokenV2? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } -typedef RunMutation$Mutation$SetDeviceTokenV2 - = graphql.MultiSourceResult Function( - Variables$Mutation$SetDeviceTokenV2, { - Object? optimisticResult, - Mutation$SetDeviceTokenV2? typedOptimisticResult, -}); +typedef RunMutation$Mutation$SetDeviceTokenV2 = + graphql.MultiSourceResult Function( + Variables$Mutation$SetDeviceTokenV2, { + Object? optimisticResult, + Mutation$SetDeviceTokenV2? typedOptimisticResult, + }); typedef Builder$Mutation$SetDeviceTokenV2 = widgets.Widget Function( RunMutation$Mutation$SetDeviceTokenV2, graphql.QueryResult?, @@ -1343,26 +1285,17 @@ class Mutation$SetDeviceTokenV2$Widget WidgetOptions$Mutation$SetDeviceTokenV2? options, required Builder$Mutation$SetDeviceTokenV2 builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$SetDeviceTokenV2(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$SetDeviceTokenV2(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { @@ -1373,7 +1306,8 @@ class Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { }); factory Mutation$SetDeviceTokenV2$setDevicePushTokenV2.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$token = json['token']; final l$updatedAt = json['updatedAt']; @@ -1406,11 +1340,7 @@ class Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { final l$$__typename = $__typename; final l$token = token; final l$updatedAt = updatedAt; - return Object.hashAll([ - l$$__typename, - l$token, - l$updatedAt, - ]); + return Object.hashAll([l$$__typename, l$token, l$updatedAt]); } @override @@ -1444,11 +1374,10 @@ class Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { extension UtilityExtension$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 on Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2< - Mutation$SetDeviceTokenV2$setDevicePushTokenV2> - get copyWith => CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2( - this, - (i) => i, - ); + Mutation$SetDeviceTokenV2$setDevicePushTokenV2 + > + get copyWith => + CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2(this, (i) => i); } abstract class CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { @@ -1458,14 +1387,10 @@ abstract class CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 { ) = _CopyWithImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2; factory CopyWith$Mutation$SetDeviceTokenV2$setDevicePushTokenV2.stub( - TRes res) = - _CopyWithStubImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2; + TRes res, + ) = _CopyWithStubImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2; - TRes call({ - String? $__typename, - String? token, - String? updatedAt, - }); + TRes call({String? $__typename, String? token, String? updatedAt}); } class _CopyWithImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 @@ -1485,18 +1410,19 @@ class _CopyWithImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 Object? $__typename = _undefined, Object? token = _undefined, Object? updatedAt = _undefined, - }) => - _then(Mutation$SetDeviceTokenV2$setDevicePushTokenV2( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - token: token == _undefined || token == null - ? _instance.token - : (token as String), - updatedAt: updatedAt == _undefined || updatedAt == null - ? _instance.updatedAt - : (updatedAt as String), - )); + }) => _then( + Mutation$SetDeviceTokenV2$setDevicePushTokenV2( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + token: token == _undefined || token == null + ? _instance.token + : (token as String), + updatedAt: updatedAt == _undefined || updatedAt == null + ? _instance.updatedAt + : (updatedAt as String), + ), + ); } class _CopyWithStubImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 @@ -1505,10 +1431,5 @@ class _CopyWithStubImpl$Mutation$SetDeviceTokenV2$setDevicePushTokenV2 TRes _res; - call({ - String? $__typename, - String? token, - String? updatedAt, - }) => - _res; + call({String? $__typename, String? token, String? updatedAt}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/episode.graphql.dart b/bccm_core/lib/src/features/graphql/queries/episode.graphql.dart index 23bd45e..b43ffbd 100644 --- a/bccm_core/lib/src/features/graphql/queries/episode.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/episode.graphql.dart @@ -2,11 +2,14 @@ import '../schema/episodes.graphql.dart'; import '../schema/persons.graphql.dart'; import '../schema/schema.graphql.dart'; import '../schema/shows.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; + import 'page.graphql.dart'; class Fragment$EpisodeChapter { @@ -113,10 +116,7 @@ class Fragment$EpisodeChapter { extension UtilityExtension$Fragment$EpisodeChapter on Fragment$EpisodeChapter { CopyWith$Fragment$EpisodeChapter get copyWith => - CopyWith$Fragment$EpisodeChapter( - this, - (i) => i, - ); + CopyWith$Fragment$EpisodeChapter(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeChapter { @@ -139,10 +139,7 @@ abstract class CopyWith$Fragment$EpisodeChapter { class _CopyWithImpl$Fragment$EpisodeChapter implements CopyWith$Fragment$EpisodeChapter { - _CopyWithImpl$Fragment$EpisodeChapter( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeChapter(this._instance, this._then); final Fragment$EpisodeChapter _instance; @@ -156,22 +153,23 @@ class _CopyWithImpl$Fragment$EpisodeChapter Object? title = _undefined, Object? description = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeChapter( - id: id == _undefined || id == null ? _instance.id : (id as String), - start: start == _undefined || start == null - ? _instance.start - : (start as int), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeChapter( + id: id == _undefined || id == null ? _instance.id : (id as String), + start: start == _undefined || start == null + ? _instance.start + : (start as int), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeChapter @@ -186,77 +184,75 @@ class _CopyWithStubImpl$Fragment$EpisodeChapter String? title, String? description, String? $__typename, - }) => - _res; + }) => _res; } const fragmentDefinitionEpisodeChapter = FragmentDefinitionNode( name: NameNode(value: 'EpisodeChapter'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Chapter'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Chapter'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeChapter = DocumentNode( + definitions: [fragmentDefinitionEpisodeChapter], ); -const documentNodeFragmentEpisodeChapter = DocumentNode(definitions: [ - fragmentDefinitionEpisodeChapter, -]); extension ClientExtension$Fragment$EpisodeChapter on graphql.GraphQLClient { void writeFragment$EpisodeChapter({ required Fragment$EpisodeChapter data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeChapter', - document: documentNodeFragmentEpisodeChapter, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeChapter', + document: documentNodeFragmentEpisodeChapter, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeChapter? readFragment$EpisodeChapter({ required Map idFields, @@ -330,14 +326,11 @@ class Fragment$EpisodeContext { extension UtilityExtension$Fragment$EpisodeContext on Fragment$EpisodeContext { CopyWith$Fragment$EpisodeContext get copyWith => - CopyWith$Fragment$EpisodeContext( - this, - (i) => i, - ); + CopyWith$Fragment$EpisodeContext(this, (i) => i); _T when<_T>({ required _T Function(Fragment$EpisodeContext$$ContextCollection) - contextCollection, + contextCollection, required _T Function(Fragment$EpisodeContext$$Season) season, required _T Function(Fragment$EpisodeContext$$Playlist) playlist, required _T Function() orElse, @@ -345,7 +338,8 @@ extension UtilityExtension$Fragment$EpisodeContext on Fragment$EpisodeContext { switch ($__typename) { case "ContextCollection": return contextCollection( - this as Fragment$EpisodeContext$$ContextCollection); + this as Fragment$EpisodeContext$$ContextCollection, + ); case "Season": return season(this as Fragment$EpisodeContext$$Season); @@ -368,7 +362,8 @@ extension UtilityExtension$Fragment$EpisodeContext on Fragment$EpisodeContext { case "ContextCollection": if (contextCollection != null) { return contextCollection( - this as Fragment$EpisodeContext$$ContextCollection); + this as Fragment$EpisodeContext$$ContextCollection, + ); } else { return orElse(); } @@ -407,10 +402,7 @@ abstract class CopyWith$Fragment$EpisodeContext { class _CopyWithImpl$Fragment$EpisodeContext implements CopyWith$Fragment$EpisodeContext { - _CopyWithImpl$Fragment$EpisodeContext( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeContext(this._instance, this._then); final Fragment$EpisodeContext _instance; @@ -418,11 +410,13 @@ class _CopyWithImpl$Fragment$EpisodeContext static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext @@ -437,143 +431,85 @@ class _CopyWithStubImpl$Fragment$EpisodeContext const fragmentDefinitionEpisodeContext = FragmentDefinitionNode( name: NameNode(value: 'EpisodeContext'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'EpisodeContextUnion'), - isNonNull: false, - )), + on: NamedTypeNode( + name: NameNode(value: 'EpisodeContextUnion'), + isNonNull: false, + ), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'ContextCollection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'ContextCollection'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SeasonListEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Season'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'episodes'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '70'), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'items'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SeasonListEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'SeasonListEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -582,14 +518,16 @@ const fragmentDefinitionEpisodeContext = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode(name: NameNode(value: 'Season'), isNonNull: false), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'id'), alias: null, @@ -605,55 +543,140 @@ const fragmentDefinitionEpisodeContext = FragmentDefinitionNode( selectionSet: null, ), FieldNode( - name: NameNode(value: 'type'), + name: NameNode(value: 'number'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'seasons'), + name: NameNode(value: 'episodes'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '70'), + ), + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'SeasonListEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'type'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'seasons'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -662,49 +685,43 @@ const fragmentDefinitionEpisodeContext = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeContext = DocumentNode( + definitions: [ + fragmentDefinitionEpisodeContext, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentEpisodeContext = DocumentNode(definitions: [ - fragmentDefinitionEpisodeContext, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$EpisodeContext on graphql.GraphQLClient { void writeFragment$EpisodeContext({ required Fragment$EpisodeContext data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeContext', - document: documentNodeFragmentEpisodeContext, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeContext', + document: documentNodeFragmentEpisodeContext, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeContext? readFragment$EpisodeContext({ required Map idFields, @@ -733,7 +750,8 @@ class Fragment$EpisodeContext$$ContextCollection }); factory Fragment$EpisodeContext$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -742,7 +760,8 @@ class Fragment$EpisodeContext$$ContextCollection items: l$items == null ? null : Fragment$EpisodeContext$$ContextCollection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -769,11 +788,7 @@ class Fragment$EpisodeContext$$ContextCollection final l$id = id; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$id, l$items, l$$__typename]); } @override @@ -807,11 +822,10 @@ class Fragment$EpisodeContext$$ContextCollection extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection on Fragment$EpisodeContext$$ContextCollection { CopyWith$Fragment$EpisodeContext$$ContextCollection< - Fragment$EpisodeContext$$ContextCollection> - get copyWith => CopyWith$Fragment$EpisodeContext$$ContextCollection( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection { @@ -848,24 +862,28 @@ class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection Object? id = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - items: items == _undefined - ? _instance.items - : (items as Fragment$EpisodeContext$$ContextCollection$items?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeContext$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + items: items == _undefined + ? _instance.items + : (items as Fragment$EpisodeContext$$ContextCollection$items?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeContext$$ContextCollection$items get items { final local$items = _instance.items; return local$items == null ? CopyWith$Fragment$EpisodeContext$$ContextCollection$items.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$EpisodeContext$$ContextCollection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -879,8 +897,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection String? id, Fragment$EpisodeContext$$ContextCollection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeContext$$ContextCollection$items get items => CopyWith$Fragment$EpisodeContext$$ContextCollection$items.stub(_res); @@ -893,14 +910,18 @@ class Fragment$EpisodeContext$$ContextCollection$items { }); factory Fragment$EpisodeContext$$ContextCollection$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items( items: (l$items as List) - .map((e) => - Fragment$EpisodeContext$$ContextCollection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Fragment$EpisodeContext$$ContextCollection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -962,11 +983,10 @@ class Fragment$EpisodeContext$$ContextCollection$items { extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items on Fragment$EpisodeContext$$ContextCollection$items { CopyWith$Fragment$EpisodeContext$$ContextCollection$items< - Fragment$EpisodeContext$$ContextCollection$items> - get copyWith => CopyWith$Fragment$EpisodeContext$$ContextCollection$items( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items { @@ -976,19 +996,23 @@ abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items { ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items< - Fragment$EpisodeContext$$ContextCollection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items< + Fragment$EpisodeContext$$ContextCollection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items @@ -1004,32 +1028,40 @@ class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$ContextCollection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Fragment$EpisodeContext$$ContextCollection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeContext$$ContextCollection$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Fragment$EpisodeContext$$ContextCollection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items< - Fragment$EpisodeContext$$ContextCollection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items< + Fragment$EpisodeContext$$ContextCollection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items @@ -1041,8 +1073,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -1054,13 +1085,15 @@ class Fragment$EpisodeContext$$ContextCollection$items$items { }); factory Fragment$EpisodeContext$$ContextCollection$items$items.fromJson( - Map json) { + Map json, + ) { final l$item = json['item']; final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items( item: Fragment$EpisodeContext$$ContextCollection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1082,10 +1115,7 @@ class Fragment$EpisodeContext$$ContextCollection$items$items { int get hashCode { final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$item, - l$$__typename, - ]); + return Object.hashAll([l$item, l$$__typename]); } @override @@ -1114,31 +1144,33 @@ class Fragment$EpisodeContext$$ContextCollection$items$items { extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items on Fragment$EpisodeContext$$ContextCollection$items$items { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items< - Fragment$EpisodeContext$$ContextCollection$items$items> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items( Fragment$EpisodeContext$$ContextCollection$items$items instance, TRes Function(Fragment$EpisodeContext$$ContextCollection$items$items) then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items; TRes call({ Fragment$EpisodeContext$$ContextCollection$items$items$item? item, String? $__typename, }); CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item - get item; + get item; } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items @@ -1152,104 +1184,122 @@ class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items final Fragment$EpisodeContext$$ContextCollection$items$items _instance; final TRes Function(Fragment$EpisodeContext$$ContextCollection$items$items) - _then; + _then; static const _undefined = {}; TRes call({ Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items( - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items( + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$EpisodeContext$$ContextCollection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items( - this._res); + this._res, + ); TRes _res; call({ Fragment$EpisodeContext$$ContextCollection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item - get item => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item - .stub(_res); + get item => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item.stub( + _res, + ); } class Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item( - {required this.$__typename}); + Fragment$EpisodeContext$$ContextCollection$items$items$item({ + required this.$__typename, + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Show": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season.fromJson( + json, + ); case "Episode": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode.fromJson( + json, + ); case "Page": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person - .fromJson(json); + return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -1289,86 +1339,117 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item { extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item on Fragment$EpisodeContext$$ContextCollection$items$items$item { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item< - Fragment$EpisodeContext$$ContextCollection$items$items$item> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show) - show, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season) - season, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode) - episode, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page) - page, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link) - link, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic) - studyTopic, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game) - game, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist) - playlist, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short) - short, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person) - person, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Show": - return show(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show); + return show( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, + ); case "Season": - return season(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season); + return season( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, + ); case "Episode": - return episode(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode); + return episode( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode, + ); case "Page": - return page(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page); + return page( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, + ); case "Link": - return link(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link); + return link( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game); + return game( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist); + return playlist( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short); + return short( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, + ); case "Person": - return person(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person); + return person( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, + ); default: return orElse(); @@ -1377,114 +1458,144 @@ extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$item _T maybeWhen<_T>({ _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show)? - show, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, + )? + show, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season)? - season, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, + )? + season, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode)? - episode, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode, + )? + episode, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page)? - page, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, + )? + page, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link)? - link, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, + )? + link, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic)? - studyTopic, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game)? - game, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, + )? + game, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist)? - playlist, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, + )? + playlist, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short)? - short, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, + )? + short, _T Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person)? - person, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Show": if (show != null) { - return show(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show); + return show( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season); + return season( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, + ); } else { return orElse(); } case "Episode": if (episode != null) { - return episode(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode); + return episode( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page); + return page( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link); + return link( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game); + return game( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist); + return playlist( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short); + return short( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person); + return person( + this + as Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, + ); } else { return orElse(); } @@ -1496,25 +1607,28 @@ extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$item } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item( Fragment$EpisodeContext$$ContextCollection$items$items$item instance, TRes Function(Fragment$EpisodeContext$$ContextCollection$items$items$item) - then, + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item( this._instance, this._then, @@ -1523,24 +1637,31 @@ class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item< final Fragment$EpisodeContext$$ContextCollection$items$items$item _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item) _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -1549,14 +1670,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( - {this.$__typename = 'Show'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show({ + this.$__typename = 'Show', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -1596,62 +1720,74 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show) _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -1660,14 +1796,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -1707,64 +1846,75 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season - instance, + instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season) - _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -1792,7 +1942,8 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$image = json['image']; final l$number = json['number']; @@ -1815,12 +1966,14 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$SeasonListEpisode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$SeasonListEpisode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1985,27 +2138,30 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode - instance, + instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode; TRes call({ String? id, @@ -2026,21 +2182,24 @@ abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$i } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode) - _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -2057,44 +2216,47 @@ class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$ Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$SeasonListEpisode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$SeasonListEpisode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$SeasonListEpisode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$SeasonListEpisode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$SeasonListEpisode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$SeasonListEpisode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$SeasonListEpisode$season get season { @@ -2102,17 +2264,22 @@ class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$ return local$season == null ? CopyWith$Fragment$SeasonListEpisode$season.stub(_then(_instance)) : CopyWith$Fragment$SeasonListEpisode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; @@ -2129,8 +2296,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i int? progress, Fragment$SeasonListEpisode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$SeasonListEpisode$lessons get lessons => CopyWith$Fragment$SeasonListEpisode$lessons.stub(_res); @@ -2141,14 +2307,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( - {this.$__typename = 'Page'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page({ + this.$__typename = 'Page', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2188,62 +2357,74 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page) _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; @@ -2252,14 +2433,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( - {this.$__typename = 'Link'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link({ + this.$__typename = 'Link', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2299,62 +2483,74 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link) _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; @@ -2363,14 +2559,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2410,64 +2609,75 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic on Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic) - _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -2476,14 +2686,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( - {this.$__typename = 'Game'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game({ + this.$__typename = 'Game', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2523,62 +2736,74 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game) _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; @@ -2587,14 +2812,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( - {this.$__typename = 'Playlist'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist({ + this.$__typename = 'Playlist', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2634,64 +2862,75 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist - instance, + instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist) - _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -2700,14 +2939,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( - {this.$__typename = 'Short'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short({ + this.$__typename = 'Short', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2747,62 +2989,74 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short) _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; @@ -2811,14 +3065,17 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$i class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( - {this.$__typename = 'Person'}); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person({ + this.$__typename = 'Person', + }); factory Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2858,64 +3115,75 @@ class Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person extension UtilityExtension$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person on Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person { CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person< - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person - instance, + instance, TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person) - then, + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person; factory CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( this._instance, this._then, ); final Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person) - _then; + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; @@ -2944,9 +3212,11 @@ class Fragment$EpisodeContext$$Season implements Fragment$EpisodeContext { title: (l$title as String), number: (l$number as int), episodes: Fragment$EpisodeContext$$Season$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $show: Fragment$EpisodeContext$$Season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3044,10 +3314,7 @@ class Fragment$EpisodeContext$$Season implements Fragment$EpisodeContext { extension UtilityExtension$Fragment$EpisodeContext$$Season on Fragment$EpisodeContext$$Season { CopyWith$Fragment$EpisodeContext$$Season - get copyWith => CopyWith$Fragment$EpisodeContext$$Season( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeContext$$Season(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$Season { @@ -3073,10 +3340,7 @@ abstract class CopyWith$Fragment$EpisodeContext$$Season { class _CopyWithImpl$Fragment$EpisodeContext$$Season implements CopyWith$Fragment$EpisodeContext$$Season { - _CopyWithImpl$Fragment$EpisodeContext$$Season( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeContext$$Season(this._instance, this._then); final Fragment$EpisodeContext$$Season _instance; @@ -3091,36 +3355,41 @@ class _CopyWithImpl$Fragment$EpisodeContext$$Season Object? episodes = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$Season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - number: number == _undefined || number == null - ? _instance.number - : (number as int), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes as Fragment$EpisodeContext$$Season$episodes), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$EpisodeContext$$Season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeContext$$Season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + number: number == _undefined || number == null + ? _instance.number + : (number as int), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Fragment$EpisodeContext$$Season$episodes), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$EpisodeContext$$Season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeContext$$Season$episodes get episodes { final local$episodes = _instance.episodes; return CopyWith$Fragment$EpisodeContext$$Season$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } CopyWith$Fragment$EpisodeContext$$Season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$EpisodeContext$$Season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -3137,8 +3406,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$Season Fragment$EpisodeContext$$Season$episodes? episodes, Fragment$EpisodeContext$$Season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeContext$$Season$episodes get episodes => CopyWith$Fragment$EpisodeContext$$Season$episodes.stub(_res); @@ -3154,13 +3422,17 @@ class Fragment$EpisodeContext$$Season$episodes { }); factory Fragment$EpisodeContext$$Season$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$Season$episodes( items: (l$items as List) - .map((e) => - Fragment$SeasonListEpisode.fromJson((e as Map))) + .map( + (e) => Fragment$SeasonListEpisode.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -3222,11 +3494,10 @@ class Fragment$EpisodeContext$$Season$episodes { extension UtilityExtension$Fragment$EpisodeContext$$Season$episodes on Fragment$EpisodeContext$$Season$episodes { CopyWith$Fragment$EpisodeContext$$Season$episodes< - Fragment$EpisodeContext$$Season$episodes> - get copyWith => CopyWith$Fragment$EpisodeContext$$Season$episodes( - this, - (i) => i, - ); + Fragment$EpisodeContext$$Season$episodes + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$Season$episodes(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$Season$episodes { @@ -3238,16 +3509,13 @@ abstract class CopyWith$Fragment$EpisodeContext$$Season$episodes { factory CopyWith$Fragment$EpisodeContext$$Season$episodes.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeContext$$Season$episodes; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$EpisodeContext$$Season$episodes @@ -3263,31 +3531,30 @@ class _CopyWithImpl$Fragment$EpisodeContext$$Season$episodes static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$Season$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeContext$$Season$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn) => - call( - items: _fn( - _instance.items.map((e) => CopyWith$Fragment$SeasonListEpisode( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$SeasonListEpisode(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$Season$episodes @@ -3296,11 +3563,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$Season$episodes TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -3315,7 +3578,8 @@ class Fragment$EpisodeContext$$Season$show { }); factory Fragment$EpisodeContext$$Season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$type = json['type']; @@ -3326,7 +3590,8 @@ class Fragment$EpisodeContext$$Season$show { title: (l$title as String), type: fromJson$Enum$ShowType((l$type as String)), seasons: Fragment$EpisodeContext$$Season$show$seasons.fromJson( - (l$seasons as Map)), + (l$seasons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3363,13 +3628,7 @@ class Fragment$EpisodeContext$$Season$show { final l$type = type; final l$seasons = seasons; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$type, - l$seasons, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$type, l$seasons, l$$__typename]); } @override @@ -3413,11 +3672,9 @@ class Fragment$EpisodeContext$$Season$show { extension UtilityExtension$Fragment$EpisodeContext$$Season$show on Fragment$EpisodeContext$$Season$show { CopyWith$Fragment$EpisodeContext$$Season$show< - Fragment$EpisodeContext$$Season$show> - get copyWith => CopyWith$Fragment$EpisodeContext$$Season$show( - this, - (i) => i, - ); + Fragment$EpisodeContext$$Season$show + > + get copyWith => CopyWith$Fragment$EpisodeContext$$Season$show(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$Season$show { @@ -3458,27 +3715,30 @@ class _CopyWithImpl$Fragment$EpisodeContext$$Season$show Object? type = _undefined, Object? seasons = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$Season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - type: type == _undefined || type == null - ? _instance.type - : (type as Enum$ShowType), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons as Fragment$EpisodeContext$$Season$show$seasons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeContext$$Season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + type: type == _undefined || type == null + ? _instance.type + : (type as Enum$ShowType), + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Fragment$EpisodeContext$$Season$show$seasons), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeContext$$Season$show$seasons get seasons { final local$seasons = _instance.seasons; return CopyWith$Fragment$EpisodeContext$$Season$show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } @@ -3494,8 +3754,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show Enum$ShowType? type, Fragment$EpisodeContext$$Season$show$seasons? seasons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeContext$$Season$show$seasons get seasons => CopyWith$Fragment$EpisodeContext$$Season$show$seasons.stub(_res); @@ -3508,14 +3767,17 @@ class Fragment$EpisodeContext$$Season$show$seasons { }); factory Fragment$EpisodeContext$$Season$show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$Season$show$seasons( items: (l$items as List) - .map((e) => - Fragment$EpisodeContext$$Season$show$seasons$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$EpisodeContext$$Season$show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -3577,11 +3839,10 @@ class Fragment$EpisodeContext$$Season$show$seasons { extension UtilityExtension$Fragment$EpisodeContext$$Season$show$seasons on Fragment$EpisodeContext$$Season$show$seasons { CopyWith$Fragment$EpisodeContext$$Season$show$seasons< - Fragment$EpisodeContext$$Season$show$seasons> - get copyWith => CopyWith$Fragment$EpisodeContext$$Season$show$seasons( - this, - (i) => i, - ); + Fragment$EpisodeContext$$Season$show$seasons + > + get copyWith => + CopyWith$Fragment$EpisodeContext$$Season$show$seasons(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$Season$show$seasons { @@ -3598,11 +3859,15 @@ abstract class CopyWith$Fragment$EpisodeContext$$Season$show$seasons { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items< - Fragment$EpisodeContext$$Season$show$seasons$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items< + Fragment$EpisodeContext$$Season$show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$EpisodeContext$$Season$show$seasons @@ -3621,29 +3886,36 @@ class _CopyWithImpl$Fragment$EpisodeContext$$Season$show$seasons TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$Season$show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items - as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeContext$$Season$show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items< - Fragment$EpisodeContext$$Season$show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items< + Fragment$EpisodeContext$$Season$show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show$seasons @@ -3655,8 +3927,7 @@ class _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show$seasons call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -3669,7 +3940,8 @@ class Fragment$EpisodeContext$$Season$show$seasons$items { }); factory Fragment$EpisodeContext$$Season$show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -3702,11 +3974,7 @@ class Fragment$EpisodeContext$$Season$show$seasons$items { final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -3740,30 +4008,27 @@ class Fragment$EpisodeContext$$Season$show$seasons$items { extension UtilityExtension$Fragment$EpisodeContext$$Season$show$seasons$items on Fragment$EpisodeContext$$Season$show$seasons$items { CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items< - Fragment$EpisodeContext$$Season$show$seasons$items> - get copyWith => - CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items( - this, - (i) => i, - ); + Fragment$EpisodeContext$$Season$show$seasons$items + > + get copyWith => CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items( Fragment$EpisodeContext$$Season$show$seasons$items instance, TRes Function(Fragment$EpisodeContext$$Season$show$seasons$items) then, ) = _CopyWithImpl$Fragment$EpisodeContext$$Season$show$seasons$items; factory CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show$seasons$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show$seasons$items; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeContext$$Season$show$seasons$items @@ -3784,42 +4049,41 @@ class _CopyWithImpl$Fragment$EpisodeContext$$Season$show$seasons$items Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeContext$$Season$show$seasons$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeContext$$Season$show$seasons$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show$seasons$items implements CopyWith$Fragment$EpisodeContext$$Season$show$seasons$items { _CopyWithStubImpl$Fragment$EpisodeContext$$Season$show$seasons$items( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Fragment$EpisodeContext$$Playlist implements Fragment$EpisodeContext { Fragment$EpisodeContext$$Playlist({this.$__typename = 'Playlist'}); factory Fragment$EpisodeContext$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$EpisodeContext$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -3858,10 +4122,7 @@ class Fragment$EpisodeContext$$Playlist implements Fragment$EpisodeContext { extension UtilityExtension$Fragment$EpisodeContext$$Playlist on Fragment$EpisodeContext$$Playlist { CopyWith$Fragment$EpisodeContext$$Playlist - get copyWith => CopyWith$Fragment$EpisodeContext$$Playlist( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeContext$$Playlist(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeContext$$Playlist { @@ -3878,10 +4139,7 @@ abstract class CopyWith$Fragment$EpisodeContext$$Playlist { class _CopyWithImpl$Fragment$EpisodeContext$$Playlist implements CopyWith$Fragment$EpisodeContext$$Playlist { - _CopyWithImpl$Fragment$EpisodeContext$$Playlist( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeContext$$Playlist(this._instance, this._then); final Fragment$EpisodeContext$$Playlist _instance; @@ -3889,11 +4147,13 @@ class _CopyWithImpl$Fragment$EpisodeContext$$Playlist static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$EpisodeContext$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$EpisodeContext$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeContext$$Playlist @@ -3943,8 +4203,9 @@ class Fragment$BasicStream { .map((e) => (e as String)) .toList(), downloadable: (l$downloadable as bool), - primaryMediaType: - fromJson$Enum$PrimaryMediaType((l$primaryMediaType as String)), + primaryMediaType: fromJson$Enum$PrimaryMediaType( + (l$primaryMediaType as String), + ), $__typename: (l$$__typename as String), ); } @@ -3984,13 +4245,15 @@ class Fragment$BasicStream { final l$audioLanguages = audioLanguages; _resultData['audioLanguages'] = l$audioLanguages.map((e) => e).toList(); final l$subtitleLanguages = subtitleLanguages; - _resultData['subtitleLanguages'] = - l$subtitleLanguages.map((e) => e).toList(); + _resultData['subtitleLanguages'] = l$subtitleLanguages + .map((e) => e) + .toList(); final l$downloadable = downloadable; _resultData['downloadable'] = l$downloadable; final l$primaryMediaType = primaryMediaType; - _resultData['primaryMediaType'] = - toJson$Enum$PrimaryMediaType(l$primaryMediaType); + _resultData['primaryMediaType'] = toJson$Enum$PrimaryMediaType( + l$primaryMediaType, + ); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; @@ -4100,10 +4363,7 @@ class Fragment$BasicStream { extension UtilityExtension$Fragment$BasicStream on Fragment$BasicStream { CopyWith$Fragment$BasicStream get copyWith => - CopyWith$Fragment$BasicStream( - this, - (i) => i, - ); + CopyWith$Fragment$BasicStream(this, (i) => i); } abstract class CopyWith$Fragment$BasicStream { @@ -4131,10 +4391,7 @@ abstract class CopyWith$Fragment$BasicStream { class _CopyWithImpl$Fragment$BasicStream implements CopyWith$Fragment$BasicStream { - _CopyWithImpl$Fragment$BasicStream( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$BasicStream(this._instance, this._then); final Fragment$BasicStream _instance; @@ -4153,37 +4410,38 @@ class _CopyWithImpl$Fragment$BasicStream Object? downloadable = _undefined, Object? primaryMediaType = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$BasicStream( - id: id == _undefined || id == null ? _instance.id : (id as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - expiresAt: expiresAt == _undefined || expiresAt == null - ? _instance.expiresAt - : (expiresAt as String), - type: type == _undefined || type == null - ? _instance.type - : (type as Enum$StreamType), - videoLanguage: videoLanguage == _undefined - ? _instance.videoLanguage - : (videoLanguage as String?), - audioLanguages: audioLanguages == _undefined || audioLanguages == null - ? _instance.audioLanguages - : (audioLanguages as List), - subtitleLanguages: - subtitleLanguages == _undefined || subtitleLanguages == null - ? _instance.subtitleLanguages - : (subtitleLanguages as List), - downloadable: downloadable == _undefined || downloadable == null - ? _instance.downloadable - : (downloadable as bool), - primaryMediaType: - primaryMediaType == _undefined || primaryMediaType == null - ? _instance.primaryMediaType - : (primaryMediaType as Enum$PrimaryMediaType), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$BasicStream( + id: id == _undefined || id == null ? _instance.id : (id as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + expiresAt: expiresAt == _undefined || expiresAt == null + ? _instance.expiresAt + : (expiresAt as String), + type: type == _undefined || type == null + ? _instance.type + : (type as Enum$StreamType), + videoLanguage: videoLanguage == _undefined + ? _instance.videoLanguage + : (videoLanguage as String?), + audioLanguages: audioLanguages == _undefined || audioLanguages == null + ? _instance.audioLanguages + : (audioLanguages as List), + subtitleLanguages: + subtitleLanguages == _undefined || subtitleLanguages == null + ? _instance.subtitleLanguages + : (subtitleLanguages as List), + downloadable: downloadable == _undefined || downloadable == null + ? _instance.downloadable + : (downloadable as bool), + primaryMediaType: + primaryMediaType == _undefined || primaryMediaType == null + ? _instance.primaryMediaType + : (primaryMediaType as Enum$PrimaryMediaType), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$BasicStream @@ -4203,112 +4461,110 @@ class _CopyWithStubImpl$Fragment$BasicStream bool? downloadable, Enum$PrimaryMediaType? primaryMediaType, String? $__typename, - }) => - _res; + }) => _res; } const fragmentDefinitionBasicStream = FragmentDefinitionNode( name: NameNode(value: 'BasicStream'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Stream'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Stream'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'expiresAt'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'type'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'videoLanguage'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'audioLanguages'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'subtitleLanguages'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'downloadable'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'primaryMediaType'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'expiresAt'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'type'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'videoLanguage'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'audioLanguages'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'subtitleLanguages'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'downloadable'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'primaryMediaType'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentBasicStream = DocumentNode( + definitions: [fragmentDefinitionBasicStream], ); -const documentNodeFragmentBasicStream = DocumentNode(definitions: [ - fragmentDefinitionBasicStream, -]); extension ClientExtension$Fragment$BasicStream on graphql.GraphQLClient { void writeFragment$BasicStream({ required Fragment$BasicStream data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'BasicStream', - document: documentNodeFragmentBasicStream, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'BasicStream', + document: documentNodeFragmentBasicStream, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$BasicStream? readFragment$BasicStream({ required Map idFields, @@ -4367,12 +4623,14 @@ class Fragment$SeasonListEpisode implements Fragment$EpisodeThumbnail { duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$SeasonListEpisode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$SeasonListEpisode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -4536,10 +4794,7 @@ class Fragment$SeasonListEpisode implements Fragment$EpisodeThumbnail { extension UtilityExtension$Fragment$SeasonListEpisode on Fragment$SeasonListEpisode { CopyWith$Fragment$SeasonListEpisode - get copyWith => CopyWith$Fragment$SeasonListEpisode( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$SeasonListEpisode(this, (i) => i); } abstract class CopyWith$Fragment$SeasonListEpisode { @@ -4571,10 +4826,7 @@ abstract class CopyWith$Fragment$SeasonListEpisode { class _CopyWithImpl$Fragment$SeasonListEpisode implements CopyWith$Fragment$SeasonListEpisode { - _CopyWithImpl$Fragment$SeasonListEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$SeasonListEpisode(this._instance, this._then); final Fragment$SeasonListEpisode _instance; @@ -4595,43 +4847,47 @@ class _CopyWithImpl$Fragment$SeasonListEpisode Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$SeasonListEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$SeasonListEpisode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$SeasonListEpisode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$SeasonListEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$SeasonListEpisode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$SeasonListEpisode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$SeasonListEpisode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$SeasonListEpisode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$SeasonListEpisode$season get season { @@ -4639,7 +4895,9 @@ class _CopyWithImpl$Fragment$SeasonListEpisode return local$season == null ? CopyWith$Fragment$SeasonListEpisode$season.stub(_then(_instance)) : CopyWith$Fragment$SeasonListEpisode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -4662,8 +4920,7 @@ class _CopyWithStubImpl$Fragment$SeasonListEpisode int? progress, Fragment$SeasonListEpisode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$SeasonListEpisode$lessons get lessons => CopyWith$Fragment$SeasonListEpisode$lessons.stub(_res); @@ -4675,188 +4932,189 @@ class _CopyWithStubImpl$Fragment$SeasonListEpisode const fragmentDefinitionSeasonListEpisode = FragmentDefinitionNode( name: NameNode(value: 'SeasonListEpisode'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'ageRating'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'lessons'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'total'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FragmentSpreadNode( - name: NameNode(value: 'EpisodeThumbnail'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), -); -const documentNodeFragmentSeasonListEpisode = DocumentNode(definitions: [ - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); - -extension ClientExtension$Fragment$SeasonListEpisode on graphql.GraphQLClient { - void writeFragment$SeasonListEpisode({ - required Fragment$SeasonListEpisode data, - required Map idFields, - bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'SeasonListEpisode', - document: documentNodeFragmentSeasonListEpisode, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); - - Fragment$SeasonListEpisode? readFragment$SeasonListEpisode({ - required Map idFields, - bool optimistic = true, - }) { - final result = this.readFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'SeasonListEpisode', - document: documentNodeFragmentSeasonListEpisode, - ), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), - optimistic: optimistic, - ); - return result == null ? null : Fragment$SeasonListEpisode.fromJson(result); - } -} - -class Fragment$SeasonListEpisode$lessons { - Fragment$SeasonListEpisode$lessons({ - required this.total, - this.$__typename = 'LessonPagination', - }); - - factory Fragment$SeasonListEpisode$lessons.fromJson( - Map json) { - final l$total = json['total']; - final l$$__typename = json['__typename']; - return Fragment$SeasonListEpisode$lessons( - total: (l$total as int), - $__typename: (l$$__typename as String), - ); - } - - final int total; - - final String $__typename; - - Map toJson() { - final _resultData = {}; - final l$total = total; - _resultData['total'] = l$total; - final l$$__typename = $__typename; - _resultData['__typename'] = l$$__typename; - return _resultData; - } - - @override - int get hashCode { - final l$total = total; - final l$$__typename = $__typename; - return Object.hashAll([ - l$total, - l$$__typename, - ]); + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'ageRating'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'lessons'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'total'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FragmentSpreadNode( + name: NameNode(value: 'EpisodeThumbnail'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentSeasonListEpisode = DocumentNode( + definitions: [ + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], +); + +extension ClientExtension$Fragment$SeasonListEpisode on graphql.GraphQLClient { + void writeFragment$SeasonListEpisode({ + required Fragment$SeasonListEpisode data, + required Map idFields, + bool broadcast = true, + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'SeasonListEpisode', + document: documentNodeFragmentSeasonListEpisode, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); + + Fragment$SeasonListEpisode? readFragment$SeasonListEpisode({ + required Map idFields, + bool optimistic = true, + }) { + final result = this.readFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'SeasonListEpisode', + document: documentNodeFragmentSeasonListEpisode, + ), + ), + optimistic: optimistic, + ); + return result == null ? null : Fragment$SeasonListEpisode.fromJson(result); + } +} + +class Fragment$SeasonListEpisode$lessons { + Fragment$SeasonListEpisode$lessons({ + required this.total, + this.$__typename = 'LessonPagination', + }); + + factory Fragment$SeasonListEpisode$lessons.fromJson( + Map json, + ) { + final l$total = json['total']; + final l$$__typename = json['__typename']; + return Fragment$SeasonListEpisode$lessons( + total: (l$total as int), + $__typename: (l$$__typename as String), + ); + } + + final int total; + + final String $__typename; + + Map toJson() { + final _resultData = {}; + final l$total = total; + _resultData['total'] = l$total; + final l$$__typename = $__typename; + _resultData['__typename'] = l$$__typename; + return _resultData; + } + + @override + int get hashCode { + final l$total = total; + final l$$__typename = $__typename; + return Object.hashAll([l$total, l$$__typename]); } @override @@ -4885,11 +5143,9 @@ class Fragment$SeasonListEpisode$lessons { extension UtilityExtension$Fragment$SeasonListEpisode$lessons on Fragment$SeasonListEpisode$lessons { CopyWith$Fragment$SeasonListEpisode$lessons< - Fragment$SeasonListEpisode$lessons> - get copyWith => CopyWith$Fragment$SeasonListEpisode$lessons( - this, - (i) => i, - ); + Fragment$SeasonListEpisode$lessons + > + get copyWith => CopyWith$Fragment$SeasonListEpisode$lessons(this, (i) => i); } abstract class CopyWith$Fragment$SeasonListEpisode$lessons { @@ -4901,18 +5157,12 @@ abstract class CopyWith$Fragment$SeasonListEpisode$lessons { factory CopyWith$Fragment$SeasonListEpisode$lessons.stub(TRes res) = _CopyWithStubImpl$Fragment$SeasonListEpisode$lessons; - TRes call({ - int? total, - String? $__typename, - }); + TRes call({int? total, String? $__typename}); } class _CopyWithImpl$Fragment$SeasonListEpisode$lessons implements CopyWith$Fragment$SeasonListEpisode$lessons { - _CopyWithImpl$Fragment$SeasonListEpisode$lessons( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$SeasonListEpisode$lessons(this._instance, this._then); final Fragment$SeasonListEpisode$lessons _instance; @@ -4920,18 +5170,17 @@ class _CopyWithImpl$Fragment$SeasonListEpisode$lessons static const _undefined = {}; - TRes call({ - Object? total = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$SeasonListEpisode$lessons( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? total = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$SeasonListEpisode$lessons( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$SeasonListEpisode$lessons @@ -4940,11 +5189,7 @@ class _CopyWithStubImpl$Fragment$SeasonListEpisode$lessons TRes _res; - call({ - int? total, - String? $__typename, - }) => - _res; + call({int? total, String? $__typename}) => _res; } class Fragment$SeasonListEpisode$season @@ -4956,14 +5201,16 @@ class Fragment$SeasonListEpisode$season }); factory Fragment$SeasonListEpisode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$SeasonListEpisode$season( number: (l$number as int), $show: Fragment$SeasonListEpisode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -4990,11 +5237,7 @@ class Fragment$SeasonListEpisode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -5028,10 +5271,7 @@ class Fragment$SeasonListEpisode$season extension UtilityExtension$Fragment$SeasonListEpisode$season on Fragment$SeasonListEpisode$season { CopyWith$Fragment$SeasonListEpisode$season - get copyWith => CopyWith$Fragment$SeasonListEpisode$season( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$SeasonListEpisode$season(this, (i) => i); } abstract class CopyWith$Fragment$SeasonListEpisode$season { @@ -5053,10 +5293,7 @@ abstract class CopyWith$Fragment$SeasonListEpisode$season { class _CopyWithImpl$Fragment$SeasonListEpisode$season implements CopyWith$Fragment$SeasonListEpisode$season { - _CopyWithImpl$Fragment$SeasonListEpisode$season( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$SeasonListEpisode$season(this._instance, this._then); final Fragment$SeasonListEpisode$season _instance; @@ -5068,23 +5305,26 @@ class _CopyWithImpl$Fragment$SeasonListEpisode$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$SeasonListEpisode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$SeasonListEpisode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$SeasonListEpisode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$SeasonListEpisode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$SeasonListEpisode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$SeasonListEpisode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -5098,8 +5338,7 @@ class _CopyWithStubImpl$Fragment$SeasonListEpisode$season int? number, Fragment$SeasonListEpisode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$SeasonListEpisode$season$show get $show => CopyWith$Fragment$SeasonListEpisode$season$show.stub(_res); @@ -5113,7 +5352,8 @@ class Fragment$SeasonListEpisode$season$show }); factory Fragment$SeasonListEpisode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$SeasonListEpisode$season$show( @@ -5139,10 +5379,7 @@ class Fragment$SeasonListEpisode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -5171,11 +5408,10 @@ class Fragment$SeasonListEpisode$season$show extension UtilityExtension$Fragment$SeasonListEpisode$season$show on Fragment$SeasonListEpisode$season$show { CopyWith$Fragment$SeasonListEpisode$season$show< - Fragment$SeasonListEpisode$season$show> - get copyWith => CopyWith$Fragment$SeasonListEpisode$season$show( - this, - (i) => i, - ); + Fragment$SeasonListEpisode$season$show + > + get copyWith => + CopyWith$Fragment$SeasonListEpisode$season$show(this, (i) => i); } abstract class CopyWith$Fragment$SeasonListEpisode$season$show { @@ -5187,10 +5423,7 @@ abstract class CopyWith$Fragment$SeasonListEpisode$season$show { factory CopyWith$Fragment$SeasonListEpisode$season$show.stub(TRes res) = _CopyWithStubImpl$Fragment$SeasonListEpisode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$SeasonListEpisode$season$show @@ -5206,18 +5439,17 @@ class _CopyWithImpl$Fragment$SeasonListEpisode$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$SeasonListEpisode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$SeasonListEpisode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$SeasonListEpisode$season$show @@ -5226,11 +5458,7 @@ class _CopyWithStubImpl$Fragment$SeasonListEpisode$season$show TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$PlayableMediaItem { @@ -5261,8 +5489,10 @@ class Fragment$PlayableMediaItem { return Fragment$PlayableMediaItem( id: (l$id as String), streams: (l$streams as List) - .map((e) => - Fragment$BasicStream.fromJson((e as Map))) + .map( + (e) => + Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -5372,10 +5602,7 @@ class Fragment$PlayableMediaItem { extension UtilityExtension$Fragment$PlayableMediaItem on Fragment$PlayableMediaItem { CopyWith$Fragment$PlayableMediaItem - get copyWith => CopyWith$Fragment$PlayableMediaItem( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$PlayableMediaItem(this, (i) => i); _T when<_T>({ required _T Function(Fragment$PlayableMediaItem$$Episode) episode, @@ -5438,17 +5665,16 @@ abstract class CopyWith$Fragment$PlayableMediaItem { String? $__typename, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$PlayableMediaItem implements CopyWith$Fragment$PlayableMediaItem { - _CopyWithImpl$Fragment$PlayableMediaItem( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlayableMediaItem(this._instance, this._then); final Fragment$PlayableMediaItem _instance; @@ -5463,34 +5689,35 @@ class _CopyWithImpl$Fragment$PlayableMediaItem Object? originalTitle = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlayableMediaItem( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem @@ -5506,8 +5733,7 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem String? originalTitle, String? image, String? $__typename, - }) => - _res; + }) => _res; streams(_fn) => _res; } @@ -5515,103 +5741,28 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem const fragmentDefinitionPlayableMediaItem = FragmentDefinitionNode( name: NameNode(value: 'PlayableMediaItem'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'MediaItem'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'MediaItem'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'streams'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'BasicStream'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'originalTitle'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'cursor'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'context'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'ContextCollection'), - isNonNull: false, - )), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'streams'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'BasicStream'), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), ), FieldNode( name: NameNode(value: '__typename'), @@ -5620,107 +5771,204 @@ const fragmentDefinitionPlayableMediaItem = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'originalTitle'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'cursor'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'show'), + name: NameNode(value: 'context'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'ContextCollection'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'duration'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: 'contributors'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ FieldNode( - name: NameNode(value: 'contributionTypes'), + name: NameNode(value: 'season'), alias: null, arguments: [], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( - name: NameNode(value: 'person'), + name: NameNode(value: 'contributors'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'contributionTypes'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'person'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -5729,48 +5977,42 @@ const fragmentDefinitionPlayableMediaItem = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentPlayableMediaItem = DocumentNode( + definitions: [ + fragmentDefinitionPlayableMediaItem, + fragmentDefinitionBasicStream, + ], ); -const documentNodeFragmentPlayableMediaItem = DocumentNode(definitions: [ - fragmentDefinitionPlayableMediaItem, - fragmentDefinitionBasicStream, -]); extension ClientExtension$Fragment$PlayableMediaItem on graphql.GraphQLClient { void writeFragment$PlayableMediaItem({ required Fragment$PlayableMediaItem data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'PlayableMediaItem', - document: documentNodeFragmentPlayableMediaItem, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'PlayableMediaItem', + document: documentNodeFragmentPlayableMediaItem, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$PlayableMediaItem? readFragment$PlayableMediaItem({ required Map idFields, @@ -5807,7 +6049,8 @@ class Fragment$PlayableMediaItem$$Episode }); factory Fragment$PlayableMediaItem$$Episode.fromJson( - Map json) { + Map json, + ) { final l$cursor = json['cursor']; final l$context = json['context']; final l$duration = json['duration']; @@ -5824,21 +6067,27 @@ class Fragment$PlayableMediaItem$$Episode context: l$context == null ? null : Fragment$PlayableMediaItem$$Episode$context.fromJson( - (l$context as Map)), + (l$context as Map), + ), duration: (l$duration as int), season: l$season == null ? null : Fragment$PlayableMediaItem$$Episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), contributors: (l$contributors as List) - .map((e) => Fragment$PlayableMediaItem$$Episode$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$PlayableMediaItem$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -5879,8 +6128,9 @@ class Fragment$PlayableMediaItem$$Episode final l$season = season; _resultData['season'] = l$season?.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; final l$id = id; @@ -6009,11 +6259,9 @@ class Fragment$PlayableMediaItem$$Episode extension UtilityExtension$Fragment$PlayableMediaItem$$Episode on Fragment$PlayableMediaItem$$Episode { CopyWith$Fragment$PlayableMediaItem$$Episode< - Fragment$PlayableMediaItem$$Episode> - get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode + > + get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode { @@ -6041,23 +6289,26 @@ abstract class CopyWith$Fragment$PlayableMediaItem$$Episode { CopyWith$Fragment$PlayableMediaItem$$Episode$context get context; CopyWith$Fragment$PlayableMediaItem$$Episode$season get season; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$PlayableMediaItem$$Episode$contributors< - Fragment$PlayableMediaItem$$Episode$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$PlayableMediaItem$$Episode$contributors< + Fragment$PlayableMediaItem$$Episode$contributors + > + >, + ) + _fn, + ); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode implements CopyWith$Fragment$PlayableMediaItem$$Episode { - _CopyWithImpl$Fragment$PlayableMediaItem$$Episode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlayableMediaItem$$Episode(this._instance, this._then); final Fragment$PlayableMediaItem$$Episode _instance; @@ -6077,81 +6328,95 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode Object? title = _undefined, Object? originalTitle = _undefined, Object? image = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Episode( - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - context: context == _undefined - ? _instance.context - : (context as Fragment$PlayableMediaItem$$Episode$context?), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - season: season == _undefined - ? _instance.season - : (season as Fragment$PlayableMediaItem$$Episode$season?), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors + }) => _then( + Fragment$PlayableMediaItem$$Episode( + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + context: context == _undefined + ? _instance.context + : (context as Fragment$PlayableMediaItem$$Episode$context?), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + season: season == _undefined + ? _instance.season + : (season as Fragment$PlayableMediaItem$$Episode$season?), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + ), + ); CopyWith$Fragment$PlayableMediaItem$$Episode$context get context { final local$context = _instance.context; return local$context == null ? CopyWith$Fragment$PlayableMediaItem$$Episode$context.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$PlayableMediaItem$$Episode$context( - local$context, (e) => call(context: e)); + local$context, + (e) => call(context: e), + ); } CopyWith$Fragment$PlayableMediaItem$$Episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$PlayableMediaItem$$Episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$PlayableMediaItem$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$PlayableMediaItem$$Episode$contributors< - Fragment$PlayableMediaItem$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map( - (e) => CopyWith$Fragment$PlayableMediaItem$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$PlayableMediaItem$$Episode$contributors< + Fragment$PlayableMediaItem$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Fragment$PlayableMediaItem$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode @@ -6172,8 +6437,7 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode String? title, String? originalTitle, String? image, - }) => - _res; + }) => _res; CopyWith$Fragment$PlayableMediaItem$$Episode$context get context => CopyWith$Fragment$PlayableMediaItem$$Episode$context.stub(_res); @@ -6190,24 +6454,29 @@ class Fragment$PlayableMediaItem$$Episode$context { Fragment$PlayableMediaItem$$Episode$context({required this.$__typename}); factory Fragment$PlayableMediaItem$$Episode$context.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "ContextCollection": - return Fragment$PlayableMediaItem$$Episode$context$$ContextCollection - .fromJson(json); + return Fragment$PlayableMediaItem$$Episode$context$$ContextCollection.fromJson( + json, + ); case "Season": return Fragment$PlayableMediaItem$$Episode$context$$Season.fromJson( - json); + json, + ); case "Playlist": return Fragment$PlayableMediaItem$$Episode$context$$Playlist.fromJson( - json); + json, + ); default: final l$$__typename = json['__typename']; return Fragment$PlayableMediaItem$$Episode$context( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -6247,34 +6516,38 @@ class Fragment$PlayableMediaItem$$Episode$context { extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context on Fragment$PlayableMediaItem$$Episode$context { CopyWith$Fragment$PlayableMediaItem$$Episode$context< - Fragment$PlayableMediaItem$$Episode$context> - get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode$context( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$context + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$context(this, (i) => i); _T when<_T>({ required _T Function( - Fragment$PlayableMediaItem$$Episode$context$$ContextCollection) - contextCollection, + Fragment$PlayableMediaItem$$Episode$context$$ContextCollection, + ) + contextCollection, required _T Function(Fragment$PlayableMediaItem$$Episode$context$$Season) - season, + season, required _T Function(Fragment$PlayableMediaItem$$Episode$context$$Playlist) - playlist, + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": - return contextCollection(this - as Fragment$PlayableMediaItem$$Episode$context$$ContextCollection); + return contextCollection( + this + as Fragment$PlayableMediaItem$$Episode$context$$ContextCollection, + ); case "Season": return season( - this as Fragment$PlayableMediaItem$$Episode$context$$Season); + this as Fragment$PlayableMediaItem$$Episode$context$$Season, + ); case "Playlist": return playlist( - this as Fragment$PlayableMediaItem$$Episode$context$$Playlist); + this as Fragment$PlayableMediaItem$$Episode$context$$Playlist, + ); default: return orElse(); @@ -6283,17 +6556,19 @@ extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context _T maybeWhen<_T>({ _T Function(Fragment$PlayableMediaItem$$Episode$context$$ContextCollection)? - contextCollection, + contextCollection, _T Function(Fragment$PlayableMediaItem$$Episode$context$$Season)? season, _T Function(Fragment$PlayableMediaItem$$Episode$context$$Playlist)? - playlist, + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": if (contextCollection != null) { - return contextCollection(this - as Fragment$PlayableMediaItem$$Episode$context$$ContextCollection); + return contextCollection( + this + as Fragment$PlayableMediaItem$$Episode$context$$ContextCollection, + ); } else { return orElse(); } @@ -6301,7 +6576,8 @@ extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context case "Season": if (season != null) { return season( - this as Fragment$PlayableMediaItem$$Episode$context$$Season); + this as Fragment$PlayableMediaItem$$Episode$context$$Season, + ); } else { return orElse(); } @@ -6309,7 +6585,8 @@ extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context case "Playlist": if (playlist != null) { return playlist( - this as Fragment$PlayableMediaItem$$Episode$context$$Playlist); + this as Fragment$PlayableMediaItem$$Episode$context$$Playlist, + ); } else { return orElse(); } @@ -6345,11 +6622,13 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$PlayableMediaItem$$Episode$context( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$PlayableMediaItem$$Episode$context( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context @@ -6369,7 +6648,8 @@ class Fragment$PlayableMediaItem$$Episode$context$$ContextCollection }); factory Fragment$PlayableMediaItem$$Episode$context$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( @@ -6395,10 +6675,7 @@ class Fragment$PlayableMediaItem$$Episode$context$$ContextCollection int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -6428,90 +6705,95 @@ class Fragment$PlayableMediaItem$$Episode$context$$ContextCollection extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection on Fragment$PlayableMediaItem$$Episode$context$$ContextCollection { CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection< - Fragment$PlayableMediaItem$$Episode$context$$ContextCollection> - get copyWith => - CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$context$$ContextCollection + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection< - TRes> { + TRes +> { factory CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( Fragment$PlayableMediaItem$$Episode$context$$ContextCollection instance, TRes Function( - Fragment$PlayableMediaItem$$Episode$context$$ContextCollection) - then, + Fragment$PlayableMediaItem$$Episode$context$$ContextCollection, + ) + then, ) = _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection; factory CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection.stub( - TRes res) = - _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection; + TRes res, + ) = _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( this._instance, this._then, ); final Fragment$PlayableMediaItem$$Episode$context$$ContextCollection - _instance; + _instance; final TRes Function( - Fragment$PlayableMediaItem$$Episode$context$$ContextCollection) _then; + Fragment$PlayableMediaItem$$Episode$context$$ContextCollection, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$ContextCollection( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$PlayableMediaItem$$Episode$context$$Season implements Fragment$PlayableMediaItem$$Episode$context { - Fragment$PlayableMediaItem$$Episode$context$$Season( - {this.$__typename = 'Season'}); + Fragment$PlayableMediaItem$$Episode$context$$Season({ + this.$__typename = 'Season', + }); factory Fragment$PlayableMediaItem$$Episode$context$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$PlayableMediaItem$$Episode$context$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -6550,24 +6832,25 @@ class Fragment$PlayableMediaItem$$Episode$context$$Season extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context$$Season on Fragment$PlayableMediaItem$$Episode$context$$Season { CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season< - Fragment$PlayableMediaItem$$Episode$context$$Season> - get copyWith => - CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$context$$Season + > + get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season( Fragment$PlayableMediaItem$$Episode$context$$Season instance, TRes Function(Fragment$PlayableMediaItem$$Episode$context$$Season) then, ) = _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$Season; factory CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Season; TRes call({String? $__typename}); } @@ -6583,23 +6866,27 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$Season final Fragment$PlayableMediaItem$$Episode$context$$Season _instance; final TRes Function(Fragment$PlayableMediaItem$$Episode$context$$Season) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$PlayableMediaItem$$Episode$context$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$PlayableMediaItem$$Episode$context$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Season< - TRes> + TRes +> implements CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Season { _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Season( - this._res); + this._res, + ); TRes _res; @@ -6608,14 +6895,17 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Season< class Fragment$PlayableMediaItem$$Episode$context$$Playlist implements Fragment$PlayableMediaItem$$Episode$context { - Fragment$PlayableMediaItem$$Episode$context$$Playlist( - {this.$__typename = 'Playlist'}); + Fragment$PlayableMediaItem$$Episode$context$$Playlist({ + this.$__typename = 'Playlist', + }); factory Fragment$PlayableMediaItem$$Episode$context$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$PlayableMediaItem$$Episode$context$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -6654,24 +6944,26 @@ class Fragment$PlayableMediaItem$$Episode$context$$Playlist extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$context$$Playlist on Fragment$PlayableMediaItem$$Episode$context$$Playlist { CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist< - Fragment$PlayableMediaItem$$Episode$context$$Playlist> - get copyWith => - CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$context$$Playlist + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist( Fragment$PlayableMediaItem$$Episode$context$$Playlist instance, TRes Function(Fragment$PlayableMediaItem$$Episode$context$$Playlist) then, ) = _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$Playlist; factory CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Playlist; TRes call({String? $__typename}); } @@ -6687,23 +6979,27 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$context$$Playlist final Fragment$PlayableMediaItem$$Episode$context$$Playlist _instance; final TRes Function(Fragment$PlayableMediaItem$$Episode$context$$Playlist) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$PlayableMediaItem$$Episode$context$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$PlayableMediaItem$$Episode$context$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$PlayableMediaItem$$Episode$context$$Playlist { _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$context$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -6719,7 +7015,8 @@ class Fragment$PlayableMediaItem$$Episode$season { }); factory Fragment$PlayableMediaItem$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -6728,7 +7025,8 @@ class Fragment$PlayableMediaItem$$Episode$season { id: (l$id as String), title: (l$title as String), $show: Fragment$PlayableMediaItem$$Episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -6760,12 +7058,7 @@ class Fragment$PlayableMediaItem$$Episode$season { final l$title = title; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename]); } @override @@ -6804,11 +7097,10 @@ class Fragment$PlayableMediaItem$$Episode$season { extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$season on Fragment$PlayableMediaItem$$Episode$season { CopyWith$Fragment$PlayableMediaItem$$Episode$season< - Fragment$PlayableMediaItem$$Episode$season> - get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode$season( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$season + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$season(this, (i) => i); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$season { @@ -6847,24 +7139,27 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$season Object? title = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Episode$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$PlayableMediaItem$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlayableMediaItem$$Episode$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$PlayableMediaItem$$Episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$PlayableMediaItem$$Episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$PlayableMediaItem$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -6879,8 +7174,7 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$season String? title, Fragment$PlayableMediaItem$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$PlayableMediaItem$$Episode$season$show get $show => CopyWith$Fragment$PlayableMediaItem$$Episode$season$show.stub(_res); @@ -6894,7 +7188,8 @@ class Fragment$PlayableMediaItem$$Episode$season$show { }); factory Fragment$PlayableMediaItem$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -6927,11 +7222,7 @@ class Fragment$PlayableMediaItem$$Episode$season$show { final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -6965,11 +7256,10 @@ class Fragment$PlayableMediaItem$$Episode$season$show { extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$season$show on Fragment$PlayableMediaItem$$Episode$season$show { CopyWith$Fragment$PlayableMediaItem$$Episode$season$show< - Fragment$PlayableMediaItem$$Episode$season$show> - get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode$season$show( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$season$show(this, (i) => i); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$season$show { @@ -6979,14 +7269,10 @@ abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$season$show { ) = _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$season$show; factory CopyWith$Fragment$PlayableMediaItem$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$season$show @@ -7006,16 +7292,17 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$season$show Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Episode$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlayableMediaItem$$Episode$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$season$show @@ -7024,12 +7311,7 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$season$show TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Fragment$PlayableMediaItem$$Episode$contributors { @@ -7040,7 +7322,8 @@ class Fragment$PlayableMediaItem$$Episode$contributors { }); factory Fragment$PlayableMediaItem$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -7049,7 +7332,8 @@ class Fragment$PlayableMediaItem$$Episode$contributors { .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), person: Fragment$PlayableMediaItem$$Episode$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -7123,11 +7407,10 @@ class Fragment$PlayableMediaItem$$Episode$contributors { extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$contributors on Fragment$PlayableMediaItem$$Episode$contributors { CopyWith$Fragment$PlayableMediaItem$$Episode$contributors< - Fragment$PlayableMediaItem$$Episode$contributors> - get copyWith => CopyWith$Fragment$PlayableMediaItem$$Episode$contributors( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$contributors(this, (i) => i); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$contributors { @@ -7137,8 +7420,8 @@ abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$contributors { ) = _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors; factory CopyWith$Fragment$PlayableMediaItem$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors; TRes call({ List? contributionTypes, @@ -7146,7 +7429,7 @@ abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$contributors { String? $__typename, }); CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person - get person; + get person; } class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors @@ -7166,26 +7449,28 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Episode$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person - as Fragment$PlayableMediaItem$$Episode$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlayableMediaItem$$Episode$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$PlayableMediaItem$$Episode$contributors$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person - get person { + get person { final local$person = _instance.person; return CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -7199,13 +7484,13 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors List? contributionTypes, Fragment$PlayableMediaItem$$Episode$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person - get person => - CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person.stub( - _res); + get person => + CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person.stub( + _res, + ); } class Fragment$PlayableMediaItem$$Episode$contributors$person { @@ -7215,7 +7500,8 @@ class Fragment$PlayableMediaItem$$Episode$contributors$person { }); factory Fragment$PlayableMediaItem$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$PlayableMediaItem$$Episode$contributors$person( @@ -7241,10 +7527,7 @@ class Fragment$PlayableMediaItem$$Episode$contributors$person { int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -7273,33 +7556,33 @@ class Fragment$PlayableMediaItem$$Episode$contributors$person { extension UtilityExtension$Fragment$PlayableMediaItem$$Episode$contributors$person on Fragment$PlayableMediaItem$$Episode$contributors$person { CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person< - Fragment$PlayableMediaItem$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$PlayableMediaItem$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person( Fragment$PlayableMediaItem$$Episode$contributors$person instance, TRes Function(Fragment$PlayableMediaItem$$Episode$contributors$person) then, ) = _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors$person; factory CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person { _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors$person( @@ -7310,38 +7593,35 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Episode$contributors$person< final Fragment$PlayableMediaItem$$Episode$contributors$person _instance; final TRes Function(Fragment$PlayableMediaItem$$Episode$contributors$person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$PlayableMediaItem$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$PlayableMediaItem$$Episode$contributors$person { _CopyWithStubImpl$Fragment$PlayableMediaItem$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$PlayableMediaItem$$Short implements Fragment$PlayableMediaItem { @@ -7355,7 +7635,8 @@ class Fragment$PlayableMediaItem$$Short implements Fragment$PlayableMediaItem { }); factory Fragment$PlayableMediaItem$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$streams = json['streams']; final l$title = json['title']; @@ -7366,7 +7647,8 @@ class Fragment$PlayableMediaItem$$Short implements Fragment$PlayableMediaItem { id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -7475,10 +7757,7 @@ class Fragment$PlayableMediaItem$$Short implements Fragment$PlayableMediaItem { extension UtilityExtension$Fragment$PlayableMediaItem$$Short on Fragment$PlayableMediaItem$$Short { CopyWith$Fragment$PlayableMediaItem$$Short - get copyWith => CopyWith$Fragment$PlayableMediaItem$$Short( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$PlayableMediaItem$$Short(this, (i) => i); } abstract class CopyWith$Fragment$PlayableMediaItem$$Short { @@ -7499,17 +7778,16 @@ abstract class CopyWith$Fragment$PlayableMediaItem$$Short { String? $__typename, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$PlayableMediaItem$$Short implements CopyWith$Fragment$PlayableMediaItem$$Short { - _CopyWithImpl$Fragment$PlayableMediaItem$$Short( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlayableMediaItem$$Short(this._instance, this._then); final Fragment$PlayableMediaItem$$Short _instance; @@ -7524,34 +7802,35 @@ class _CopyWithImpl$Fragment$PlayableMediaItem$$Short Object? originalTitle = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItem$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlayableMediaItem$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Short @@ -7567,8 +7846,7 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItem$$Short String? originalTitle, String? image, String? $__typename, - }) => - _res; + }) => _res; streams(_fn) => _res; } @@ -7613,21 +7891,29 @@ class Fragment$EpisodeDetails { .map((e) => (e as String)) .toList(), contributors: (l$contributors as List) - .map((e) => Fragment$EpisodeDetails$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$EpisodeDetails$contributors.fromJson( + (e as Map), + ), + ) .toList(), songs: (l$songs as List) - .map((e) => Fragment$EpisodeDetails$songs.fromJson( - (e as Map))) + .map( + (e) => Fragment$EpisodeDetails$songs.fromJson( + (e as Map), + ), + ) .toList(), copyrightHolder: l$copyrightHolder == null ? null : Fragment$EpisodeDetails$copyrightHolder.fromJson( - (l$copyrightHolder as Map)), + (l$copyrightHolder as Map), + ), season: l$season == null ? null : Fragment$EpisodeDetails$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -7673,8 +7959,9 @@ class Fragment$EpisodeDetails { final l$audioLanguages = audioLanguages; _resultData['audioLanguages'] = l$audioLanguages.map((e) => e).toList(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$songs = songs; _resultData['songs'] = l$songs.map((e) => e.toJson()).toList(); final l$copyrightHolder = copyrightHolder; @@ -7811,10 +8098,7 @@ class Fragment$EpisodeDetails { extension UtilityExtension$Fragment$EpisodeDetails on Fragment$EpisodeDetails { CopyWith$Fragment$EpisodeDetails get copyWith => - CopyWith$Fragment$EpisodeDetails( - this, - (i) => i, - ); + CopyWith$Fragment$EpisodeDetails(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails { @@ -7841,27 +8125,30 @@ abstract class CopyWith$Fragment$EpisodeDetails { String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeDetails$contributors< - Fragment$EpisodeDetails$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeDetails$contributors< + Fragment$EpisodeDetails$contributors + > + >, + ) + _fn, + ); TRes songs( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeDetails$songs< - Fragment$EpisodeDetails$songs>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeDetails$songs + >, + ) + _fn, + ); CopyWith$Fragment$EpisodeDetails$copyrightHolder get copyrightHolder; CopyWith$Fragment$EpisodeDetails$season get season; } class _CopyWithImpl$Fragment$EpisodeDetails implements CopyWith$Fragment$EpisodeDetails { - _CopyWithImpl$Fragment$EpisodeDetails( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeDetails(this._instance, this._then); final Fragment$EpisodeDetails _instance; @@ -7882,77 +8169,87 @@ class _CopyWithImpl$Fragment$EpisodeDetails Object? copyrightHolder = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails( - id: id == _undefined || id == null ? _instance.id : (id as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - availableFrom: availableFrom == _undefined || availableFrom == null - ? _instance.availableFrom - : (availableFrom as String), - availableTo: availableTo == _undefined || availableTo == null - ? _instance.availableTo - : (availableTo as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - audioLanguages: audioLanguages == _undefined || audioLanguages == null - ? _instance.audioLanguages - : (audioLanguages as List), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List), - songs: songs == _undefined || songs == null - ? _instance.songs - : (songs as List), - copyrightHolder: copyrightHolder == _undefined - ? _instance.copyrightHolder - : (copyrightHolder as Fragment$EpisodeDetails$copyrightHolder?), - season: season == _undefined - ? _instance.season - : (season as Fragment$EpisodeDetails$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeDetails( + id: id == _undefined || id == null ? _instance.id : (id as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + availableFrom: availableFrom == _undefined || availableFrom == null + ? _instance.availableFrom + : (availableFrom as String), + availableTo: availableTo == _undefined || availableTo == null + ? _instance.availableTo + : (availableTo as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + audioLanguages: audioLanguages == _undefined || audioLanguages == null + ? _instance.audioLanguages + : (audioLanguages as List), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), + songs: songs == _undefined || songs == null + ? _instance.songs + : (songs as List), + copyrightHolder: copyrightHolder == _undefined + ? _instance.copyrightHolder + : (copyrightHolder as Fragment$EpisodeDetails$copyrightHolder?), + season: season == _undefined + ? _instance.season + : (season as Fragment$EpisodeDetails$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeDetails$contributors< - Fragment$EpisodeDetails$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors - .map((e) => CopyWith$Fragment$EpisodeDetails$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeDetails$contributors< + Fragment$EpisodeDetails$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Fragment$EpisodeDetails$contributors(e, (i) => i), + ), + ).toList(), + ); TRes songs( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeDetails$songs< - Fragment$EpisodeDetails$songs>>) - _fn) => - call( - songs: _fn( - _instance.songs.map((e) => CopyWith$Fragment$EpisodeDetails$songs( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeDetails$songs + >, + ) + _fn, + ) => call( + songs: _fn( + _instance.songs.map( + (e) => CopyWith$Fragment$EpisodeDetails$songs(e, (i) => i), + ), + ).toList(), + ); CopyWith$Fragment$EpisodeDetails$copyrightHolder get copyrightHolder { final local$copyrightHolder = _instance.copyrightHolder; return local$copyrightHolder == null ? CopyWith$Fragment$EpisodeDetails$copyrightHolder.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$EpisodeDetails$copyrightHolder( - local$copyrightHolder, (e) => call(copyrightHolder: e)); + local$copyrightHolder, + (e) => call(copyrightHolder: e), + ); } CopyWith$Fragment$EpisodeDetails$season get season { @@ -7960,7 +8257,9 @@ class _CopyWithImpl$Fragment$EpisodeDetails return local$season == null ? CopyWith$Fragment$EpisodeDetails$season.stub(_then(_instance)) : CopyWith$Fragment$EpisodeDetails$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -7983,8 +8282,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails Fragment$EpisodeDetails$copyrightHolder? copyrightHolder, Fragment$EpisodeDetails$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; @@ -8000,75 +8298,93 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails const fragmentDefinitionEpisodeDetails = FragmentDefinitionNode( name: NameNode(value: 'EpisodeDetails'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'availableFrom'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'availableTo'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'ageRating'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'audioLanguages'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'contributors'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'person'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'availableFrom'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'availableTo'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'ageRating'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'audioLanguages'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'contributors'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'name'), + name: NameNode(value: 'person'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'contributionTypes'), alias: null, arguments: [], directives: [], @@ -8081,100 +8397,101 @@ const fragmentDefinitionEpisodeDetails = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: 'contributionTypes'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'songs'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - FieldNode( - name: NameNode(value: 'collection'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ), + FieldNode( + name: NameNode(value: 'songs'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'title'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: 'contributors'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ FieldNode( - name: NameNode(value: 'person'), + name: NameNode(value: 'collection'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( - name: NameNode(value: 'contributionTypes'), + name: NameNode(value: 'contributors'), alias: null, arguments: [], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'person'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'contributionTypes'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -8183,53 +8500,18 @@ const fragmentDefinitionEpisodeDetails = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'copyrightHolder'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ), + FieldNode( + name: NameNode(value: 'copyrightHolder'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'description'), + name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], @@ -8242,47 +8524,80 @@ const fragmentDefinitionEpisodeDetails = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeDetails = DocumentNode( + definitions: [fragmentDefinitionEpisodeDetails], ); -const documentNodeFragmentEpisodeDetails = DocumentNode(definitions: [ - fragmentDefinitionEpisodeDetails, -]); extension ClientExtension$Fragment$EpisodeDetails on graphql.GraphQLClient { void writeFragment$EpisodeDetails({ required Fragment$EpisodeDetails data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeDetails', - document: documentNodeFragmentEpisodeDetails, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeDetails', + document: documentNodeFragmentEpisodeDetails, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeDetails? readFragment$EpisodeDetails({ required Map idFields, @@ -8310,13 +8625,15 @@ class Fragment$EpisodeDetails$contributors { }); factory Fragment$EpisodeDetails$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$contributors( person: Fragment$EpisodeDetails$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -8393,11 +8710,9 @@ class Fragment$EpisodeDetails$contributors { extension UtilityExtension$Fragment$EpisodeDetails$contributors on Fragment$EpisodeDetails$contributors { CopyWith$Fragment$EpisodeDetails$contributors< - Fragment$EpisodeDetails$contributors> - get copyWith => CopyWith$Fragment$EpisodeDetails$contributors( - this, - (i) => i, - ); + Fragment$EpisodeDetails$contributors + > + get copyWith => CopyWith$Fragment$EpisodeDetails$contributors(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$contributors { @@ -8434,24 +8749,27 @@ class _CopyWithImpl$Fragment$EpisodeDetails$contributors Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person as Fragment$EpisodeDetails$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeDetails$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$EpisodeDetails$contributors$person), + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeDetails$contributors$person get person { final local$person = _instance.person; return CopyWith$Fragment$EpisodeDetails$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -8465,8 +8783,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$contributors Fragment$EpisodeDetails$contributors$person? person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeDetails$contributors$person get person => CopyWith$Fragment$EpisodeDetails$contributors$person.stub(_res); @@ -8479,7 +8796,8 @@ class Fragment$EpisodeDetails$contributors$person { }); factory Fragment$EpisodeDetails$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$contributors$person( @@ -8505,10 +8823,7 @@ class Fragment$EpisodeDetails$contributors$person { int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -8537,11 +8852,10 @@ class Fragment$EpisodeDetails$contributors$person { extension UtilityExtension$Fragment$EpisodeDetails$contributors$person on Fragment$EpisodeDetails$contributors$person { CopyWith$Fragment$EpisodeDetails$contributors$person< - Fragment$EpisodeDetails$contributors$person> - get copyWith => CopyWith$Fragment$EpisodeDetails$contributors$person( - this, - (i) => i, - ); + Fragment$EpisodeDetails$contributors$person + > + get copyWith => + CopyWith$Fragment$EpisodeDetails$contributors$person(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$contributors$person { @@ -8553,10 +8867,7 @@ abstract class CopyWith$Fragment$EpisodeDetails$contributors$person { factory CopyWith$Fragment$EpisodeDetails$contributors$person.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeDetails$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeDetails$contributors$person @@ -8572,18 +8883,17 @@ class _CopyWithImpl$Fragment$EpisodeDetails$contributors$person static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeDetails$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeDetails$contributors$person @@ -8592,11 +8902,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$contributors$person TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$EpisodeDetails$songs { @@ -8618,10 +8924,14 @@ class Fragment$EpisodeDetails$songs { id: (l$id as String), title: (l$title as String), collection: Fragment$EpisodeDetails$songs$collection.fromJson( - (l$collection as Map)), + (l$collection as Map), + ), contributors: (l$contributors as List) - .map((e) => Fragment$EpisodeDetails$songs$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$EpisodeDetails$songs$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -8646,8 +8956,9 @@ class Fragment$EpisodeDetails$songs { final l$collection = collection; _resultData['collection'] = l$collection.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; @@ -8717,10 +9028,7 @@ class Fragment$EpisodeDetails$songs { extension UtilityExtension$Fragment$EpisodeDetails$songs on Fragment$EpisodeDetails$songs { CopyWith$Fragment$EpisodeDetails$songs - get copyWith => CopyWith$Fragment$EpisodeDetails$songs( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeDetails$songs(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$songs { @@ -8741,19 +9049,20 @@ abstract class CopyWith$Fragment$EpisodeDetails$songs { }); CopyWith$Fragment$EpisodeDetails$songs$collection get collection; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeDetails$songs$contributors< - Fragment$EpisodeDetails$songs$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeDetails$songs$contributors< + Fragment$EpisodeDetails$songs$contributors + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$EpisodeDetails$songs implements CopyWith$Fragment$EpisodeDetails$songs { - _CopyWithImpl$Fragment$EpisodeDetails$songs( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeDetails$songs(this._instance, this._then); final Fragment$EpisodeDetails$songs _instance; @@ -8767,42 +9076,48 @@ class _CopyWithImpl$Fragment$EpisodeDetails$songs Object? collection = _undefined, Object? contributors = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$songs( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - collection: collection == _undefined || collection == null - ? _instance.collection - : (collection as Fragment$EpisodeDetails$songs$collection), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors - as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeDetails$songs( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + collection: collection == _undefined || collection == null + ? _instance.collection + : (collection as Fragment$EpisodeDetails$songs$collection), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeDetails$songs$collection get collection { final local$collection = _instance.collection; return CopyWith$Fragment$EpisodeDetails$songs$collection( - local$collection, (e) => call(collection: e)); + local$collection, + (e) => call(collection: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeDetails$songs$contributors< - Fragment$EpisodeDetails$songs$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors - .map((e) => CopyWith$Fragment$EpisodeDetails$songs$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeDetails$songs$contributors< + Fragment$EpisodeDetails$songs$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Fragment$EpisodeDetails$songs$contributors(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$EpisodeDetails$songs @@ -8817,8 +9132,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$songs Fragment$EpisodeDetails$songs$collection? collection, List? contributors, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeDetails$songs$collection get collection => CopyWith$Fragment$EpisodeDetails$songs$collection.stub(_res); @@ -8833,7 +9147,8 @@ class Fragment$EpisodeDetails$songs$collection { }); factory Fragment$EpisodeDetails$songs$collection.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$songs$collection( @@ -8859,10 +9174,7 @@ class Fragment$EpisodeDetails$songs$collection { int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -8891,11 +9203,10 @@ class Fragment$EpisodeDetails$songs$collection { extension UtilityExtension$Fragment$EpisodeDetails$songs$collection on Fragment$EpisodeDetails$songs$collection { CopyWith$Fragment$EpisodeDetails$songs$collection< - Fragment$EpisodeDetails$songs$collection> - get copyWith => CopyWith$Fragment$EpisodeDetails$songs$collection( - this, - (i) => i, - ); + Fragment$EpisodeDetails$songs$collection + > + get copyWith => + CopyWith$Fragment$EpisodeDetails$songs$collection(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$songs$collection { @@ -8907,10 +9218,7 @@ abstract class CopyWith$Fragment$EpisodeDetails$songs$collection { factory CopyWith$Fragment$EpisodeDetails$songs$collection.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeDetails$songs$collection; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeDetails$songs$collection @@ -8926,18 +9234,17 @@ class _CopyWithImpl$Fragment$EpisodeDetails$songs$collection static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$songs$collection( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeDetails$songs$collection( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeDetails$songs$collection @@ -8946,11 +9253,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$songs$collection TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$EpisodeDetails$songs$contributors { @@ -8961,13 +9264,15 @@ class Fragment$EpisodeDetails$songs$contributors { }); factory Fragment$EpisodeDetails$songs$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$songs$contributors( person: Fragment$EpisodeDetails$songs$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -9044,11 +9349,10 @@ class Fragment$EpisodeDetails$songs$contributors { extension UtilityExtension$Fragment$EpisodeDetails$songs$contributors on Fragment$EpisodeDetails$songs$contributors { CopyWith$Fragment$EpisodeDetails$songs$contributors< - Fragment$EpisodeDetails$songs$contributors> - get copyWith => CopyWith$Fragment$EpisodeDetails$songs$contributors( - this, - (i) => i, - ); + Fragment$EpisodeDetails$songs$contributors + > + get copyWith => + CopyWith$Fragment$EpisodeDetails$songs$contributors(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$songs$contributors { @@ -9085,24 +9389,27 @@ class _CopyWithImpl$Fragment$EpisodeDetails$songs$contributors Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$songs$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person as Fragment$EpisodeDetails$songs$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeDetails$songs$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$EpisodeDetails$songs$contributors$person), + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeDetails$songs$contributors$person get person { final local$person = _instance.person; return CopyWith$Fragment$EpisodeDetails$songs$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -9116,8 +9423,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$songs$contributors Fragment$EpisodeDetails$songs$contributors$person? person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeDetails$songs$contributors$person get person => CopyWith$Fragment$EpisodeDetails$songs$contributors$person.stub(_res); @@ -9130,7 +9436,8 @@ class Fragment$EpisodeDetails$songs$contributors$person { }); factory Fragment$EpisodeDetails$songs$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$songs$contributors$person( @@ -9156,10 +9463,7 @@ class Fragment$EpisodeDetails$songs$contributors$person { int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -9188,29 +9492,27 @@ class Fragment$EpisodeDetails$songs$contributors$person { extension UtilityExtension$Fragment$EpisodeDetails$songs$contributors$person on Fragment$EpisodeDetails$songs$contributors$person { CopyWith$Fragment$EpisodeDetails$songs$contributors$person< - Fragment$EpisodeDetails$songs$contributors$person> - get copyWith => - CopyWith$Fragment$EpisodeDetails$songs$contributors$person( - this, - (i) => i, - ); + Fragment$EpisodeDetails$songs$contributors$person + > + get copyWith => CopyWith$Fragment$EpisodeDetails$songs$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$EpisodeDetails$songs$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$EpisodeDetails$songs$contributors$person( Fragment$EpisodeDetails$songs$contributors$person instance, TRes Function(Fragment$EpisodeDetails$songs$contributors$person) then, ) = _CopyWithImpl$Fragment$EpisodeDetails$songs$contributors$person; factory CopyWith$Fragment$EpisodeDetails$songs$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeDetails$songs$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeDetails$songs$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeDetails$songs$contributors$person @@ -9227,33 +9529,29 @@ class _CopyWithImpl$Fragment$EpisodeDetails$songs$contributors$person static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$songs$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeDetails$songs$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeDetails$songs$contributors$person implements CopyWith$Fragment$EpisodeDetails$songs$contributors$person { _CopyWithStubImpl$Fragment$EpisodeDetails$songs$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$EpisodeDetails$copyrightHolder { @@ -9263,7 +9561,8 @@ class Fragment$EpisodeDetails$copyrightHolder { }); factory Fragment$EpisodeDetails$copyrightHolder.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$copyrightHolder( @@ -9289,10 +9588,7 @@ class Fragment$EpisodeDetails$copyrightHolder { int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -9321,11 +9617,10 @@ class Fragment$EpisodeDetails$copyrightHolder { extension UtilityExtension$Fragment$EpisodeDetails$copyrightHolder on Fragment$EpisodeDetails$copyrightHolder { CopyWith$Fragment$EpisodeDetails$copyrightHolder< - Fragment$EpisodeDetails$copyrightHolder> - get copyWith => CopyWith$Fragment$EpisodeDetails$copyrightHolder( - this, - (i) => i, - ); + Fragment$EpisodeDetails$copyrightHolder + > + get copyWith => + CopyWith$Fragment$EpisodeDetails$copyrightHolder(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$copyrightHolder { @@ -9337,10 +9632,7 @@ abstract class CopyWith$Fragment$EpisodeDetails$copyrightHolder { factory CopyWith$Fragment$EpisodeDetails$copyrightHolder.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeDetails$copyrightHolder; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeDetails$copyrightHolder @@ -9356,18 +9648,17 @@ class _CopyWithImpl$Fragment$EpisodeDetails$copyrightHolder static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$copyrightHolder( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeDetails$copyrightHolder( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeDetails$copyrightHolder @@ -9376,11 +9667,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$copyrightHolder TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$EpisodeDetails$season { @@ -9394,7 +9681,8 @@ class Fragment$EpisodeDetails$season { final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$season( $show: Fragment$EpisodeDetails$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -9416,10 +9704,7 @@ class Fragment$EpisodeDetails$season { int get hashCode { final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$$show, l$$__typename]); } @override @@ -9448,10 +9733,7 @@ class Fragment$EpisodeDetails$season { extension UtilityExtension$Fragment$EpisodeDetails$season on Fragment$EpisodeDetails$season { CopyWith$Fragment$EpisodeDetails$season - get copyWith => CopyWith$Fragment$EpisodeDetails$season( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeDetails$season(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$season { @@ -9463,19 +9745,13 @@ abstract class CopyWith$Fragment$EpisodeDetails$season { factory CopyWith$Fragment$EpisodeDetails$season.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeDetails$season; - TRes call({ - Fragment$EpisodeDetails$season$show? $show, - String? $__typename, - }); + TRes call({Fragment$EpisodeDetails$season$show? $show, String? $__typename}); CopyWith$Fragment$EpisodeDetails$season$show get $show; } class _CopyWithImpl$Fragment$EpisodeDetails$season implements CopyWith$Fragment$EpisodeDetails$season { - _CopyWithImpl$Fragment$EpisodeDetails$season( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeDetails$season(this._instance, this._then); final Fragment$EpisodeDetails$season _instance; @@ -9483,23 +9759,24 @@ class _CopyWithImpl$Fragment$EpisodeDetails$season static const _undefined = {}; - TRes call({ - Object? $show = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$season( - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$EpisodeDetails$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? $show = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeDetails$season( + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$EpisodeDetails$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeDetails$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$EpisodeDetails$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -9509,10 +9786,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$season TRes _res; - call({ - Fragment$EpisodeDetails$season$show? $show, - String? $__typename, - }) => + call({Fragment$EpisodeDetails$season$show? $show, String? $__typename}) => _res; CopyWith$Fragment$EpisodeDetails$season$show get $show => @@ -9526,7 +9800,8 @@ class Fragment$EpisodeDetails$season$show { }); factory Fragment$EpisodeDetails$season$show.fromJson( - Map json) { + Map json, + ) { final l$description = json['description']; final l$$__typename = json['__typename']; return Fragment$EpisodeDetails$season$show( @@ -9552,10 +9827,7 @@ class Fragment$EpisodeDetails$season$show { int get hashCode { final l$description = description; final l$$__typename = $__typename; - return Object.hashAll([ - l$description, - l$$__typename, - ]); + return Object.hashAll([l$description, l$$__typename]); } @override @@ -9584,11 +9856,9 @@ class Fragment$EpisodeDetails$season$show { extension UtilityExtension$Fragment$EpisodeDetails$season$show on Fragment$EpisodeDetails$season$show { CopyWith$Fragment$EpisodeDetails$season$show< - Fragment$EpisodeDetails$season$show> - get copyWith => CopyWith$Fragment$EpisodeDetails$season$show( - this, - (i) => i, - ); + Fragment$EpisodeDetails$season$show + > + get copyWith => CopyWith$Fragment$EpisodeDetails$season$show(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeDetails$season$show { @@ -9600,18 +9870,12 @@ abstract class CopyWith$Fragment$EpisodeDetails$season$show { factory CopyWith$Fragment$EpisodeDetails$season$show.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeDetails$season$show; - TRes call({ - String? description, - String? $__typename, - }); + TRes call({String? description, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeDetails$season$show implements CopyWith$Fragment$EpisodeDetails$season$show { - _CopyWithImpl$Fragment$EpisodeDetails$season$show( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeDetails$season$show(this._instance, this._then); final Fragment$EpisodeDetails$season$show _instance; @@ -9622,15 +9886,16 @@ class _CopyWithImpl$Fragment$EpisodeDetails$season$show TRes call({ Object? description = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeDetails$season$show( - description: description == _undefined || description == null - ? _instance.description - : (description as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeDetails$season$show( + description: description == _undefined || description == null + ? _instance.description + : (description as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeDetails$season$show @@ -9639,11 +9904,7 @@ class _CopyWithStubImpl$Fragment$EpisodeDetails$season$show TRes _res; - call({ - String? description, - String? $__typename, - }) => - _res; + call({String? description, String? $__typename}) => _res; } class Fragment$EpisodeAvailability { @@ -9686,11 +9947,7 @@ class Fragment$EpisodeAvailability { final l$availableFrom = availableFrom; final l$availableTo = availableTo; final l$$__typename = $__typename; - return Object.hashAll([ - l$availableFrom, - l$availableTo, - l$$__typename, - ]); + return Object.hashAll([l$availableFrom, l$availableTo, l$$__typename]); } @override @@ -9724,10 +9981,7 @@ class Fragment$EpisodeAvailability { extension UtilityExtension$Fragment$EpisodeAvailability on Fragment$EpisodeAvailability { CopyWith$Fragment$EpisodeAvailability - get copyWith => CopyWith$Fragment$EpisodeAvailability( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeAvailability(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeAvailability { @@ -9739,19 +9993,12 @@ abstract class CopyWith$Fragment$EpisodeAvailability { factory CopyWith$Fragment$EpisodeAvailability.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeAvailability; - TRes call({ - String? availableFrom, - String? availableTo, - String? $__typename, - }); + TRes call({String? availableFrom, String? availableTo, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeAvailability implements CopyWith$Fragment$EpisodeAvailability { - _CopyWithImpl$Fragment$EpisodeAvailability( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeAvailability(this._instance, this._then); final Fragment$EpisodeAvailability _instance; @@ -9763,18 +10010,19 @@ class _CopyWithImpl$Fragment$EpisodeAvailability Object? availableFrom = _undefined, Object? availableTo = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeAvailability( - availableFrom: availableFrom == _undefined || availableFrom == null - ? _instance.availableFrom - : (availableFrom as String), - availableTo: availableTo == _undefined || availableTo == null - ? _instance.availableTo - : (availableTo as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeAvailability( + availableFrom: availableFrom == _undefined || availableFrom == null + ? _instance.availableFrom + : (availableFrom as String), + availableTo: availableTo == _undefined || availableTo == null + ? _instance.availableTo + : (availableTo as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeAvailability @@ -9783,49 +10031,45 @@ class _CopyWithStubImpl$Fragment$EpisodeAvailability TRes _res; - call({ - String? availableFrom, - String? availableTo, - String? $__typename, - }) => + call({String? availableFrom, String? availableTo, String? $__typename}) => _res; } const fragmentDefinitionEpisodeAvailability = FragmentDefinitionNode( name: NameNode(value: 'EpisodeAvailability'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'availableFrom'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'availableTo'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'availableFrom'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'availableTo'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeAvailability = DocumentNode( + definitions: [fragmentDefinitionEpisodeAvailability], ); -const documentNodeFragmentEpisodeAvailability = DocumentNode(definitions: [ - fragmentDefinitionEpisodeAvailability, -]); extension ClientExtension$Fragment$EpisodeAvailability on graphql.GraphQLClient { @@ -9833,18 +10077,17 @@ extension ClientExtension$Fragment$EpisodeAvailability required Fragment$EpisodeAvailability data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeAvailability', - document: documentNodeFragmentEpisodeAvailability, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeAvailability', + document: documentNodeFragmentEpisodeAvailability, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeAvailability? readFragment$EpisodeAvailability({ required Map idFields, @@ -9906,12 +10149,14 @@ class Fragment$EpisodeListEpisode duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$EpisodeListEpisode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$EpisodeListEpisode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -10075,10 +10320,7 @@ class Fragment$EpisodeListEpisode extension UtilityExtension$Fragment$EpisodeListEpisode on Fragment$EpisodeListEpisode { CopyWith$Fragment$EpisodeListEpisode - get copyWith => CopyWith$Fragment$EpisodeListEpisode( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeListEpisode(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeListEpisode { @@ -10110,10 +10352,7 @@ abstract class CopyWith$Fragment$EpisodeListEpisode { class _CopyWithImpl$Fragment$EpisodeListEpisode implements CopyWith$Fragment$EpisodeListEpisode { - _CopyWithImpl$Fragment$EpisodeListEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeListEpisode(this._instance, this._then); final Fragment$EpisodeListEpisode _instance; @@ -10134,43 +10373,47 @@ class _CopyWithImpl$Fragment$EpisodeListEpisode Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeListEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$EpisodeListEpisode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$EpisodeListEpisode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeListEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$EpisodeListEpisode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$EpisodeListEpisode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeListEpisode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$EpisodeListEpisode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$EpisodeListEpisode$season get season { @@ -10178,7 +10421,9 @@ class _CopyWithImpl$Fragment$EpisodeListEpisode return local$season == null ? CopyWith$Fragment$EpisodeListEpisode$season.stub(_then(_instance)) : CopyWith$Fragment$EpisodeListEpisode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -10201,8 +10446,7 @@ class _CopyWithStubImpl$Fragment$EpisodeListEpisode int? progress, Fragment$EpisodeListEpisode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeListEpisode$lessons get lessons => CopyWith$Fragment$EpisodeListEpisode$lessons.stub(_res); @@ -10214,41 +10458,52 @@ class _CopyWithStubImpl$Fragment$EpisodeListEpisode const fragmentDefinitionEpisodeListEpisode = FragmentDefinitionNode( name: NameNode(value: 'EpisodeListEpisode'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SeasonListEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'progress'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'SeasonListEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'show'), alias: null, arguments: [], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -10257,49 +10512,43 @@ const fragmentDefinitionEpisodeListEpisode = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeListEpisode = DocumentNode( + definitions: [ + fragmentDefinitionEpisodeListEpisode, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentEpisodeListEpisode = DocumentNode(definitions: [ - fragmentDefinitionEpisodeListEpisode, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$EpisodeListEpisode on graphql.GraphQLClient { void writeFragment$EpisodeListEpisode({ required Fragment$EpisodeListEpisode data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeListEpisode', - document: documentNodeFragmentEpisodeListEpisode, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeListEpisode', + document: documentNodeFragmentEpisodeListEpisode, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeListEpisode? readFragment$EpisodeListEpisode({ required Map idFields, @@ -10327,7 +10576,8 @@ class Fragment$EpisodeListEpisode$lessons }); factory Fragment$EpisodeListEpisode$lessons.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$$__typename = json['__typename']; return Fragment$EpisodeListEpisode$lessons( @@ -10353,10 +10603,7 @@ class Fragment$EpisodeListEpisode$lessons int get hashCode { final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$total, - l$$__typename, - ]); + return Object.hashAll([l$total, l$$__typename]); } @override @@ -10385,11 +10632,9 @@ class Fragment$EpisodeListEpisode$lessons extension UtilityExtension$Fragment$EpisodeListEpisode$lessons on Fragment$EpisodeListEpisode$lessons { CopyWith$Fragment$EpisodeListEpisode$lessons< - Fragment$EpisodeListEpisode$lessons> - get copyWith => CopyWith$Fragment$EpisodeListEpisode$lessons( - this, - (i) => i, - ); + Fragment$EpisodeListEpisode$lessons + > + get copyWith => CopyWith$Fragment$EpisodeListEpisode$lessons(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeListEpisode$lessons { @@ -10401,18 +10646,12 @@ abstract class CopyWith$Fragment$EpisodeListEpisode$lessons { factory CopyWith$Fragment$EpisodeListEpisode$lessons.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeListEpisode$lessons; - TRes call({ - int? total, - String? $__typename, - }); + TRes call({int? total, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeListEpisode$lessons implements CopyWith$Fragment$EpisodeListEpisode$lessons { - _CopyWithImpl$Fragment$EpisodeListEpisode$lessons( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeListEpisode$lessons(this._instance, this._then); final Fragment$EpisodeListEpisode$lessons _instance; @@ -10420,18 +10659,17 @@ class _CopyWithImpl$Fragment$EpisodeListEpisode$lessons static const _undefined = {}; - TRes call({ - Object? total = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeListEpisode$lessons( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? total = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeListEpisode$lessons( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeListEpisode$lessons @@ -10440,11 +10678,7 @@ class _CopyWithStubImpl$Fragment$EpisodeListEpisode$lessons TRes _res; - call({ - int? total, - String? $__typename, - }) => - _res; + call({int? total, String? $__typename}) => _res; } class Fragment$EpisodeListEpisode$season @@ -10458,14 +10692,16 @@ class Fragment$EpisodeListEpisode$season }); factory Fragment$EpisodeListEpisode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$EpisodeListEpisode$season( number: (l$number as int), $show: Fragment$EpisodeListEpisode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -10492,11 +10728,7 @@ class Fragment$EpisodeListEpisode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -10530,11 +10762,9 @@ class Fragment$EpisodeListEpisode$season extension UtilityExtension$Fragment$EpisodeListEpisode$season on Fragment$EpisodeListEpisode$season { CopyWith$Fragment$EpisodeListEpisode$season< - Fragment$EpisodeListEpisode$season> - get copyWith => CopyWith$Fragment$EpisodeListEpisode$season( - this, - (i) => i, - ); + Fragment$EpisodeListEpisode$season + > + get copyWith => CopyWith$Fragment$EpisodeListEpisode$season(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeListEpisode$season { @@ -10556,10 +10786,7 @@ abstract class CopyWith$Fragment$EpisodeListEpisode$season { class _CopyWithImpl$Fragment$EpisodeListEpisode$season implements CopyWith$Fragment$EpisodeListEpisode$season { - _CopyWithImpl$Fragment$EpisodeListEpisode$season( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeListEpisode$season(this._instance, this._then); final Fragment$EpisodeListEpisode$season _instance; @@ -10571,23 +10798,26 @@ class _CopyWithImpl$Fragment$EpisodeListEpisode$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeListEpisode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$EpisodeListEpisode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeListEpisode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$EpisodeListEpisode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeListEpisode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$EpisodeListEpisode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -10601,8 +10831,7 @@ class _CopyWithStubImpl$Fragment$EpisodeListEpisode$season int? number, Fragment$EpisodeListEpisode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeListEpisode$season$show get $show => CopyWith$Fragment$EpisodeListEpisode$season$show.stub(_res); @@ -10618,7 +10847,8 @@ class Fragment$EpisodeListEpisode$season$show }); factory Fragment$EpisodeListEpisode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$EpisodeListEpisode$season$show( @@ -10644,10 +10874,7 @@ class Fragment$EpisodeListEpisode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -10676,11 +10903,10 @@ class Fragment$EpisodeListEpisode$season$show extension UtilityExtension$Fragment$EpisodeListEpisode$season$show on Fragment$EpisodeListEpisode$season$show { CopyWith$Fragment$EpisodeListEpisode$season$show< - Fragment$EpisodeListEpisode$season$show> - get copyWith => CopyWith$Fragment$EpisodeListEpisode$season$show( - this, - (i) => i, - ); + Fragment$EpisodeListEpisode$season$show + > + get copyWith => + CopyWith$Fragment$EpisodeListEpisode$season$show(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeListEpisode$season$show { @@ -10692,10 +10918,7 @@ abstract class CopyWith$Fragment$EpisodeListEpisode$season$show { factory CopyWith$Fragment$EpisodeListEpisode$season$show.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeListEpisode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeListEpisode$season$show @@ -10711,18 +10934,17 @@ class _CopyWithImpl$Fragment$EpisodeListEpisode$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeListEpisode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeListEpisode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeListEpisode$season$show @@ -10731,11 +10953,7 @@ class _CopyWithStubImpl$Fragment$EpisodeListEpisode$season$show TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Variables$Query$FetchEpisode { @@ -10743,12 +10961,11 @@ class Variables$Query$FetchEpisode { required String id, Input$EpisodeContext? context, required bool authenticated, - }) => - Variables$Query$FetchEpisode._({ - r'id': id, - if (context != null) r'context': context, - r'authenticated': authenticated, - }); + }) => Variables$Query$FetchEpisode._({ + r'id': id, + if (context != null) r'context': context, + r'authenticated': authenticated, + }); Variables$Query$FetchEpisode._(this._$data); @@ -10790,10 +11007,7 @@ class Variables$Query$FetchEpisode { } CopyWith$Variables$Query$FetchEpisode - get copyWith => CopyWith$Variables$Query$FetchEpisode( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$FetchEpisode(this, (i) => i); @override bool operator ==(Object other) { @@ -10847,19 +11061,12 @@ abstract class CopyWith$Variables$Query$FetchEpisode { factory CopyWith$Variables$Query$FetchEpisode.stub(TRes res) = _CopyWithStubImpl$Variables$Query$FetchEpisode; - TRes call({ - String? id, - Input$EpisodeContext? context, - bool? authenticated, - }); + TRes call({String? id, Input$EpisodeContext? context, bool? authenticated}); } class _CopyWithImpl$Variables$Query$FetchEpisode implements CopyWith$Variables$Query$FetchEpisode { - _CopyWithImpl$Variables$Query$FetchEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$FetchEpisode(this._instance, this._then); final Variables$Query$FetchEpisode _instance; @@ -10871,15 +11078,15 @@ class _CopyWithImpl$Variables$Query$FetchEpisode Object? id = _undefined, Object? context = _undefined, Object? authenticated = _undefined, - }) => - _then(Variables$Query$FetchEpisode._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (context != _undefined) - 'context': (context as Input$EpisodeContext?), - if (authenticated != _undefined && authenticated != null) - 'authenticated': (authenticated as bool), - })); + }) => _then( + Variables$Query$FetchEpisode._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (context != _undefined) 'context': (context as Input$EpisodeContext?), + if (authenticated != _undefined && authenticated != null) + 'authenticated': (authenticated as bool), + }), + ); } class _CopyWithStubImpl$Variables$Query$FetchEpisode @@ -10888,26 +11095,20 @@ class _CopyWithStubImpl$Variables$Query$FetchEpisode TRes _res; - call({ - String? id, - Input$EpisodeContext? context, - bool? authenticated, - }) => + call({String? id, Input$EpisodeContext? context, bool? authenticated}) => _res; } class Query$FetchEpisode { - Query$FetchEpisode({ - required this.episode, - this.$__typename = 'QueryRoot', - }); + Query$FetchEpisode({required this.episode, this.$__typename = 'QueryRoot'}); factory Query$FetchEpisode.fromJson(Map json) { final l$episode = json['episode']; final l$$__typename = json['__typename']; return Query$FetchEpisode( episode: Query$FetchEpisode$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -10929,10 +11130,7 @@ class Query$FetchEpisode { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -10959,10 +11157,7 @@ class Query$FetchEpisode { extension UtilityExtension$Query$FetchEpisode on Query$FetchEpisode { CopyWith$Query$FetchEpisode get copyWith => - CopyWith$Query$FetchEpisode( - this, - (i) => i, - ); + CopyWith$Query$FetchEpisode(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode { @@ -10974,19 +11169,13 @@ abstract class CopyWith$Query$FetchEpisode { factory CopyWith$Query$FetchEpisode.stub(TRes res) = _CopyWithStubImpl$Query$FetchEpisode; - TRes call({ - Query$FetchEpisode$episode? episode, - String? $__typename, - }); + TRes call({Query$FetchEpisode$episode? episode, String? $__typename}); CopyWith$Query$FetchEpisode$episode get episode; } class _CopyWithImpl$Query$FetchEpisode implements CopyWith$Query$FetchEpisode { - _CopyWithImpl$Query$FetchEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FetchEpisode(this._instance, this._then); final Query$FetchEpisode _instance; @@ -10994,23 +11183,24 @@ class _CopyWithImpl$Query$FetchEpisode static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Query$FetchEpisode$episode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchEpisode( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Query$FetchEpisode$episode), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchEpisode$episode get episode { final local$episode = _instance.episode; return CopyWith$Query$FetchEpisode$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -11020,403 +11210,431 @@ class _CopyWithStubImpl$Query$FetchEpisode TRes _res; - call({ - Query$FetchEpisode$episode? episode, - String? $__typename, - }) => - _res; + call({Query$FetchEpisode$episode? episode, String? $__typename}) => _res; CopyWith$Query$FetchEpisode$episode get episode => CopyWith$Query$FetchEpisode$episode.stub(_res); } -const documentNodeQueryFetchEpisode = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'FetchEpisode'), - 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: 'context')), - type: NamedTypeNode( - name: NameNode(value: 'EpisodeContext'), - isNonNull: false, - ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'authenticated')), - type: NamedTypeNode( - name: NameNode(value: 'Boolean'), - isNonNull: true, +const documentNodeQueryFetchEpisode = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'FetchEpisode'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ), - ArgumentNode( - name: NameNode(value: 'context'), - value: VariableNode(name: NameNode(value: 'context')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FragmentSpreadNode( - name: NameNode(value: 'PlayableMediaItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'uuid'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'status'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'type'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'progress'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'shareRestriction'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'ageRating'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'availableTo'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'context')), + type: NamedTypeNode( + name: NameNode(value: 'EpisodeContext'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'chapters'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeChapter'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'skipToChapter'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeChapter'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'authenticated')), + type: NamedTypeNode( + name: NameNode(value: 'Boolean'), + isNonNull: true, ), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'season'), + name: NameNode(value: 'episode'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( + arguments: [ + ArgumentNode( name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + value: VariableNode(name: NameNode(value: 'id')), ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'context'), + value: VariableNode(name: NameNode(value: 'context')), ), - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'PlayableMediaItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'uuid'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'status'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'type'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'shareRestriction'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'ageRating'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'availableTo'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'chapters'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeChapter'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'skipToChapter'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeChapter'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'context'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeContext'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'relatedItems'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'GridSectionItem'), - directives: [], + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'context'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeContext'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'streams'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'BasicStream'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'lessons'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'relatedItems'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'GridSectionItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'streams'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'BasicStream'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'inMyList'), - alias: null, - arguments: [], - directives: [ - DirectiveNode( - name: NameNode(value: 'include'), - arguments: [ - ArgumentNode( - name: NameNode(value: 'if'), - value: VariableNode(name: NameNode(value: 'authenticated')), - ) - ], - ) - ], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'lessons'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'inMyList'), + alias: null, + arguments: [], + directives: [ + DirectiveNode( + name: NameNode(value: 'include'), + arguments: [ + ArgumentNode( + name: NameNode(value: 'if'), + value: VariableNode( + name: NameNode(value: 'authenticated'), + ), + ), + ], + ), + ], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -11425,34 +11643,27 @@ const documentNodeQueryFetchEpisode = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionPlayableMediaItem, - fragmentDefinitionBasicStream, - fragmentDefinitionEpisodeChapter, - fragmentDefinitionEpisodeContext, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, - fragmentDefinitionGridSectionItem, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, -]); + ), + fragmentDefinitionPlayableMediaItem, + fragmentDefinitionBasicStream, + fragmentDefinitionEpisodeChapter, + fragmentDefinitionEpisodeContext, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + fragmentDefinitionGridSectionItem, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + ], +); Query$FetchEpisode _parserFn$Query$FetchEpisode(Map data) => Query$FetchEpisode.fromJson(data); typedef OnQueryComplete$Query$FetchEpisode = FutureOr Function( @@ -11474,36 +11685,36 @@ class Options$Query$FetchEpisode graphql.Context? context, OnQueryComplete$Query$FetchEpisode? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$FetchEpisode(data), - ), - onError: onError, - document: documentNodeQueryFetchEpisode, - parserFn: _parserFn$Query$FetchEpisode, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$FetchEpisode(data), + ), + onError: onError, + document: documentNodeQueryFetchEpisode, + parserFn: _parserFn$Query$FetchEpisode, + ); final OnQueryComplete$Query$FetchEpisode? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$FetchEpisode @@ -11522,20 +11733,20 @@ class WatchOptions$Query$FetchEpisode bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryFetchEpisode, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$FetchEpisode, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryFetchEpisode, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$FetchEpisode, + ); } class FetchMoreOptions$Query$FetchEpisode extends graphql.FetchMoreOptions { @@ -11543,34 +11754,33 @@ class FetchMoreOptions$Query$FetchEpisode extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$FetchEpisode variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryFetchEpisode, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryFetchEpisode, + ); } extension ClientExtension$Query$FetchEpisode on graphql.GraphQLClient { Future> query$FetchEpisode( - Options$Query$FetchEpisode options) async => - await this.query(options); + Options$Query$FetchEpisode options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$FetchEpisode( - WatchOptions$Query$FetchEpisode options) => - this.watchQuery(options); + WatchOptions$Query$FetchEpisode options, + ) => this.watchQuery(options); void writeQuery$FetchEpisode({ required Query$FetchEpisode data, required Variables$Query$FetchEpisode variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryFetchEpisode), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryFetchEpisode), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$FetchEpisode? readQuery$FetchEpisode({ required Variables$Query$FetchEpisode variables, @@ -11588,11 +11798,11 @@ extension ClientExtension$Query$FetchEpisode on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$FetchEpisode( - Options$Query$FetchEpisode options) => - graphql_flutter.useQuery(options); + Options$Query$FetchEpisode options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$FetchEpisode( - WatchOptions$Query$FetchEpisode options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$FetchEpisode options, +) => graphql_flutter.useWatchQuery(options); class Query$FetchEpisode$Widget extends graphql_flutter.Query { @@ -11600,11 +11810,7 @@ class Query$FetchEpisode$Widget widgets.Key? key, required Options$Query$FetchEpisode options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$FetchEpisode$episode @@ -11671,7 +11877,8 @@ class Query$FetchEpisode$episode id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -11680,15 +11887,20 @@ class Query$FetchEpisode$episode context: l$context == null ? null : Query$FetchEpisode$episode$context.fromJson( - (l$context as Map)), + (l$context as Map), + ), duration: (l$duration as int), season: l$season == null ? null : Query$FetchEpisode$episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), contributors: (l$contributors as List) - .map((e) => Query$FetchEpisode$episode$contributors.fromJson( - (e as Map))) + .map( + (e) => Query$FetchEpisode$episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), uuid: (l$uuid as String), @@ -11697,26 +11909,32 @@ class Query$FetchEpisode$episode description: (l$description as String), type: fromJson$Enum$EpisodeType((l$type as String)), progress: (l$progress as int?), - shareRestriction: - fromJson$Enum$ShareRestriction((l$shareRestriction as String)), + shareRestriction: fromJson$Enum$ShareRestriction( + (l$shareRestriction as String), + ), ageRating: (l$ageRating as String), availableTo: (l$availableTo as String), publishDate: (l$publishDate as String), locked: (l$locked as bool), chapters: (l$chapters as List) - .map((e) => - Fragment$EpisodeChapter.fromJson((e as Map))) + .map( + (e) => + Fragment$EpisodeChapter.fromJson((e as Map)), + ) .toList(), skipToChapter: l$skipToChapter == null ? null : Fragment$EpisodeChapter.fromJson( - (l$skipToChapter as Map)), + (l$skipToChapter as Map), + ), relatedItems: l$relatedItems == null ? null : Query$FetchEpisode$episode$relatedItems.fromJson( - (l$relatedItems as Map)), + (l$relatedItems as Map), + ), lessons: Query$FetchEpisode$episode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), inMyList: (l$inMyList as bool?), ); } @@ -11796,8 +12014,9 @@ class Query$FetchEpisode$episode final l$season = season; _resultData['season'] = l$season?.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; final l$uuid = uuid; @@ -11813,8 +12032,9 @@ class Query$FetchEpisode$episode final l$progress = progress; _resultData['progress'] = l$progress; final l$shareRestriction = shareRestriction; - _resultData['shareRestriction'] = - toJson$Enum$ShareRestriction(l$shareRestriction); + _resultData['shareRestriction'] = toJson$Enum$ShareRestriction( + l$shareRestriction, + ); final l$ageRating = ageRating; _resultData['ageRating'] = l$ageRating; final l$availableTo = availableTo; @@ -12068,10 +12288,7 @@ class Query$FetchEpisode$episode extension UtilityExtension$Query$FetchEpisode$episode on Query$FetchEpisode$episode { CopyWith$Query$FetchEpisode$episode - get copyWith => CopyWith$Query$FetchEpisode$episode( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$FetchEpisode$episode(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode { @@ -12113,22 +12330,29 @@ abstract class CopyWith$Query$FetchEpisode$episode { bool? inMyList, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); CopyWith$Query$FetchEpisode$episode$context get context; CopyWith$Query$FetchEpisode$episode$season get season; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$contributors< - Query$FetchEpisode$episode$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$contributors< + Query$FetchEpisode$episode$contributors + > + >, + ) + _fn, + ); TRes chapters( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeChapter>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); CopyWith$Fragment$EpisodeChapter get skipToChapter; CopyWith$Query$FetchEpisode$episode$relatedItems get relatedItems; CopyWith$Query$FetchEpisode$episode$lessons get lessons; @@ -12136,10 +12360,7 @@ abstract class CopyWith$Query$FetchEpisode$episode { class _CopyWithImpl$Query$FetchEpisode$episode implements CopyWith$Query$FetchEpisode$episode { - _CopyWithImpl$Query$FetchEpisode$episode( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FetchEpisode$episode(this._instance, this._then); final Query$FetchEpisode$episode _instance; @@ -12175,101 +12396,106 @@ class _CopyWithImpl$Query$FetchEpisode$episode Object? relatedItems = _undefined, Object? lessons = _undefined, Object? inMyList = _undefined, - }) => - _then(Query$FetchEpisode$episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - context: context == _undefined - ? _instance.context - : (context as Query$FetchEpisode$episode$context?), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - season: season == _undefined - ? _instance.season - : (season as Query$FetchEpisode$episode$season?), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - status: status == _undefined || status == null - ? _instance.status - : (status as Enum$Status), - number: number == _undefined ? _instance.number : (number as int?), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - type: type == _undefined || type == null - ? _instance.type - : (type as Enum$EpisodeType), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - shareRestriction: - shareRestriction == _undefined || shareRestriction == null - ? _instance.shareRestriction - : (shareRestriction as Enum$ShareRestriction), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - availableTo: availableTo == _undefined || availableTo == null - ? _instance.availableTo - : (availableTo as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - chapters: chapters == _undefined || chapters == null - ? _instance.chapters - : (chapters as List), - skipToChapter: skipToChapter == _undefined - ? _instance.skipToChapter - : (skipToChapter as Fragment$EpisodeChapter?), - relatedItems: relatedItems == _undefined - ? _instance.relatedItems - : (relatedItems as Query$FetchEpisode$episode$relatedItems?), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Query$FetchEpisode$episode$lessons), - inMyList: - inMyList == _undefined ? _instance.inMyList : (inMyList as bool?), - )); + }) => _then( + Query$FetchEpisode$episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + context: context == _undefined + ? _instance.context + : (context as Query$FetchEpisode$episode$context?), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + season: season == _undefined + ? _instance.season + : (season as Query$FetchEpisode$episode$season?), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + status: status == _undefined || status == null + ? _instance.status + : (status as Enum$Status), + number: number == _undefined ? _instance.number : (number as int?), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + type: type == _undefined || type == null + ? _instance.type + : (type as Enum$EpisodeType), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + shareRestriction: + shareRestriction == _undefined || shareRestriction == null + ? _instance.shareRestriction + : (shareRestriction as Enum$ShareRestriction), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + availableTo: availableTo == _undefined || availableTo == null + ? _instance.availableTo + : (availableTo as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + chapters: chapters == _undefined || chapters == null + ? _instance.chapters + : (chapters as List), + skipToChapter: skipToChapter == _undefined + ? _instance.skipToChapter + : (skipToChapter as Fragment$EpisodeChapter?), + relatedItems: relatedItems == _undefined + ? _instance.relatedItems + : (relatedItems as Query$FetchEpisode$episode$relatedItems?), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Query$FetchEpisode$episode$lessons), + inMyList: inMyList == _undefined + ? _instance.inMyList + : (inMyList as bool?), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); CopyWith$Query$FetchEpisode$episode$context get context { final local$context = _instance.context; return local$context == null ? CopyWith$Query$FetchEpisode$episode$context.stub(_then(_instance)) : CopyWith$Query$FetchEpisode$episode$context( - local$context, (e) => call(context: e)); + local$context, + (e) => call(context: e), + ); } CopyWith$Query$FetchEpisode$episode$season get season { @@ -12277,56 +12503,69 @@ class _CopyWithImpl$Query$FetchEpisode$episode return local$season == null ? CopyWith$Query$FetchEpisode$episode$season.stub(_then(_instance)) : CopyWith$Query$FetchEpisode$episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$contributors< - Query$FetchEpisode$episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors - .map((e) => CopyWith$Query$FetchEpisode$episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$contributors< + Query$FetchEpisode$episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Query$FetchEpisode$episode$contributors(e, (i) => i), + ), + ).toList(), + ); TRes chapters( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeChapter< - Fragment$EpisodeChapter>>) - _fn) => - call( - chapters: _fn( - _instance.chapters.map((e) => CopyWith$Fragment$EpisodeChapter( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + chapters: _fn( + _instance.chapters.map( + (e) => CopyWith$Fragment$EpisodeChapter(e, (i) => i), + ), + ).toList(), + ); CopyWith$Fragment$EpisodeChapter get skipToChapter { final local$skipToChapter = _instance.skipToChapter; return local$skipToChapter == null ? CopyWith$Fragment$EpisodeChapter.stub(_then(_instance)) : CopyWith$Fragment$EpisodeChapter( - local$skipToChapter, (e) => call(skipToChapter: e)); + local$skipToChapter, + (e) => call(skipToChapter: e), + ); } CopyWith$Query$FetchEpisode$episode$relatedItems get relatedItems { final local$relatedItems = _instance.relatedItems; return local$relatedItems == null ? CopyWith$Query$FetchEpisode$episode$relatedItems.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$FetchEpisode$episode$relatedItems( - local$relatedItems, (e) => call(relatedItems: e)); + local$relatedItems, + (e) => call(relatedItems: e), + ); } CopyWith$Query$FetchEpisode$episode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Query$FetchEpisode$episode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } } @@ -12364,8 +12603,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode Query$FetchEpisode$episode$relatedItems? relatedItems, Query$FetchEpisode$episode$lessons? lessons, bool? inMyList, - }) => - _res; + }) => _res; streams(_fn) => _res; @@ -12396,11 +12634,13 @@ class Query$FetchEpisode$episode$context Query$FetchEpisode$episode$context({required this.$__typename}); factory Query$FetchEpisode$episode$context.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "ContextCollection": return Query$FetchEpisode$episode$context$$ContextCollection.fromJson( - json); + json, + ); case "Season": return Query$FetchEpisode$episode$context$$Season.fromJson(json); @@ -12411,7 +12651,8 @@ class Query$FetchEpisode$episode$context default: final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -12451,15 +12692,13 @@ class Query$FetchEpisode$episode$context extension UtilityExtension$Query$FetchEpisode$episode$context on Query$FetchEpisode$episode$context { CopyWith$Query$FetchEpisode$episode$context< - Query$FetchEpisode$episode$context> - get copyWith => CopyWith$Query$FetchEpisode$episode$context( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context + > + get copyWith => CopyWith$Query$FetchEpisode$episode$context(this, (i) => i); _T when<_T>({ required _T Function(Query$FetchEpisode$episode$context$$ContextCollection) - contextCollection, + contextCollection, required _T Function(Query$FetchEpisode$episode$context$$Season) season, required _T Function(Query$FetchEpisode$episode$context$$Playlist) playlist, required _T Function() orElse, @@ -12467,7 +12706,8 @@ extension UtilityExtension$Query$FetchEpisode$episode$context switch ($__typename) { case "ContextCollection": return contextCollection( - this as Query$FetchEpisode$episode$context$$ContextCollection); + this as Query$FetchEpisode$episode$context$$ContextCollection, + ); case "Season": return season(this as Query$FetchEpisode$episode$context$$Season); @@ -12482,7 +12722,7 @@ extension UtilityExtension$Query$FetchEpisode$episode$context _T maybeWhen<_T>({ _T Function(Query$FetchEpisode$episode$context$$ContextCollection)? - contextCollection, + contextCollection, _T Function(Query$FetchEpisode$episode$context$$Season)? season, _T Function(Query$FetchEpisode$episode$context$$Playlist)? playlist, required _T Function() orElse, @@ -12491,7 +12731,8 @@ extension UtilityExtension$Query$FetchEpisode$episode$context case "ContextCollection": if (contextCollection != null) { return contextCollection( - this as Query$FetchEpisode$episode$context$$ContextCollection); + this as Query$FetchEpisode$episode$context$$ContextCollection, + ); } else { return orElse(); } @@ -12530,10 +12771,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$context { class _CopyWithImpl$Query$FetchEpisode$episode$context implements CopyWith$Query$FetchEpisode$episode$context { - _CopyWithImpl$Query$FetchEpisode$episode$context( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FetchEpisode$episode$context(this._instance, this._then); final Query$FetchEpisode$episode$context _instance; @@ -12541,11 +12779,13 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$FetchEpisode$episode$context( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$FetchEpisode$episode$context( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context @@ -12569,7 +12809,8 @@ class Query$FetchEpisode$episode$context$$ContextCollection }); factory Query$FetchEpisode$episode$context$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; final l$items = json['items']; @@ -12578,8 +12819,9 @@ class Query$FetchEpisode$episode$context$$ContextCollection $__typename: (l$$__typename as String), items: l$items == null ? null - : Query$FetchEpisode$episode$context$$ContextCollection$items - .fromJson((l$items as Map)), + : Query$FetchEpisode$episode$context$$ContextCollection$items.fromJson( + (l$items as Map), + ), ); } @@ -12605,11 +12847,7 @@ class Query$FetchEpisode$episode$context$$ContextCollection final l$id = id; final l$$__typename = $__typename; final l$items = items; - return Object.hashAll([ - l$id, - l$$__typename, - l$items, - ]); + return Object.hashAll([l$id, l$$__typename, l$items]); } @override @@ -12643,24 +12881,26 @@ class Query$FetchEpisode$episode$context$$ContextCollection extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection on Query$FetchEpisode$episode$context$$ContextCollection { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection< - Query$FetchEpisode$episode$context$$ContextCollection> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection( Query$FetchEpisode$episode$context$$ContextCollection instance, TRes Function(Query$FetchEpisode$episode$context$$ContextCollection) then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection; TRes call({ String? id, @@ -12668,7 +12908,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection< Query$FetchEpisode$episode$context$$ContextCollection$items? items, }); CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items - get items; + get items; } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection @@ -12682,7 +12922,7 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection final Query$FetchEpisode$episode$context$$ContextCollection _instance; final TRes Function(Query$FetchEpisode$episode$context$$ContextCollection) - _then; + _then; static const _undefined = {}; @@ -12690,35 +12930,41 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection Object? id = _undefined, Object? $__typename = _undefined, Object? items = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - items: items == _undefined - ? _instance.items - : (items + }) => _then( + Query$FetchEpisode$episode$context$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + items: items == _undefined + ? _instance.items + : (items as Query$FetchEpisode$episode$context$$ContextCollection$items?), - )); + ), + ); CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items - get items { + get items { final local$items = _instance.items; return local$items == null - ? CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items - .stub(_then(_instance)) + ? CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items.stub( + _then(_instance), + ) : CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection( - this._res); + this._res, + ); TRes _res; @@ -12726,13 +12972,13 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection< String? id, String? $__typename, Query$FetchEpisode$episode$context$$ContextCollection$items? items, - }) => - _res; + }) => _res; CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items - get items => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items - .stub(_res); + get items => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items.stub( + _res, + ); } class Query$FetchEpisode$episode$context$$Season @@ -12750,7 +12996,8 @@ class Query$FetchEpisode$episode$context$$Season }); factory Query$FetchEpisode$episode$context$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -12763,9 +13010,11 @@ class Query$FetchEpisode$episode$context$$Season title: (l$title as String), number: (l$number as int), episodes: Query$FetchEpisode$episode$context$$Season$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $show: Query$FetchEpisode$episode$context$$Season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), ); } @@ -12862,11 +13111,10 @@ class Query$FetchEpisode$episode$context$$Season extension UtilityExtension$Query$FetchEpisode$episode$context$$Season on Query$FetchEpisode$episode$context$$Season { CopyWith$Query$FetchEpisode$episode$context$$Season< - Query$FetchEpisode$episode$context$$Season> - get copyWith => CopyWith$Query$FetchEpisode$episode$context$$Season( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$Season + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$Season(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$context$$Season { @@ -12887,7 +13135,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$context$$Season { Query$FetchEpisode$episode$context$$Season$show? $show, }); CopyWith$Query$FetchEpisode$episode$context$$Season$episodes - get episodes; + get episodes; CopyWith$Query$FetchEpisode$episode$context$$Season$show get $show; } @@ -12911,37 +13159,42 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season Object? number = _undefined, Object? episodes = _undefined, Object? $show = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - number: number == _undefined || number == null - ? _instance.number - : (number as int), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes as Query$FetchEpisode$episode$context$$Season$episodes), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$FetchEpisode$episode$context$$Season$show), - )); + }) => _then( + Query$FetchEpisode$episode$context$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + number: number == _undefined || number == null + ? _instance.number + : (number as int), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$FetchEpisode$episode$context$$Season$episodes), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchEpisode$episode$context$$Season$show), + ), + ); CopyWith$Query$FetchEpisode$episode$context$$Season$episodes - get episodes { + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$FetchEpisode$episode$context$$Season$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } CopyWith$Query$FetchEpisode$episode$context$$Season$show get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchEpisode$episode$context$$Season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -12958,13 +13211,11 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season int? number, Query$FetchEpisode$episode$context$$Season$episodes? episodes, Query$FetchEpisode$episode$context$$Season$show? $show, - }) => - _res; + }) => _res; CopyWith$Query$FetchEpisode$episode$context$$Season$episodes - get episodes => - CopyWith$Query$FetchEpisode$episode$context$$Season$episodes.stub( - _res); + get episodes => + CopyWith$Query$FetchEpisode$episode$context$$Season$episodes.stub(_res); CopyWith$Query$FetchEpisode$episode$context$$Season$show get $show => CopyWith$Query$FetchEpisode$episode$context$$Season$show.stub(_res); @@ -12978,10 +13229,12 @@ class Query$FetchEpisode$episode$context$$Playlist Query$FetchEpisode$episode$context$$Playlist({this.$__typename = 'Playlist'}); factory Query$FetchEpisode$episode$context$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -13020,11 +13273,10 @@ class Query$FetchEpisode$episode$context$$Playlist extension UtilityExtension$Query$FetchEpisode$episode$context$$Playlist on Query$FetchEpisode$episode$context$$Playlist { CopyWith$Query$FetchEpisode$episode$context$$Playlist< - Query$FetchEpisode$episode$context$$Playlist> - get copyWith => CopyWith$Query$FetchEpisode$episode$context$$Playlist( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$Playlist + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$Playlist(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$context$$Playlist { @@ -13052,11 +13304,13 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Playlist static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$FetchEpisode$episode$context$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$FetchEpisode$episode$context$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Playlist @@ -13079,7 +13333,8 @@ class Query$FetchEpisode$episode$season }); factory Query$FetchEpisode$episode$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -13089,7 +13344,8 @@ class Query$FetchEpisode$episode$season id: (l$id as String), title: (l$title as String), $show: Query$FetchEpisode$episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), number: (l$number as int), ); @@ -13127,13 +13383,7 @@ class Query$FetchEpisode$episode$season final l$$show = $show; final l$$__typename = $__typename; final l$number = number; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - l$number, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename, l$number]); } @override @@ -13177,10 +13427,7 @@ class Query$FetchEpisode$episode$season extension UtilityExtension$Query$FetchEpisode$episode$season on Query$FetchEpisode$episode$season { CopyWith$Query$FetchEpisode$episode$season - get copyWith => CopyWith$Query$FetchEpisode$episode$season( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$FetchEpisode$episode$season(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$season { @@ -13204,10 +13451,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$season { class _CopyWithImpl$Query$FetchEpisode$episode$season implements CopyWith$Query$FetchEpisode$episode$season { - _CopyWithImpl$Query$FetchEpisode$episode$season( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FetchEpisode$episode$season(this._instance, this._then); final Query$FetchEpisode$episode$season _instance; @@ -13221,27 +13465,30 @@ class _CopyWithImpl$Query$FetchEpisode$episode$season Object? $show = _undefined, Object? $__typename = _undefined, Object? number = _undefined, - }) => - _then(Query$FetchEpisode$episode$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$FetchEpisode$episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - number: number == _undefined || number == null - ? _instance.number - : (number as int), - )); + }) => _then( + Query$FetchEpisode$episode$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchEpisode$episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + number: number == _undefined || number == null + ? _instance.number + : (number as int), + ), + ); CopyWith$Query$FetchEpisode$episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchEpisode$episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -13257,8 +13504,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$season Query$FetchEpisode$episode$season$show? $show, String? $__typename, int? number, - }) => - _res; + }) => _res; CopyWith$Query$FetchEpisode$episode$season$show get $show => CopyWith$Query$FetchEpisode$episode$season$show.stub(_res); @@ -13273,7 +13519,8 @@ class Query$FetchEpisode$episode$season$show }); factory Query$FetchEpisode$episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -13306,11 +13553,7 @@ class Query$FetchEpisode$episode$season$show final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -13344,11 +13587,10 @@ class Query$FetchEpisode$episode$season$show extension UtilityExtension$Query$FetchEpisode$episode$season$show on Query$FetchEpisode$episode$season$show { CopyWith$Query$FetchEpisode$episode$season$show< - Query$FetchEpisode$episode$season$show> - get copyWith => CopyWith$Query$FetchEpisode$episode$season$show( - this, - (i) => i, - ); + Query$FetchEpisode$episode$season$show + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$season$show(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$season$show { @@ -13360,11 +13602,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$season$show { factory CopyWith$Query$FetchEpisode$episode$season$show.stub(TRes res) = _CopyWithStubImpl$Query$FetchEpisode$episode$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$season$show @@ -13384,16 +13622,17 @@ class _CopyWithImpl$Query$FetchEpisode$episode$season$show Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchEpisode$episode$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$season$show @@ -13402,12 +13641,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$season$show TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$FetchEpisode$episode$contributors @@ -13419,7 +13653,8 @@ class Query$FetchEpisode$episode$contributors }); factory Query$FetchEpisode$episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -13428,7 +13663,8 @@ class Query$FetchEpisode$episode$contributors .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), person: Query$FetchEpisode$episode$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -13502,11 +13738,10 @@ class Query$FetchEpisode$episode$contributors extension UtilityExtension$Query$FetchEpisode$episode$contributors on Query$FetchEpisode$episode$contributors { CopyWith$Query$FetchEpisode$episode$contributors< - Query$FetchEpisode$episode$contributors> - get copyWith => CopyWith$Query$FetchEpisode$episode$contributors( - this, - (i) => i, - ); + Query$FetchEpisode$episode$contributors + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$contributors(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$contributors { @@ -13543,24 +13778,27 @@ class _CopyWithImpl$Query$FetchEpisode$episode$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person as Query$FetchEpisode$episode$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchEpisode$episode$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchEpisode$episode$contributors$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchEpisode$episode$contributors$person get person { final local$person = _instance.person; return CopyWith$Query$FetchEpisode$episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -13574,8 +13812,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$contributors List? contributionTypes, Query$FetchEpisode$episode$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchEpisode$episode$contributors$person get person => CopyWith$Query$FetchEpisode$episode$contributors$person.stub(_res); @@ -13589,7 +13826,8 @@ class Query$FetchEpisode$episode$contributors$person }); factory Query$FetchEpisode$episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$contributors$person( @@ -13615,10 +13853,7 @@ class Query$FetchEpisode$episode$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -13647,11 +13882,10 @@ class Query$FetchEpisode$episode$contributors$person extension UtilityExtension$Query$FetchEpisode$episode$contributors$person on Query$FetchEpisode$episode$contributors$person { CopyWith$Query$FetchEpisode$episode$contributors$person< - Query$FetchEpisode$episode$contributors$person> - get copyWith => CopyWith$Query$FetchEpisode$episode$contributors$person( - this, - (i) => i, - ); + Query$FetchEpisode$episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$contributors$person(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$contributors$person { @@ -13661,13 +13895,10 @@ abstract class CopyWith$Query$FetchEpisode$episode$contributors$person { ) = _CopyWithImpl$Query$FetchEpisode$episode$contributors$person; factory CopyWith$Query$FetchEpisode$episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$contributors$person @@ -13682,19 +13913,18 @@ class _CopyWithImpl$Query$FetchEpisode$episode$contributors$person final TRes Function(Query$FetchEpisode$episode$contributors$person) _then; static const _undefined = {}; - - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchEpisode$episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$contributors$person @@ -13703,11 +13933,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$contributors$person TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchEpisode$episode$context$$ContextCollection$items @@ -13718,21 +13944,25 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items }); factory Query$FetchEpisode$episode$context$$ContextCollection$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items( items: (l$items as List) - .map((e) => - Query$FetchEpisode$episode$context$$ContextCollection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchEpisode$episode$context$$ContextCollection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List - items; + items; final String $__typename; @@ -13788,44 +14018,53 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items on Query$FetchEpisode$episode$context$$ContextCollection$items { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items< - Query$FetchEpisode$episode$context$$ContextCollection$items> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items( Query$FetchEpisode$episode$context$$ContextCollection$items instance, TRes Function(Query$FetchEpisode$episode$context$$ContextCollection$items) - then, + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items; TRes call({ List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - Query$FetchEpisode$episode$context$$ContextCollection$items$items>>) - _fn); + Iterable + Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< + Query$FetchEpisode$episode$context$$ContextCollection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items( this._instance, this._then, @@ -13834,54 +14073,70 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items< final Query$FetchEpisode$episode$context$$ContextCollection$items _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items) _then; + Query$FetchEpisode$episode$context$$ContextCollection$items, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$ContextCollection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchEpisode$episode$context$$ContextCollection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchEpisode$episode$context$$ContextCollection$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchEpisode$episode$context$$ContextCollection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - Query$FetchEpisode$episode$context$$ContextCollection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items( - e, - (i) => i, - ))).toList()); + Iterable + Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< + Query$FetchEpisode$episode$context$$ContextCollection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items( - this._res); + this._res, + ); TRes _res; call({ List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -13894,19 +14149,21 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items.fromJson( - Map json) { + Map json, + ) { final l$item = json['item']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items( item: - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item - .fromJson((l$item as Map)), + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item - item; + item; final String $__typename; @@ -13923,10 +14180,7 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items int get hashCode { final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$item, - l$$__typename, - ]); + return Object.hashAll([l$item, l$$__typename]); } @override @@ -13956,152 +14210,183 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items on Query$FetchEpisode$episode$context$$ContextCollection$items$items { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - Query$FetchEpisode$episode$context$$ContextCollection$items$items> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items( Query$FetchEpisode$episode$context$$ContextCollection$items$items instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items; TRes call({ Query$FetchEpisode$episode$context$$ContextCollection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items) _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items, + ) + _then; static const _undefined = {}; TRes call({ Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$ContextCollection$items$items( - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchEpisode$episode$context$$ContextCollection$items$items( + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items( - this._res); + this._res, + ); TRes _res; call({ Query$FetchEpisode$episode$context$$ContextCollection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item.stub( + _res, + ); } class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( - {required this.$__typename}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item({ + required this.$__typename, + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Show": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season.fromJson( + json, + ); case "Episode": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode.fromJson( + json, + ); case "Page": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - .fromJson(json); + return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -14142,86 +14427,117 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show) - show, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season) - season, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode) - episode, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page) - page, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link) - link, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game) - game, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist) - playlist, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short) - short, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person) - person, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Show": - return show(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show); + return show( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season); + return season( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ); case "Episode": - return episode(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode); + return episode( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ); case "Page": - return page(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page); + return page( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link); + return link( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game); + return game( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short); + return short( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person); + return person( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ); default: return orElse(); @@ -14230,114 +14546,144 @@ extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection _T maybeWhen<_T>({ _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show)? - show, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season)? - season, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode)? - episode, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page)? - page, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link)? - link, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game)? - game, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist)? - playlist, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short)? - short, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person)? - person, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Show": if (show != null) { - return show(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show); + return show( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season); + return season( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ); } else { return orElse(); } case "Episode": if (episode != null) { - return episode(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode); + return episode( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page); + return page( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link); + return link( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game); + return game( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short); + return short( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person); + return person( + this + as Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ); } else { return orElse(); } @@ -14349,55 +14695,65 @@ extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -14408,14 +14764,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Sh implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - {this.$__typename = 'Show'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show({ + this.$__typename = 'Show', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -14455,64 +14814,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Sh extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -14523,14 +14893,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Se implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -14570,64 +14943,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Se extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -14655,7 +15039,8 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Ep }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$image = json['image']; final l$number = json['number']; @@ -14678,12 +15063,14 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Ep duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$SeasonListEpisode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$SeasonListEpisode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -14846,29 +15233,33 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Ep } extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode { + on + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode; TRes call({ String? id, @@ -14889,21 +15280,24 @@ abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$it } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -14920,44 +15314,47 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$ Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$SeasonListEpisode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$SeasonListEpisode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$SeasonListEpisode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$SeasonListEpisode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$SeasonListEpisode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$SeasonListEpisode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$SeasonListEpisode$season get season { @@ -14965,17 +15362,22 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$ return local$season == null ? CopyWith$Fragment$SeasonListEpisode$season.stub(_then(_instance)) : CopyWith$Fragment$SeasonListEpisode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; @@ -14992,8 +15394,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$it int? progress, Fragment$SeasonListEpisode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$SeasonListEpisode$lessons get lessons => CopyWith$Fragment$SeasonListEpisode$lessons.stub(_res); @@ -15006,14 +15407,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Pa implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - {this.$__typename = 'Page'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page({ + this.$__typename = 'Page', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15053,64 +15457,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Pa extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; @@ -15121,14 +15536,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Li implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - {this.$__typename = 'Link'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link({ + this.$__typename = 'Link', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15168,64 +15586,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Li extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; @@ -15236,14 +15665,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$St implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15281,66 +15713,78 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$St } extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic { + on + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -15351,14 +15795,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Ga implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - {this.$__typename = 'Game'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game({ + this.$__typename = 'Game', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15398,64 +15845,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Ga extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; @@ -15466,14 +15924,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Pl implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - {this.$__typename = 'Playlist'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist({ + this.$__typename = 'Playlist', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15511,66 +15972,78 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Pl } extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist { + on + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -15581,14 +16054,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Sh implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - {this.$__typename = 'Short'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short({ + this.$__typename = 'Short', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15628,64 +16104,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Sh extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; @@ -15696,14 +16183,17 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Pe implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, Query$FetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - {this.$__typename = 'Person'}); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person({ + this.$__typename = 'Person', + }); factory Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -15743,64 +16233,75 @@ class Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Pe extension UtilityExtension$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person on Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person { CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person) - then, + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person; factory CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person) - _then; + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; @@ -15815,13 +16316,17 @@ class Query$FetchEpisode$episode$context$$Season$episodes }); factory Query$FetchEpisode$episode$context$$Season$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$Season$episodes( items: (l$items as List) - .map((e) => - Fragment$SeasonListEpisode.fromJson((e as Map))) + .map( + (e) => Fragment$SeasonListEpisode.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -15883,35 +16388,33 @@ class Query$FetchEpisode$episode$context$$Season$episodes extension UtilityExtension$Query$FetchEpisode$episode$context$$Season$episodes on Query$FetchEpisode$episode$context$$Season$episodes { CopyWith$Query$FetchEpisode$episode$context$$Season$episodes< - Query$FetchEpisode$episode$context$$Season$episodes> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$Season$episodes( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$Season$episodes + > + get copyWith => CopyWith$Query$FetchEpisode$episode$context$$Season$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$Season$episodes< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$Season$episodes( Query$FetchEpisode$episode$context$$Season$episodes instance, TRes Function(Query$FetchEpisode$episode$context$$Season$episodes) then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$episodes; factory CopyWith$Query$FetchEpisode$episode$context$$Season$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$episodes; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$episodes @@ -15925,51 +16428,48 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$episodes final Query$FetchEpisode$episode$context$$Season$episodes _instance; final TRes Function(Query$FetchEpisode$episode$context$$Season$episodes) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$Season$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchEpisode$episode$context$$Season$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn) => - call( - items: _fn( - _instance.items.map((e) => CopyWith$Fragment$SeasonListEpisode( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$SeasonListEpisode(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$episodes< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$Season$episodes { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$episodes( - this._res); + this._res, + ); TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -15985,7 +16485,8 @@ class Query$FetchEpisode$episode$context$$Season$show }); factory Query$FetchEpisode$episode$context$$Season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$type = json['type']; @@ -15996,7 +16497,8 @@ class Query$FetchEpisode$episode$context$$Season$show title: (l$title as String), type: fromJson$Enum$ShowType((l$type as String)), seasons: Query$FetchEpisode$episode$context$$Season$show$seasons.fromJson( - (l$seasons as Map)), + (l$seasons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -16033,13 +16535,7 @@ class Query$FetchEpisode$episode$context$$Season$show final l$type = type; final l$seasons = seasons; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$type, - l$seasons, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$type, l$seasons, l$$__typename]); } @override @@ -16083,11 +16579,10 @@ class Query$FetchEpisode$episode$context$$Season$show extension UtilityExtension$Query$FetchEpisode$episode$context$$Season$show on Query$FetchEpisode$episode$context$$Season$show { CopyWith$Query$FetchEpisode$episode$context$$Season$show< - Query$FetchEpisode$episode$context$$Season$show> - get copyWith => CopyWith$Query$FetchEpisode$episode$context$$Season$show( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$Season$show + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$Season$show(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$context$$Season$show { @@ -16097,8 +16592,8 @@ abstract class CopyWith$Query$FetchEpisode$episode$context$$Season$show { ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show; factory CopyWith$Query$FetchEpisode$episode$context$$Season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show; TRes call({ String? id, @@ -16108,7 +16603,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$context$$Season$show { String? $__typename, }); CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons - get seasons; + get seasons; } class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show @@ -16130,29 +16625,32 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show Object? type = _undefined, Object? seasons = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$Season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - type: type == _undefined || type == null - ? _instance.type - : (type as Enum$ShowType), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons + }) => _then( + Query$FetchEpisode$episode$context$$Season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + type: type == _undefined || type == null + ? _instance.type + : (type as Enum$ShowType), + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Query$FetchEpisode$episode$context$$Season$show$seasons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons - get seasons { + get seasons { final local$seasons = _instance.seasons; return CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } @@ -16168,13 +16666,13 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show Enum$ShowType? type, Query$FetchEpisode$episode$context$$Season$show$seasons? seasons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons - get seasons => - CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons.stub( - _res); + get seasons => + CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons.stub( + _res, + ); } class Query$FetchEpisode$episode$context$$Season$show$seasons @@ -16185,21 +16683,25 @@ class Query$FetchEpisode$episode$context$$Season$show$seasons }); factory Query$FetchEpisode$episode$context$$Season$show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$context$$Season$show$seasons( items: (l$items as List) - .map((e) => - Query$FetchEpisode$episode$context$$Season$show$seasons$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchEpisode$episode$context$$Season$show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List - items; + items; final String $__typename; @@ -16255,39 +16757,47 @@ class Query$FetchEpisode$episode$context$$Season$show$seasons extension UtilityExtension$Query$FetchEpisode$episode$context$$Season$show$seasons on Query$FetchEpisode$episode$context$$Season$show$seasons { CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons< - Query$FetchEpisode$episode$context$$Season$show$seasons> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$Season$show$seasons + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons( Query$FetchEpisode$episode$context$$Season$show$seasons instance, TRes Function(Query$FetchEpisode$episode$context$$Season$show$seasons) then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons; factory CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - Query$FetchEpisode$episode$context$$Season$show$seasons$items>>) - _fn); + Iterable + Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< + Query$FetchEpisode$episode$context$$Season$show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons { _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons( @@ -16298,52 +16808,65 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons< final Query$FetchEpisode$episode$context$$Season$show$seasons _instance; final TRes Function(Query$FetchEpisode$episode$context$$Season$show$seasons) - _then; + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$Season$show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchEpisode$episode$context$$Season$show$seasons$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchEpisode$episode$context$$Season$show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchEpisode$episode$context$$Season$show$seasons$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - Query$FetchEpisode$episode$context$$Season$show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable + Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< + Query$FetchEpisode$episode$context$$Season$show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons( - this._res); + this._res, + ); TRes _res; call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -16357,7 +16880,8 @@ class Query$FetchEpisode$episode$context$$Season$show$seasons$items }); factory Query$FetchEpisode$episode$context$$Season$show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -16390,11 +16914,7 @@ class Query$FetchEpisode$episode$context$$Season$show$seasons$items final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -16429,38 +16949,38 @@ class Query$FetchEpisode$episode$context$$Season$show$seasons$items extension UtilityExtension$Query$FetchEpisode$episode$context$$Season$show$seasons$items on Query$FetchEpisode$episode$context$$Season$show$seasons$items { CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - Query$FetchEpisode$episode$context$$Season$show$seasons$items> - get copyWith => - CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items( - this, - (i) => i, - ); + Query$FetchEpisode$episode$context$$Season$show$seasons$items + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items( Query$FetchEpisode$episode$context$$Season$show$seasons$items instance, TRes Function(Query$FetchEpisode$episode$context$$Season$show$seasons$items) - then, + then, ) = _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items; factory CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items( this._instance, this._then, @@ -16469,7 +16989,9 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$item final Query$FetchEpisode$episode$context$$Season$show$seasons$items _instance; final TRes Function( - Query$FetchEpisode$episode$context$$Season$show$seasons$items) _then; + Query$FetchEpisode$episode$context$$Season$show$seasons$items, + ) + _then; static const _undefined = {}; @@ -16477,34 +16999,33 @@ class _CopyWithImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$item Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$context$$Season$show$seasons$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchEpisode$episode$context$$Season$show$seasons$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$FetchEpisode$episode$context$$Season$show$seasons$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchEpisode$episode$context$$Season$show$seasons$items( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$FetchEpisode$episode$relatedItems { @@ -16514,13 +17035,16 @@ class Query$FetchEpisode$episode$relatedItems { }); factory Query$FetchEpisode$episode$relatedItems.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$relatedItems( items: (l$items as List) - .map((e) => - Fragment$GridSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$GridSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -16582,11 +17106,10 @@ class Query$FetchEpisode$episode$relatedItems { extension UtilityExtension$Query$FetchEpisode$episode$relatedItems on Query$FetchEpisode$episode$relatedItems { CopyWith$Query$FetchEpisode$episode$relatedItems< - Query$FetchEpisode$episode$relatedItems> - get copyWith => CopyWith$Query$FetchEpisode$episode$relatedItems( - this, - (i) => i, - ); + Query$FetchEpisode$episode$relatedItems + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$relatedItems(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$relatedItems { @@ -16598,15 +17121,13 @@ abstract class CopyWith$Query$FetchEpisode$episode$relatedItems { factory CopyWith$Query$FetchEpisode$episode$relatedItems.stub(TRes res) = _CopyWithStubImpl$Query$FetchEpisode$episode$relatedItems; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchEpisode$episode$relatedItems @@ -16622,31 +17143,30 @@ class _CopyWithImpl$Query$FetchEpisode$episode$relatedItems static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$relatedItems( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchEpisode$episode$relatedItems( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem< - Fragment$GridSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$GridSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$GridSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$relatedItems @@ -16655,11 +17175,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$relatedItems TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -16671,13 +17187,17 @@ class Query$FetchEpisode$episode$lessons { }); factory Query$FetchEpisode$episode$lessons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$lessons( items: (l$items as List) - .map((e) => Query$FetchEpisode$episode$lessons$items.fromJson( - (e as Map))) + .map( + (e) => Query$FetchEpisode$episode$lessons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -16739,11 +17259,9 @@ class Query$FetchEpisode$episode$lessons { extension UtilityExtension$Query$FetchEpisode$episode$lessons on Query$FetchEpisode$episode$lessons { CopyWith$Query$FetchEpisode$episode$lessons< - Query$FetchEpisode$episode$lessons> - get copyWith => CopyWith$Query$FetchEpisode$episode$lessons( - this, - (i) => i, - ); + Query$FetchEpisode$episode$lessons + > + get copyWith => CopyWith$Query$FetchEpisode$episode$lessons(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$lessons { @@ -16760,19 +17278,20 @@ abstract class CopyWith$Query$FetchEpisode$episode$lessons { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$lessons$items< - Query$FetchEpisode$episode$lessons$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$lessons$items< + Query$FetchEpisode$episode$lessons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchEpisode$episode$lessons implements CopyWith$Query$FetchEpisode$episode$lessons { - _CopyWithImpl$Query$FetchEpisode$episode$lessons( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FetchEpisode$episode$lessons(this._instance, this._then); final Query$FetchEpisode$episode$lessons _instance; @@ -16780,31 +17299,34 @@ class _CopyWithImpl$Query$FetchEpisode$episode$lessons static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$lessons( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchEpisode$episode$lessons( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchEpisode$episode$lessons$items< - Query$FetchEpisode$episode$lessons$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Query$FetchEpisode$episode$lessons$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$FetchEpisode$episode$lessons$items< + Query$FetchEpisode$episode$lessons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$FetchEpisode$episode$lessons$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$lessons @@ -16816,8 +17338,7 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$lessons call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -16829,7 +17350,8 @@ class Query$FetchEpisode$episode$lessons$items { }); factory Query$FetchEpisode$episode$lessons$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchEpisode$episode$lessons$items( @@ -16855,10 +17377,7 @@ class Query$FetchEpisode$episode$lessons$items { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -16887,11 +17406,10 @@ class Query$FetchEpisode$episode$lessons$items { extension UtilityExtension$Query$FetchEpisode$episode$lessons$items on Query$FetchEpisode$episode$lessons$items { CopyWith$Query$FetchEpisode$episode$lessons$items< - Query$FetchEpisode$episode$lessons$items> - get copyWith => CopyWith$Query$FetchEpisode$episode$lessons$items( - this, - (i) => i, - ); + Query$FetchEpisode$episode$lessons$items + > + get copyWith => + CopyWith$Query$FetchEpisode$episode$lessons$items(this, (i) => i); } abstract class CopyWith$Query$FetchEpisode$episode$lessons$items { @@ -16903,10 +17421,7 @@ abstract class CopyWith$Query$FetchEpisode$episode$lessons$items { factory CopyWith$Query$FetchEpisode$episode$lessons$items.stub(TRes res) = _CopyWithStubImpl$Query$FetchEpisode$episode$lessons$items; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchEpisode$episode$lessons$items @@ -16922,16 +17437,15 @@ class _CopyWithImpl$Query$FetchEpisode$episode$lessons$items static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchEpisode$episode$lessons$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchEpisode$episode$lessons$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchEpisode$episode$lessons$items @@ -16940,18 +17454,11 @@ class _CopyWithStubImpl$Query$FetchEpisode$episode$lessons$items TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Variables$Query$legacyIDLookup { - factory Variables$Query$legacyIDLookup({ - int? episodeId, - int? programId, - }) => + factory Variables$Query$legacyIDLookup({int? episodeId, int? programId}) => Variables$Query$legacyIDLookup._({ if (episodeId != null) r'episodeId': episodeId, if (programId != null) r'programId': programId, @@ -16992,10 +17499,7 @@ class Variables$Query$legacyIDLookup { } CopyWith$Variables$Query$legacyIDLookup - get copyWith => CopyWith$Variables$Query$legacyIDLookup( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$legacyIDLookup(this, (i) => i); @override bool operator ==(Object other) { @@ -17047,18 +17551,12 @@ abstract class CopyWith$Variables$Query$legacyIDLookup { factory CopyWith$Variables$Query$legacyIDLookup.stub(TRes res) = _CopyWithStubImpl$Variables$Query$legacyIDLookup; - TRes call({ - int? episodeId, - int? programId, - }); + TRes call({int? episodeId, int? programId}); } class _CopyWithImpl$Variables$Query$legacyIDLookup implements CopyWith$Variables$Query$legacyIDLookup { - _CopyWithImpl$Variables$Query$legacyIDLookup( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$legacyIDLookup(this._instance, this._then); final Variables$Query$legacyIDLookup _instance; @@ -17066,15 +17564,14 @@ class _CopyWithImpl$Variables$Query$legacyIDLookup static const _undefined = {}; - TRes call({ - Object? episodeId = _undefined, - Object? programId = _undefined, - }) => - _then(Variables$Query$legacyIDLookup._({ - ..._instance._$data, - if (episodeId != _undefined) 'episodeId': (episodeId as int?), - if (programId != _undefined) 'programId': (programId as int?), - })); + TRes call({Object? episodeId = _undefined, Object? programId = _undefined}) => + _then( + Variables$Query$legacyIDLookup._({ + ..._instance._$data, + if (episodeId != _undefined) 'episodeId': (episodeId as int?), + if (programId != _undefined) 'programId': (programId as int?), + }), + ); } class _CopyWithStubImpl$Variables$Query$legacyIDLookup @@ -17083,11 +17580,7 @@ class _CopyWithStubImpl$Variables$Query$legacyIDLookup TRes _res; - call({ - int? episodeId, - int? programId, - }) => - _res; + call({int? episodeId, int? programId}) => _res; } class Query$legacyIDLookup { @@ -17101,7 +17594,8 @@ class Query$legacyIDLookup { final l$$__typename = json['__typename']; return Query$legacyIDLookup( legacyIDLookup: Query$legacyIDLookup$legacyIDLookup.fromJson( - (l$legacyIDLookup as Map)), + (l$legacyIDLookup as Map), + ), $__typename: (l$$__typename as String), ); } @@ -17123,10 +17617,7 @@ class Query$legacyIDLookup { int get hashCode { final l$legacyIDLookup = legacyIDLookup; final l$$__typename = $__typename; - return Object.hashAll([ - l$legacyIDLookup, - l$$__typename, - ]); + return Object.hashAll([l$legacyIDLookup, l$$__typename]); } @override @@ -17153,10 +17644,7 @@ class Query$legacyIDLookup { extension UtilityExtension$Query$legacyIDLookup on Query$legacyIDLookup { CopyWith$Query$legacyIDLookup get copyWith => - CopyWith$Query$legacyIDLookup( - this, - (i) => i, - ); + CopyWith$Query$legacyIDLookup(this, (i) => i); } abstract class CopyWith$Query$legacyIDLookup { @@ -17177,10 +17665,7 @@ abstract class CopyWith$Query$legacyIDLookup { class _CopyWithImpl$Query$legacyIDLookup implements CopyWith$Query$legacyIDLookup { - _CopyWithImpl$Query$legacyIDLookup( - this._instance, - this._then, - ); + _CopyWithImpl$Query$legacyIDLookup(this._instance, this._then); final Query$legacyIDLookup _instance; @@ -17191,20 +17676,23 @@ class _CopyWithImpl$Query$legacyIDLookup TRes call({ Object? legacyIDLookup = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$legacyIDLookup( - legacyIDLookup: legacyIDLookup == _undefined || legacyIDLookup == null - ? _instance.legacyIDLookup - : (legacyIDLookup as Query$legacyIDLookup$legacyIDLookup), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$legacyIDLookup( + legacyIDLookup: legacyIDLookup == _undefined || legacyIDLookup == null + ? _instance.legacyIDLookup + : (legacyIDLookup as Query$legacyIDLookup$legacyIDLookup), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$legacyIDLookup$legacyIDLookup get legacyIDLookup { final local$legacyIDLookup = _instance.legacyIDLookup; return CopyWith$Query$legacyIDLookup$legacyIDLookup( - local$legacyIDLookup, (e) => call(legacyIDLookup: e)); + local$legacyIDLookup, + (e) => call(legacyIDLookup: e), + ); } } @@ -17217,65 +17705,73 @@ class _CopyWithStubImpl$Query$legacyIDLookup call({ Query$legacyIDLookup$legacyIDLookup? legacyIDLookup, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$legacyIDLookup$legacyIDLookup get legacyIDLookup => CopyWith$Query$legacyIDLookup$legacyIDLookup.stub(_res); } -const documentNodeQuerylegacyIDLookup = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'legacyIDLookup'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'episodeId')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, +const documentNodeQuerylegacyIDLookup = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'legacyIDLookup'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'episodeId')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'programId')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'programId')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'legacyIDLookup'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'options'), - value: ObjectValueNode(fields: [ - ObjectFieldNode( - name: NameNode(value: 'episodeID'), - value: VariableNode(name: NameNode(value: 'episodeId')), - ), - ObjectFieldNode( - name: NameNode(value: 'programID'), - value: VariableNode(name: NameNode(value: 'programId')), - ), - ]), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'legacyIDLookup'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'options'), + value: ObjectValueNode( + fields: [ + ObjectFieldNode( + name: NameNode(value: 'episodeID'), + value: VariableNode(name: NameNode(value: 'episodeId')), + ), + ObjectFieldNode( + name: NameNode(value: 'programID'), + value: VariableNode(name: NameNode(value: 'programId')), + ), + ], + ), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -17284,21 +17780,14 @@ const documentNodeQuerylegacyIDLookup = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$legacyIDLookup _parserFn$Query$legacyIDLookup( - Map data) => - Query$legacyIDLookup.fromJson(data); + Map data, +) => Query$legacyIDLookup.fromJson(data); typedef OnQueryComplete$Query$legacyIDLookup = FutureOr Function( Map?, Query$legacyIDLookup?, @@ -17318,36 +17807,36 @@ class Options$Query$legacyIDLookup graphql.Context? context, OnQueryComplete$Query$legacyIDLookup? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$legacyIDLookup(data), - ), - onError: onError, - document: documentNodeQuerylegacyIDLookup, - parserFn: _parserFn$Query$legacyIDLookup, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$legacyIDLookup(data), + ), + onError: onError, + document: documentNodeQuerylegacyIDLookup, + parserFn: _parserFn$Query$legacyIDLookup, + ); final OnQueryComplete$Query$legacyIDLookup? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$legacyIDLookup @@ -17366,20 +17855,20 @@ class WatchOptions$Query$legacyIDLookup bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerylegacyIDLookup, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$legacyIDLookup, - ); + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerylegacyIDLookup, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$legacyIDLookup, + ); } class FetchMoreOptions$Query$legacyIDLookup extends graphql.FetchMoreOptions { @@ -17387,35 +17876,33 @@ class FetchMoreOptions$Query$legacyIDLookup extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, Variables$Query$legacyIDLookup? variables, }) : super( - updateQuery: updateQuery, - variables: variables?.toJson() ?? {}, - document: documentNodeQuerylegacyIDLookup, - ); + updateQuery: updateQuery, + variables: variables?.toJson() ?? {}, + document: documentNodeQuerylegacyIDLookup, + ); } extension ClientExtension$Query$legacyIDLookup on graphql.GraphQLClient { - Future> query$legacyIDLookup( - [Options$Query$legacyIDLookup? options]) async => - await this.query(options ?? Options$Query$legacyIDLookup()); + Future> query$legacyIDLookup([ + Options$Query$legacyIDLookup? options, + ]) async => await this.query(options ?? Options$Query$legacyIDLookup()); - graphql.ObservableQuery watchQuery$legacyIDLookup( - [WatchOptions$Query$legacyIDLookup? options]) => - this.watchQuery(options ?? WatchOptions$Query$legacyIDLookup()); + graphql.ObservableQuery watchQuery$legacyIDLookup([ + WatchOptions$Query$legacyIDLookup? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$legacyIDLookup()); void writeQuery$legacyIDLookup({ required Query$legacyIDLookup data, Variables$Query$legacyIDLookup? variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerylegacyIDLookup), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerylegacyIDLookup), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$legacyIDLookup? readQuery$legacyIDLookup({ Variables$Query$legacyIDLookup? variables, @@ -17432,13 +17919,14 @@ extension ClientExtension$Query$legacyIDLookup on graphql.GraphQLClient { } } -graphql_flutter.QueryHookResult useQuery$legacyIDLookup( - [Options$Query$legacyIDLookup? options]) => - graphql_flutter.useQuery(options ?? Options$Query$legacyIDLookup()); -graphql.ObservableQuery useWatchQuery$legacyIDLookup( - [WatchOptions$Query$legacyIDLookup? options]) => - graphql_flutter - .useWatchQuery(options ?? WatchOptions$Query$legacyIDLookup()); +graphql_flutter.QueryHookResult useQuery$legacyIDLookup([ + Options$Query$legacyIDLookup? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$legacyIDLookup()); +graphql.ObservableQuery useWatchQuery$legacyIDLookup([ + WatchOptions$Query$legacyIDLookup? options, +]) => graphql_flutter.useWatchQuery( + options ?? WatchOptions$Query$legacyIDLookup(), +); class Query$legacyIDLookup$Widget extends graphql_flutter.Query { @@ -17447,10 +17935,10 @@ class Query$legacyIDLookup$Widget Options$Query$legacyIDLookup? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$legacyIDLookup(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$legacyIDLookup(), + builder: builder, + ); } class Query$legacyIDLookup$legacyIDLookup { @@ -17460,7 +17948,8 @@ class Query$legacyIDLookup$legacyIDLookup { }); factory Query$legacyIDLookup$legacyIDLookup.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$legacyIDLookup$legacyIDLookup( @@ -17486,10 +17975,7 @@ class Query$legacyIDLookup$legacyIDLookup { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -17518,11 +18004,9 @@ class Query$legacyIDLookup$legacyIDLookup { extension UtilityExtension$Query$legacyIDLookup$legacyIDLookup on Query$legacyIDLookup$legacyIDLookup { CopyWith$Query$legacyIDLookup$legacyIDLookup< - Query$legacyIDLookup$legacyIDLookup> - get copyWith => CopyWith$Query$legacyIDLookup$legacyIDLookup( - this, - (i) => i, - ); + Query$legacyIDLookup$legacyIDLookup + > + get copyWith => CopyWith$Query$legacyIDLookup$legacyIDLookup(this, (i) => i); } abstract class CopyWith$Query$legacyIDLookup$legacyIDLookup { @@ -17534,18 +18018,12 @@ abstract class CopyWith$Query$legacyIDLookup$legacyIDLookup { factory CopyWith$Query$legacyIDLookup$legacyIDLookup.stub(TRes res) = _CopyWithStubImpl$Query$legacyIDLookup$legacyIDLookup; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$legacyIDLookup$legacyIDLookup implements CopyWith$Query$legacyIDLookup$legacyIDLookup { - _CopyWithImpl$Query$legacyIDLookup$legacyIDLookup( - this._instance, - this._then, - ); + _CopyWithImpl$Query$legacyIDLookup$legacyIDLookup(this._instance, this._then); final Query$legacyIDLookup$legacyIDLookup _instance; @@ -17553,16 +18031,15 @@ class _CopyWithImpl$Query$legacyIDLookup$legacyIDLookup static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$legacyIDLookup$legacyIDLookup( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$legacyIDLookup$legacyIDLookup( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$legacyIDLookup$legacyIDLookup @@ -17571,18 +18048,12 @@ class _CopyWithStubImpl$Query$legacyIDLookup$legacyIDLookup TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Variables$Query$EpisodeDetails { factory Variables$Query$EpisodeDetails({required String id}) => - Variables$Query$EpisodeDetails._({ - r'id': id, - }); + Variables$Query$EpisodeDetails._({r'id': id}); Variables$Query$EpisodeDetails._(this._$data); @@ -17605,10 +18076,7 @@ class Variables$Query$EpisodeDetails { } CopyWith$Variables$Query$EpisodeDetails - get copyWith => CopyWith$Variables$Query$EpisodeDetails( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$EpisodeDetails(this, (i) => i); @override bool operator ==(Object other) { @@ -17648,10 +18116,7 @@ abstract class CopyWith$Variables$Query$EpisodeDetails { class _CopyWithImpl$Variables$Query$EpisodeDetails implements CopyWith$Variables$Query$EpisodeDetails { - _CopyWithImpl$Variables$Query$EpisodeDetails( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$EpisodeDetails(this._instance, this._then); final Variables$Query$EpisodeDetails _instance; @@ -17659,11 +18124,12 @@ class _CopyWithImpl$Variables$Query$EpisodeDetails static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$EpisodeDetails._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$EpisodeDetails._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$EpisodeDetails @@ -17676,17 +18142,15 @@ class _CopyWithStubImpl$Variables$Query$EpisodeDetails } class Query$EpisodeDetails { - Query$EpisodeDetails({ - required this.episode, - this.$__typename = 'QueryRoot', - }); + Query$EpisodeDetails({required this.episode, this.$__typename = 'QueryRoot'}); factory Query$EpisodeDetails.fromJson(Map json) { final l$episode = json['episode']; final l$$__typename = json['__typename']; return Query$EpisodeDetails( - episode: - Fragment$EpisodeDetails.fromJson((l$episode as Map)), + episode: Fragment$EpisodeDetails.fromJson( + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -17708,10 +18172,7 @@ class Query$EpisodeDetails { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -17738,10 +18199,7 @@ class Query$EpisodeDetails { extension UtilityExtension$Query$EpisodeDetails on Query$EpisodeDetails { CopyWith$Query$EpisodeDetails get copyWith => - CopyWith$Query$EpisodeDetails( - this, - (i) => i, - ); + CopyWith$Query$EpisodeDetails(this, (i) => i); } abstract class CopyWith$Query$EpisodeDetails { @@ -17753,19 +18211,13 @@ abstract class CopyWith$Query$EpisodeDetails { factory CopyWith$Query$EpisodeDetails.stub(TRes res) = _CopyWithStubImpl$Query$EpisodeDetails; - TRes call({ - Fragment$EpisodeDetails? episode, - String? $__typename, - }); + TRes call({Fragment$EpisodeDetails? episode, String? $__typename}); CopyWith$Fragment$EpisodeDetails get episode; } class _CopyWithImpl$Query$EpisodeDetails implements CopyWith$Query$EpisodeDetails { - _CopyWithImpl$Query$EpisodeDetails( - this._instance, - this._then, - ); + _CopyWithImpl$Query$EpisodeDetails(this._instance, this._then); final Query$EpisodeDetails _instance; @@ -17773,23 +18225,24 @@ class _CopyWithImpl$Query$EpisodeDetails static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$EpisodeDetails( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Fragment$EpisodeDetails), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$EpisodeDetails( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Fragment$EpisodeDetails), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeDetails get episode { final local$episode = _instance.episode; return CopyWith$Fragment$EpisodeDetails( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -17799,47 +18252,53 @@ class _CopyWithStubImpl$Query$EpisodeDetails TRes _res; - call({ - Fragment$EpisodeDetails? episode, - String? $__typename, - }) => - _res; + call({Fragment$EpisodeDetails? episode, String? $__typename}) => _res; CopyWith$Fragment$EpisodeDetails get episode => CopyWith$Fragment$EpisodeDetails.stub(_res); } -const documentNodeQueryEpisodeDetails = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'EpisodeDetails'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, - ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeDetails'), +const documentNodeQueryEpisodeDetails = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'EpisodeDetails'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'episode'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeDetails'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -17848,22 +18307,15 @@ const documentNodeQueryEpisodeDetails = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionEpisodeDetails, -]); + ), + fragmentDefinitionEpisodeDetails, + ], +); Query$EpisodeDetails _parserFn$Query$EpisodeDetails( - Map data) => - Query$EpisodeDetails.fromJson(data); + Map data, +) => Query$EpisodeDetails.fromJson(data); typedef OnQueryComplete$Query$EpisodeDetails = FutureOr Function( Map?, Query$EpisodeDetails?, @@ -17883,36 +18335,36 @@ class Options$Query$EpisodeDetails graphql.Context? context, OnQueryComplete$Query$EpisodeDetails? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$EpisodeDetails(data), - ), - onError: onError, - document: documentNodeQueryEpisodeDetails, - parserFn: _parserFn$Query$EpisodeDetails, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$EpisodeDetails(data), + ), + onError: onError, + document: documentNodeQueryEpisodeDetails, + parserFn: _parserFn$Query$EpisodeDetails, + ); final OnQueryComplete$Query$EpisodeDetails? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$EpisodeDetails @@ -17931,20 +18383,20 @@ class WatchOptions$Query$EpisodeDetails bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryEpisodeDetails, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$EpisodeDetails, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryEpisodeDetails, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$EpisodeDetails, + ); } class FetchMoreOptions$Query$EpisodeDetails extends graphql.FetchMoreOptions { @@ -17952,35 +18404,33 @@ class FetchMoreOptions$Query$EpisodeDetails extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$EpisodeDetails variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryEpisodeDetails, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryEpisodeDetails, + ); } extension ClientExtension$Query$EpisodeDetails on graphql.GraphQLClient { Future> query$EpisodeDetails( - Options$Query$EpisodeDetails options) async => - await this.query(options); + Options$Query$EpisodeDetails options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$EpisodeDetails( - WatchOptions$Query$EpisodeDetails options) => - this.watchQuery(options); + WatchOptions$Query$EpisodeDetails options, + ) => this.watchQuery(options); void writeQuery$EpisodeDetails({ required Query$EpisodeDetails data, required Variables$Query$EpisodeDetails variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryEpisodeDetails), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryEpisodeDetails), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$EpisodeDetails? readQuery$EpisodeDetails({ required Variables$Query$EpisodeDetails variables, @@ -17998,11 +18448,11 @@ extension ClientExtension$Query$EpisodeDetails on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$EpisodeDetails( - Options$Query$EpisodeDetails options) => - graphql_flutter.useQuery(options); + Options$Query$EpisodeDetails options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$EpisodeDetails( - WatchOptions$Query$EpisodeDetails options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$EpisodeDetails options, +) => graphql_flutter.useWatchQuery(options); class Query$EpisodeDetails$Widget extends graphql_flutter.Query { @@ -18010,23 +18460,18 @@ class Query$EpisodeDetails$Widget widgets.Key? key, required Options$Query$EpisodeDetails options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Variables$Query$getDefaultEpisodeForShow { factory Variables$Query$getDefaultEpisodeForShow({required String showId}) => - Variables$Query$getDefaultEpisodeForShow._({ - r'showId': showId, - }); + Variables$Query$getDefaultEpisodeForShow._({r'showId': showId}); Variables$Query$getDefaultEpisodeForShow._(this._$data); factory Variables$Query$getDefaultEpisodeForShow.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$showId = data['showId']; result$data['showId'] = (l$showId as String); @@ -18045,11 +18490,10 @@ class Variables$Query$getDefaultEpisodeForShow { } CopyWith$Variables$Query$getDefaultEpisodeForShow< - Variables$Query$getDefaultEpisodeForShow> - get copyWith => CopyWith$Variables$Query$getDefaultEpisodeForShow( - this, - (i) => i, - ); + Variables$Query$getDefaultEpisodeForShow + > + get copyWith => + CopyWith$Variables$Query$getDefaultEpisodeForShow(this, (i) => i); @override bool operator ==(Object other) { @@ -18100,12 +18544,12 @@ class _CopyWithImpl$Variables$Query$getDefaultEpisodeForShow static const _undefined = {}; - TRes call({Object? showId = _undefined}) => - _then(Variables$Query$getDefaultEpisodeForShow._({ - ..._instance._$data, - if (showId != _undefined && showId != null) - 'showId': (showId as String), - })); + TRes call({Object? showId = _undefined}) => _then( + Variables$Query$getDefaultEpisodeForShow._({ + ..._instance._$data, + if (showId != _undefined && showId != null) 'showId': (showId as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$getDefaultEpisodeForShow @@ -18128,7 +18572,8 @@ class Query$getDefaultEpisodeForShow { final l$$__typename = json['__typename']; return Query$getDefaultEpisodeForShow( $show: Query$getDefaultEpisodeForShow$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -18150,10 +18595,7 @@ class Query$getDefaultEpisodeForShow { int get hashCode { final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$$show, l$$__typename]); } @override @@ -18182,10 +18624,7 @@ class Query$getDefaultEpisodeForShow { extension UtilityExtension$Query$getDefaultEpisodeForShow on Query$getDefaultEpisodeForShow { CopyWith$Query$getDefaultEpisodeForShow - get copyWith => CopyWith$Query$getDefaultEpisodeForShow( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$getDefaultEpisodeForShow(this, (i) => i); } abstract class CopyWith$Query$getDefaultEpisodeForShow { @@ -18197,19 +18636,13 @@ abstract class CopyWith$Query$getDefaultEpisodeForShow { factory CopyWith$Query$getDefaultEpisodeForShow.stub(TRes res) = _CopyWithStubImpl$Query$getDefaultEpisodeForShow; - TRes call({ - Query$getDefaultEpisodeForShow$show? $show, - String? $__typename, - }); + TRes call({Query$getDefaultEpisodeForShow$show? $show, String? $__typename}); CopyWith$Query$getDefaultEpisodeForShow$show get $show; } class _CopyWithImpl$Query$getDefaultEpisodeForShow implements CopyWith$Query$getDefaultEpisodeForShow { - _CopyWithImpl$Query$getDefaultEpisodeForShow( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getDefaultEpisodeForShow(this._instance, this._then); final Query$getDefaultEpisodeForShow _instance; @@ -18217,23 +18650,24 @@ class _CopyWithImpl$Query$getDefaultEpisodeForShow static const _undefined = {}; - TRes call({ - Object? $show = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getDefaultEpisodeForShow( - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$getDefaultEpisodeForShow$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? $show = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getDefaultEpisodeForShow( + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$getDefaultEpisodeForShow$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getDefaultEpisodeForShow$show get $show { final local$$show = _instance.$show; return CopyWith$Query$getDefaultEpisodeForShow$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -18243,65 +18677,74 @@ class _CopyWithStubImpl$Query$getDefaultEpisodeForShow TRes _res; - call({ - Query$getDefaultEpisodeForShow$show? $show, - String? $__typename, - }) => + call({Query$getDefaultEpisodeForShow$show? $show, String? $__typename}) => _res; CopyWith$Query$getDefaultEpisodeForShow$show get $show => CopyWith$Query$getDefaultEpisodeForShow$show.stub(_res); } -const documentNodeQuerygetDefaultEpisodeForShow = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getDefaultEpisodeForShow'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'showId')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQuerygetDefaultEpisodeForShow = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getDefaultEpisodeForShow'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'showId')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'showId')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'defaultEpisode'), + name: NameNode(value: 'show'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( + arguments: [ + ArgumentNode( name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + value: VariableNode(name: NameNode(value: 'showId')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'defaultEpisode'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -18310,26 +18753,19 @@ const documentNodeQuerygetDefaultEpisodeForShow = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Query$getDefaultEpisodeForShow _parserFn$Query$getDefaultEpisodeForShow( - Map data) => - Query$getDefaultEpisodeForShow.fromJson(data); -typedef OnQueryComplete$Query$getDefaultEpisodeForShow = FutureOr - Function( - Map?, - Query$getDefaultEpisodeForShow?, + ), + ], ); +Query$getDefaultEpisodeForShow _parserFn$Query$getDefaultEpisodeForShow( + Map data, +) => Query$getDefaultEpisodeForShow.fromJson(data); +typedef OnQueryComplete$Query$getDefaultEpisodeForShow = + FutureOr Function( + Map?, + Query$getDefaultEpisodeForShow?, + ); class Options$Query$getDefaultEpisodeForShow extends graphql.QueryOptions { @@ -18345,38 +18781,38 @@ class Options$Query$getDefaultEpisodeForShow graphql.Context? context, OnQueryComplete$Query$getDefaultEpisodeForShow? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$getDefaultEpisodeForShow(data), - ), - onError: onError, - document: documentNodeQuerygetDefaultEpisodeForShow, - parserFn: _parserFn$Query$getDefaultEpisodeForShow, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$getDefaultEpisodeForShow(data), + ), + onError: onError, + document: documentNodeQuerygetDefaultEpisodeForShow, + parserFn: _parserFn$Query$getDefaultEpisodeForShow, + ); final OnQueryComplete$Query$getDefaultEpisodeForShow? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getDefaultEpisodeForShow @@ -18395,20 +18831,20 @@ class WatchOptions$Query$getDefaultEpisodeForShow bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetDefaultEpisodeForShow, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getDefaultEpisodeForShow, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetDefaultEpisodeForShow, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getDefaultEpisodeForShow, + ); } class FetchMoreOptions$Query$getDefaultEpisodeForShow @@ -18417,38 +18853,38 @@ class FetchMoreOptions$Query$getDefaultEpisodeForShow required graphql.UpdateQuery updateQuery, required Variables$Query$getDefaultEpisodeForShow variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetDefaultEpisodeForShow, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetDefaultEpisodeForShow, + ); } extension ClientExtension$Query$getDefaultEpisodeForShow on graphql.GraphQLClient { Future> - query$getDefaultEpisodeForShow( - Options$Query$getDefaultEpisodeForShow options) async => - await this.query(options); + query$getDefaultEpisodeForShow( + Options$Query$getDefaultEpisodeForShow options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$getDefaultEpisodeForShow( - WatchOptions$Query$getDefaultEpisodeForShow options) => - this.watchQuery(options); + watchQuery$getDefaultEpisodeForShow( + WatchOptions$Query$getDefaultEpisodeForShow options, + ) => this.watchQuery(options); void writeQuery$getDefaultEpisodeForShow({ required Query$getDefaultEpisodeForShow data, required Variables$Query$getDefaultEpisodeForShow variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQuerygetDefaultEpisodeForShow), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQuerygetDefaultEpisodeForShow, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getDefaultEpisodeForShow? readQuery$getDefaultEpisodeForShow({ required Variables$Query$getDefaultEpisodeForShow variables, @@ -18457,7 +18893,8 @@ extension ClientExtension$Query$getDefaultEpisodeForShow final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQuerygetDefaultEpisodeForShow), + document: documentNodeQuerygetDefaultEpisodeForShow, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -18469,13 +18906,13 @@ extension ClientExtension$Query$getDefaultEpisodeForShow } graphql_flutter.QueryHookResult - useQuery$getDefaultEpisodeForShow( - Options$Query$getDefaultEpisodeForShow options) => - graphql_flutter.useQuery(options); +useQuery$getDefaultEpisodeForShow( + Options$Query$getDefaultEpisodeForShow options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$getDefaultEpisodeForShow( - WatchOptions$Query$getDefaultEpisodeForShow options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$getDefaultEpisodeForShow( + WatchOptions$Query$getDefaultEpisodeForShow options, +) => graphql_flutter.useWatchQuery(options); class Query$getDefaultEpisodeForShow$Widget extends graphql_flutter.Query { @@ -18483,12 +18920,8 @@ class Query$getDefaultEpisodeForShow$Widget widgets.Key? key, required Options$Query$getDefaultEpisodeForShow options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$getDefaultEpisodeForShow$show { @@ -18498,13 +18931,15 @@ class Query$getDefaultEpisodeForShow$show { }); factory Query$getDefaultEpisodeForShow$show.fromJson( - Map json) { + Map json, + ) { final l$defaultEpisode = json['defaultEpisode']; final l$$__typename = json['__typename']; return Query$getDefaultEpisodeForShow$show( defaultEpisode: Query$getDefaultEpisodeForShow$show$defaultEpisode.fromJson( - (l$defaultEpisode as Map)), + (l$defaultEpisode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -18526,10 +18961,7 @@ class Query$getDefaultEpisodeForShow$show { int get hashCode { final l$defaultEpisode = defaultEpisode; final l$$__typename = $__typename; - return Object.hashAll([ - l$defaultEpisode, - l$$__typename, - ]); + return Object.hashAll([l$defaultEpisode, l$$__typename]); } @override @@ -18558,11 +18990,9 @@ class Query$getDefaultEpisodeForShow$show { extension UtilityExtension$Query$getDefaultEpisodeForShow$show on Query$getDefaultEpisodeForShow$show { CopyWith$Query$getDefaultEpisodeForShow$show< - Query$getDefaultEpisodeForShow$show> - get copyWith => CopyWith$Query$getDefaultEpisodeForShow$show( - this, - (i) => i, - ); + Query$getDefaultEpisodeForShow$show + > + get copyWith => CopyWith$Query$getDefaultEpisodeForShow$show(this, (i) => i); } abstract class CopyWith$Query$getDefaultEpisodeForShow$show { @@ -18579,15 +19009,12 @@ abstract class CopyWith$Query$getDefaultEpisodeForShow$show { String? $__typename, }); CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode - get defaultEpisode; + get defaultEpisode; } class _CopyWithImpl$Query$getDefaultEpisodeForShow$show implements CopyWith$Query$getDefaultEpisodeForShow$show { - _CopyWithImpl$Query$getDefaultEpisodeForShow$show( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getDefaultEpisodeForShow$show(this._instance, this._then); final Query$getDefaultEpisodeForShow$show _instance; @@ -18598,22 +19025,25 @@ class _CopyWithImpl$Query$getDefaultEpisodeForShow$show TRes call({ Object? defaultEpisode = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getDefaultEpisodeForShow$show( - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$getDefaultEpisodeForShow$show( + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$getDefaultEpisodeForShow$show$defaultEpisode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode - get defaultEpisode { + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } @@ -18626,13 +19056,11 @@ class _CopyWithStubImpl$Query$getDefaultEpisodeForShow$show call({ Query$getDefaultEpisodeForShow$show$defaultEpisode? defaultEpisode, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode - get defaultEpisode => - CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode.stub( - _res); + get defaultEpisode => + CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode.stub(_res); } class Query$getDefaultEpisodeForShow$show$defaultEpisode { @@ -18642,7 +19070,8 @@ class Query$getDefaultEpisodeForShow$show$defaultEpisode { }); factory Query$getDefaultEpisodeForShow$show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$getDefaultEpisodeForShow$show$defaultEpisode( @@ -18668,10 +19097,7 @@ class Query$getDefaultEpisodeForShow$show$defaultEpisode { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -18700,29 +19126,27 @@ class Query$getDefaultEpisodeForShow$show$defaultEpisode { extension UtilityExtension$Query$getDefaultEpisodeForShow$show$defaultEpisode on Query$getDefaultEpisodeForShow$show$defaultEpisode { CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode< - Query$getDefaultEpisodeForShow$show$defaultEpisode> - get copyWith => - CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode( - this, - (i) => i, - ); + Query$getDefaultEpisodeForShow$show$defaultEpisode + > + get copyWith => CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode( Query$getDefaultEpisodeForShow$show$defaultEpisode instance, TRes Function(Query$getDefaultEpisodeForShow$show$defaultEpisode) then, ) = _CopyWithImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode; factory CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode @@ -18739,42 +19163,37 @@ class _CopyWithImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getDefaultEpisodeForShow$show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getDefaultEpisodeForShow$show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode implements CopyWith$Query$getDefaultEpisodeForShow$show$defaultEpisode { _CopyWithStubImpl$Query$getDefaultEpisodeForShow$show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Variables$Query$getNextEpisodes { factory Variables$Query$getNextEpisodes({ required String episodeId, Input$EpisodeContext? context, - }) => - Variables$Query$getNextEpisodes._({ - r'episodeId': episodeId, - if (context != null) r'context': context, - }); + }) => Variables$Query$getNextEpisodes._({ + r'episodeId': episodeId, + if (context != null) r'context': context, + }); Variables$Query$getNextEpisodes._(this._$data); @@ -18810,10 +19229,7 @@ class Variables$Query$getNextEpisodes { } CopyWith$Variables$Query$getNextEpisodes - get copyWith => CopyWith$Variables$Query$getNextEpisodes( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$getNextEpisodes(this, (i) => i); @override bool operator ==(Object other) { @@ -18860,18 +19276,12 @@ abstract class CopyWith$Variables$Query$getNextEpisodes { factory CopyWith$Variables$Query$getNextEpisodes.stub(TRes res) = _CopyWithStubImpl$Variables$Query$getNextEpisodes; - TRes call({ - String? episodeId, - Input$EpisodeContext? context, - }); + TRes call({String? episodeId, Input$EpisodeContext? context}); } class _CopyWithImpl$Variables$Query$getNextEpisodes implements CopyWith$Variables$Query$getNextEpisodes { - _CopyWithImpl$Variables$Query$getNextEpisodes( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$getNextEpisodes(this._instance, this._then); final Variables$Query$getNextEpisodes _instance; @@ -18879,17 +19289,16 @@ class _CopyWithImpl$Variables$Query$getNextEpisodes static const _undefined = {}; - TRes call({ - Object? episodeId = _undefined, - Object? context = _undefined, - }) => - _then(Variables$Query$getNextEpisodes._({ - ..._instance._$data, - if (episodeId != _undefined && episodeId != null) - 'episodeId': (episodeId as String), - if (context != _undefined) - 'context': (context as Input$EpisodeContext?), - })); + TRes call({Object? episodeId = _undefined, Object? context = _undefined}) => + _then( + Variables$Query$getNextEpisodes._({ + ..._instance._$data, + if (episodeId != _undefined && episodeId != null) + 'episodeId': (episodeId as String), + if (context != _undefined) + 'context': (context as Input$EpisodeContext?), + }), + ); } class _CopyWithStubImpl$Variables$Query$getNextEpisodes @@ -18898,11 +19307,7 @@ class _CopyWithStubImpl$Variables$Query$getNextEpisodes TRes _res; - call({ - String? episodeId, - Input$EpisodeContext? context, - }) => - _res; + call({String? episodeId, Input$EpisodeContext? context}) => _res; } class Query$getNextEpisodes { @@ -18916,7 +19321,8 @@ class Query$getNextEpisodes { final l$$__typename = json['__typename']; return Query$getNextEpisodes( episode: Query$getNextEpisodes$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -18938,10 +19344,7 @@ class Query$getNextEpisodes { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -18968,10 +19371,7 @@ class Query$getNextEpisodes { extension UtilityExtension$Query$getNextEpisodes on Query$getNextEpisodes { CopyWith$Query$getNextEpisodes get copyWith => - CopyWith$Query$getNextEpisodes( - this, - (i) => i, - ); + CopyWith$Query$getNextEpisodes(this, (i) => i); } abstract class CopyWith$Query$getNextEpisodes { @@ -18983,19 +19383,13 @@ abstract class CopyWith$Query$getNextEpisodes { factory CopyWith$Query$getNextEpisodes.stub(TRes res) = _CopyWithStubImpl$Query$getNextEpisodes; - TRes call({ - Query$getNextEpisodes$episode? episode, - String? $__typename, - }); + TRes call({Query$getNextEpisodes$episode? episode, String? $__typename}); CopyWith$Query$getNextEpisodes$episode get episode; } class _CopyWithImpl$Query$getNextEpisodes implements CopyWith$Query$getNextEpisodes { - _CopyWithImpl$Query$getNextEpisodes( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getNextEpisodes(this._instance, this._then); final Query$getNextEpisodes _instance; @@ -19003,23 +19397,24 @@ class _CopyWithImpl$Query$getNextEpisodes static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Query$getNextEpisodes$episode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getNextEpisodes( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Query$getNextEpisodes$episode), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getNextEpisodes$episode get episode { final local$episode = _instance.episode; return CopyWith$Query$getNextEpisodes$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -19029,75 +19424,83 @@ class _CopyWithStubImpl$Query$getNextEpisodes TRes _res; - call({ - Query$getNextEpisodes$episode? episode, - String? $__typename, - }) => - _res; + call({Query$getNextEpisodes$episode? episode, String? $__typename}) => _res; CopyWith$Query$getNextEpisodes$episode get episode => CopyWith$Query$getNextEpisodes$episode.stub(_res); } -const documentNodeQuerygetNextEpisodes = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getNextEpisodes'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'episodeId')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, - ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'context')), - type: NamedTypeNode( - name: NameNode(value: 'EpisodeContext'), - isNonNull: false, +const documentNodeQuerygetNextEpisodes = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getNextEpisodes'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'episodeId')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'episodeId')), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'context')), + type: NamedTypeNode( + name: NameNode(value: 'EpisodeContext'), + isNonNull: false, ), - ArgumentNode( - name: NameNode(value: 'context'), - value: VariableNode(name: NameNode(value: 'context')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'next'), + name: NameNode(value: 'episode'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'PlayableMediaItem'), - directives: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'episodeId')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'context'), + value: VariableNode(name: NameNode(value: 'context')), ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'next'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'PlayableMediaItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -19106,23 +19509,16 @@ const documentNodeQuerygetNextEpisodes = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionPlayableMediaItem, - fragmentDefinitionBasicStream, -]); + ), + fragmentDefinitionPlayableMediaItem, + fragmentDefinitionBasicStream, + ], +); Query$getNextEpisodes _parserFn$Query$getNextEpisodes( - Map data) => - Query$getNextEpisodes.fromJson(data); + Map data, +) => Query$getNextEpisodes.fromJson(data); typedef OnQueryComplete$Query$getNextEpisodes = FutureOr Function( Map?, Query$getNextEpisodes?, @@ -19142,36 +19538,36 @@ class Options$Query$getNextEpisodes graphql.Context? context, OnQueryComplete$Query$getNextEpisodes? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$getNextEpisodes(data), - ), - onError: onError, - document: documentNodeQuerygetNextEpisodes, - parserFn: _parserFn$Query$getNextEpisodes, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$getNextEpisodes(data), + ), + onError: onError, + document: documentNodeQuerygetNextEpisodes, + parserFn: _parserFn$Query$getNextEpisodes, + ); final OnQueryComplete$Query$getNextEpisodes? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getNextEpisodes @@ -19190,20 +19586,20 @@ class WatchOptions$Query$getNextEpisodes bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetNextEpisodes, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getNextEpisodes, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetNextEpisodes, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getNextEpisodes, + ); } class FetchMoreOptions$Query$getNextEpisodes extends graphql.FetchMoreOptions { @@ -19211,35 +19607,33 @@ class FetchMoreOptions$Query$getNextEpisodes extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$getNextEpisodes variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetNextEpisodes, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetNextEpisodes, + ); } extension ClientExtension$Query$getNextEpisodes on graphql.GraphQLClient { Future> query$getNextEpisodes( - Options$Query$getNextEpisodes options) async => - await this.query(options); + Options$Query$getNextEpisodes options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$getNextEpisodes( - WatchOptions$Query$getNextEpisodes options) => - this.watchQuery(options); + WatchOptions$Query$getNextEpisodes options, + ) => this.watchQuery(options); void writeQuery$getNextEpisodes({ required Query$getNextEpisodes data, required Variables$Query$getNextEpisodes variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetNextEpisodes), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerygetNextEpisodes), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getNextEpisodes? readQuery$getNextEpisodes({ required Variables$Query$getNextEpisodes variables, @@ -19247,8 +19641,9 @@ extension ClientExtension$Query$getNextEpisodes on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetNextEpisodes), + operation: graphql.Operation( + document: documentNodeQuerygetNextEpisodes, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -19258,11 +19653,11 @@ extension ClientExtension$Query$getNextEpisodes on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$getNextEpisodes( - Options$Query$getNextEpisodes options) => - graphql_flutter.useQuery(options); + Options$Query$getNextEpisodes options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$getNextEpisodes( - WatchOptions$Query$getNextEpisodes options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$getNextEpisodes options, +) => graphql_flutter.useWatchQuery(options); class Query$getNextEpisodes$Widget extends graphql_flutter.Query { @@ -19270,11 +19665,7 @@ class Query$getNextEpisodes$Widget widgets.Key? key, required Options$Query$getNextEpisodes options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$getNextEpisodes$episode { @@ -19288,8 +19679,11 @@ class Query$getNextEpisodes$episode { final l$$__typename = json['__typename']; return Query$getNextEpisodes$episode( next: (l$next as List) - .map((e) => Query$getNextEpisodes$episode$next.fromJson( - (e as Map))) + .map( + (e) => Query$getNextEpisodes$episode$next.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -19351,10 +19745,7 @@ class Query$getNextEpisodes$episode { extension UtilityExtension$Query$getNextEpisodes$episode on Query$getNextEpisodes$episode { CopyWith$Query$getNextEpisodes$episode - get copyWith => CopyWith$Query$getNextEpisodes$episode( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$getNextEpisodes$episode(this, (i) => i); } abstract class CopyWith$Query$getNextEpisodes$episode { @@ -19371,19 +19762,20 @@ abstract class CopyWith$Query$getNextEpisodes$episode { String? $__typename, }); TRes next( - Iterable Function( - Iterable< - CopyWith$Query$getNextEpisodes$episode$next< - Query$getNextEpisodes$episode$next>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$getNextEpisodes$episode$next< + Query$getNextEpisodes$episode$next + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$getNextEpisodes$episode implements CopyWith$Query$getNextEpisodes$episode { - _CopyWithImpl$Query$getNextEpisodes$episode( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getNextEpisodes$episode(this._instance, this._then); final Query$getNextEpisodes$episode _instance; @@ -19391,31 +19783,34 @@ class _CopyWithImpl$Query$getNextEpisodes$episode static const _undefined = {}; - TRes call({ - Object? next = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode( - next: next == _undefined || next == null - ? _instance.next - : (next as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? next = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getNextEpisodes$episode( + next: next == _undefined || next == null + ? _instance.next + : (next as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes next( - Iterable Function( - Iterable< - CopyWith$Query$getNextEpisodes$episode$next< - Query$getNextEpisodes$episode$next>>) - _fn) => - call( - next: _fn(_instance.next - .map((e) => CopyWith$Query$getNextEpisodes$episode$next( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$getNextEpisodes$episode$next< + Query$getNextEpisodes$episode$next + > + >, + ) + _fn, + ) => call( + next: _fn( + _instance.next.map( + (e) => CopyWith$Query$getNextEpisodes$episode$next(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode @@ -19424,10 +19819,7 @@ class _CopyWithStubImpl$Query$getNextEpisodes$episode TRes _res; - call({ - List? next, - String? $__typename, - }) => + call({List? next, String? $__typename}) => _res; next(_fn) => _res; @@ -19450,7 +19842,8 @@ class Query$getNextEpisodes$episode$next }); factory Query$getNextEpisodes$episode$next.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$streams = json['streams']; final l$title = json['title']; @@ -19466,7 +19859,8 @@ class Query$getNextEpisodes$episode$next id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -19475,15 +19869,20 @@ class Query$getNextEpisodes$episode$next context: l$context == null ? null : Query$getNextEpisodes$episode$next$context.fromJson( - (l$context as Map)), + (l$context as Map), + ), duration: (l$duration as int), season: l$season == null ? null : Query$getNextEpisodes$episode$next$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), contributors: (l$contributors as List) - .map((e) => Query$getNextEpisodes$episode$next$contributors.fromJson( - (e as Map))) + .map( + (e) => Query$getNextEpisodes$episode$next$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -19532,8 +19931,9 @@ class Query$getNextEpisodes$episode$next final l$season = season; _resultData['season'] = l$season?.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; @@ -19652,11 +20052,9 @@ class Query$getNextEpisodes$episode$next extension UtilityExtension$Query$getNextEpisodes$episode$next on Query$getNextEpisodes$episode$next { CopyWith$Query$getNextEpisodes$episode$next< - Query$getNextEpisodes$episode$next> - get copyWith => CopyWith$Query$getNextEpisodes$episode$next( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next + > + get copyWith => CopyWith$Query$getNextEpisodes$episode$next(this, (i) => i); } abstract class CopyWith$Query$getNextEpisodes$episode$next { @@ -19682,25 +20080,28 @@ abstract class CopyWith$Query$getNextEpisodes$episode$next { String? $__typename, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); CopyWith$Query$getNextEpisodes$episode$next$context get context; CopyWith$Query$getNextEpisodes$episode$next$season get season; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$getNextEpisodes$episode$next$contributors< - Query$getNextEpisodes$episode$next$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$getNextEpisodes$episode$next$contributors< + Query$getNextEpisodes$episode$next$contributors + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$getNextEpisodes$episode$next implements CopyWith$Query$getNextEpisodes$episode$next { - _CopyWithImpl$Query$getNextEpisodes$episode$next( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getNextEpisodes$episode$next(this._instance, this._then); final Query$getNextEpisodes$episode$next _instance; @@ -19720,81 +20121,95 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next Object? season = _undefined, Object? contributors = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode$next( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - context: context == _undefined - ? _instance.context - : (context as Query$getNextEpisodes$episode$next$context?), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - season: season == _undefined - ? _instance.season - : (season as Query$getNextEpisodes$episode$next$season?), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors + }) => _then( + Query$getNextEpisodes$episode$next( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + context: context == _undefined + ? _instance.context + : (context as Query$getNextEpisodes$episode$next$context?), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + season: season == _undefined + ? _instance.season + : (season as Query$getNextEpisodes$episode$next$season?), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); CopyWith$Query$getNextEpisodes$episode$next$context get context { final local$context = _instance.context; return local$context == null ? CopyWith$Query$getNextEpisodes$episode$next$context.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$getNextEpisodes$episode$next$context( - local$context, (e) => call(context: e)); + local$context, + (e) => call(context: e), + ); } CopyWith$Query$getNextEpisodes$episode$next$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Query$getNextEpisodes$episode$next$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$getNextEpisodes$episode$next$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$getNextEpisodes$episode$next$contributors< - Query$getNextEpisodes$episode$next$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map( - (e) => CopyWith$Query$getNextEpisodes$episode$next$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$getNextEpisodes$episode$next$contributors< + Query$getNextEpisodes$episode$next$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Query$getNextEpisodes$episode$next$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next @@ -19815,8 +20230,7 @@ class _CopyWithStubImpl$Query$getNextEpisodes$episode$next Query$getNextEpisodes$episode$next$season? season, List? contributors, String? $__typename, - }) => - _res; + }) => _res; streams(_fn) => _res; @@ -19834,24 +20248,29 @@ class Query$getNextEpisodes$episode$next$context Query$getNextEpisodes$episode$next$context({required this.$__typename}); factory Query$getNextEpisodes$episode$next$context.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "ContextCollection": - return Query$getNextEpisodes$episode$next$context$$ContextCollection - .fromJson(json); + return Query$getNextEpisodes$episode$next$context$$ContextCollection.fromJson( + json, + ); case "Season": return Query$getNextEpisodes$episode$next$context$$Season.fromJson( - json); + json, + ); case "Playlist": return Query$getNextEpisodes$episode$next$context$$Playlist.fromJson( - json); + json, + ); default: final l$$__typename = json['__typename']; return Query$getNextEpisodes$episode$next$context( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -19891,34 +20310,37 @@ class Query$getNextEpisodes$episode$next$context extension UtilityExtension$Query$getNextEpisodes$episode$next$context on Query$getNextEpisodes$episode$next$context { CopyWith$Query$getNextEpisodes$episode$next$context< - Query$getNextEpisodes$episode$next$context> - get copyWith => CopyWith$Query$getNextEpisodes$episode$next$context( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$context + > + get copyWith => + CopyWith$Query$getNextEpisodes$episode$next$context(this, (i) => i); _T when<_T>({ required _T Function( - Query$getNextEpisodes$episode$next$context$$ContextCollection) - contextCollection, + Query$getNextEpisodes$episode$next$context$$ContextCollection, + ) + contextCollection, required _T Function(Query$getNextEpisodes$episode$next$context$$Season) - season, + season, required _T Function(Query$getNextEpisodes$episode$next$context$$Playlist) - playlist, + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": - return contextCollection(this - as Query$getNextEpisodes$episode$next$context$$ContextCollection); + return contextCollection( + this as Query$getNextEpisodes$episode$next$context$$ContextCollection, + ); case "Season": return season( - this as Query$getNextEpisodes$episode$next$context$$Season); + this as Query$getNextEpisodes$episode$next$context$$Season, + ); case "Playlist": return playlist( - this as Query$getNextEpisodes$episode$next$context$$Playlist); + this as Query$getNextEpisodes$episode$next$context$$Playlist, + ); default: return orElse(); @@ -19927,7 +20349,7 @@ extension UtilityExtension$Query$getNextEpisodes$episode$next$context _T maybeWhen<_T>({ _T Function(Query$getNextEpisodes$episode$next$context$$ContextCollection)? - contextCollection, + contextCollection, _T Function(Query$getNextEpisodes$episode$next$context$$Season)? season, _T Function(Query$getNextEpisodes$episode$next$context$$Playlist)? playlist, required _T Function() orElse, @@ -19935,8 +20357,10 @@ extension UtilityExtension$Query$getNextEpisodes$episode$next$context switch ($__typename) { case "ContextCollection": if (contextCollection != null) { - return contextCollection(this - as Query$getNextEpisodes$episode$next$context$$ContextCollection); + return contextCollection( + this + as Query$getNextEpisodes$episode$next$context$$ContextCollection, + ); } else { return orElse(); } @@ -19944,7 +20368,8 @@ extension UtilityExtension$Query$getNextEpisodes$episode$next$context case "Season": if (season != null) { return season( - this as Query$getNextEpisodes$episode$next$context$$Season); + this as Query$getNextEpisodes$episode$next$context$$Season, + ); } else { return orElse(); } @@ -19952,7 +20377,8 @@ extension UtilityExtension$Query$getNextEpisodes$episode$next$context case "Playlist": if (playlist != null) { return playlist( - this as Query$getNextEpisodes$episode$next$context$$Playlist); + this as Query$getNextEpisodes$episode$next$context$$Playlist, + ); } else { return orElse(); } @@ -19988,11 +20414,13 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$context static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$getNextEpisodes$episode$next$context( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$getNextEpisodes$episode$next$context( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context @@ -20014,7 +20442,8 @@ class Query$getNextEpisodes$episode$next$context$$ContextCollection }); factory Query$getNextEpisodes$episode$next$context$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$getNextEpisodes$episode$next$context$$ContextCollection( @@ -20040,10 +20469,7 @@ class Query$getNextEpisodes$episode$next$context$$ContextCollection int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -20073,37 +20499,38 @@ class Query$getNextEpisodes$episode$next$context$$ContextCollection extension UtilityExtension$Query$getNextEpisodes$episode$next$context$$ContextCollection on Query$getNextEpisodes$episode$next$context$$ContextCollection { CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection< - Query$getNextEpisodes$episode$next$context$$ContextCollection> - get copyWith => - CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$context$$ContextCollection + > + get copyWith => + CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection( + this, + (i) => i, + ); } abstract class CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection< - TRes> { + TRes +> { factory CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection( Query$getNextEpisodes$episode$next$context$$ContextCollection instance, TRes Function(Query$getNextEpisodes$episode$next$context$$ContextCollection) - then, + then, ) = _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection; factory CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection.stub( - TRes res) = - _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection; + TRes res, + ) = _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection( this._instance, this._then, @@ -20112,51 +20539,54 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$ContextCollectio final Query$getNextEpisodes$episode$next$context$$ContextCollection _instance; final TRes Function( - Query$getNextEpisodes$episode$next$context$$ContextCollection) _then; + Query$getNextEpisodes$episode$next$context$$ContextCollection, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode$next$context$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getNextEpisodes$episode$next$context$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$getNextEpisodes$episode$next$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$ContextCollection( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$getNextEpisodes$episode$next$context$$Season implements Fragment$PlayableMediaItem$$Episode$context$$Season, Query$getNextEpisodes$episode$next$context { - Query$getNextEpisodes$episode$next$context$$Season( - {this.$__typename = 'Season'}); + Query$getNextEpisodes$episode$next$context$$Season({ + this.$__typename = 'Season', + }); factory Query$getNextEpisodes$episode$next$context$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$getNextEpisodes$episode$next$context$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -20195,24 +20625,25 @@ class Query$getNextEpisodes$episode$next$context$$Season extension UtilityExtension$Query$getNextEpisodes$episode$next$context$$Season on Query$getNextEpisodes$episode$next$context$$Season { CopyWith$Query$getNextEpisodes$episode$next$context$$Season< - Query$getNextEpisodes$episode$next$context$$Season> - get copyWith => - CopyWith$Query$getNextEpisodes$episode$next$context$$Season( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$context$$Season + > + get copyWith => CopyWith$Query$getNextEpisodes$episode$next$context$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$getNextEpisodes$episode$next$context$$Season< - TRes> { + TRes +> { factory CopyWith$Query$getNextEpisodes$episode$next$context$$Season( Query$getNextEpisodes$episode$next$context$$Season instance, TRes Function(Query$getNextEpisodes$episode$next$context$$Season) then, ) = _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$Season; factory CopyWith$Query$getNextEpisodes$episode$next$context$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Season; TRes call({String? $__typename}); } @@ -20231,18 +20662,21 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$Season static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$getNextEpisodes$episode$next$context$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$getNextEpisodes$episode$next$context$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Season implements CopyWith$Query$getNextEpisodes$episode$next$context$$Season { _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Season( - this._res); + this._res, + ); TRes _res; @@ -20253,14 +20687,17 @@ class Query$getNextEpisodes$episode$next$context$$Playlist implements Fragment$PlayableMediaItem$$Episode$context$$Playlist, Query$getNextEpisodes$episode$next$context { - Query$getNextEpisodes$episode$next$context$$Playlist( - {this.$__typename = 'Playlist'}); + Query$getNextEpisodes$episode$next$context$$Playlist({ + this.$__typename = 'Playlist', + }); factory Query$getNextEpisodes$episode$next$context$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$getNextEpisodes$episode$next$context$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -20299,24 +20736,25 @@ class Query$getNextEpisodes$episode$next$context$$Playlist extension UtilityExtension$Query$getNextEpisodes$episode$next$context$$Playlist on Query$getNextEpisodes$episode$next$context$$Playlist { CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist< - Query$getNextEpisodes$episode$next$context$$Playlist> - get copyWith => - CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$context$$Playlist + > + get copyWith => CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist( Query$getNextEpisodes$episode$next$context$$Playlist instance, TRes Function(Query$getNextEpisodes$episode$next$context$$Playlist) then, ) = _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$Playlist; factory CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Playlist; TRes call({String? $__typename}); } @@ -20332,23 +20770,27 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$context$$Playlist final Query$getNextEpisodes$episode$next$context$$Playlist _instance; final TRes Function(Query$getNextEpisodes$episode$next$context$$Playlist) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$getNextEpisodes$episode$next$context$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$getNextEpisodes$episode$next$context$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Playlist< - TRes> + TRes +> implements CopyWith$Query$getNextEpisodes$episode$next$context$$Playlist { _CopyWithStubImpl$Query$getNextEpisodes$episode$next$context$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -20365,7 +20807,8 @@ class Query$getNextEpisodes$episode$next$season }); factory Query$getNextEpisodes$episode$next$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -20374,7 +20817,8 @@ class Query$getNextEpisodes$episode$next$season id: (l$id as String), title: (l$title as String), $show: Query$getNextEpisodes$episode$next$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -20406,12 +20850,7 @@ class Query$getNextEpisodes$episode$next$season final l$title = title; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename]); } @override @@ -20450,11 +20889,10 @@ class Query$getNextEpisodes$episode$next$season extension UtilityExtension$Query$getNextEpisodes$episode$next$season on Query$getNextEpisodes$episode$next$season { CopyWith$Query$getNextEpisodes$episode$next$season< - Query$getNextEpisodes$episode$next$season> - get copyWith => CopyWith$Query$getNextEpisodes$episode$next$season( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$season + > + get copyWith => + CopyWith$Query$getNextEpisodes$episode$next$season(this, (i) => i); } abstract class CopyWith$Query$getNextEpisodes$episode$next$season { @@ -20493,24 +20931,27 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$season Object? title = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode$next$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$getNextEpisodes$episode$next$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getNextEpisodes$episode$next$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$getNextEpisodes$episode$next$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getNextEpisodes$episode$next$season$show get $show { final local$$show = _instance.$show; return CopyWith$Query$getNextEpisodes$episode$next$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -20525,8 +20966,7 @@ class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$season String? title, Query$getNextEpisodes$episode$next$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$getNextEpisodes$episode$next$season$show get $show => CopyWith$Query$getNextEpisodes$episode$next$season$show.stub(_res); @@ -20541,7 +20981,8 @@ class Query$getNextEpisodes$episode$next$season$show }); factory Query$getNextEpisodes$episode$next$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -20574,11 +21015,7 @@ class Query$getNextEpisodes$episode$next$season$show final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -20612,11 +21049,10 @@ class Query$getNextEpisodes$episode$next$season$show extension UtilityExtension$Query$getNextEpisodes$episode$next$season$show on Query$getNextEpisodes$episode$next$season$show { CopyWith$Query$getNextEpisodes$episode$next$season$show< - Query$getNextEpisodes$episode$next$season$show> - get copyWith => CopyWith$Query$getNextEpisodes$episode$next$season$show( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$season$show + > + get copyWith => + CopyWith$Query$getNextEpisodes$episode$next$season$show(this, (i) => i); } abstract class CopyWith$Query$getNextEpisodes$episode$next$season$show { @@ -20626,14 +21062,10 @@ abstract class CopyWith$Query$getNextEpisodes$episode$next$season$show { ) = _CopyWithImpl$Query$getNextEpisodes$episode$next$season$show; factory CopyWith$Query$getNextEpisodes$episode$next$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$getNextEpisodes$episode$next$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$getNextEpisodes$episode$next$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$getNextEpisodes$episode$next$season$show @@ -20653,16 +21085,17 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$season$show Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode$next$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getNextEpisodes$episode$next$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$season$show @@ -20671,12 +21104,7 @@ class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$season$show TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$getNextEpisodes$episode$next$contributors @@ -20688,7 +21116,8 @@ class Query$getNextEpisodes$episode$next$contributors }); factory Query$getNextEpisodes$episode$next$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -20697,7 +21126,8 @@ class Query$getNextEpisodes$episode$next$contributors .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), person: Query$getNextEpisodes$episode$next$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -20771,11 +21201,10 @@ class Query$getNextEpisodes$episode$next$contributors extension UtilityExtension$Query$getNextEpisodes$episode$next$contributors on Query$getNextEpisodes$episode$next$contributors { CopyWith$Query$getNextEpisodes$episode$next$contributors< - Query$getNextEpisodes$episode$next$contributors> - get copyWith => CopyWith$Query$getNextEpisodes$episode$next$contributors( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$contributors + > + get copyWith => + CopyWith$Query$getNextEpisodes$episode$next$contributors(this, (i) => i); } abstract class CopyWith$Query$getNextEpisodes$episode$next$contributors { @@ -20785,8 +21214,8 @@ abstract class CopyWith$Query$getNextEpisodes$episode$next$contributors { ) = _CopyWithImpl$Query$getNextEpisodes$episode$next$contributors; factory CopyWith$Query$getNextEpisodes$episode$next$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors; TRes call({ List? contributionTypes, @@ -20794,7 +21223,7 @@ abstract class CopyWith$Query$getNextEpisodes$episode$next$contributors { String? $__typename, }); CopyWith$Query$getNextEpisodes$episode$next$contributors$person - get person; + get person; } class _CopyWithImpl$Query$getNextEpisodes$episode$next$contributors @@ -20814,26 +21243,28 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode$next$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person - as Query$getNextEpisodes$episode$next$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getNextEpisodes$episode$next$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Query$getNextEpisodes$episode$next$contributors$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getNextEpisodes$episode$next$contributors$person - get person { + get person { final local$person = _instance.person; return CopyWith$Query$getNextEpisodes$episode$next$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -20847,13 +21278,13 @@ class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors List? contributionTypes, Query$getNextEpisodes$episode$next$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$getNextEpisodes$episode$next$contributors$person - get person => - CopyWith$Query$getNextEpisodes$episode$next$contributors$person.stub( - _res); + get person => + CopyWith$Query$getNextEpisodes$episode$next$contributors$person.stub( + _res, + ); } class Query$getNextEpisodes$episode$next$contributors$person @@ -20864,7 +21295,8 @@ class Query$getNextEpisodes$episode$next$contributors$person }); factory Query$getNextEpisodes$episode$next$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$getNextEpisodes$episode$next$contributors$person( @@ -20890,10 +21322,7 @@ class Query$getNextEpisodes$episode$next$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -20922,29 +21351,28 @@ class Query$getNextEpisodes$episode$next$contributors$person extension UtilityExtension$Query$getNextEpisodes$episode$next$contributors$person on Query$getNextEpisodes$episode$next$contributors$person { CopyWith$Query$getNextEpisodes$episode$next$contributors$person< - Query$getNextEpisodes$episode$next$contributors$person> - get copyWith => - CopyWith$Query$getNextEpisodes$episode$next$contributors$person( - this, - (i) => i, - ); + Query$getNextEpisodes$episode$next$contributors$person + > + get copyWith => + CopyWith$Query$getNextEpisodes$episode$next$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$getNextEpisodes$episode$next$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$getNextEpisodes$episode$next$contributors$person( Query$getNextEpisodes$episode$next$contributors$person instance, TRes Function(Query$getNextEpisodes$episode$next$contributors$person) then, ) = _CopyWithImpl$Query$getNextEpisodes$episode$next$contributors$person; factory CopyWith$Query$getNextEpisodes$episode$next$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$getNextEpisodes$episode$next$contributors$person @@ -20958,50 +21386,46 @@ class _CopyWithImpl$Query$getNextEpisodes$episode$next$contributors$person final Query$getNextEpisodes$episode$next$contributors$person _instance; final TRes Function(Query$getNextEpisodes$episode$next$contributors$person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getNextEpisodes$episode$next$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getNextEpisodes$episode$next$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors$person< - TRes> + TRes +> implements CopyWith$Query$getNextEpisodes$episode$next$contributors$person { _CopyWithStubImpl$Query$getNextEpisodes$episode$next$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Variables$Query$getEpisodeAvailability { factory Variables$Query$getEpisodeAvailability({required String episodeId}) => - Variables$Query$getEpisodeAvailability._({ - r'episodeId': episodeId, - }); + Variables$Query$getEpisodeAvailability._({r'episodeId': episodeId}); Variables$Query$getEpisodeAvailability._(this._$data); factory Variables$Query$getEpisodeAvailability.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$episodeId = data['episodeId']; result$data['episodeId'] = (l$episodeId as String); @@ -21020,11 +21444,10 @@ class Variables$Query$getEpisodeAvailability { } CopyWith$Variables$Query$getEpisodeAvailability< - Variables$Query$getEpisodeAvailability> - get copyWith => CopyWith$Variables$Query$getEpisodeAvailability( - this, - (i) => i, - ); + Variables$Query$getEpisodeAvailability + > + get copyWith => + CopyWith$Variables$Query$getEpisodeAvailability(this, (i) => i); @override bool operator ==(Object other) { @@ -21075,12 +21498,13 @@ class _CopyWithImpl$Variables$Query$getEpisodeAvailability static const _undefined = {}; - TRes call({Object? episodeId = _undefined}) => - _then(Variables$Query$getEpisodeAvailability._({ - ..._instance._$data, - if (episodeId != _undefined && episodeId != null) - 'episodeId': (episodeId as String), - })); + TRes call({Object? episodeId = _undefined}) => _then( + Variables$Query$getEpisodeAvailability._({ + ..._instance._$data, + if (episodeId != _undefined && episodeId != null) + 'episodeId': (episodeId as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$getEpisodeAvailability @@ -21103,7 +21527,8 @@ class Query$getEpisodeAvailability { final l$$__typename = json['__typename']; return Query$getEpisodeAvailability( episode: Fragment$EpisodeAvailability.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -21125,10 +21550,7 @@ class Query$getEpisodeAvailability { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -21157,10 +21579,7 @@ class Query$getEpisodeAvailability { extension UtilityExtension$Query$getEpisodeAvailability on Query$getEpisodeAvailability { CopyWith$Query$getEpisodeAvailability - get copyWith => CopyWith$Query$getEpisodeAvailability( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$getEpisodeAvailability(this, (i) => i); } abstract class CopyWith$Query$getEpisodeAvailability { @@ -21172,19 +21591,13 @@ abstract class CopyWith$Query$getEpisodeAvailability { factory CopyWith$Query$getEpisodeAvailability.stub(TRes res) = _CopyWithStubImpl$Query$getEpisodeAvailability; - TRes call({ - Fragment$EpisodeAvailability? episode, - String? $__typename, - }); + TRes call({Fragment$EpisodeAvailability? episode, String? $__typename}); CopyWith$Fragment$EpisodeAvailability get episode; } class _CopyWithImpl$Query$getEpisodeAvailability implements CopyWith$Query$getEpisodeAvailability { - _CopyWithImpl$Query$getEpisodeAvailability( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getEpisodeAvailability(this._instance, this._then); final Query$getEpisodeAvailability _instance; @@ -21192,23 +21605,24 @@ class _CopyWithImpl$Query$getEpisodeAvailability static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getEpisodeAvailability( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Fragment$EpisodeAvailability), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getEpisodeAvailability( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Fragment$EpisodeAvailability), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeAvailability get episode { final local$episode = _instance.episode; return CopyWith$Fragment$EpisodeAvailability( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -21218,47 +21632,53 @@ class _CopyWithStubImpl$Query$getEpisodeAvailability TRes _res; - call({ - Fragment$EpisodeAvailability? episode, - String? $__typename, - }) => - _res; + call({Fragment$EpisodeAvailability? episode, String? $__typename}) => _res; CopyWith$Fragment$EpisodeAvailability get episode => CopyWith$Fragment$EpisodeAvailability.stub(_res); } -const documentNodeQuerygetEpisodeAvailability = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getEpisodeAvailability'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'episodeId')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQuerygetEpisodeAvailability = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getEpisodeAvailability'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'episodeId')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'episodeId')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeAvailability'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'episode'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'episodeId')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeAvailability'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -21267,22 +21687,15 @@ const documentNodeQuerygetEpisodeAvailability = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionEpisodeAvailability, -]); + ), + fragmentDefinitionEpisodeAvailability, + ], +); Query$getEpisodeAvailability _parserFn$Query$getEpisodeAvailability( - Map data) => - Query$getEpisodeAvailability.fromJson(data); + Map data, +) => Query$getEpisodeAvailability.fromJson(data); typedef OnQueryComplete$Query$getEpisodeAvailability = FutureOr Function( Map?, Query$getEpisodeAvailability?, @@ -21302,38 +21715,38 @@ class Options$Query$getEpisodeAvailability graphql.Context? context, OnQueryComplete$Query$getEpisodeAvailability? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$getEpisodeAvailability(data), - ), - onError: onError, - document: documentNodeQuerygetEpisodeAvailability, - parserFn: _parserFn$Query$getEpisodeAvailability, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$getEpisodeAvailability(data), + ), + onError: onError, + document: documentNodeQuerygetEpisodeAvailability, + parserFn: _parserFn$Query$getEpisodeAvailability, + ); final OnQueryComplete$Query$getEpisodeAvailability? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getEpisodeAvailability @@ -21352,20 +21765,20 @@ class WatchOptions$Query$getEpisodeAvailability bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetEpisodeAvailability, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getEpisodeAvailability, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetEpisodeAvailability, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getEpisodeAvailability, + ); } class FetchMoreOptions$Query$getEpisodeAvailability @@ -21374,38 +21787,38 @@ class FetchMoreOptions$Query$getEpisodeAvailability required graphql.UpdateQuery updateQuery, required Variables$Query$getEpisodeAvailability variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetEpisodeAvailability, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetEpisodeAvailability, + ); } extension ClientExtension$Query$getEpisodeAvailability on graphql.GraphQLClient { Future> - query$getEpisodeAvailability( - Options$Query$getEpisodeAvailability options) async => - await this.query(options); + query$getEpisodeAvailability( + Options$Query$getEpisodeAvailability options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$getEpisodeAvailability( - WatchOptions$Query$getEpisodeAvailability options) => - this.watchQuery(options); + watchQuery$getEpisodeAvailability( + WatchOptions$Query$getEpisodeAvailability options, + ) => this.watchQuery(options); void writeQuery$getEpisodeAvailability({ required Query$getEpisodeAvailability data, required Variables$Query$getEpisodeAvailability variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQuerygetEpisodeAvailability), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQuerygetEpisodeAvailability, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getEpisodeAvailability? readQuery$getEpisodeAvailability({ required Variables$Query$getEpisodeAvailability variables, @@ -21414,7 +21827,8 @@ extension ClientExtension$Query$getEpisodeAvailability final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQuerygetEpisodeAvailability), + document: documentNodeQuerygetEpisodeAvailability, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -21426,13 +21840,12 @@ extension ClientExtension$Query$getEpisodeAvailability } graphql_flutter.QueryHookResult - useQuery$getEpisodeAvailability( - Options$Query$getEpisodeAvailability options) => - graphql_flutter.useQuery(options); +useQuery$getEpisodeAvailability(Options$Query$getEpisodeAvailability options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$getEpisodeAvailability( - WatchOptions$Query$getEpisodeAvailability options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$getEpisodeAvailability( + WatchOptions$Query$getEpisodeAvailability options, +) => graphql_flutter.useWatchQuery(options); class Query$getEpisodeAvailability$Widget extends graphql_flutter.Query { @@ -21440,9 +21853,5 @@ class Query$getEpisodeAvailability$Widget widgets.Key? key, required Options$Query$getEpisodeAvailability options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } diff --git a/bccm_core/lib/src/features/graphql/queries/faq.graphql.dart b/bccm_core/lib/src/features/graphql/queries/faq.graphql.dart index 0a49f84..fb2e330 100644 --- a/bccm_core/lib/src/features/graphql/queries/faq.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/faq.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -44,11 +45,7 @@ class Fragment$Question { final l$question = question; final l$answer = answer; final l$$__typename = $__typename; - return Object.hashAll([ - l$question, - l$answer, - l$$__typename, - ]); + return Object.hashAll([l$question, l$answer, l$$__typename]); } @override @@ -80,10 +77,7 @@ class Fragment$Question { extension UtilityExtension$Fragment$Question on Fragment$Question { CopyWith$Fragment$Question get copyWith => - CopyWith$Fragment$Question( - this, - (i) => i, - ); + CopyWith$Fragment$Question(this, (i) => i); } abstract class CopyWith$Fragment$Question { @@ -95,19 +89,12 @@ abstract class CopyWith$Fragment$Question { factory CopyWith$Fragment$Question.stub(TRes res) = _CopyWithStubImpl$Fragment$Question; - TRes call({ - String? question, - String? answer, - String? $__typename, - }); + TRes call({String? question, String? answer, String? $__typename}); } class _CopyWithImpl$Fragment$Question implements CopyWith$Fragment$Question { - _CopyWithImpl$Fragment$Question( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Question(this._instance, this._then); final Fragment$Question _instance; @@ -119,18 +106,19 @@ class _CopyWithImpl$Fragment$Question Object? question = _undefined, Object? answer = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Question( - question: question == _undefined || question == null - ? _instance.question - : (question as String), - answer: answer == _undefined || answer == null - ? _instance.answer - : (answer as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Question( + question: question == _undefined || question == null + ? _instance.question + : (question as String), + answer: answer == _undefined || answer == null + ? _instance.answer + : (answer as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Question @@ -139,67 +127,61 @@ class _CopyWithStubImpl$Fragment$Question TRes _res; - call({ - String? question, - String? answer, - String? $__typename, - }) => - _res; + call({String? question, String? answer, String? $__typename}) => _res; } const fragmentDefinitionQuestion = FragmentDefinitionNode( name: NameNode(value: 'Question'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Question'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Question'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'question'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'answer'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'question'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'answer'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentQuestion = DocumentNode( + definitions: [fragmentDefinitionQuestion], ); -const documentNodeFragmentQuestion = DocumentNode(definitions: [ - fragmentDefinitionQuestion, -]); extension ClientExtension$Fragment$Question on graphql.GraphQLClient { void writeFragment$Question({ required Fragment$Question data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Question', - document: documentNodeFragmentQuestion, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Question', + document: documentNodeFragmentQuestion, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Question? readFragment$Question({ required Map idFields, @@ -235,7 +217,8 @@ class Fragment$FAQCategory { questions: l$questions == null ? null : Fragment$FAQCategory$questions.fromJson( - (l$questions as Map)), + (l$questions as Map), + ), $__typename: (l$$__typename as String), ); } @@ -262,11 +245,7 @@ class Fragment$FAQCategory { final l$title = title; final l$questions = questions; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$questions, - l$$__typename, - ]); + return Object.hashAll([l$title, l$questions, l$$__typename]); } @override @@ -298,10 +277,7 @@ class Fragment$FAQCategory { extension UtilityExtension$Fragment$FAQCategory on Fragment$FAQCategory { CopyWith$Fragment$FAQCategory get copyWith => - CopyWith$Fragment$FAQCategory( - this, - (i) => i, - ); + CopyWith$Fragment$FAQCategory(this, (i) => i); } abstract class CopyWith$Fragment$FAQCategory { @@ -323,10 +299,7 @@ abstract class CopyWith$Fragment$FAQCategory { class _CopyWithImpl$Fragment$FAQCategory implements CopyWith$Fragment$FAQCategory { - _CopyWithImpl$Fragment$FAQCategory( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$FAQCategory(this._instance, this._then); final Fragment$FAQCategory _instance; @@ -338,25 +311,28 @@ class _CopyWithImpl$Fragment$FAQCategory Object? title = _undefined, Object? questions = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$FAQCategory( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - questions: questions == _undefined - ? _instance.questions - : (questions as Fragment$FAQCategory$questions?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$FAQCategory( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + questions: questions == _undefined + ? _instance.questions + : (questions as Fragment$FAQCategory$questions?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$FAQCategory$questions get questions { final local$questions = _instance.questions; return local$questions == null ? CopyWith$Fragment$FAQCategory$questions.stub(_then(_instance)) : CopyWith$Fragment$FAQCategory$questions( - local$questions, (e) => call(questions: e)); + local$questions, + (e) => call(questions: e), + ); } } @@ -370,8 +346,7 @@ class _CopyWithStubImpl$Fragment$FAQCategory String? title, Fragment$FAQCategory$questions? questions, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$FAQCategory$questions get questions => CopyWith$Fragment$FAQCategory$questions.stub(_res); @@ -380,34 +355,45 @@ class _CopyWithStubImpl$Fragment$FAQCategory const fragmentDefinitionFAQCategory = FragmentDefinitionNode( name: NameNode(value: 'FAQCategory'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'FAQCategory'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'FAQCategory'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'questions'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Question'), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'questions'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Question'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -416,48 +402,39 @@ const fragmentDefinitionFAQCategory = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentFAQCategory = DocumentNode( + definitions: [fragmentDefinitionFAQCategory, fragmentDefinitionQuestion], ); -const documentNodeFragmentFAQCategory = DocumentNode(definitions: [ - fragmentDefinitionFAQCategory, - fragmentDefinitionQuestion, -]); extension ClientExtension$Fragment$FAQCategory on graphql.GraphQLClient { void writeFragment$FAQCategory({ required Fragment$FAQCategory data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'FAQCategory', - document: documentNodeFragmentFAQCategory, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'FAQCategory', + document: documentNodeFragmentFAQCategory, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$FAQCategory? readFragment$FAQCategory({ required Map idFields, @@ -550,10 +527,7 @@ class Fragment$FAQCategory$questions { extension UtilityExtension$Fragment$FAQCategory$questions on Fragment$FAQCategory$questions { CopyWith$Fragment$FAQCategory$questions - get copyWith => CopyWith$Fragment$FAQCategory$questions( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$FAQCategory$questions(this, (i) => i); } abstract class CopyWith$Fragment$FAQCategory$questions { @@ -565,22 +539,18 @@ abstract class CopyWith$Fragment$FAQCategory$questions { factory CopyWith$Fragment$FAQCategory$questions.stub(TRes res) = _CopyWithStubImpl$Fragment$FAQCategory$questions; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$FAQCategory$questions implements CopyWith$Fragment$FAQCategory$questions { - _CopyWithImpl$Fragment$FAQCategory$questions( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$FAQCategory$questions(this._instance, this._then); final Fragment$FAQCategory$questions _instance; @@ -588,28 +558,28 @@ class _CopyWithImpl$Fragment$FAQCategory$questions static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$FAQCategory$questions( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$FAQCategory$questions( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$Question( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$Question(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$FAQCategory$questions @@ -618,20 +588,13 @@ class _CopyWithStubImpl$Fragment$FAQCategory$questions TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } class Query$FAQ { - Query$FAQ({ - required this.faq, - this.$__typename = 'QueryRoot', - }); + Query$FAQ({required this.faq, this.$__typename = 'QueryRoot'}); factory Query$FAQ.fromJson(Map json) { final l$faq = json['faq']; @@ -659,10 +622,7 @@ class Query$FAQ { int get hashCode { final l$faq = faq; final l$$__typename = $__typename; - return Object.hashAll([ - l$faq, - l$$__typename, - ]); + return Object.hashAll([l$faq, l$$__typename]); } @override @@ -688,10 +648,8 @@ class Query$FAQ { } extension UtilityExtension$Query$FAQ on Query$FAQ { - CopyWith$Query$FAQ get copyWith => CopyWith$Query$FAQ( - this, - (i) => i, - ); + CopyWith$Query$FAQ get copyWith => + CopyWith$Query$FAQ(this, (i) => i); } abstract class CopyWith$Query$FAQ { @@ -702,18 +660,12 @@ abstract class CopyWith$Query$FAQ { factory CopyWith$Query$FAQ.stub(TRes res) = _CopyWithStubImpl$Query$FAQ; - TRes call({ - Query$FAQ$faq? faq, - String? $__typename, - }); + TRes call({Query$FAQ$faq? faq, String? $__typename}); CopyWith$Query$FAQ$faq get faq; } class _CopyWithImpl$Query$FAQ implements CopyWith$Query$FAQ { - _CopyWithImpl$Query$FAQ( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FAQ(this._instance, this._then); final Query$FAQ _instance; @@ -721,18 +673,17 @@ class _CopyWithImpl$Query$FAQ implements CopyWith$Query$FAQ { static const _undefined = {}; - TRes call({ - Object? faq = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FAQ( - faq: faq == _undefined || faq == null - ? _instance.faq - : (faq as Query$FAQ$faq), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? faq = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FAQ( + faq: faq == _undefined || faq == null + ? _instance.faq + : (faq as Query$FAQ$faq), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FAQ$faq get faq { final local$faq = _instance.faq; @@ -745,61 +696,74 @@ class _CopyWithStubImpl$Query$FAQ implements CopyWith$Query$FAQ { TRes _res; - call({ - Query$FAQ$faq? faq, - String? $__typename, - }) => - _res; + call({Query$FAQ$faq? faq, String? $__typename}) => _res; CopyWith$Query$FAQ$faq get faq => CopyWith$Query$FAQ$faq.stub(_res); } -const documentNodeQueryFAQ = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'FAQ'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'faq'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ +const documentNodeQueryFAQ = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'FAQ'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'categories'), + name: NameNode(value: 'faq'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'FAQCategory'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'categories'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'FAQCategory'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -808,20 +772,13 @@ const documentNodeQueryFAQ = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionFAQCategory, - fragmentDefinitionQuestion, -]); + ), + fragmentDefinitionFAQCategory, + fragmentDefinitionQuestion, + ], +); Query$FAQ _parserFn$Query$FAQ(Map data) => Query$FAQ.fromJson(data); typedef OnQueryComplete$Query$FAQ = FutureOr Function( @@ -841,35 +798,35 @@ class Options$Query$FAQ extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$FAQ? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$FAQ(data), - ), - onError: onError, - document: documentNodeQueryFAQ, - parserFn: _parserFn$Query$FAQ, - ); + }) : onCompleteWithParsed = onComplete, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$FAQ(data), + ), + onError: onError, + document: documentNodeQueryFAQ, + parserFn: _parserFn$Query$FAQ, + ); final OnQueryComplete$Query$FAQ? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$FAQ extends graphql.WatchQueryOptions { @@ -886,45 +843,40 @@ class WatchOptions$Query$FAQ extends graphql.WatchQueryOptions { bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryFAQ, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$FAQ, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryFAQ, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$FAQ, + ); } class FetchMoreOptions$Query$FAQ extends graphql.FetchMoreOptions { FetchMoreOptions$Query$FAQ({required graphql.UpdateQuery updateQuery}) - : super( - updateQuery: updateQuery, - document: documentNodeQueryFAQ, - ); + : super(updateQuery: updateQuery, document: documentNodeQueryFAQ); } extension ClientExtension$Query$FAQ on graphql.GraphQLClient { - Future> query$FAQ( - [Options$Query$FAQ? options]) async => - await this.query(options ?? Options$Query$FAQ()); + Future> query$FAQ([ + Options$Query$FAQ? options, + ]) async => await this.query(options ?? Options$Query$FAQ()); - graphql.ObservableQuery watchQuery$FAQ( - [WatchOptions$Query$FAQ? options]) => - this.watchQuery(options ?? WatchOptions$Query$FAQ()); + graphql.ObservableQuery watchQuery$FAQ([ + WatchOptions$Query$FAQ? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$FAQ()); - void writeQuery$FAQ({ - required Query$FAQ data, - bool broadcast = true, - }) => + void writeQuery$FAQ({required Query$FAQ data, bool broadcast = true}) => this.writeQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryFAQ)), + operation: graphql.Operation(document: documentNodeQueryFAQ), + ), data: data.toJson(), broadcast: broadcast, ); @@ -932,19 +884,20 @@ extension ClientExtension$Query$FAQ on graphql.GraphQLClient { Query$FAQ? readQuery$FAQ({bool optimistic = true}) { final result = this.readQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryFAQ)), + operation: graphql.Operation(document: documentNodeQueryFAQ), + ), optimistic: optimistic, ); return result == null ? null : Query$FAQ.fromJson(result); } } -graphql_flutter.QueryHookResult useQuery$FAQ( - [Options$Query$FAQ? options]) => - graphql_flutter.useQuery(options ?? Options$Query$FAQ()); -graphql.ObservableQuery useWatchQuery$FAQ( - [WatchOptions$Query$FAQ? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$FAQ()); +graphql_flutter.QueryHookResult useQuery$FAQ([ + Options$Query$FAQ? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$FAQ()); +graphql.ObservableQuery useWatchQuery$FAQ([ + WatchOptions$Query$FAQ? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$FAQ()); class Query$FAQ$Widget extends graphql_flutter.Query { Query$FAQ$Widget({ @@ -952,17 +905,14 @@ class Query$FAQ$Widget extends graphql_flutter.Query { Options$Query$FAQ? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$FAQ(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$FAQ(), + builder: builder, + ); } class Query$FAQ$faq { - Query$FAQ$faq({ - this.categories, - this.$__typename = 'FAQ', - }); + Query$FAQ$faq({this.categories, this.$__typename = 'FAQ'}); factory Query$FAQ$faq.fromJson(Map json) { final l$categories = json['categories']; @@ -971,7 +921,8 @@ class Query$FAQ$faq { categories: l$categories == null ? null : Query$FAQ$faq$categories.fromJson( - (l$categories as Map)), + (l$categories as Map), + ), $__typename: (l$$__typename as String), ); } @@ -993,10 +944,7 @@ class Query$FAQ$faq { int get hashCode { final l$categories = categories; final l$$__typename = $__typename; - return Object.hashAll([ - l$categories, - l$$__typename, - ]); + return Object.hashAll([l$categories, l$$__typename]); } @override @@ -1022,10 +970,8 @@ class Query$FAQ$faq { } extension UtilityExtension$Query$FAQ$faq on Query$FAQ$faq { - CopyWith$Query$FAQ$faq get copyWith => CopyWith$Query$FAQ$faq( - this, - (i) => i, - ); + CopyWith$Query$FAQ$faq get copyWith => + CopyWith$Query$FAQ$faq(this, (i) => i); } abstract class CopyWith$Query$FAQ$faq { @@ -1037,19 +983,13 @@ abstract class CopyWith$Query$FAQ$faq { factory CopyWith$Query$FAQ$faq.stub(TRes res) = _CopyWithStubImpl$Query$FAQ$faq; - TRes call({ - Query$FAQ$faq$categories? categories, - String? $__typename, - }); + TRes call({Query$FAQ$faq$categories? categories, String? $__typename}); CopyWith$Query$FAQ$faq$categories get categories; } class _CopyWithImpl$Query$FAQ$faq implements CopyWith$Query$FAQ$faq { - _CopyWithImpl$Query$FAQ$faq( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FAQ$faq(this._instance, this._then); final Query$FAQ$faq _instance; @@ -1060,22 +1000,25 @@ class _CopyWithImpl$Query$FAQ$faq TRes call({ Object? categories = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FAQ$faq( - categories: categories == _undefined - ? _instance.categories - : (categories as Query$FAQ$faq$categories?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FAQ$faq( + categories: categories == _undefined + ? _instance.categories + : (categories as Query$FAQ$faq$categories?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FAQ$faq$categories get categories { final local$categories = _instance.categories; return local$categories == null ? CopyWith$Query$FAQ$faq$categories.stub(_then(_instance)) : CopyWith$Query$FAQ$faq$categories( - local$categories, (e) => call(categories: e)); + local$categories, + (e) => call(categories: e), + ); } } @@ -1085,11 +1028,7 @@ class _CopyWithStubImpl$Query$FAQ$faq TRes _res; - call({ - Query$FAQ$faq$categories? categories, - String? $__typename, - }) => - _res; + call({Query$FAQ$faq$categories? categories, String? $__typename}) => _res; CopyWith$Query$FAQ$faq$categories get categories => CopyWith$Query$FAQ$faq$categories.stub(_res); @@ -1107,7 +1046,8 @@ class Query$FAQ$faq$categories { return Query$FAQ$faq$categories( items: (l$items as List) .map( - (e) => Fragment$FAQCategory.fromJson((e as Map))) + (e) => Fragment$FAQCategory.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1169,10 +1109,7 @@ class Query$FAQ$faq$categories { extension UtilityExtension$Query$FAQ$faq$categories on Query$FAQ$faq$categories { CopyWith$Query$FAQ$faq$categories get copyWith => - CopyWith$Query$FAQ$faq$categories( - this, - (i) => i, - ); + CopyWith$Query$FAQ$faq$categories(this, (i) => i); } abstract class CopyWith$Query$FAQ$faq$categories { @@ -1184,22 +1121,18 @@ abstract class CopyWith$Query$FAQ$faq$categories { factory CopyWith$Query$FAQ$faq$categories.stub(TRes res) = _CopyWithStubImpl$Query$FAQ$faq$categories; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$FAQ$faq$categories implements CopyWith$Query$FAQ$faq$categories { - _CopyWithImpl$Query$FAQ$faq$categories( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FAQ$faq$categories(this._instance, this._then); final Query$FAQ$faq$categories _instance; @@ -1207,28 +1140,28 @@ class _CopyWithImpl$Query$FAQ$faq$categories static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FAQ$faq$categories( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FAQ$faq$categories( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$FAQCategory( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$FAQCategory(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$FAQ$faq$categories @@ -1237,11 +1170,7 @@ class _CopyWithStubImpl$Query$FAQ$faq$categories TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/games.graphql.dart b/bccm_core/lib/src/features/graphql/queries/games.graphql.dart index d169ed8..d01acea 100644 --- a/bccm_core/lib/src/features/graphql/queries/games.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/games.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -44,11 +45,7 @@ class Fragment$UrlGame { final l$id = id; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$id, l$url, l$$__typename]); } @override @@ -80,10 +77,7 @@ class Fragment$UrlGame { extension UtilityExtension$Fragment$UrlGame on Fragment$UrlGame { CopyWith$Fragment$UrlGame get copyWith => - CopyWith$Fragment$UrlGame( - this, - (i) => i, - ); + CopyWith$Fragment$UrlGame(this, (i) => i); } abstract class CopyWith$Fragment$UrlGame { @@ -95,19 +89,12 @@ abstract class CopyWith$Fragment$UrlGame { factory CopyWith$Fragment$UrlGame.stub(TRes res) = _CopyWithStubImpl$Fragment$UrlGame; - TRes call({ - String? id, - String? url, - String? $__typename, - }); + TRes call({String? id, String? url, String? $__typename}); } class _CopyWithImpl$Fragment$UrlGame implements CopyWith$Fragment$UrlGame { - _CopyWithImpl$Fragment$UrlGame( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$UrlGame(this._instance, this._then); final Fragment$UrlGame _instance; @@ -119,14 +106,15 @@ class _CopyWithImpl$Fragment$UrlGame Object? id = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$UrlGame( - id: id == _undefined || id == null ? _instance.id : (id as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$UrlGame( + id: id == _undefined || id == null ? _instance.id : (id as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$UrlGame @@ -135,67 +123,61 @@ class _CopyWithStubImpl$Fragment$UrlGame TRes _res; - call({ - String? id, - String? url, - String? $__typename, - }) => - _res; + call({String? id, String? url, String? $__typename}) => _res; } const fragmentDefinitionUrlGame = FragmentDefinitionNode( name: NameNode(value: 'UrlGame'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Game'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Game'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentUrlGame = DocumentNode( + definitions: [fragmentDefinitionUrlGame], ); -const documentNodeFragmentUrlGame = DocumentNode(definitions: [ - fragmentDefinitionUrlGame, -]); extension ClientExtension$Fragment$UrlGame on graphql.GraphQLClient { void writeFragment$UrlGame({ required Fragment$UrlGame data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'UrlGame', - document: documentNodeFragmentUrlGame, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'UrlGame', + document: documentNodeFragmentUrlGame, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$UrlGame? readFragment$UrlGame({ required Map idFields, @@ -217,9 +199,7 @@ extension ClientExtension$Fragment$UrlGame on graphql.GraphQLClient { class Variables$Query$GetGame { factory Variables$Query$GetGame({required String id}) => - Variables$Query$GetGame._({ - r'id': id, - }); + Variables$Query$GetGame._({r'id': id}); Variables$Query$GetGame._(this._$data); @@ -242,10 +222,7 @@ class Variables$Query$GetGame { } CopyWith$Variables$Query$GetGame get copyWith => - CopyWith$Variables$Query$GetGame( - this, - (i) => i, - ); + CopyWith$Variables$Query$GetGame(this, (i) => i); @override bool operator ==(Object other) { @@ -284,10 +261,7 @@ abstract class CopyWith$Variables$Query$GetGame { class _CopyWithImpl$Variables$Query$GetGame implements CopyWith$Variables$Query$GetGame { - _CopyWithImpl$Variables$Query$GetGame( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetGame(this._instance, this._then); final Variables$Query$GetGame _instance; @@ -295,10 +269,12 @@ class _CopyWithImpl$Variables$Query$GetGame static const _undefined = {}; - TRes call({Object? id = _undefined}) => _then(Variables$Query$GetGame._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetGame._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetGame @@ -311,10 +287,7 @@ class _CopyWithStubImpl$Variables$Query$GetGame } class Query$GetGame { - Query$GetGame({ - required this.game, - this.$__typename = 'QueryRoot', - }); + Query$GetGame({required this.game, this.$__typename = 'QueryRoot'}); factory Query$GetGame.fromJson(Map json) { final l$game = json['game']; @@ -342,10 +315,7 @@ class Query$GetGame { int get hashCode { final l$game = game; final l$$__typename = $__typename; - return Object.hashAll([ - l$game, - l$$__typename, - ]); + return Object.hashAll([l$game, l$$__typename]); } @override @@ -371,10 +341,8 @@ class Query$GetGame { } extension UtilityExtension$Query$GetGame on Query$GetGame { - CopyWith$Query$GetGame get copyWith => CopyWith$Query$GetGame( - this, - (i) => i, - ); + CopyWith$Query$GetGame get copyWith => + CopyWith$Query$GetGame(this, (i) => i); } abstract class CopyWith$Query$GetGame { @@ -386,19 +354,13 @@ abstract class CopyWith$Query$GetGame { factory CopyWith$Query$GetGame.stub(TRes res) = _CopyWithStubImpl$Query$GetGame; - TRes call({ - Query$GetGame$game? game, - String? $__typename, - }); + TRes call({Query$GetGame$game? game, String? $__typename}); CopyWith$Query$GetGame$game get game; } class _CopyWithImpl$Query$GetGame implements CopyWith$Query$GetGame { - _CopyWithImpl$Query$GetGame( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetGame(this._instance, this._then); final Query$GetGame _instance; @@ -406,18 +368,17 @@ class _CopyWithImpl$Query$GetGame static const _undefined = {}; - TRes call({ - Object? game = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetGame( - game: game == _undefined || game == null - ? _instance.game - : (game as Query$GetGame$game), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? game = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetGame( + game: game == _undefined || game == null + ? _instance.game + : (game as Query$GetGame$game), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetGame$game get game { final local$game = _instance.game; @@ -431,61 +392,67 @@ class _CopyWithStubImpl$Query$GetGame TRes _res; - call({ - Query$GetGame$game? game, - String? $__typename, - }) => - _res; + call({Query$GetGame$game? game, String? $__typename}) => _res; CopyWith$Query$GetGame$game get game => CopyWith$Query$GetGame$game.stub(_res); } -const documentNodeQueryGetGame = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetGame'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: true, +const documentNodeQueryGetGame = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetGame'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'game'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'game'), alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FragmentSpreadNode( - name: NameNode(value: 'UrlGame'), + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'UrlGame'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -494,19 +461,12 @@ const documentNodeQueryGetGame = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionUrlGame, -]); + ), + fragmentDefinitionUrlGame, + ], +); Query$GetGame _parserFn$Query$GetGame(Map data) => Query$GetGame.fromJson(data); typedef OnQueryComplete$Query$GetGame = FutureOr Function( @@ -527,36 +487,36 @@ class Options$Query$GetGame extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$GetGame? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetGame(data), - ), - onError: onError, - document: documentNodeQueryGetGame, - parserFn: _parserFn$Query$GetGame, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetGame(data), + ), + onError: onError, + document: documentNodeQueryGetGame, + parserFn: _parserFn$Query$GetGame, + ); final OnQueryComplete$Query$GetGame? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetGame @@ -575,20 +535,20 @@ class WatchOptions$Query$GetGame bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetGame, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetGame, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetGame, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetGame, + ); } class FetchMoreOptions$Query$GetGame extends graphql.FetchMoreOptions { @@ -596,34 +556,33 @@ class FetchMoreOptions$Query$GetGame extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetGame variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetGame, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetGame, + ); } extension ClientExtension$Query$GetGame on graphql.GraphQLClient { Future> query$GetGame( - Options$Query$GetGame options) async => - await this.query(options); + Options$Query$GetGame options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetGame( - WatchOptions$Query$GetGame options) => - this.watchQuery(options); + WatchOptions$Query$GetGame options, + ) => this.watchQuery(options); void writeQuery$GetGame({ required Query$GetGame data, required Variables$Query$GetGame variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetGame), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetGame), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetGame? readQuery$GetGame({ required Variables$Query$GetGame variables, @@ -641,22 +600,18 @@ extension ClientExtension$Query$GetGame on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetGame( - Options$Query$GetGame options) => - graphql_flutter.useQuery(options); + Options$Query$GetGame options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetGame( - WatchOptions$Query$GetGame options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetGame options, +) => graphql_flutter.useWatchQuery(options); class Query$GetGame$Widget extends graphql_flutter.Query { Query$GetGame$Widget({ widgets.Key? key, required Options$Query$GetGame options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetGame$game implements Fragment$UrlGame { @@ -707,12 +662,7 @@ class Query$GetGame$game implements Fragment$UrlGame { final l$title = title; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$url, l$$__typename]); } @override @@ -749,10 +699,7 @@ class Query$GetGame$game implements Fragment$UrlGame { extension UtilityExtension$Query$GetGame$game on Query$GetGame$game { CopyWith$Query$GetGame$game get copyWith => - CopyWith$Query$GetGame$game( - this, - (i) => i, - ); + CopyWith$Query$GetGame$game(this, (i) => i); } abstract class CopyWith$Query$GetGame$game { @@ -764,20 +711,12 @@ abstract class CopyWith$Query$GetGame$game { factory CopyWith$Query$GetGame$game.stub(TRes res) = _CopyWithStubImpl$Query$GetGame$game; - TRes call({ - String? id, - String? title, - String? url, - String? $__typename, - }); + TRes call({String? id, String? title, String? url, String? $__typename}); } class _CopyWithImpl$Query$GetGame$game implements CopyWith$Query$GetGame$game { - _CopyWithImpl$Query$GetGame$game( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetGame$game(this._instance, this._then); final Query$GetGame$game _instance; @@ -790,17 +729,18 @@ class _CopyWithImpl$Query$GetGame$game Object? title = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetGame$game( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetGame$game( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetGame$game @@ -809,11 +749,5 @@ class _CopyWithStubImpl$Query$GetGame$game TRes _res; - call({ - String? id, - String? title, - String? url, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? url, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/kids/episodes.graphql.dart b/bccm_core/lib/src/features/graphql/queries/kids/episodes.graphql.dart index 15e4b12..8cabf24 100644 --- a/bccm_core/lib/src/features/graphql/queries/kids/episodes.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/kids/episodes.graphql.dart @@ -3,27 +3,30 @@ import '../../schema/schema.graphql.dart'; import '../../schema/shows.graphql.dart'; import '../episode.graphql.dart'; import '../page.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; + import 'show.graphql.dart'; class Variables$Query$KidsGetNextEpisodes { factory Variables$Query$KidsGetNextEpisodes({ required String episodeId, Input$EpisodeContext? context, - }) => - Variables$Query$KidsGetNextEpisodes._({ - r'episodeId': episodeId, - if (context != null) r'context': context, - }); + }) => Variables$Query$KidsGetNextEpisodes._({ + r'episodeId': episodeId, + if (context != null) r'context': context, + }); Variables$Query$KidsGetNextEpisodes._(this._$data); factory Variables$Query$KidsGetNextEpisodes.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$episodeId = data['episodeId']; result$data['episodeId'] = (l$episodeId as String); @@ -55,11 +58,9 @@ class Variables$Query$KidsGetNextEpisodes { } CopyWith$Variables$Query$KidsGetNextEpisodes< - Variables$Query$KidsGetNextEpisodes> - get copyWith => CopyWith$Variables$Query$KidsGetNextEpisodes( - this, - (i) => i, - ); + Variables$Query$KidsGetNextEpisodes + > + get copyWith => CopyWith$Variables$Query$KidsGetNextEpisodes(this, (i) => i); @override bool operator ==(Object other) { @@ -106,18 +107,12 @@ abstract class CopyWith$Variables$Query$KidsGetNextEpisodes { factory CopyWith$Variables$Query$KidsGetNextEpisodes.stub(TRes res) = _CopyWithStubImpl$Variables$Query$KidsGetNextEpisodes; - TRes call({ - String? episodeId, - Input$EpisodeContext? context, - }); + TRes call({String? episodeId, Input$EpisodeContext? context}); } class _CopyWithImpl$Variables$Query$KidsGetNextEpisodes implements CopyWith$Variables$Query$KidsGetNextEpisodes { - _CopyWithImpl$Variables$Query$KidsGetNextEpisodes( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$KidsGetNextEpisodes(this._instance, this._then); final Variables$Query$KidsGetNextEpisodes _instance; @@ -125,17 +120,16 @@ class _CopyWithImpl$Variables$Query$KidsGetNextEpisodes static const _undefined = {}; - TRes call({ - Object? episodeId = _undefined, - Object? context = _undefined, - }) => - _then(Variables$Query$KidsGetNextEpisodes._({ - ..._instance._$data, - if (episodeId != _undefined && episodeId != null) - 'episodeId': (episodeId as String), - if (context != _undefined) - 'context': (context as Input$EpisodeContext?), - })); + TRes call({Object? episodeId = _undefined, Object? context = _undefined}) => + _then( + Variables$Query$KidsGetNextEpisodes._({ + ..._instance._$data, + if (episodeId != _undefined && episodeId != null) + 'episodeId': (episodeId as String), + if (context != _undefined) + 'context': (context as Input$EpisodeContext?), + }), + ); } class _CopyWithStubImpl$Variables$Query$KidsGetNextEpisodes @@ -144,11 +138,7 @@ class _CopyWithStubImpl$Variables$Query$KidsGetNextEpisodes TRes _res; - call({ - String? episodeId, - Input$EpisodeContext? context, - }) => - _res; + call({String? episodeId, Input$EpisodeContext? context}) => _res; } class Query$KidsGetNextEpisodes { @@ -162,7 +152,8 @@ class Query$KidsGetNextEpisodes { final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes( episode: Query$KidsGetNextEpisodes$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -184,10 +175,7 @@ class Query$KidsGetNextEpisodes { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -216,10 +204,7 @@ class Query$KidsGetNextEpisodes { extension UtilityExtension$Query$KidsGetNextEpisodes on Query$KidsGetNextEpisodes { CopyWith$Query$KidsGetNextEpisodes get copyWith => - CopyWith$Query$KidsGetNextEpisodes( - this, - (i) => i, - ); + CopyWith$Query$KidsGetNextEpisodes(this, (i) => i); } abstract class CopyWith$Query$KidsGetNextEpisodes { @@ -231,19 +216,13 @@ abstract class CopyWith$Query$KidsGetNextEpisodes { factory CopyWith$Query$KidsGetNextEpisodes.stub(TRes res) = _CopyWithStubImpl$Query$KidsGetNextEpisodes; - TRes call({ - Query$KidsGetNextEpisodes$episode? episode, - String? $__typename, - }); + TRes call({Query$KidsGetNextEpisodes$episode? episode, String? $__typename}); CopyWith$Query$KidsGetNextEpisodes$episode get episode; } class _CopyWithImpl$Query$KidsGetNextEpisodes implements CopyWith$Query$KidsGetNextEpisodes { - _CopyWithImpl$Query$KidsGetNextEpisodes( - this._instance, - this._then, - ); + _CopyWithImpl$Query$KidsGetNextEpisodes(this._instance, this._then); final Query$KidsGetNextEpisodes _instance; @@ -251,23 +230,24 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Query$KidsGetNextEpisodes$episode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsGetNextEpisodes( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Query$KidsGetNextEpisodes$episode), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsGetNextEpisodes$episode get episode { final local$episode = _instance.episode; return CopyWith$Query$KidsGetNextEpisodes$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -277,84 +257,93 @@ class _CopyWithStubImpl$Query$KidsGetNextEpisodes TRes _res; - call({ - Query$KidsGetNextEpisodes$episode? episode, - String? $__typename, - }) => + call({Query$KidsGetNextEpisodes$episode? episode, String? $__typename}) => _res; CopyWith$Query$KidsGetNextEpisodes$episode get episode => CopyWith$Query$KidsGetNextEpisodes$episode.stub(_res); } -const documentNodeQueryKidsGetNextEpisodes = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'KidsGetNextEpisodes'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'episodeId')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, - ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'context')), - type: NamedTypeNode( - name: NameNode(value: 'EpisodeContext'), - isNonNull: false, +const documentNodeQueryKidsGetNextEpisodes = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'KidsGetNextEpisodes'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'episodeId')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'episodeId')), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'context')), + type: NamedTypeNode( + name: NameNode(value: 'EpisodeContext'), + isNonNull: false, ), - ArgumentNode( - name: NameNode(value: 'context'), - value: VariableNode(name: NameNode(value: 'context')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'next'), + name: NameNode(value: 'episode'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'limit'), - value: IntValueNode(value: '20'), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'KidsEpisodeThumbnail'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'PlayableMediaItem'), - directives: [], + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'episodeId')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'context'), + value: VariableNode(name: NameNode(value: 'context')), ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'next'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'limit'), + value: IntValueNode(value: '20'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'KidsEpisodeThumbnail'), + directives: [], + ), + FragmentSpreadNode( + name: NameNode(value: 'PlayableMediaItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -363,24 +352,17 @@ const documentNodeQueryKidsGetNextEpisodes = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionKidsEpisodeThumbnail, - fragmentDefinitionPlayableMediaItem, - fragmentDefinitionBasicStream, -]); + ), + fragmentDefinitionKidsEpisodeThumbnail, + fragmentDefinitionPlayableMediaItem, + fragmentDefinitionBasicStream, + ], +); Query$KidsGetNextEpisodes _parserFn$Query$KidsGetNextEpisodes( - Map data) => - Query$KidsGetNextEpisodes.fromJson(data); + Map data, +) => Query$KidsGetNextEpisodes.fromJson(data); typedef OnQueryComplete$Query$KidsGetNextEpisodes = FutureOr Function( Map?, Query$KidsGetNextEpisodes?, @@ -400,38 +382,38 @@ class Options$Query$KidsGetNextEpisodes graphql.Context? context, OnQueryComplete$Query$KidsGetNextEpisodes? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$KidsGetNextEpisodes(data), - ), - onError: onError, - document: documentNodeQueryKidsGetNextEpisodes, - parserFn: _parserFn$Query$KidsGetNextEpisodes, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$KidsGetNextEpisodes(data), + ), + onError: onError, + document: documentNodeQueryKidsGetNextEpisodes, + parserFn: _parserFn$Query$KidsGetNextEpisodes, + ); final OnQueryComplete$Query$KidsGetNextEpisodes? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$KidsGetNextEpisodes @@ -450,20 +432,20 @@ class WatchOptions$Query$KidsGetNextEpisodes bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryKidsGetNextEpisodes, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$KidsGetNextEpisodes, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryKidsGetNextEpisodes, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$KidsGetNextEpisodes, + ); } class FetchMoreOptions$Query$KidsGetNextEpisodes @@ -472,37 +454,36 @@ class FetchMoreOptions$Query$KidsGetNextEpisodes required graphql.UpdateQuery updateQuery, required Variables$Query$KidsGetNextEpisodes variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryKidsGetNextEpisodes, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryKidsGetNextEpisodes, + ); } extension ClientExtension$Query$KidsGetNextEpisodes on graphql.GraphQLClient { Future> - query$KidsGetNextEpisodes( - Options$Query$KidsGetNextEpisodes options) async => - await this.query(options); + query$KidsGetNextEpisodes(Options$Query$KidsGetNextEpisodes options) async => + await this.query(options); graphql.ObservableQuery - watchQuery$KidsGetNextEpisodes( - WatchOptions$Query$KidsGetNextEpisodes options) => - this.watchQuery(options); + watchQuery$KidsGetNextEpisodes( + WatchOptions$Query$KidsGetNextEpisodes options, + ) => this.watchQuery(options); void writeQuery$KidsGetNextEpisodes({ required Query$KidsGetNextEpisodes data, required Variables$Query$KidsGetNextEpisodes variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryKidsGetNextEpisodes), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryKidsGetNextEpisodes, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$KidsGetNextEpisodes? readQuery$KidsGetNextEpisodes({ required Variables$Query$KidsGetNextEpisodes variables, @@ -510,8 +491,9 @@ extension ClientExtension$Query$KidsGetNextEpisodes on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryKidsGetNextEpisodes), + operation: graphql.Operation( + document: documentNodeQueryKidsGetNextEpisodes, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -521,12 +503,12 @@ extension ClientExtension$Query$KidsGetNextEpisodes on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$KidsGetNextEpisodes(Options$Query$KidsGetNextEpisodes options) => - graphql_flutter.useQuery(options); +useQuery$KidsGetNextEpisodes(Options$Query$KidsGetNextEpisodes options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$KidsGetNextEpisodes( - WatchOptions$Query$KidsGetNextEpisodes options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$KidsGetNextEpisodes( + WatchOptions$Query$KidsGetNextEpisodes options, +) => graphql_flutter.useWatchQuery(options); class Query$KidsGetNextEpisodes$Widget extends graphql_flutter.Query { @@ -534,11 +516,7 @@ class Query$KidsGetNextEpisodes$Widget widgets.Key? key, required Options$Query$KidsGetNextEpisodes options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$KidsGetNextEpisodes$episode { @@ -548,13 +526,17 @@ class Query$KidsGetNextEpisodes$episode { }); factory Query$KidsGetNextEpisodes$episode.fromJson( - Map json) { + Map json, + ) { final l$next = json['next']; final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes$episode( next: (l$next as List) - .map((e) => Query$KidsGetNextEpisodes$episode$next.fromJson( - (e as Map))) + .map( + (e) => Query$KidsGetNextEpisodes$episode$next.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -616,10 +598,7 @@ class Query$KidsGetNextEpisodes$episode { extension UtilityExtension$Query$KidsGetNextEpisodes$episode on Query$KidsGetNextEpisodes$episode { CopyWith$Query$KidsGetNextEpisodes$episode - get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode(this, (i) => i); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode { @@ -636,19 +615,20 @@ abstract class CopyWith$Query$KidsGetNextEpisodes$episode { String? $__typename, }); TRes next( - Iterable Function( - Iterable< - CopyWith$Query$KidsGetNextEpisodes$episode$next< - Query$KidsGetNextEpisodes$episode$next>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$KidsGetNextEpisodes$episode$next< + Query$KidsGetNextEpisodes$episode$next + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode implements CopyWith$Query$KidsGetNextEpisodes$episode { - _CopyWithImpl$Query$KidsGetNextEpisodes$episode( - this._instance, - this._then, - ); + _CopyWithImpl$Query$KidsGetNextEpisodes$episode(this._instance, this._then); final Query$KidsGetNextEpisodes$episode _instance; @@ -656,31 +636,34 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode static const _undefined = {}; - TRes call({ - Object? next = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode( - next: next == _undefined || next == null - ? _instance.next - : (next as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? next = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsGetNextEpisodes$episode( + next: next == _undefined || next == null + ? _instance.next + : (next as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes next( - Iterable Function( - Iterable< - CopyWith$Query$KidsGetNextEpisodes$episode$next< - Query$KidsGetNextEpisodes$episode$next>>) - _fn) => - call( - next: _fn(_instance.next - .map((e) => CopyWith$Query$KidsGetNextEpisodes$episode$next( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$KidsGetNextEpisodes$episode$next< + Query$KidsGetNextEpisodes$episode$next + > + >, + ) + _fn, + ) => call( + next: _fn( + _instance.next.map( + (e) => CopyWith$Query$KidsGetNextEpisodes$episode$next(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode @@ -692,8 +675,7 @@ class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode call({ List? next, String? $__typename, - }) => - _res; + }) => _res; next(_fn) => _res; } @@ -718,7 +700,8 @@ class Query$KidsGetNextEpisodes$episode$next }); factory Query$KidsGetNextEpisodes$episode$next.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$duration = json['duration']; @@ -741,21 +724,26 @@ class Query$KidsGetNextEpisodes$episode$next $__typename: (l$$__typename as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), originalTitle: (l$originalTitle as String), context: l$context == null ? null : Query$KidsGetNextEpisodes$episode$next$context.fromJson( - (l$context as Map)), + (l$context as Map), + ), season: l$season == null ? null : Query$KidsGetNextEpisodes$episode$next$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), contributors: (l$contributors as List) - .map((e) => - Query$KidsGetNextEpisodes$episode$next$contributors.fromJson( - (e as Map))) + .map( + (e) => Query$KidsGetNextEpisodes$episode$next$contributors.fromJson( + (e as Map), + ), + ) .toList(), ); } @@ -809,8 +797,9 @@ class Query$KidsGetNextEpisodes$episode$next final l$season = season; _resultData['season'] = l$season?.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); return _resultData; } @@ -934,11 +923,10 @@ class Query$KidsGetNextEpisodes$episode$next extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next on Query$KidsGetNextEpisodes$episode$next { CopyWith$Query$KidsGetNextEpisodes$episode$next< - Query$KidsGetNextEpisodes$episode$next> - get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode$next( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next(this, (i) => i); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next { @@ -965,17 +953,23 @@ abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next { List? contributors, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); CopyWith$Query$KidsGetNextEpisodes$episode$next$context get context; CopyWith$Query$KidsGetNextEpisodes$episode$next$season get season; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< - Query$KidsGetNextEpisodes$episode$next$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< + Query$KidsGetNextEpisodes$episode$next$contributors + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next @@ -1004,84 +998,98 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next Object? context = _undefined, Object? season = _undefined, Object? contributors = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode$next( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - context: context == _undefined - ? _instance.context - : (context as Query$KidsGetNextEpisodes$episode$next$context?), - season: season == _undefined - ? _instance.season - : (season as Query$KidsGetNextEpisodes$episode$next$season?), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors + }) => _then( + Query$KidsGetNextEpisodes$episode$next( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + context: context == _undefined + ? _instance.context + : (context as Query$KidsGetNextEpisodes$episode$next$context?), + season: season == _undefined + ? _instance.season + : (season as Query$KidsGetNextEpisodes$episode$next$season?), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), - )); + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); CopyWith$Query$KidsGetNextEpisodes$episode$next$context get context { final local$context = _instance.context; return local$context == null ? CopyWith$Query$KidsGetNextEpisodes$episode$next$context.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$KidsGetNextEpisodes$episode$next$context( - local$context, (e) => call(context: e)); + local$context, + (e) => call(context: e), + ); } CopyWith$Query$KidsGetNextEpisodes$episode$next$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Query$KidsGetNextEpisodes$episode$next$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$KidsGetNextEpisodes$episode$next$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< - Query$KidsGetNextEpisodes$episode$next$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< + Query$KidsGetNextEpisodes$episode$next$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next @@ -1103,8 +1111,7 @@ class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next Query$KidsGetNextEpisodes$episode$next$context? context, Query$KidsGetNextEpisodes$episode$next$season? season, List? contributors, - }) => - _res; + }) => _res; streams(_fn) => _res; @@ -1122,24 +1129,29 @@ class Query$KidsGetNextEpisodes$episode$next$context Query$KidsGetNextEpisodes$episode$next$context({required this.$__typename}); factory Query$KidsGetNextEpisodes$episode$next$context.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "ContextCollection": - return Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection - .fromJson(json); + return Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection.fromJson( + json, + ); case "Season": return Query$KidsGetNextEpisodes$episode$next$context$$Season.fromJson( - json); + json, + ); case "Playlist": - return Query$KidsGetNextEpisodes$episode$next$context$$Playlist - .fromJson(json); + return Query$KidsGetNextEpisodes$episode$next$context$$Playlist.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes$episode$next$context( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -1179,35 +1191,40 @@ class Query$KidsGetNextEpisodes$episode$next$context extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context on Query$KidsGetNextEpisodes$episode$next$context { CopyWith$Query$KidsGetNextEpisodes$episode$next$context< - Query$KidsGetNextEpisodes$episode$next$context> - get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode$next$context( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$context + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next$context(this, (i) => i); _T when<_T>({ required _T Function( - Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection) - contextCollection, + Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection, + ) + contextCollection, required _T Function(Query$KidsGetNextEpisodes$episode$next$context$$Season) - season, + season, required _T Function( - Query$KidsGetNextEpisodes$episode$next$context$$Playlist) - playlist, + Query$KidsGetNextEpisodes$episode$next$context$$Playlist, + ) + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": - return contextCollection(this - as Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection); + return contextCollection( + this + as Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection, + ); case "Season": return season( - this as Query$KidsGetNextEpisodes$episode$next$context$$Season); + this as Query$KidsGetNextEpisodes$episode$next$context$$Season, + ); case "Playlist": return playlist( - this as Query$KidsGetNextEpisodes$episode$next$context$$Playlist); + this as Query$KidsGetNextEpisodes$episode$next$context$$Playlist, + ); default: return orElse(); @@ -1216,18 +1233,21 @@ extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context _T maybeWhen<_T>({ _T Function( - Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection)? - contextCollection, + Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection, + )? + contextCollection, _T Function(Query$KidsGetNextEpisodes$episode$next$context$$Season)? season, _T Function(Query$KidsGetNextEpisodes$episode$next$context$$Playlist)? - playlist, + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": if (contextCollection != null) { - return contextCollection(this - as Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection); + return contextCollection( + this + as Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection, + ); } else { return orElse(); } @@ -1235,7 +1255,8 @@ extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context case "Season": if (season != null) { return season( - this as Query$KidsGetNextEpisodes$episode$next$context$$Season); + this as Query$KidsGetNextEpisodes$episode$next$context$$Season, + ); } else { return orElse(); } @@ -1243,7 +1264,8 @@ extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context case "Playlist": if (playlist != null) { return playlist( - this as Query$KidsGetNextEpisodes$episode$next$context$$Playlist); + this as Query$KidsGetNextEpisodes$episode$next$context$$Playlist, + ); } else { return orElse(); } @@ -1261,8 +1283,8 @@ abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$context { ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context; TRes call({String? $__typename}); } @@ -1280,11 +1302,13 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$KidsGetNextEpisodes$episode$next$context( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$KidsGetNextEpisodes$episode$next$context( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context @@ -1306,7 +1330,8 @@ class Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection }); factory Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( @@ -1332,10 +1357,7 @@ class Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -1365,92 +1387,97 @@ class Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection on Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection { CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection< - Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection> - get copyWith => - CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection< - TRes> { + TRes +> { factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection instance, TRes Function( - Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection) - then, + Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection, + ) + then, ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( this._instance, this._then, ); final Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection - _instance; + _instance; final TRes Function( - Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection) _then; + Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$ContextCollection( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$KidsGetNextEpisodes$episode$next$context$$Season implements Fragment$PlayableMediaItem$$Episode$context$$Season, Query$KidsGetNextEpisodes$episode$next$context { - Query$KidsGetNextEpisodes$episode$next$context$$Season( - {this.$__typename = 'Season'}); + Query$KidsGetNextEpisodes$episode$next$context$$Season({ + this.$__typename = 'Season', + }); factory Query$KidsGetNextEpisodes$episode$next$context$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes$episode$next$context$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -1489,24 +1516,26 @@ class Query$KidsGetNextEpisodes$episode$next$context$$Season extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context$$Season on Query$KidsGetNextEpisodes$episode$next$context$$Season { CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season< - Query$KidsGetNextEpisodes$episode$next$context$$Season> - get copyWith => - CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$context$$Season + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season< - TRes> { + TRes +> { factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season( Query$KidsGetNextEpisodes$episode$next$context$$Season instance, TRes Function(Query$KidsGetNextEpisodes$episode$next$context$$Season) then, ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$Season; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Season; TRes call({String? $__typename}); } @@ -1522,23 +1551,27 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$Season final Query$KidsGetNextEpisodes$episode$next$context$$Season _instance; final TRes Function(Query$KidsGetNextEpisodes$episode$next$context$$Season) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$KidsGetNextEpisodes$episode$next$context$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$KidsGetNextEpisodes$episode$next$context$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Season< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Season { _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Season( - this._res); + this._res, + ); TRes _res; @@ -1549,14 +1582,17 @@ class Query$KidsGetNextEpisodes$episode$next$context$$Playlist implements Fragment$PlayableMediaItem$$Episode$context$$Playlist, Query$KidsGetNextEpisodes$episode$next$context { - Query$KidsGetNextEpisodes$episode$next$context$$Playlist( - {this.$__typename = 'Playlist'}); + Query$KidsGetNextEpisodes$episode$next$context$$Playlist({ + this.$__typename = 'Playlist', + }); factory Query$KidsGetNextEpisodes$episode$next$context$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes$episode$next$context$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -1595,34 +1631,38 @@ class Query$KidsGetNextEpisodes$episode$next$context$$Playlist extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$context$$Playlist on Query$KidsGetNextEpisodes$episode$next$context$$Playlist { CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< - Query$KidsGetNextEpisodes$episode$next$context$$Playlist> - get copyWith => - CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$context$$Playlist + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist( Query$KidsGetNextEpisodes$episode$next$context$$Playlist instance, TRes Function(Query$KidsGetNextEpisodes$episode$next$context$$Playlist) - then, + then, ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist( this._instance, this._then, @@ -1631,24 +1671,29 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< final Query$KidsGetNextEpisodes$episode$next$context$$Playlist _instance; final TRes Function(Query$KidsGetNextEpisodes$episode$next$context$$Playlist) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$KidsGetNextEpisodes$episode$next$context$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$KidsGetNextEpisodes$episode$next$context$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$context$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$context$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -1665,7 +1710,8 @@ class Query$KidsGetNextEpisodes$episode$next$season }); factory Query$KidsGetNextEpisodes$episode$next$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -1674,7 +1720,8 @@ class Query$KidsGetNextEpisodes$episode$next$season id: (l$id as String), title: (l$title as String), $show: Query$KidsGetNextEpisodes$episode$next$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1706,12 +1753,7 @@ class Query$KidsGetNextEpisodes$episode$next$season final l$title = title; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename]); } @override @@ -1750,11 +1792,10 @@ class Query$KidsGetNextEpisodes$episode$next$season extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$season on Query$KidsGetNextEpisodes$episode$next$season { CopyWith$Query$KidsGetNextEpisodes$episode$next$season< - Query$KidsGetNextEpisodes$episode$next$season> - get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode$next$season( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$season + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next$season(this, (i) => i); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$season { @@ -1764,8 +1805,8 @@ abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$season { ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$season; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$season.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season; TRes call({ String? id, @@ -1794,24 +1835,27 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$season Object? title = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode$next$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$KidsGetNextEpisodes$episode$next$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsGetNextEpisodes$episode$next$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$KidsGetNextEpisodes$episode$next$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show get $show { final local$$show = _instance.$show; return CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -1826,8 +1870,7 @@ class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season String? title, Query$KidsGetNextEpisodes$episode$next$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show get $show => CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show.stub(_res); @@ -1842,7 +1885,8 @@ class Query$KidsGetNextEpisodes$episode$next$season$show }); factory Query$KidsGetNextEpisodes$episode$next$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -1875,11 +1919,7 @@ class Query$KidsGetNextEpisodes$episode$next$season$show final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -1913,30 +1953,27 @@ class Query$KidsGetNextEpisodes$episode$next$season$show extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$season$show on Query$KidsGetNextEpisodes$episode$next$season$show { CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show< - Query$KidsGetNextEpisodes$episode$next$season$show> - get copyWith => - CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$season$show + > + get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show< - TRes> { + TRes +> { factory CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show( Query$KidsGetNextEpisodes$episode$next$season$show instance, TRes Function(Query$KidsGetNextEpisodes$episode$next$season$show) then, ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$season$show; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$season$show @@ -1957,32 +1994,29 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$season$show Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode$next$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsGetNextEpisodes$episode$next$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season$show implements CopyWith$Query$KidsGetNextEpisodes$episode$next$season$show { _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$KidsGetNextEpisodes$episode$next$contributors @@ -1994,7 +2028,8 @@ class Query$KidsGetNextEpisodes$episode$next$contributors }); factory Query$KidsGetNextEpisodes$episode$next$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -2004,7 +2039,8 @@ class Query$KidsGetNextEpisodes$episode$next$contributors .toList(), person: Query$KidsGetNextEpisodes$episode$next$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2078,24 +2114,25 @@ class Query$KidsGetNextEpisodes$episode$next$contributors extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$contributors on Query$KidsGetNextEpisodes$episode$next$contributors { CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< - Query$KidsGetNextEpisodes$episode$next$contributors> - get copyWith => - CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$contributors + > + get copyWith => CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< - TRes> { + TRes +> { factory CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors( Query$KidsGetNextEpisodes$episode$next$contributors instance, TRes Function(Query$KidsGetNextEpisodes$episode$next$contributors) then, ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors; TRes call({ List? contributionTypes, @@ -2103,7 +2140,7 @@ abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors< String? $__typename, }); CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person - get person; + get person; } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors @@ -2117,7 +2154,7 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors final Query$KidsGetNextEpisodes$episode$next$contributors _instance; final TRes Function(Query$KidsGetNextEpisodes$episode$next$contributors) - _then; + _then; static const _undefined = {}; @@ -2125,35 +2162,40 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode$next$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$KidsGetNextEpisodes$episode$next$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Query$KidsGetNextEpisodes$episode$next$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person - get person { + get person { final local$person = _instance.person; return CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors { _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors( - this._res); + this._res, + ); TRes _res; @@ -2161,13 +2203,13 @@ class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors< List? contributionTypes, Query$KidsGetNextEpisodes$episode$next$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person - get person => - CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person - .stub(_res); + get person => + CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person.stub( + _res, + ); } class Query$KidsGetNextEpisodes$episode$next$contributors$person @@ -2178,7 +2220,8 @@ class Query$KidsGetNextEpisodes$episode$next$contributors$person }); factory Query$KidsGetNextEpisodes$episode$next$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$KidsGetNextEpisodes$episode$next$contributors$person( @@ -2204,10 +2247,7 @@ class Query$KidsGetNextEpisodes$episode$next$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -2236,37 +2276,38 @@ class Query$KidsGetNextEpisodes$episode$next$contributors$person extension UtilityExtension$Query$KidsGetNextEpisodes$episode$next$contributors$person on Query$KidsGetNextEpisodes$episode$next$contributors$person { CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person< - Query$KidsGetNextEpisodes$episode$next$contributors$person> - get copyWith => - CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person( - this, - (i) => i, - ); + Query$KidsGetNextEpisodes$episode$next$contributors$person + > + get copyWith => + CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person( Query$KidsGetNextEpisodes$episode$next$contributors$person instance, TRes Function(Query$KidsGetNextEpisodes$episode$next$contributors$person) - then, + then, ) = _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person; factory CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person( this._instance, this._then, @@ -2275,51 +2316,50 @@ class _CopyWithImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person< final Query$KidsGetNextEpisodes$episode$next$contributors$person _instance; final TRes Function( - Query$KidsGetNextEpisodes$episode$next$contributors$person) _then; + Query$KidsGetNextEpisodes$episode$next$contributors$person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsGetNextEpisodes$episode$next$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsGetNextEpisodes$episode$next$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person< - TRes> + TRes +> implements CopyWith$Query$KidsGetNextEpisodes$episode$next$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsGetNextEpisodes$episode$next$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Variables$Query$GetManyEpisodeIdsForPlaylist { factory Variables$Query$GetManyEpisodeIdsForPlaylist({required String id}) => - Variables$Query$GetManyEpisodeIdsForPlaylist._({ - r'id': id, - }); + Variables$Query$GetManyEpisodeIdsForPlaylist._({r'id': id}); Variables$Query$GetManyEpisodeIdsForPlaylist._(this._$data); factory Variables$Query$GetManyEpisodeIdsForPlaylist.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -2338,11 +2378,10 @@ class Variables$Query$GetManyEpisodeIdsForPlaylist { } CopyWith$Variables$Query$GetManyEpisodeIdsForPlaylist< - Variables$Query$GetManyEpisodeIdsForPlaylist> - get copyWith => CopyWith$Variables$Query$GetManyEpisodeIdsForPlaylist( - this, - (i) => i, - ); + Variables$Query$GetManyEpisodeIdsForPlaylist + > + get copyWith => + CopyWith$Variables$Query$GetManyEpisodeIdsForPlaylist(this, (i) => i); @override bool operator ==(Object other) { @@ -2393,11 +2432,12 @@ class _CopyWithImpl$Variables$Query$GetManyEpisodeIdsForPlaylist static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetManyEpisodeIdsForPlaylist._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetManyEpisodeIdsForPlaylist._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetManyEpisodeIdsForPlaylist @@ -2416,12 +2456,14 @@ class Query$GetManyEpisodeIdsForPlaylist { }); factory Query$GetManyEpisodeIdsForPlaylist.fromJson( - Map json) { + Map json, + ) { final l$playlist = json['playlist']; final l$$__typename = json['__typename']; return Query$GetManyEpisodeIdsForPlaylist( playlist: Query$GetManyEpisodeIdsForPlaylist$playlist.fromJson( - (l$playlist as Map)), + (l$playlist as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2443,10 +2485,7 @@ class Query$GetManyEpisodeIdsForPlaylist { int get hashCode { final l$playlist = playlist; final l$$__typename = $__typename; - return Object.hashAll([ - l$playlist, - l$$__typename, - ]); + return Object.hashAll([l$playlist, l$$__typename]); } @override @@ -2475,11 +2514,9 @@ class Query$GetManyEpisodeIdsForPlaylist { extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist on Query$GetManyEpisodeIdsForPlaylist { CopyWith$Query$GetManyEpisodeIdsForPlaylist< - Query$GetManyEpisodeIdsForPlaylist> - get copyWith => CopyWith$Query$GetManyEpisodeIdsForPlaylist( - this, - (i) => i, - ); + Query$GetManyEpisodeIdsForPlaylist + > + get copyWith => CopyWith$Query$GetManyEpisodeIdsForPlaylist(this, (i) => i); } abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist { @@ -2500,10 +2537,7 @@ abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist { class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist implements CopyWith$Query$GetManyEpisodeIdsForPlaylist { - _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist(this._instance, this._then); final Query$GetManyEpisodeIdsForPlaylist _instance; @@ -2514,20 +2548,23 @@ class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist TRes call({ Object? playlist = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetManyEpisodeIdsForPlaylist( - playlist: playlist == _undefined || playlist == null - ? _instance.playlist - : (playlist as Query$GetManyEpisodeIdsForPlaylist$playlist), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetManyEpisodeIdsForPlaylist( + playlist: playlist == _undefined || playlist == null + ? _instance.playlist + : (playlist as Query$GetManyEpisodeIdsForPlaylist$playlist), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist get playlist { final local$playlist = _instance.playlist; return CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist( - local$playlist, (e) => call(playlist: e)); + local$playlist, + (e) => call(playlist: e), + ); } } @@ -2540,87 +2577,102 @@ class _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist call({ Query$GetManyEpisodeIdsForPlaylist$playlist? playlist, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist get playlist => CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist.stub(_res); } -const documentNodeQueryGetManyEpisodeIdsForPlaylist = - DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetManyEpisodeIdsForPlaylist'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetManyEpisodeIdsForPlaylist = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetManyEpisodeIdsForPlaylist'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'playlist'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'playlist'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '100'), - ) + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - 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: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '100'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'cursor'), + name: NameNode(value: 'items'), alias: null, arguments: [], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'cursor'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2629,18 +2681,18 @@ const documentNodeQueryGetManyEpisodeIdsForPlaylist = directives: [], selectionSet: null, ), - ]), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2649,26 +2701,19 @@ const documentNodeQueryGetManyEpisodeIdsForPlaylist = directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Query$GetManyEpisodeIdsForPlaylist _parserFn$Query$GetManyEpisodeIdsForPlaylist( - Map data) => - Query$GetManyEpisodeIdsForPlaylist.fromJson(data); -typedef OnQueryComplete$Query$GetManyEpisodeIdsForPlaylist = FutureOr - Function( - Map?, - Query$GetManyEpisodeIdsForPlaylist?, + ), + ], ); +Query$GetManyEpisodeIdsForPlaylist _parserFn$Query$GetManyEpisodeIdsForPlaylist( + Map data, +) => Query$GetManyEpisodeIdsForPlaylist.fromJson(data); +typedef OnQueryComplete$Query$GetManyEpisodeIdsForPlaylist = + FutureOr Function( + Map?, + Query$GetManyEpisodeIdsForPlaylist?, + ); class Options$Query$GetManyEpisodeIdsForPlaylist extends graphql.QueryOptions { @@ -2684,39 +2729,39 @@ class Options$Query$GetManyEpisodeIdsForPlaylist graphql.Context? context, OnQueryComplete$Query$GetManyEpisodeIdsForPlaylist? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetManyEpisodeIdsForPlaylist(data), - ), - onError: onError, - document: documentNodeQueryGetManyEpisodeIdsForPlaylist, - parserFn: _parserFn$Query$GetManyEpisodeIdsForPlaylist, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$GetManyEpisodeIdsForPlaylist(data), + ), + onError: onError, + document: documentNodeQueryGetManyEpisodeIdsForPlaylist, + parserFn: _parserFn$Query$GetManyEpisodeIdsForPlaylist, + ); final OnQueryComplete$Query$GetManyEpisodeIdsForPlaylist? - onCompleteWithParsed; + onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetManyEpisodeIdsForPlaylist @@ -2735,20 +2780,20 @@ class WatchOptions$Query$GetManyEpisodeIdsForPlaylist bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetManyEpisodeIdsForPlaylist, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetManyEpisodeIdsForPlaylist, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetManyEpisodeIdsForPlaylist, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetManyEpisodeIdsForPlaylist, + ); } class FetchMoreOptions$Query$GetManyEpisodeIdsForPlaylist @@ -2757,38 +2802,38 @@ class FetchMoreOptions$Query$GetManyEpisodeIdsForPlaylist required graphql.UpdateQuery updateQuery, required Variables$Query$GetManyEpisodeIdsForPlaylist variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetManyEpisodeIdsForPlaylist, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetManyEpisodeIdsForPlaylist, + ); } extension ClientExtension$Query$GetManyEpisodeIdsForPlaylist on graphql.GraphQLClient { Future> - query$GetManyEpisodeIdsForPlaylist( - Options$Query$GetManyEpisodeIdsForPlaylist options) async => - await this.query(options); + query$GetManyEpisodeIdsForPlaylist( + Options$Query$GetManyEpisodeIdsForPlaylist options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$GetManyEpisodeIdsForPlaylist( - WatchOptions$Query$GetManyEpisodeIdsForPlaylist options) => - this.watchQuery(options); + watchQuery$GetManyEpisodeIdsForPlaylist( + WatchOptions$Query$GetManyEpisodeIdsForPlaylist options, + ) => this.watchQuery(options); void writeQuery$GetManyEpisodeIdsForPlaylist({ required Query$GetManyEpisodeIdsForPlaylist data, required Variables$Query$GetManyEpisodeIdsForPlaylist variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryGetManyEpisodeIdsForPlaylist), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetManyEpisodeIdsForPlaylist, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetManyEpisodeIdsForPlaylist? readQuery$GetManyEpisodeIdsForPlaylist({ required Variables$Query$GetManyEpisodeIdsForPlaylist variables, @@ -2797,7 +2842,8 @@ extension ClientExtension$Query$GetManyEpisodeIdsForPlaylist final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQueryGetManyEpisodeIdsForPlaylist), + document: documentNodeQueryGetManyEpisodeIdsForPlaylist, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -2809,13 +2855,13 @@ extension ClientExtension$Query$GetManyEpisodeIdsForPlaylist } graphql_flutter.QueryHookResult - useQuery$GetManyEpisodeIdsForPlaylist( - Options$Query$GetManyEpisodeIdsForPlaylist options) => - graphql_flutter.useQuery(options); +useQuery$GetManyEpisodeIdsForPlaylist( + Options$Query$GetManyEpisodeIdsForPlaylist options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetManyEpisodeIdsForPlaylist( - WatchOptions$Query$GetManyEpisodeIdsForPlaylist options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetManyEpisodeIdsForPlaylist( + WatchOptions$Query$GetManyEpisodeIdsForPlaylist options, +) => graphql_flutter.useWatchQuery(options); class Query$GetManyEpisodeIdsForPlaylist$Widget extends graphql_flutter.Query { @@ -2823,12 +2869,8 @@ class Query$GetManyEpisodeIdsForPlaylist$Widget widgets.Key? key, required Options$Query$GetManyEpisodeIdsForPlaylist options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$GetManyEpisodeIdsForPlaylist$playlist { @@ -2838,12 +2880,14 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist { }); factory Query$GetManyEpisodeIdsForPlaylist$playlist.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetManyEpisodeIdsForPlaylist$playlist( items: Query$GetManyEpisodeIdsForPlaylist$playlist$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2865,10 +2909,7 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist { int get hashCode { final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$items, - l$$__typename, - ]); + return Object.hashAll([l$items, l$$__typename]); } @override @@ -2897,11 +2938,10 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist { extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist on Query$GetManyEpisodeIdsForPlaylist$playlist { CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist< - Query$GetManyEpisodeIdsForPlaylist$playlist> - get copyWith => CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist( - this, - (i) => i, - ); + Query$GetManyEpisodeIdsForPlaylist$playlist + > + get copyWith => + CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist(this, (i) => i); } abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist { @@ -2933,23 +2973,24 @@ class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetManyEpisodeIdsForPlaylist$playlist( - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetManyEpisodeIdsForPlaylist$playlist$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetManyEpisodeIdsForPlaylist$playlist( + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetManyEpisodeIdsForPlaylist$playlist$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items get items { final local$items = _instance.items; return CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -2962,8 +3003,7 @@ class _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist call({ Query$GetManyEpisodeIdsForPlaylist$playlist$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items get items => CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items.stub(_res); @@ -2976,14 +3016,18 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items { }); factory Query$GetManyEpisodeIdsForPlaylist$playlist$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetManyEpisodeIdsForPlaylist$playlist$items( items: (l$items as List) - .map((e) => - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -3045,35 +3089,40 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items { extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist$items on Query$GetManyEpisodeIdsForPlaylist$playlist$items { CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items< - Query$GetManyEpisodeIdsForPlaylist$playlist$items> - get copyWith => - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items( - this, - (i) => i, - ); + Query$GetManyEpisodeIdsForPlaylist$playlist$items + > + get copyWith => CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items< - TRes> { + TRes +> { factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items( Query$GetManyEpisodeIdsForPlaylist$playlist$items instance, TRes Function(Query$GetManyEpisodeIdsForPlaylist$playlist$items) then, ) = _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items; factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items @@ -3090,70 +3139,83 @@ class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetManyEpisodeIdsForPlaylist$playlist$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetManyEpisodeIdsForPlaylist$playlist$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items { _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items( - this._res); + this._res, + ); TRes _res; call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items { - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( - {required this.$__typename}); + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items({ + required this.$__typename, + }); factory Query$GetManyEpisodeIdsForPlaylist$playlist$items$items.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode - .fromJson(json); + return Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode.fromJson( + json, + ); case "Short": - return Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short - .fromJson(json); + return Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -3193,30 +3255,37 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items { extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items on Query$GetManyEpisodeIdsForPlaylist$playlist$items$items { CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items> - get copyWith => - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( - this, - (i) => i, - ); + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items + > + get copyWith => + CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode) - episode, + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode, + ) + episode, required _T Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short) - short, + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short, + ) + short, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode); + return episode( + this + as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode, + ); case "Short": - return short(this - as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short); + return short( + this + as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short, + ); default: return orElse(); @@ -3225,25 +3294,30 @@ extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist$items$ite _T maybeWhen<_T>({ _T Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode)? - episode, + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode, + )? + episode, _T Function(Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short)? - short, + short, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode); + return episode( + this + as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short); + return short( + this + as Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short, + ); } else { return orElse(); } @@ -3255,21 +3329,23 @@ extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist$items$ite } abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( Query$GetManyEpisodeIdsForPlaylist$playlist$items$items instance, TRes Function(Query$GetManyEpisodeIdsForPlaylist$playlist$items$items) then, ) = _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items; factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< - TRes> + TRes +> implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items { _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( @@ -3280,23 +3356,27 @@ class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< final Query$GetManyEpisodeIdsForPlaylist$playlist$items$items _instance; final TRes Function(Query$GetManyEpisodeIdsForPlaylist$playlist$items$items) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items< - TRes> + TRes +> implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items { _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items( - this._res); + this._res, + ); TRes _res; @@ -3312,7 +3392,8 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode }); factory Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$cursor = json['cursor']; final l$$__typename = json['__typename']; @@ -3345,11 +3426,7 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode final l$id = id; final l$cursor = cursor; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$cursor, - l$$__typename, - ]); + return Object.hashAll([l$id, l$cursor, l$$__typename]); } @override @@ -3384,49 +3461,52 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode on Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode { CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode< - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode> - get copyWith => - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( - this, - (i) => i, - ); + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode + > + get copyWith => + CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode instance, TRes Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode) - then, + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode; factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode; - TRes call({ - String? id, - String? cursor, - String? $__typename, - }); + TRes call({String? id, String? cursor, String? $__typename}); } class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( this._instance, this._then, ); final Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode - _instance; + _instance; final TRes Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode) _then; + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode, + ) + _then; static const _undefined = {}; @@ -3434,46 +3514,48 @@ class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Epi Object? id = _undefined, Object? cursor = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Episode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? cursor, - String? $__typename, - }) => - _res; + call({String? id, String? cursor, String? $__typename}) => _res; } class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short implements Query$GetManyEpisodeIdsForPlaylist$playlist$items$items { - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( - {this.$__typename = 'Short'}); + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short({ + this.$__typename = 'Short', + }); factory Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -3513,62 +3595,74 @@ class Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short extension UtilityExtension$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short on Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short { CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short< - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short> - get copyWith => - CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( - this, - (i) => i, - ); + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short + > + get copyWith => + CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short instance, TRes Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short) - then, + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short, + ) + then, ) = _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short; factory CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short< - TRes> + TRes +> implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( this._instance, this._then, ); final Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short - _instance; + _instance; final TRes Function( - Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short) _then; + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short< - TRes> + TRes +> implements CopyWith$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetManyEpisodeIdsForPlaylist$playlist$items$items$$Short( - this._res); + this._res, + ); TRes _res; @@ -3579,11 +3673,10 @@ class Variables$Query$KidsFetchEpisode { factory Variables$Query$KidsFetchEpisode({ required String id, Input$EpisodeContext? context, - }) => - Variables$Query$KidsFetchEpisode._({ - r'id': id, - if (context != null) r'context': context, - }); + }) => Variables$Query$KidsFetchEpisode._({ + r'id': id, + if (context != null) r'context': context, + }); Variables$Query$KidsFetchEpisode._(this._$data); @@ -3619,10 +3712,7 @@ class Variables$Query$KidsFetchEpisode { } CopyWith$Variables$Query$KidsFetchEpisode - get copyWith => CopyWith$Variables$Query$KidsFetchEpisode( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$KidsFetchEpisode(this, (i) => i); @override bool operator ==(Object other) { @@ -3669,18 +3759,12 @@ abstract class CopyWith$Variables$Query$KidsFetchEpisode { factory CopyWith$Variables$Query$KidsFetchEpisode.stub(TRes res) = _CopyWithStubImpl$Variables$Query$KidsFetchEpisode; - TRes call({ - String? id, - Input$EpisodeContext? context, - }); + TRes call({String? id, Input$EpisodeContext? context}); } class _CopyWithImpl$Variables$Query$KidsFetchEpisode implements CopyWith$Variables$Query$KidsFetchEpisode { - _CopyWithImpl$Variables$Query$KidsFetchEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$KidsFetchEpisode(this._instance, this._then); final Variables$Query$KidsFetchEpisode _instance; @@ -3688,16 +3772,13 @@ class _CopyWithImpl$Variables$Query$KidsFetchEpisode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? context = _undefined, - }) => - _then(Variables$Query$KidsFetchEpisode._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (context != _undefined) - 'context': (context as Input$EpisodeContext?), - })); + TRes call({Object? id = _undefined, Object? context = _undefined}) => _then( + Variables$Query$KidsFetchEpisode._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (context != _undefined) 'context': (context as Input$EpisodeContext?), + }), + ); } class _CopyWithStubImpl$Variables$Query$KidsFetchEpisode @@ -3706,11 +3787,7 @@ class _CopyWithStubImpl$Variables$Query$KidsFetchEpisode TRes _res; - call({ - String? id, - Input$EpisodeContext? context, - }) => - _res; + call({String? id, Input$EpisodeContext? context}) => _res; } class Query$KidsFetchEpisode { @@ -3724,7 +3801,8 @@ class Query$KidsFetchEpisode { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode( episode: Query$KidsFetchEpisode$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3746,10 +3824,7 @@ class Query$KidsFetchEpisode { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -3776,10 +3851,7 @@ class Query$KidsFetchEpisode { extension UtilityExtension$Query$KidsFetchEpisode on Query$KidsFetchEpisode { CopyWith$Query$KidsFetchEpisode get copyWith => - CopyWith$Query$KidsFetchEpisode( - this, - (i) => i, - ); + CopyWith$Query$KidsFetchEpisode(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode { @@ -3791,19 +3863,13 @@ abstract class CopyWith$Query$KidsFetchEpisode { factory CopyWith$Query$KidsFetchEpisode.stub(TRes res) = _CopyWithStubImpl$Query$KidsFetchEpisode; - TRes call({ - Query$KidsFetchEpisode$episode? episode, - String? $__typename, - }); + TRes call({Query$KidsFetchEpisode$episode? episode, String? $__typename}); CopyWith$Query$KidsFetchEpisode$episode get episode; } class _CopyWithImpl$Query$KidsFetchEpisode implements CopyWith$Query$KidsFetchEpisode { - _CopyWithImpl$Query$KidsFetchEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Query$KidsFetchEpisode(this._instance, this._then); final Query$KidsFetchEpisode _instance; @@ -3811,23 +3877,24 @@ class _CopyWithImpl$Query$KidsFetchEpisode static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Query$KidsFetchEpisode$episode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsFetchEpisode( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Query$KidsFetchEpisode$episode), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsFetchEpisode$episode get episode { final local$episode = _instance.episode; return CopyWith$Query$KidsFetchEpisode$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -3837,164 +3904,176 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode TRes _res; - call({ - Query$KidsFetchEpisode$episode? episode, - String? $__typename, - }) => - _res; + call({Query$KidsFetchEpisode$episode? episode, String? $__typename}) => _res; CopyWith$Query$KidsFetchEpisode$episode get episode => CopyWith$Query$KidsFetchEpisode$episode.stub(_res); } -const documentNodeQueryKidsFetchEpisode = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'KidsFetchEpisode'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryKidsFetchEpisode = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'KidsFetchEpisode'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'context')), - type: NamedTypeNode( - name: NameNode(value: 'EpisodeContext'), - isNonNull: false, - ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ), - ArgumentNode( - name: NameNode(value: 'context'), - value: VariableNode(name: NameNode(value: 'context')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FragmentSpreadNode( - name: NameNode(value: 'PlayableMediaItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'uuid'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'context'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeContext'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'context')), + type: NamedTypeNode( + name: NameNode(value: 'EpisodeContext'), + isNonNull: false, ), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'next'), + name: NameNode(value: 'episode'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'limit'), - value: IntValueNode(value: '20'), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'KidsEpisodeThumbnail'), - directives: [], + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), ), - FieldNode( - name: NameNode(value: 'cursor'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'context'), + value: VariableNode(name: NameNode(value: 'context')), ), - ]), - ), - FieldNode( - name: NameNode(value: 'streams'), - alias: null, - arguments: [], + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'BasicStream'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'PlayableMediaItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'uuid'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'context'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeContext'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'next'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'limit'), + value: IntValueNode(value: '20'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'KidsEpisodeThumbnail'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'cursor'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'streams'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'BasicStream'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -4003,27 +4082,20 @@ const documentNodeQueryKidsFetchEpisode = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionPlayableMediaItem, - fragmentDefinitionBasicStream, - fragmentDefinitionEpisodeContext, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, - fragmentDefinitionKidsEpisodeThumbnail, -]); + ), + fragmentDefinitionPlayableMediaItem, + fragmentDefinitionBasicStream, + fragmentDefinitionEpisodeContext, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + fragmentDefinitionKidsEpisodeThumbnail, + ], +); Query$KidsFetchEpisode _parserFn$Query$KidsFetchEpisode( - Map data) => - Query$KidsFetchEpisode.fromJson(data); + Map data, +) => Query$KidsFetchEpisode.fromJson(data); typedef OnQueryComplete$Query$KidsFetchEpisode = FutureOr Function( Map?, Query$KidsFetchEpisode?, @@ -4043,38 +4115,36 @@ class Options$Query$KidsFetchEpisode graphql.Context? context, OnQueryComplete$Query$KidsFetchEpisode? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$KidsFetchEpisode(data), - ), - onError: onError, - document: documentNodeQueryKidsFetchEpisode, - parserFn: _parserFn$Query$KidsFetchEpisode, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$KidsFetchEpisode(data), + ), + onError: onError, + document: documentNodeQueryKidsFetchEpisode, + parserFn: _parserFn$Query$KidsFetchEpisode, + ); final OnQueryComplete$Query$KidsFetchEpisode? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$KidsFetchEpisode @@ -4093,20 +4163,20 @@ class WatchOptions$Query$KidsFetchEpisode bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryKidsFetchEpisode, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$KidsFetchEpisode, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryKidsFetchEpisode, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$KidsFetchEpisode, + ); } class FetchMoreOptions$Query$KidsFetchEpisode extends graphql.FetchMoreOptions { @@ -4114,35 +4184,33 @@ class FetchMoreOptions$Query$KidsFetchEpisode extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$KidsFetchEpisode variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryKidsFetchEpisode, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryKidsFetchEpisode, + ); } extension ClientExtension$Query$KidsFetchEpisode on graphql.GraphQLClient { Future> query$KidsFetchEpisode( - Options$Query$KidsFetchEpisode options) async => - await this.query(options); + Options$Query$KidsFetchEpisode options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$KidsFetchEpisode( - WatchOptions$Query$KidsFetchEpisode options) => - this.watchQuery(options); + WatchOptions$Query$KidsFetchEpisode options, + ) => this.watchQuery(options); void writeQuery$KidsFetchEpisode({ required Query$KidsFetchEpisode data, required Variables$Query$KidsFetchEpisode variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryKidsFetchEpisode), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryKidsFetchEpisode), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$KidsFetchEpisode? readQuery$KidsFetchEpisode({ required Variables$Query$KidsFetchEpisode variables, @@ -4150,8 +4218,9 @@ extension ClientExtension$Query$KidsFetchEpisode on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryKidsFetchEpisode), + operation: graphql.Operation( + document: documentNodeQueryKidsFetchEpisode, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -4161,11 +4230,11 @@ extension ClientExtension$Query$KidsFetchEpisode on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$KidsFetchEpisode(Options$Query$KidsFetchEpisode options) => - graphql_flutter.useQuery(options); +useQuery$KidsFetchEpisode(Options$Query$KidsFetchEpisode options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$KidsFetchEpisode( - WatchOptions$Query$KidsFetchEpisode options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$KidsFetchEpisode options, +) => graphql_flutter.useWatchQuery(options); class Query$KidsFetchEpisode$Widget extends graphql_flutter.Query { @@ -4173,11 +4242,7 @@ class Query$KidsFetchEpisode$Widget widgets.Key? key, required Options$Query$KidsFetchEpisode options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$KidsFetchEpisode$episode @@ -4216,7 +4281,8 @@ class Query$KidsFetchEpisode$episode id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -4225,21 +4291,29 @@ class Query$KidsFetchEpisode$episode context: l$context == null ? null : Query$KidsFetchEpisode$episode$context.fromJson( - (l$context as Map)), + (l$context as Map), + ), duration: (l$duration as int), season: l$season == null ? null : Query$KidsFetchEpisode$episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), contributors: (l$contributors as List) - .map((e) => Query$KidsFetchEpisode$episode$contributors.fromJson( - (e as Map))) + .map( + (e) => Query$KidsFetchEpisode$episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), uuid: (l$uuid as String), next: (l$next as List) - .map((e) => Query$KidsFetchEpisode$episode$next.fromJson( - (e as Map))) + .map( + (e) => Query$KidsFetchEpisode$episode$next.fromJson( + (e as Map), + ), + ) .toList(), ); } @@ -4291,8 +4365,9 @@ class Query$KidsFetchEpisode$episode final l$season = season; _resultData['season'] = l$season?.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; final l$uuid = uuid; @@ -4436,10 +4511,7 @@ class Query$KidsFetchEpisode$episode extension UtilityExtension$Query$KidsFetchEpisode$episode on Query$KidsFetchEpisode$episode { CopyWith$Query$KidsFetchEpisode$episode - get copyWith => CopyWith$Query$KidsFetchEpisode$episode( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$KidsFetchEpisode$episode(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode { @@ -4467,31 +4539,38 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode { List? next, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); CopyWith$Query$KidsFetchEpisode$episode$context get context; CopyWith$Query$KidsFetchEpisode$episode$season get season; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$contributors< - Query$KidsFetchEpisode$episode$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$contributors< + Query$KidsFetchEpisode$episode$contributors + > + >, + ) + _fn, + ); TRes next( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$next< - Query$KidsFetchEpisode$episode$next>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$next< + Query$KidsFetchEpisode$episode$next + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$KidsFetchEpisode$episode implements CopyWith$Query$KidsFetchEpisode$episode { - _CopyWithImpl$Query$KidsFetchEpisode$episode( - this._instance, - this._then, - ); + _CopyWithImpl$Query$KidsFetchEpisode$episode(this._instance, this._then); final Query$KidsFetchEpisode$episode _instance; @@ -4513,63 +4592,65 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode Object? $__typename = _undefined, Object? uuid = _undefined, Object? next = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - context: context == _undefined - ? _instance.context - : (context as Query$KidsFetchEpisode$episode$context?), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - season: season == _undefined - ? _instance.season - : (season as Query$KidsFetchEpisode$episode$season?), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors - as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - next: next == _undefined || next == null - ? _instance.next - : (next as List), - )); + }) => _then( + Query$KidsFetchEpisode$episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + context: context == _undefined + ? _instance.context + : (context as Query$KidsFetchEpisode$episode$context?), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + season: season == _undefined + ? _instance.season + : (season as Query$KidsFetchEpisode$episode$season?), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + next: next == _undefined || next == null + ? _instance.next + : (next as List), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); CopyWith$Query$KidsFetchEpisode$episode$context get context { final local$context = _instance.context; return local$context == null ? CopyWith$Query$KidsFetchEpisode$episode$context.stub(_then(_instance)) : CopyWith$Query$KidsFetchEpisode$episode$context( - local$context, (e) => call(context: e)); + local$context, + (e) => call(context: e), + ); } CopyWith$Query$KidsFetchEpisode$episode$season get season { @@ -4577,34 +4658,45 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode return local$season == null ? CopyWith$Query$KidsFetchEpisode$episode$season.stub(_then(_instance)) : CopyWith$Query$KidsFetchEpisode$episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$contributors< - Query$KidsFetchEpisode$episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors - .map((e) => CopyWith$Query$KidsFetchEpisode$episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$contributors< + Query$KidsFetchEpisode$episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$KidsFetchEpisode$episode$contributors(e, (i) => i), + ), + ).toList(), + ); TRes next( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$next< - Query$KidsFetchEpisode$episode$next>>) - _fn) => - call( - next: _fn(_instance.next - .map((e) => CopyWith$Query$KidsFetchEpisode$episode$next( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$next< + Query$KidsFetchEpisode$episode$next + > + >, + ) + _fn, + ) => call( + next: _fn( + _instance.next.map( + (e) => CopyWith$Query$KidsFetchEpisode$episode$next(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode @@ -4627,8 +4719,7 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode String? $__typename, String? uuid, List? next, - }) => - _res; + }) => _res; streams(_fn) => _res; @@ -4650,11 +4741,13 @@ class Query$KidsFetchEpisode$episode$context Query$KidsFetchEpisode$episode$context({required this.$__typename}); factory Query$KidsFetchEpisode$episode$context.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "ContextCollection": - return Query$KidsFetchEpisode$episode$context$$ContextCollection - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection.fromJson( + json, + ); case "Season": return Query$KidsFetchEpisode$episode$context$$Season.fromJson(json); @@ -4665,7 +4758,8 @@ class Query$KidsFetchEpisode$episode$context default: final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -4705,32 +4799,34 @@ class Query$KidsFetchEpisode$episode$context extension UtilityExtension$Query$KidsFetchEpisode$episode$context on Query$KidsFetchEpisode$episode$context { CopyWith$Query$KidsFetchEpisode$episode$context< - Query$KidsFetchEpisode$episode$context> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$context( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context(this, (i) => i); _T when<_T>({ required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection) - contextCollection, + Query$KidsFetchEpisode$episode$context$$ContextCollection, + ) + contextCollection, required _T Function(Query$KidsFetchEpisode$episode$context$$Season) season, required _T Function(Query$KidsFetchEpisode$episode$context$$Playlist) - playlist, + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": return contextCollection( - this as Query$KidsFetchEpisode$episode$context$$ContextCollection); + this as Query$KidsFetchEpisode$episode$context$$ContextCollection, + ); case "Season": return season(this as Query$KidsFetchEpisode$episode$context$$Season); case "Playlist": return playlist( - this as Query$KidsFetchEpisode$episode$context$$Playlist); + this as Query$KidsFetchEpisode$episode$context$$Playlist, + ); default: return orElse(); @@ -4739,7 +4835,7 @@ extension UtilityExtension$Query$KidsFetchEpisode$episode$context _T maybeWhen<_T>({ _T Function(Query$KidsFetchEpisode$episode$context$$ContextCollection)? - contextCollection, + contextCollection, _T Function(Query$KidsFetchEpisode$episode$context$$Season)? season, _T Function(Query$KidsFetchEpisode$episode$context$$Playlist)? playlist, required _T Function() orElse, @@ -4747,8 +4843,9 @@ extension UtilityExtension$Query$KidsFetchEpisode$episode$context switch ($__typename) { case "ContextCollection": if (contextCollection != null) { - return contextCollection(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection); + return contextCollection( + this as Query$KidsFetchEpisode$episode$context$$ContextCollection, + ); } else { return orElse(); } @@ -4763,7 +4860,8 @@ extension UtilityExtension$Query$KidsFetchEpisode$episode$context case "Playlist": if (playlist != null) { return playlist( - this as Query$KidsFetchEpisode$episode$context$$Playlist); + this as Query$KidsFetchEpisode$episode$context$$Playlist, + ); } else { return orElse(); } @@ -4799,11 +4897,13 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$KidsFetchEpisode$episode$context( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$KidsFetchEpisode$episode$context( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context @@ -4827,7 +4927,8 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; final l$items = json['items']; @@ -4836,8 +4937,9 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection $__typename: (l$$__typename as String), items: l$items == null ? null - : Query$KidsFetchEpisode$episode$context$$ContextCollection$items - .fromJson((l$items as Map)), + : Query$KidsFetchEpisode$episode$context$$ContextCollection$items.fromJson( + (l$items as Map), + ), ); } @@ -4863,11 +4965,7 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection final l$id = id; final l$$__typename = $__typename; final l$items = items; - return Object.hashAll([ - l$id, - l$$__typename, - l$items, - ]); + return Object.hashAll([l$id, l$$__typename, l$items]); } @override @@ -4901,25 +4999,27 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection on Query$KidsFetchEpisode$episode$context$$ContextCollection { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection< - Query$KidsFetchEpisode$episode$context$$ContextCollection> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection( Query$KidsFetchEpisode$episode$context$$ContextCollection instance, TRes Function(Query$KidsFetchEpisode$episode$context$$ContextCollection) - then, + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection; TRes call({ String? id, @@ -4927,14 +5027,16 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollectio Query$KidsFetchEpisode$episode$context$$ContextCollection$items? items, }); CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items - get items; + get items; } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection( this._instance, this._then, @@ -4943,7 +5045,7 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection< final Query$KidsFetchEpisode$episode$context$$ContextCollection _instance; final TRes Function(Query$KidsFetchEpisode$episode$context$$ContextCollection) - _then; + _then; static const _undefined = {}; @@ -4951,36 +5053,43 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection< Object? id = _undefined, Object? $__typename = _undefined, Object? items = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - items: items == _undefined - ? _instance.items - : (items + }) => _then( + Query$KidsFetchEpisode$episode$context$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + items: items == _undefined + ? _instance.items + : (items as Query$KidsFetchEpisode$episode$context$$ContextCollection$items?), - )); + ), + ); CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items - get items { + get items { final local$items = _instance.items; return local$items == null - ? CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items - .stub(_then(_instance)) + ? CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items.stub( + _then(_instance), + ) : CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection( - this._res); + this._res, + ); TRes _res; @@ -4988,13 +5097,13 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollectio String? id, String? $__typename, Query$KidsFetchEpisode$episode$context$$ContextCollection$items? items, - }) => - _res; + }) => _res; CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items - get items => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items - .stub(_res); + get items => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items.stub( + _res, + ); } class Query$KidsFetchEpisode$episode$context$$Season @@ -5012,7 +5121,8 @@ class Query$KidsFetchEpisode$episode$context$$Season }); factory Query$KidsFetchEpisode$episode$context$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -5026,9 +5136,11 @@ class Query$KidsFetchEpisode$episode$context$$Season number: (l$number as int), episodes: Query$KidsFetchEpisode$episode$context$$Season$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $show: Query$KidsFetchEpisode$episode$context$$Season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), ); } @@ -5125,11 +5237,10 @@ class Query$KidsFetchEpisode$episode$context$$Season extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$Season on Query$KidsFetchEpisode$episode$context$$Season { CopyWith$Query$KidsFetchEpisode$episode$context$$Season< - Query$KidsFetchEpisode$episode$context$$Season> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$context$$Season( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$Season + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season { @@ -5139,8 +5250,8 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season { ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season; factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season; TRes call({ String? $__typename, @@ -5151,7 +5262,7 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season { Query$KidsFetchEpisode$episode$context$$Season$show? $show, }); CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes - get episodes; + get episodes; CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show get $show; } @@ -5175,38 +5286,43 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season Object? number = _undefined, Object? episodes = _undefined, Object? $show = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - number: number == _undefined || number == null - ? _instance.number - : (number as int), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes + }) => _then( + Query$KidsFetchEpisode$episode$context$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + number: number == _undefined || number == null + ? _instance.number + : (number as int), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$KidsFetchEpisode$episode$context$$Season$episodes), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$KidsFetchEpisode$episode$context$$Season$show), - )); + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$KidsFetchEpisode$episode$context$$Season$show), + ), + ); CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes - get episodes { + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show get $show { final local$$show = _instance.$show; return CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -5223,18 +5339,17 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season int? number, Query$KidsFetchEpisode$episode$context$$Season$episodes? episodes, Query$KidsFetchEpisode$episode$context$$Season$show? $show, - }) => - _res; + }) => _res; CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes - get episodes => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes.stub( - _res); + get episodes => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes.stub( + _res, + ); CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show - get $show => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show.stub( - _res); + get $show => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show.stub(_res); } class Query$KidsFetchEpisode$episode$context$$Playlist @@ -5242,14 +5357,17 @@ class Query$KidsFetchEpisode$episode$context$$Playlist Fragment$PlayableMediaItem$$Episode$context$$Playlist, Fragment$EpisodeContext$$Playlist, Query$KidsFetchEpisode$episode$context { - Query$KidsFetchEpisode$episode$context$$Playlist( - {this.$__typename = 'Playlist'}); + Query$KidsFetchEpisode$episode$context$$Playlist({ + this.$__typename = 'Playlist', + }); factory Query$KidsFetchEpisode$episode$context$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -5288,11 +5406,10 @@ class Query$KidsFetchEpisode$episode$context$$Playlist extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$Playlist on Query$KidsFetchEpisode$episode$context$$Playlist { CopyWith$Query$KidsFetchEpisode$episode$context$$Playlist< - Query$KidsFetchEpisode$episode$context$$Playlist> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$context$$Playlist( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$Playlist + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$Playlist(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Playlist { @@ -5302,8 +5419,8 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Playlist { ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Playlist; factory CopyWith$Query$KidsFetchEpisode$episode$context$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Playlist; TRes call({String? $__typename}); } @@ -5321,11 +5438,13 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Playlist static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$KidsFetchEpisode$episode$context$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$KidsFetchEpisode$episode$context$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Playlist @@ -5347,7 +5466,8 @@ class Query$KidsFetchEpisode$episode$season }); factory Query$KidsFetchEpisode$episode$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -5356,7 +5476,8 @@ class Query$KidsFetchEpisode$episode$season id: (l$id as String), title: (l$title as String), $show: Query$KidsFetchEpisode$episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -5388,12 +5509,7 @@ class Query$KidsFetchEpisode$episode$season final l$title = title; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename]); } @override @@ -5432,11 +5548,10 @@ class Query$KidsFetchEpisode$episode$season extension UtilityExtension$Query$KidsFetchEpisode$episode$season on Query$KidsFetchEpisode$episode$season { CopyWith$Query$KidsFetchEpisode$episode$season< - Query$KidsFetchEpisode$episode$season> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$season( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$season + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$season(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode$season { @@ -5475,24 +5590,27 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$season Object? title = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$KidsFetchEpisode$episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$KidsFetchEpisode$episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsFetchEpisode$episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Query$KidsFetchEpisode$episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -5507,8 +5625,7 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$season String? title, Query$KidsFetchEpisode$episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$KidsFetchEpisode$episode$season$show get $show => CopyWith$Query$KidsFetchEpisode$episode$season$show.stub(_res); @@ -5523,7 +5640,8 @@ class Query$KidsFetchEpisode$episode$season$show }); factory Query$KidsFetchEpisode$episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -5556,11 +5674,7 @@ class Query$KidsFetchEpisode$episode$season$show final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -5594,11 +5708,10 @@ class Query$KidsFetchEpisode$episode$season$show extension UtilityExtension$Query$KidsFetchEpisode$episode$season$show on Query$KidsFetchEpisode$episode$season$show { CopyWith$Query$KidsFetchEpisode$episode$season$show< - Query$KidsFetchEpisode$episode$season$show> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$season$show( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$season$show + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$season$show(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode$season$show { @@ -5610,11 +5723,7 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$season$show { factory CopyWith$Query$KidsFetchEpisode$episode$season$show.stub(TRes res) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$season$show @@ -5634,16 +5743,17 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$season$show Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$season$show @@ -5652,12 +5762,7 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$season$show TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$KidsFetchEpisode$episode$contributors @@ -5669,7 +5774,8 @@ class Query$KidsFetchEpisode$episode$contributors }); factory Query$KidsFetchEpisode$episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -5678,7 +5784,8 @@ class Query$KidsFetchEpisode$episode$contributors .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), person: Query$KidsFetchEpisode$episode$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -5752,11 +5859,10 @@ class Query$KidsFetchEpisode$episode$contributors extension UtilityExtension$Query$KidsFetchEpisode$episode$contributors on Query$KidsFetchEpisode$episode$contributors { CopyWith$Query$KidsFetchEpisode$episode$contributors< - Query$KidsFetchEpisode$episode$contributors> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$contributors( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$contributors + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$contributors(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode$contributors { @@ -5793,24 +5899,27 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person as Query$KidsFetchEpisode$episode$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Query$KidsFetchEpisode$episode$contributors$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsFetchEpisode$episode$contributors$person get person { final local$person = _instance.person; return CopyWith$Query$KidsFetchEpisode$episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -5824,13 +5933,11 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$contributors List? contributionTypes, Query$KidsFetchEpisode$episode$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$KidsFetchEpisode$episode$contributors$person - get person => - CopyWith$Query$KidsFetchEpisode$episode$contributors$person.stub( - _res); + get person => + CopyWith$Query$KidsFetchEpisode$episode$contributors$person.stub(_res); } class Query$KidsFetchEpisode$episode$contributors$person @@ -5841,7 +5948,8 @@ class Query$KidsFetchEpisode$episode$contributors$person }); factory Query$KidsFetchEpisode$episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$contributors$person( @@ -5867,10 +5975,7 @@ class Query$KidsFetchEpisode$episode$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -5899,29 +6004,27 @@ class Query$KidsFetchEpisode$episode$contributors$person extension UtilityExtension$Query$KidsFetchEpisode$episode$contributors$person on Query$KidsFetchEpisode$episode$contributors$person { CopyWith$Query$KidsFetchEpisode$episode$contributors$person< - Query$KidsFetchEpisode$episode$contributors$person> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$contributors$person( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$contributors$person + > + get copyWith => CopyWith$Query$KidsFetchEpisode$episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$contributors$person( Query$KidsFetchEpisode$episode$contributors$person instance, TRes Function(Query$KidsFetchEpisode$episode$contributors$person) then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$contributors$person; factory CopyWith$Query$KidsFetchEpisode$episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$contributors$person @@ -5938,33 +6041,29 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$contributors$person static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsFetchEpisode$episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$contributors$person implements CopyWith$Query$KidsFetchEpisode$episode$contributors$person { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$KidsFetchEpisode$episode$context$$ContextCollection$items @@ -5975,22 +6074,27 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items( items: (l$items as List) - .map((e) => - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items> - items; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + > + items; final String $__typename; @@ -6047,102 +6151,132 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items on Query$KidsFetchEpisode$episode$context$$ContextCollection$items { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items( Query$KidsFetchEpisode$episode$context$$ContextCollection$items instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items; TRes call({ List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items>>) - _fn); + Iterable< + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + > + Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items) _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$ContextCollection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$context$$ContextCollection$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + > + Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items( - this._res); + this._res, + ); TRes _res; call({ List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -6155,19 +6289,21 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items.fromJson( - Map json) { + Map json, + ) { final l$item = json['item']; final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( item: - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item - .fromJson((l$item as Map)), + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item - item; + item; final String $__typename; @@ -6184,10 +6320,7 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items int get hashCode { final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$item, - l$$__typename, - ]); + return Object.hashAll([l$item, l$$__typename]); } @override @@ -6217,155 +6350,184 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items; TRes call({ Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items, + ) + _then; static const _undefined = {}; TRes call({ Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( + item: item == _undefined || item == null + ? _instance.item + : (item as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items( - this._res); + this._res, + ); TRes _res; call({ Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> - get item => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item.stub( + _res, + ); } class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( - {required this.$__typename}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item({ + required this.$__typename, + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Show": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season.fromJson( + json, + ); case "Episode": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode.fromJson( + json, + ); case "Page": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - .fromJson(json); + return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -6406,86 +6568,117 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show) - show, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ) + show, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season) - season, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ) + season, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode) - episode, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page) - page, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ) + page, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link) - link, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ) + link, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic) - studyTopic, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game) - game, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ) + game, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist) - playlist, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short) - short, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ) + short, required _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person) - person, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Show": - return show(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show); + return show( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season); + return season( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ); case "Episode": - return episode(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode); + return episode( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ); case "Page": - return page(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page); + return page( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link); + return link( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game); + return game( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist); + return playlist( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short); + return short( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person); + return person( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ); default: return orElse(); @@ -6494,114 +6687,144 @@ extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollec _T maybeWhen<_T>({ _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show)? - show, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + )? + show, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season)? - season, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + )? + season, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode)? - episode, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + )? + episode, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page)? - page, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + )? + page, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link)? - link, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + )? + link, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic)? - studyTopic, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game)? - game, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + )? + game, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist)? - playlist, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short)? - short, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + )? + short, _T Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person)? - person, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Show": if (show != null) { - return show(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show); + return show( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season); + return season( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ); } else { return orElse(); } case "Episode": if (episode != null) { - return episode(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode); + return episode( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page); + return page( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link); + return link( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game); + return game( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist); + return playlist( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short); + return short( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person); + return person( + this + as Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ); } else { return orElse(); } @@ -6613,55 +6836,65 @@ extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollec } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -6672,14 +6905,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Show, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - {this.$__typename = 'Show'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show({ + this.$__typename = 'Show', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -6717,66 +6953,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -6787,14 +7035,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Season, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -6832,66 +7083,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -6919,7 +7182,8 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$image = json['image']; final l$number = json['number']; @@ -6942,12 +7206,14 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$SeasonListEpisode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$SeasonListEpisode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -7110,29 +7376,33 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode; TRes call({ String? id, @@ -7153,21 +7423,24 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollectio } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -7184,44 +7457,47 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$it Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$SeasonListEpisode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$SeasonListEpisode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$SeasonListEpisode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$SeasonListEpisode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$SeasonListEpisode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$SeasonListEpisode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$SeasonListEpisode$season get season { @@ -7229,17 +7505,22 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$it return local$season == null ? CopyWith$Fragment$SeasonListEpisode$season.stub(_then(_instance)) : CopyWith$Fragment$SeasonListEpisode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; @@ -7256,8 +7537,7 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollectio int? progress, Fragment$SeasonListEpisode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$SeasonListEpisode$lessons get lessons => CopyWith$Fragment$SeasonListEpisode$lessons.stub(_res); @@ -7270,14 +7550,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Page, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - {this.$__typename = 'Page'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page({ + this.$__typename = 'Page', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -7315,66 +7598,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; @@ -7385,14 +7680,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Link, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - {this.$__typename = 'Link'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link({ + this.$__typename = 'Link', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -7430,66 +7728,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; @@ -7500,14 +7810,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$StudyTopic, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -7545,66 +7858,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -7615,14 +7940,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Game, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - {this.$__typename = 'Game'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game({ + this.$__typename = 'Game', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -7660,66 +7988,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; @@ -7730,14 +8070,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Playlist, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - {this.$__typename = 'Playlist'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist({ + this.$__typename = 'Playlist', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -7775,66 +8118,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -7845,14 +8200,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Short, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - {this.$__typename = 'Short'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short({ + this.$__typename = 'Short', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -7890,66 +8248,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; @@ -7960,14 +8330,17 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item implements Fragment$EpisodeContext$$ContextCollection$items$items$item$$Person, Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item { - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - {this.$__typename = 'Person'}); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person({ + this.$__typename = 'Person', + }); factory Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -8005,66 +8378,78 @@ class Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item } extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - on Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person { + on + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person { CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - instance, + instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person) - then, + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person; factory CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person; TRes call({String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person) - _then; + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$ContextCollection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; @@ -8079,13 +8464,17 @@ class Query$KidsFetchEpisode$episode$context$$Season$episodes }); factory Query$KidsFetchEpisode$episode$context$$Season$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$Season$episodes( items: (l$items as List) - .map((e) => - Fragment$SeasonListEpisode.fromJson((e as Map))) + .map( + (e) => Fragment$SeasonListEpisode.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -8147,39 +8536,39 @@ class Query$KidsFetchEpisode$episode$context$$Season$episodes extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$Season$episodes on Query$KidsFetchEpisode$episode$context$$Season$episodes { CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes< - Query$KidsFetchEpisode$episode$context$$Season$episodes> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$Season$episodes + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes( Query$KidsFetchEpisode$episode$context$$Season$episodes instance, TRes Function(Query$KidsFetchEpisode$episode$context$$Season$episodes) then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes; factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes( @@ -8190,51 +8579,48 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes< final Query$KidsFetchEpisode$episode$context$$Season$episodes _instance; final TRes Function(Query$KidsFetchEpisode$episode$context$$Season$episodes) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$Season$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$KidsFetchEpisode$episode$context$$Season$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn) => - call( - items: _fn( - _instance.items.map((e) => CopyWith$Fragment$SeasonListEpisode( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$SeasonListEpisode(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$episodes { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$episodes( - this._res); + this._res, + ); TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -8250,7 +8636,8 @@ class Query$KidsFetchEpisode$episode$context$$Season$show }); factory Query$KidsFetchEpisode$episode$context$$Season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$type = json['type']; @@ -8262,7 +8649,8 @@ class Query$KidsFetchEpisode$episode$context$$Season$show type: fromJson$Enum$ShowType((l$type as String)), seasons: Query$KidsFetchEpisode$episode$context$$Season$show$seasons.fromJson( - (l$seasons as Map)), + (l$seasons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -8299,13 +8687,7 @@ class Query$KidsFetchEpisode$episode$context$$Season$show final l$type = type; final l$seasons = seasons; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$type, - l$seasons, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$type, l$seasons, l$$__typename]); } @override @@ -8349,24 +8731,25 @@ class Query$KidsFetchEpisode$episode$context$$Season$show extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$Season$show on Query$KidsFetchEpisode$episode$context$$Season$show { CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show< - Query$KidsFetchEpisode$episode$context$$Season$show> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$Season$show + > + get copyWith => CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show( Query$KidsFetchEpisode$episode$context$$Season$show instance, TRes Function(Query$KidsFetchEpisode$episode$context$$Season$show) then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show; factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show; TRes call({ String? id, @@ -8376,7 +8759,7 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show< String? $__typename, }); CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons - get seasons; + get seasons; } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show @@ -8390,7 +8773,7 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show final Query$KidsFetchEpisode$episode$context$$Season$show _instance; final TRes Function(Query$KidsFetchEpisode$episode$context$$Season$show) - _then; + _then; static const _undefined = {}; @@ -8400,38 +8783,43 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show Object? type = _undefined, Object? seasons = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$Season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - type: type == _undefined || type == null - ? _instance.type - : (type as Enum$ShowType), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons + }) => _then( + Query$KidsFetchEpisode$episode$context$$Season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + type: type == _undefined || type == null + ? _instance.type + : (type as Enum$ShowType), + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Query$KidsFetchEpisode$episode$context$$Season$show$seasons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons - get seasons { + get seasons { final local$seasons = _instance.seasons; return CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show( - this._res); + this._res, + ); TRes _res; @@ -8441,13 +8829,13 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show< Enum$ShowType? type, Query$KidsFetchEpisode$episode$context$$Season$show$seasons? seasons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons - get seasons => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons - .stub(_res); + get seasons => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons.stub( + _res, + ); } class Query$KidsFetchEpisode$episode$context$$Season$show$seasons @@ -8458,21 +8846,25 @@ class Query$KidsFetchEpisode$episode$context$$Season$show$seasons }); factory Query$KidsFetchEpisode$episode$context$$Season$show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$KidsFetchEpisode$episode$context$$Season$show$seasons( items: (l$items as List) - .map((e) => - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items - .fromJson((e as Map))) + .map( + (e) => + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List - items; + items; final String $__typename; @@ -8528,44 +8920,53 @@ class Query$KidsFetchEpisode$episode$context$$Season$show$seasons extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$Season$show$seasons on Query$KidsFetchEpisode$episode$context$$Season$show$seasons { CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< - Query$KidsFetchEpisode$episode$context$$Season$show$seasons> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$Season$show$seasons + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons( Query$KidsFetchEpisode$episode$context$$Season$show$seasons instance, TRes Function(Query$KidsFetchEpisode$episode$context$$Season$show$seasons) - then, + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons; factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons; TRes call({ List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items>>) - _fn); + Iterable + Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons( this._instance, this._then, @@ -8574,54 +8975,70 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< final Query$KidsFetchEpisode$episode$context$$Season$show$seasons _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$Season$show$seasons) _then; + Query$KidsFetchEpisode$episode$context$$Season$show$seasons, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$Season$show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$context$$Season$show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable + Function( + Iterable< + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons( - this._res); + this._res, + ); TRes _res; call({ List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -8635,7 +9052,8 @@ class Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items }); factory Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -8668,11 +9086,7 @@ class Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -8707,49 +9121,52 @@ class Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items extension UtilityExtension$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items on Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items { CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items> - get copyWith => - CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items + > + get copyWith => + CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - TRes> { + TRes +> { factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items instance, TRes Function( - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items) - then, + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items, + ) + then, ) = _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items; factory CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items.stub( - TRes res) = - _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items; + TRes res, + ) = _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - TRes> { + TRes + > { _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( this._instance, this._then, ); final Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items - _instance; + _instance; final TRes Function( - Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items) _then; + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items, + ) + _then; static const _undefined = {}; @@ -8757,34 +9174,33 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$ Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$KidsFetchEpisode$episode$context$$Season$show$seasons$items( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$KidsFetchEpisode$episode$next @@ -8800,7 +9216,8 @@ class Query$KidsFetchEpisode$episode$next }); factory Query$KidsFetchEpisode$episode$next.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$duration = json['duration']; @@ -8923,11 +9340,9 @@ class Query$KidsFetchEpisode$episode$next extension UtilityExtension$Query$KidsFetchEpisode$episode$next on Query$KidsFetchEpisode$episode$next { CopyWith$Query$KidsFetchEpisode$episode$next< - Query$KidsFetchEpisode$episode$next> - get copyWith => CopyWith$Query$KidsFetchEpisode$episode$next( - this, - (i) => i, - ); + Query$KidsFetchEpisode$episode$next + > + get copyWith => CopyWith$Query$KidsFetchEpisode$episode$next(this, (i) => i); } abstract class CopyWith$Query$KidsFetchEpisode$episode$next { @@ -8952,10 +9367,7 @@ abstract class CopyWith$Query$KidsFetchEpisode$episode$next { class _CopyWithImpl$Query$KidsFetchEpisode$episode$next implements CopyWith$Query$KidsFetchEpisode$episode$next { - _CopyWithImpl$Query$KidsFetchEpisode$episode$next( - this._instance, - this._then, - ); + _CopyWithImpl$Query$KidsFetchEpisode$episode$next(this._instance, this._then); final Query$KidsFetchEpisode$episode$next _instance; @@ -8971,26 +9383,27 @@ class _CopyWithImpl$Query$KidsFetchEpisode$episode$next Object? cursor = _undefined, Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$KidsFetchEpisode$episode$next( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$KidsFetchEpisode$episode$next( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$next @@ -9007,6 +9420,5 @@ class _CopyWithStubImpl$Query$KidsFetchEpisode$episode$next String? cursor, String? publishDate, String? $__typename, - }) => - _res; + }) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/kids/show.graphql.dart b/bccm_core/lib/src/features/graphql/queries/kids/show.graphql.dart index ea4d736..4f95a08 100644 --- a/bccm_core/lib/src/features/graphql/queries/kids/show.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/kids/show.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -138,10 +139,7 @@ class Fragment$KidsEpisodeThumbnail { extension UtilityExtension$Fragment$KidsEpisodeThumbnail on Fragment$KidsEpisodeThumbnail { CopyWith$Fragment$KidsEpisodeThumbnail - get copyWith => CopyWith$Fragment$KidsEpisodeThumbnail( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$KidsEpisodeThumbnail(this, (i) => i); } abstract class CopyWith$Fragment$KidsEpisodeThumbnail { @@ -166,10 +164,7 @@ abstract class CopyWith$Fragment$KidsEpisodeThumbnail { class _CopyWithImpl$Fragment$KidsEpisodeThumbnail implements CopyWith$Fragment$KidsEpisodeThumbnail { - _CopyWithImpl$Fragment$KidsEpisodeThumbnail( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$KidsEpisodeThumbnail(this._instance, this._then); final Fragment$KidsEpisodeThumbnail _instance; @@ -185,26 +180,27 @@ class _CopyWithImpl$Fragment$KidsEpisodeThumbnail Object? cursor = _undefined, Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$KidsEpisodeThumbnail( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$KidsEpisodeThumbnail( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$KidsEpisodeThumbnail @@ -221,73 +217,72 @@ class _CopyWithStubImpl$Fragment$KidsEpisodeThumbnail String? cursor, String? publishDate, String? $__typename, - }) => - _res; + }) => _res; } const fragmentDefinitionKidsEpisodeThumbnail = FragmentDefinitionNode( name: NameNode(value: 'KidsEpisodeThumbnail'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'cursor'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'cursor'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentKidsEpisodeThumbnail = DocumentNode( + definitions: [fragmentDefinitionKidsEpisodeThumbnail], ); -const documentNodeFragmentKidsEpisodeThumbnail = DocumentNode(definitions: [ - fragmentDefinitionKidsEpisodeThumbnail, -]); extension ClientExtension$Fragment$KidsEpisodeThumbnail on graphql.GraphQLClient { @@ -295,18 +290,17 @@ extension ClientExtension$Fragment$KidsEpisodeThumbnail required Fragment$KidsEpisodeThumbnail data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'KidsEpisodeThumbnail', - document: documentNodeFragmentKidsEpisodeThumbnail, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'KidsEpisodeThumbnail', + document: documentNodeFragmentKidsEpisodeThumbnail, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$KidsEpisodeThumbnail? readFragment$KidsEpisodeThumbnail({ required Map idFields, @@ -330,9 +324,7 @@ extension ClientExtension$Fragment$KidsEpisodeThumbnail class Variables$Query$GetShowOverview { factory Variables$Query$GetShowOverview({required String id}) => - Variables$Query$GetShowOverview._({ - r'id': id, - }); + Variables$Query$GetShowOverview._({r'id': id}); Variables$Query$GetShowOverview._(this._$data); @@ -355,10 +347,7 @@ class Variables$Query$GetShowOverview { } CopyWith$Variables$Query$GetShowOverview - get copyWith => CopyWith$Variables$Query$GetShowOverview( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetShowOverview(this, (i) => i); @override bool operator ==(Object other) { @@ -398,10 +387,7 @@ abstract class CopyWith$Variables$Query$GetShowOverview { class _CopyWithImpl$Variables$Query$GetShowOverview implements CopyWith$Variables$Query$GetShowOverview { - _CopyWithImpl$Variables$Query$GetShowOverview( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetShowOverview(this._instance, this._then); final Variables$Query$GetShowOverview _instance; @@ -409,11 +395,12 @@ class _CopyWithImpl$Variables$Query$GetShowOverview static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetShowOverview._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetShowOverview._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetShowOverview @@ -426,17 +413,15 @@ class _CopyWithStubImpl$Variables$Query$GetShowOverview } class Query$GetShowOverview { - Query$GetShowOverview({ - required this.$show, - this.$__typename = 'QueryRoot', - }); + Query$GetShowOverview({required this.$show, this.$__typename = 'QueryRoot'}); factory Query$GetShowOverview.fromJson(Map json) { final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetShowOverview( $show: Query$GetShowOverview$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -458,10 +443,7 @@ class Query$GetShowOverview { int get hashCode { final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$$show, l$$__typename]); } @override @@ -488,10 +470,7 @@ class Query$GetShowOverview { extension UtilityExtension$Query$GetShowOverview on Query$GetShowOverview { CopyWith$Query$GetShowOverview get copyWith => - CopyWith$Query$GetShowOverview( - this, - (i) => i, - ); + CopyWith$Query$GetShowOverview(this, (i) => i); } abstract class CopyWith$Query$GetShowOverview { @@ -503,19 +482,13 @@ abstract class CopyWith$Query$GetShowOverview { factory CopyWith$Query$GetShowOverview.stub(TRes res) = _CopyWithStubImpl$Query$GetShowOverview; - TRes call({ - Query$GetShowOverview$show? $show, - String? $__typename, - }); + TRes call({Query$GetShowOverview$show? $show, String? $__typename}); CopyWith$Query$GetShowOverview$show get $show; } class _CopyWithImpl$Query$GetShowOverview implements CopyWith$Query$GetShowOverview { - _CopyWithImpl$Query$GetShowOverview( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShowOverview(this._instance, this._then); final Query$GetShowOverview _instance; @@ -523,23 +496,24 @@ class _CopyWithImpl$Query$GetShowOverview static const _undefined = {}; - TRes call({ - Object? $show = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShowOverview( - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$GetShowOverview$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? $show = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShowOverview( + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetShowOverview$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShowOverview$show get $show { final local$$show = _instance.$show; return CopyWith$Query$GetShowOverview$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -549,111 +523,139 @@ class _CopyWithStubImpl$Query$GetShowOverview TRes _res; - call({ - Query$GetShowOverview$show? $show, - String? $__typename, - }) => - _res; + call({Query$GetShowOverview$show? $show, String? $__typename}) => _res; CopyWith$Query$GetShowOverview$show get $show => CopyWith$Query$GetShowOverview$show.stub(_res); } -const documentNodeQueryGetShowOverview = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetShowOverview'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetShowOverview = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetShowOverview'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'episodeCount'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'seasons'), + name: NameNode(value: 'show'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episodes'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episodeCount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'seasons'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'items'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'KidsEpisodeThumbnail'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'episodes'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode( + value: 'KidsEpisodeThumbnail', + ), + directives: [], + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -662,25 +664,18 @@ const documentNodeQueryGetShowOverview = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -689,22 +684,15 @@ const documentNodeQueryGetShowOverview = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionKidsEpisodeThumbnail, -]); + ), + fragmentDefinitionKidsEpisodeThumbnail, + ], +); Query$GetShowOverview _parserFn$Query$GetShowOverview( - Map data) => - Query$GetShowOverview.fromJson(data); + Map data, +) => Query$GetShowOverview.fromJson(data); typedef OnQueryComplete$Query$GetShowOverview = FutureOr Function( Map?, Query$GetShowOverview?, @@ -724,36 +712,36 @@ class Options$Query$GetShowOverview graphql.Context? context, OnQueryComplete$Query$GetShowOverview? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetShowOverview(data), - ), - onError: onError, - document: documentNodeQueryGetShowOverview, - parserFn: _parserFn$Query$GetShowOverview, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetShowOverview(data), + ), + onError: onError, + document: documentNodeQueryGetShowOverview, + parserFn: _parserFn$Query$GetShowOverview, + ); final OnQueryComplete$Query$GetShowOverview? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetShowOverview @@ -772,20 +760,20 @@ class WatchOptions$Query$GetShowOverview bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetShowOverview, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetShowOverview, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetShowOverview, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetShowOverview, + ); } class FetchMoreOptions$Query$GetShowOverview extends graphql.FetchMoreOptions { @@ -793,35 +781,33 @@ class FetchMoreOptions$Query$GetShowOverview extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetShowOverview variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetShowOverview, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetShowOverview, + ); } extension ClientExtension$Query$GetShowOverview on graphql.GraphQLClient { Future> query$GetShowOverview( - Options$Query$GetShowOverview options) async => - await this.query(options); + Options$Query$GetShowOverview options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetShowOverview( - WatchOptions$Query$GetShowOverview options) => - this.watchQuery(options); + WatchOptions$Query$GetShowOverview options, + ) => this.watchQuery(options); void writeQuery$GetShowOverview({ required Query$GetShowOverview data, required Variables$Query$GetShowOverview variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetShowOverview), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetShowOverview), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetShowOverview? readQuery$GetShowOverview({ required Variables$Query$GetShowOverview variables, @@ -829,8 +815,9 @@ extension ClientExtension$Query$GetShowOverview on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetShowOverview), + operation: graphql.Operation( + document: documentNodeQueryGetShowOverview, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -840,11 +827,11 @@ extension ClientExtension$Query$GetShowOverview on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetShowOverview( - Options$Query$GetShowOverview options) => - graphql_flutter.useQuery(options); + Options$Query$GetShowOverview options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetShowOverview( - WatchOptions$Query$GetShowOverview options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetShowOverview options, +) => graphql_flutter.useWatchQuery(options); class Query$GetShowOverview$Widget extends graphql_flutter.Query { @@ -852,11 +839,7 @@ class Query$GetShowOverview$Widget widgets.Key? key, required Options$Query$GetShowOverview options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetShowOverview$show { @@ -876,7 +859,8 @@ class Query$GetShowOverview$show { title: (l$title as String), episodeCount: (l$episodeCount as int), seasons: Query$GetShowOverview$show$seasons.fromJson( - (l$seasons as Map)), + (l$seasons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -908,12 +892,7 @@ class Query$GetShowOverview$show { final l$episodeCount = episodeCount; final l$seasons = seasons; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$episodeCount, - l$seasons, - l$$__typename, - ]); + return Object.hashAll([l$title, l$episodeCount, l$seasons, l$$__typename]); } @override @@ -952,10 +931,7 @@ class Query$GetShowOverview$show { extension UtilityExtension$Query$GetShowOverview$show on Query$GetShowOverview$show { CopyWith$Query$GetShowOverview$show - get copyWith => CopyWith$Query$GetShowOverview$show( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetShowOverview$show(this, (i) => i); } abstract class CopyWith$Query$GetShowOverview$show { @@ -978,10 +954,7 @@ abstract class CopyWith$Query$GetShowOverview$show { class _CopyWithImpl$Query$GetShowOverview$show implements CopyWith$Query$GetShowOverview$show { - _CopyWithImpl$Query$GetShowOverview$show( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShowOverview$show(this._instance, this._then); final Query$GetShowOverview$show _instance; @@ -994,26 +967,29 @@ class _CopyWithImpl$Query$GetShowOverview$show Object? episodeCount = _undefined, Object? seasons = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShowOverview$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons as Query$GetShowOverview$show$seasons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetShowOverview$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Query$GetShowOverview$show$seasons), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShowOverview$show$seasons get seasons { final local$seasons = _instance.seasons; return CopyWith$Query$GetShowOverview$show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } @@ -1028,8 +1004,7 @@ class _CopyWithStubImpl$Query$GetShowOverview$show int? episodeCount, Query$GetShowOverview$show$seasons? seasons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetShowOverview$show$seasons get seasons => CopyWith$Query$GetShowOverview$show$seasons.stub(_res); @@ -1042,13 +1017,17 @@ class Query$GetShowOverview$show$seasons { }); factory Query$GetShowOverview$show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetShowOverview$show$seasons( items: (l$items as List) - .map((e) => Query$GetShowOverview$show$seasons$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetShowOverview$show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1110,11 +1089,9 @@ class Query$GetShowOverview$show$seasons { extension UtilityExtension$Query$GetShowOverview$show$seasons on Query$GetShowOverview$show$seasons { CopyWith$Query$GetShowOverview$show$seasons< - Query$GetShowOverview$show$seasons> - get copyWith => CopyWith$Query$GetShowOverview$show$seasons( - this, - (i) => i, - ); + Query$GetShowOverview$show$seasons + > + get copyWith => CopyWith$Query$GetShowOverview$show$seasons(this, (i) => i); } abstract class CopyWith$Query$GetShowOverview$show$seasons { @@ -1131,19 +1108,20 @@ abstract class CopyWith$Query$GetShowOverview$show$seasons { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShowOverview$show$seasons$items< - Query$GetShowOverview$show$seasons$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetShowOverview$show$seasons$items< + Query$GetShowOverview$show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetShowOverview$show$seasons implements CopyWith$Query$GetShowOverview$show$seasons { - _CopyWithImpl$Query$GetShowOverview$show$seasons( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShowOverview$show$seasons(this._instance, this._then); final Query$GetShowOverview$show$seasons _instance; @@ -1151,31 +1129,34 @@ class _CopyWithImpl$Query$GetShowOverview$show$seasons static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShowOverview$show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShowOverview$show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShowOverview$show$seasons$items< - Query$GetShowOverview$show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Query$GetShowOverview$show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetShowOverview$show$seasons$items< + Query$GetShowOverview$show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetShowOverview$show$seasons$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetShowOverview$show$seasons @@ -1187,8 +1168,7 @@ class _CopyWithStubImpl$Query$GetShowOverview$show$seasons call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -1200,12 +1180,14 @@ class Query$GetShowOverview$show$seasons$items { }); factory Query$GetShowOverview$show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$episodes = json['episodes']; final l$$__typename = json['__typename']; return Query$GetShowOverview$show$seasons$items( episodes: Query$GetShowOverview$show$seasons$items$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1227,10 +1209,7 @@ class Query$GetShowOverview$show$seasons$items { int get hashCode { final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$episodes, l$$__typename]); } @override @@ -1259,11 +1238,10 @@ class Query$GetShowOverview$show$seasons$items { extension UtilityExtension$Query$GetShowOverview$show$seasons$items on Query$GetShowOverview$show$seasons$items { CopyWith$Query$GetShowOverview$show$seasons$items< - Query$GetShowOverview$show$seasons$items> - get copyWith => CopyWith$Query$GetShowOverview$show$seasons$items( - this, - (i) => i, - ); + Query$GetShowOverview$show$seasons$items + > + get copyWith => + CopyWith$Query$GetShowOverview$show$seasons$items(this, (i) => i); } abstract class CopyWith$Query$GetShowOverview$show$seasons$items { @@ -1298,21 +1276,24 @@ class _CopyWithImpl$Query$GetShowOverview$show$seasons$items TRes call({ Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShowOverview$show$seasons$items( - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes as Query$GetShowOverview$show$seasons$items$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetShowOverview$show$seasons$items( + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetShowOverview$show$seasons$items$episodes), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShowOverview$show$seasons$items$episodes - get episodes { + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetShowOverview$show$seasons$items$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } @@ -1325,12 +1306,11 @@ class _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items call({ Query$GetShowOverview$show$seasons$items$episodes? episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetShowOverview$show$seasons$items$episodes - get episodes => - CopyWith$Query$GetShowOverview$show$seasons$items$episodes.stub(_res); + get episodes => + CopyWith$Query$GetShowOverview$show$seasons$items$episodes.stub(_res); } class Query$GetShowOverview$show$seasons$items$episodes { @@ -1340,14 +1320,18 @@ class Query$GetShowOverview$show$seasons$items$episodes { }); factory Query$GetShowOverview$show$seasons$items$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetShowOverview$show$seasons$items$episodes( items: (l$items as List) - .map((e) => - Query$GetShowOverview$show$seasons$items$episodes$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetShowOverview$show$seasons$items$episodes$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1409,35 +1393,40 @@ class Query$GetShowOverview$show$seasons$items$episodes { extension UtilityExtension$Query$GetShowOverview$show$seasons$items$episodes on Query$GetShowOverview$show$seasons$items$episodes { CopyWith$Query$GetShowOverview$show$seasons$items$episodes< - Query$GetShowOverview$show$seasons$items$episodes> - get copyWith => - CopyWith$Query$GetShowOverview$show$seasons$items$episodes( - this, - (i) => i, - ); + Query$GetShowOverview$show$seasons$items$episodes + > + get copyWith => CopyWith$Query$GetShowOverview$show$seasons$items$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetShowOverview$show$seasons$items$episodes< - TRes> { + TRes +> { factory CopyWith$Query$GetShowOverview$show$seasons$items$episodes( Query$GetShowOverview$show$seasons$items$episodes instance, TRes Function(Query$GetShowOverview$show$seasons$items$episodes) then, ) = _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes; factory CopyWith$Query$GetShowOverview$show$seasons$items$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< - Query$GetShowOverview$show$seasons$items$episodes$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< + Query$GetShowOverview$show$seasons$items$episodes$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes @@ -1454,47 +1443,55 @@ class _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShowOverview$show$seasons$items$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetShowOverview$show$seasons$items$episodes$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShowOverview$show$seasons$items$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetShowOverview$show$seasons$items$episodes$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< - Query$GetShowOverview$show$seasons$items$episodes$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< + Query$GetShowOverview$show$seasons$items$episodes$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes implements CopyWith$Query$GetShowOverview$show$seasons$items$episodes { _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes( - this._res); + this._res, + ); TRes _res; call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -1512,7 +1509,8 @@ class Query$GetShowOverview$show$seasons$items$episodes$items }); factory Query$GetShowOverview$show$seasons$items$episodes$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$duration = json['duration']; @@ -1635,24 +1633,26 @@ class Query$GetShowOverview$show$seasons$items$episodes$items extension UtilityExtension$Query$GetShowOverview$show$seasons$items$episodes$items on Query$GetShowOverview$show$seasons$items$episodes$items { CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< - Query$GetShowOverview$show$seasons$items$episodes$items> - get copyWith => - CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items( - this, - (i) => i, - ); + Query$GetShowOverview$show$seasons$items$episodes$items + > + get copyWith => + CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< - TRes> { + TRes +> { factory CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items( Query$GetShowOverview$show$seasons$items$episodes$items instance, TRes Function(Query$GetShowOverview$show$seasons$items$episodes$items) then, ) = _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes$items; factory CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes$items; TRes call({ String? id, @@ -1666,7 +1666,8 @@ abstract class CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items< } class _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items { _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes$items( @@ -1677,7 +1678,7 @@ class _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes$items< final Query$GetShowOverview$show$seasons$items$episodes$items _instance; final TRes Function(Query$GetShowOverview$show$seasons$items$episodes$items) - _then; + _then; static const _undefined = {}; @@ -1689,34 +1690,37 @@ class _CopyWithImpl$Query$GetShowOverview$show$seasons$items$episodes$items< Object? cursor = _undefined, Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShowOverview$show$seasons$items$episodes$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetShowOverview$show$seasons$items$episodes$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$GetShowOverview$show$seasons$items$episodes$items { _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes$items( - this._res); + this._res, + ); TRes _res; @@ -1728,20 +1732,18 @@ class _CopyWithStubImpl$Query$GetShowOverview$show$seasons$items$episodes$items< String? cursor, String? publishDate, String? $__typename, - }) => - _res; + }) => _res; } class Variables$Query$GetPlaylistOverview { factory Variables$Query$GetPlaylistOverview({required String id}) => - Variables$Query$GetPlaylistOverview._({ - r'id': id, - }); + Variables$Query$GetPlaylistOverview._({r'id': id}); Variables$Query$GetPlaylistOverview._(this._$data); factory Variables$Query$GetPlaylistOverview.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -1760,11 +1762,9 @@ class Variables$Query$GetPlaylistOverview { } CopyWith$Variables$Query$GetPlaylistOverview< - Variables$Query$GetPlaylistOverview> - get copyWith => CopyWith$Variables$Query$GetPlaylistOverview( - this, - (i) => i, - ); + Variables$Query$GetPlaylistOverview + > + get copyWith => CopyWith$Variables$Query$GetPlaylistOverview(this, (i) => i); @override bool operator ==(Object other) { @@ -1804,10 +1804,7 @@ abstract class CopyWith$Variables$Query$GetPlaylistOverview { class _CopyWithImpl$Variables$Query$GetPlaylistOverview implements CopyWith$Variables$Query$GetPlaylistOverview { - _CopyWithImpl$Variables$Query$GetPlaylistOverview( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetPlaylistOverview(this._instance, this._then); final Variables$Query$GetPlaylistOverview _instance; @@ -1815,11 +1812,12 @@ class _CopyWithImpl$Variables$Query$GetPlaylistOverview static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetPlaylistOverview._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetPlaylistOverview._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetPlaylistOverview @@ -1842,7 +1840,8 @@ class Query$GetPlaylistOverview { final l$$__typename = json['__typename']; return Query$GetPlaylistOverview( playlist: Query$GetPlaylistOverview$playlist.fromJson( - (l$playlist as Map)), + (l$playlist as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1864,10 +1863,7 @@ class Query$GetPlaylistOverview { int get hashCode { final l$playlist = playlist; final l$$__typename = $__typename; - return Object.hashAll([ - l$playlist, - l$$__typename, - ]); + return Object.hashAll([l$playlist, l$$__typename]); } @override @@ -1896,10 +1892,7 @@ class Query$GetPlaylistOverview { extension UtilityExtension$Query$GetPlaylistOverview on Query$GetPlaylistOverview { CopyWith$Query$GetPlaylistOverview get copyWith => - CopyWith$Query$GetPlaylistOverview( - this, - (i) => i, - ); + CopyWith$Query$GetPlaylistOverview(this, (i) => i); } abstract class CopyWith$Query$GetPlaylistOverview { @@ -1920,10 +1913,7 @@ abstract class CopyWith$Query$GetPlaylistOverview { class _CopyWithImpl$Query$GetPlaylistOverview implements CopyWith$Query$GetPlaylistOverview { - _CopyWithImpl$Query$GetPlaylistOverview( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPlaylistOverview(this._instance, this._then); final Query$GetPlaylistOverview _instance; @@ -1934,20 +1924,23 @@ class _CopyWithImpl$Query$GetPlaylistOverview TRes call({ Object? playlist = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylistOverview( - playlist: playlist == _undefined || playlist == null - ? _instance.playlist - : (playlist as Query$GetPlaylistOverview$playlist), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylistOverview( + playlist: playlist == _undefined || playlist == null + ? _instance.playlist + : (playlist as Query$GetPlaylistOverview$playlist), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPlaylistOverview$playlist get playlist { final local$playlist = _instance.playlist; return CopyWith$Query$GetPlaylistOverview$playlist( - local$playlist, (e) => call(playlist: e)); + local$playlist, + (e) => call(playlist: e), + ); } } @@ -1957,81 +1950,104 @@ class _CopyWithStubImpl$Query$GetPlaylistOverview TRes _res; - call({ - Query$GetPlaylistOverview$playlist? playlist, - String? $__typename, - }) => + call({Query$GetPlaylistOverview$playlist? playlist, String? $__typename}) => _res; CopyWith$Query$GetPlaylistOverview$playlist get playlist => CopyWith$Query$GetPlaylistOverview$playlist.stub(_res); } -const documentNodeQueryGetPlaylistOverview = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetPlaylistOverview'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetPlaylistOverview = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetPlaylistOverview'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'playlist'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'playlist'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'total'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'KidsEpisodeThumbnail'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'total'), + alias: null, + arguments: [], directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode( + value: 'KidsEpisodeThumbnail', + ), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2040,25 +2056,18 @@ const documentNodeQueryGetPlaylistOverview = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2067,22 +2076,15 @@ const documentNodeQueryGetPlaylistOverview = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionKidsEpisodeThumbnail, -]); + ), + fragmentDefinitionKidsEpisodeThumbnail, + ], +); Query$GetPlaylistOverview _parserFn$Query$GetPlaylistOverview( - Map data) => - Query$GetPlaylistOverview.fromJson(data); + Map data, +) => Query$GetPlaylistOverview.fromJson(data); typedef OnQueryComplete$Query$GetPlaylistOverview = FutureOr Function( Map?, Query$GetPlaylistOverview?, @@ -2102,38 +2104,38 @@ class Options$Query$GetPlaylistOverview graphql.Context? context, OnQueryComplete$Query$GetPlaylistOverview? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetPlaylistOverview(data), - ), - onError: onError, - document: documentNodeQueryGetPlaylistOverview, - parserFn: _parserFn$Query$GetPlaylistOverview, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$GetPlaylistOverview(data), + ), + onError: onError, + document: documentNodeQueryGetPlaylistOverview, + parserFn: _parserFn$Query$GetPlaylistOverview, + ); final OnQueryComplete$Query$GetPlaylistOverview? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetPlaylistOverview @@ -2152,20 +2154,20 @@ class WatchOptions$Query$GetPlaylistOverview bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetPlaylistOverview, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetPlaylistOverview, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetPlaylistOverview, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetPlaylistOverview, + ); } class FetchMoreOptions$Query$GetPlaylistOverview @@ -2174,37 +2176,36 @@ class FetchMoreOptions$Query$GetPlaylistOverview required graphql.UpdateQuery updateQuery, required Variables$Query$GetPlaylistOverview variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetPlaylistOverview, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetPlaylistOverview, + ); } extension ClientExtension$Query$GetPlaylistOverview on graphql.GraphQLClient { Future> - query$GetPlaylistOverview( - Options$Query$GetPlaylistOverview options) async => - await this.query(options); + query$GetPlaylistOverview(Options$Query$GetPlaylistOverview options) async => + await this.query(options); graphql.ObservableQuery - watchQuery$GetPlaylistOverview( - WatchOptions$Query$GetPlaylistOverview options) => - this.watchQuery(options); + watchQuery$GetPlaylistOverview( + WatchOptions$Query$GetPlaylistOverview options, + ) => this.watchQuery(options); void writeQuery$GetPlaylistOverview({ required Query$GetPlaylistOverview data, required Variables$Query$GetPlaylistOverview variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetPlaylistOverview), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetPlaylistOverview, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetPlaylistOverview? readQuery$GetPlaylistOverview({ required Variables$Query$GetPlaylistOverview variables, @@ -2212,8 +2213,9 @@ extension ClientExtension$Query$GetPlaylistOverview on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetPlaylistOverview), + operation: graphql.Operation( + document: documentNodeQueryGetPlaylistOverview, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -2223,12 +2225,12 @@ extension ClientExtension$Query$GetPlaylistOverview on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$GetPlaylistOverview(Options$Query$GetPlaylistOverview options) => - graphql_flutter.useQuery(options); +useQuery$GetPlaylistOverview(Options$Query$GetPlaylistOverview options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetPlaylistOverview( - WatchOptions$Query$GetPlaylistOverview options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetPlaylistOverview( + WatchOptions$Query$GetPlaylistOverview options, +) => graphql_flutter.useWatchQuery(options); class Query$GetPlaylistOverview$Widget extends graphql_flutter.Query { @@ -2236,11 +2238,7 @@ class Query$GetPlaylistOverview$Widget widgets.Key? key, required Options$Query$GetPlaylistOverview options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetPlaylistOverview$playlist { @@ -2251,14 +2249,16 @@ class Query$GetPlaylistOverview$playlist { }); factory Query$GetPlaylistOverview$playlist.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetPlaylistOverview$playlist( title: (l$title as String), items: Query$GetPlaylistOverview$playlist$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2285,11 +2285,7 @@ class Query$GetPlaylistOverview$playlist { final l$title = title; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$title, l$items, l$$__typename]); } @override @@ -2323,11 +2319,9 @@ class Query$GetPlaylistOverview$playlist { extension UtilityExtension$Query$GetPlaylistOverview$playlist on Query$GetPlaylistOverview$playlist { CopyWith$Query$GetPlaylistOverview$playlist< - Query$GetPlaylistOverview$playlist> - get copyWith => CopyWith$Query$GetPlaylistOverview$playlist( - this, - (i) => i, - ); + Query$GetPlaylistOverview$playlist + > + get copyWith => CopyWith$Query$GetPlaylistOverview$playlist(this, (i) => i); } abstract class CopyWith$Query$GetPlaylistOverview$playlist { @@ -2349,10 +2343,7 @@ abstract class CopyWith$Query$GetPlaylistOverview$playlist { class _CopyWithImpl$Query$GetPlaylistOverview$playlist implements CopyWith$Query$GetPlaylistOverview$playlist { - _CopyWithImpl$Query$GetPlaylistOverview$playlist( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPlaylistOverview$playlist(this._instance, this._then); final Query$GetPlaylistOverview$playlist _instance; @@ -2364,23 +2355,26 @@ class _CopyWithImpl$Query$GetPlaylistOverview$playlist Object? title = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylistOverview$playlist( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetPlaylistOverview$playlist$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylistOverview$playlist( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetPlaylistOverview$playlist$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPlaylistOverview$playlist$items get items { final local$items = _instance.items; return CopyWith$Query$GetPlaylistOverview$playlist$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -2394,8 +2388,7 @@ class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist String? title, Query$GetPlaylistOverview$playlist$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetPlaylistOverview$playlist$items get items => CopyWith$Query$GetPlaylistOverview$playlist$items.stub(_res); @@ -2409,15 +2402,19 @@ class Query$GetPlaylistOverview$playlist$items { }); factory Query$GetPlaylistOverview$playlist$items.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetPlaylistOverview$playlist$items( total: (l$total as int), items: (l$items as List) - .map((e) => Query$GetPlaylistOverview$playlist$items$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetPlaylistOverview$playlist$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -2490,11 +2487,10 @@ class Query$GetPlaylistOverview$playlist$items { extension UtilityExtension$Query$GetPlaylistOverview$playlist$items on Query$GetPlaylistOverview$playlist$items { CopyWith$Query$GetPlaylistOverview$playlist$items< - Query$GetPlaylistOverview$playlist$items> - get copyWith => CopyWith$Query$GetPlaylistOverview$playlist$items( - this, - (i) => i, - ); + Query$GetPlaylistOverview$playlist$items + > + get copyWith => + CopyWith$Query$GetPlaylistOverview$playlist$items(this, (i) => i); } abstract class CopyWith$Query$GetPlaylistOverview$playlist$items { @@ -2512,11 +2508,15 @@ abstract class CopyWith$Query$GetPlaylistOverview$playlist$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetPlaylistOverview$playlist$items$items< - Query$GetPlaylistOverview$playlist$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetPlaylistOverview$playlist$items$items< + Query$GetPlaylistOverview$playlist$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items @@ -2536,31 +2536,39 @@ class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items Object? total = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylistOverview$playlist$items( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylistOverview$playlist$items( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetPlaylistOverview$playlist$items$items< - Query$GetPlaylistOverview$playlist$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Query$GetPlaylistOverview$playlist$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetPlaylistOverview$playlist$items$items< + Query$GetPlaylistOverview$playlist$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetPlaylistOverview$playlist$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items @@ -2573,8 +2581,7 @@ class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items int? total, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -2583,20 +2590,24 @@ class Query$GetPlaylistOverview$playlist$items$items { Query$GetPlaylistOverview$playlist$items$items({required this.$__typename}); factory Query$GetPlaylistOverview$playlist$items$items.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": return Query$GetPlaylistOverview$playlist$items$items$$Episode.fromJson( - json); + json, + ); case "Short": return Query$GetPlaylistOverview$playlist$items$items$$Short.fromJson( - json); + json, + ); default: final l$$__typename = json['__typename']; return Query$GetPlaylistOverview$playlist$items$items( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -2636,28 +2647,30 @@ class Query$GetPlaylistOverview$playlist$items$items { extension UtilityExtension$Query$GetPlaylistOverview$playlist$items$items on Query$GetPlaylistOverview$playlist$items$items { CopyWith$Query$GetPlaylistOverview$playlist$items$items< - Query$GetPlaylistOverview$playlist$items$items> - get copyWith => CopyWith$Query$GetPlaylistOverview$playlist$items$items( - this, - (i) => i, - ); + Query$GetPlaylistOverview$playlist$items$items + > + get copyWith => + CopyWith$Query$GetPlaylistOverview$playlist$items$items(this, (i) => i); _T when<_T>({ required _T Function( - Query$GetPlaylistOverview$playlist$items$items$$Episode) - episode, + Query$GetPlaylistOverview$playlist$items$items$$Episode, + ) + episode, required _T Function(Query$GetPlaylistOverview$playlist$items$items$$Short) - short, + short, required _T Function() orElse, }) { switch ($__typename) { case "Episode": return episode( - this as Query$GetPlaylistOverview$playlist$items$items$$Episode); + this as Query$GetPlaylistOverview$playlist$items$items$$Episode, + ); case "Short": return short( - this as Query$GetPlaylistOverview$playlist$items$items$$Short); + this as Query$GetPlaylistOverview$playlist$items$items$$Short, + ); default: return orElse(); @@ -2666,7 +2679,7 @@ extension UtilityExtension$Query$GetPlaylistOverview$playlist$items$items _T maybeWhen<_T>({ _T Function(Query$GetPlaylistOverview$playlist$items$items$$Episode)? - episode, + episode, _T Function(Query$GetPlaylistOverview$playlist$items$items$$Short)? short, required _T Function() orElse, }) { @@ -2674,7 +2687,8 @@ extension UtilityExtension$Query$GetPlaylistOverview$playlist$items$items case "Episode": if (episode != null) { return episode( - this as Query$GetPlaylistOverview$playlist$items$items$$Episode); + this as Query$GetPlaylistOverview$playlist$items$items$$Episode, + ); } else { return orElse(); } @@ -2682,7 +2696,8 @@ extension UtilityExtension$Query$GetPlaylistOverview$playlist$items$items case "Short": if (short != null) { return short( - this as Query$GetPlaylistOverview$playlist$items$items$$Short); + this as Query$GetPlaylistOverview$playlist$items$items$$Short, + ); } else { return orElse(); } @@ -2700,8 +2715,8 @@ abstract class CopyWith$Query$GetPlaylistOverview$playlist$items$items { ) = _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items; factory CopyWith$Query$GetPlaylistOverview$playlist$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items; TRes call({String? $__typename}); } @@ -2719,11 +2734,13 @@ class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetPlaylistOverview$playlist$items$items( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetPlaylistOverview$playlist$items$items( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items @@ -2750,7 +2767,8 @@ class Query$GetPlaylistOverview$playlist$items$items$$Episode }); factory Query$GetPlaylistOverview$playlist$items$items$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$duration = json['duration']; @@ -2873,24 +2891,26 @@ class Query$GetPlaylistOverview$playlist$items$items$$Episode extension UtilityExtension$Query$GetPlaylistOverview$playlist$items$items$$Episode on Query$GetPlaylistOverview$playlist$items$items$$Episode { CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode< - Query$GetPlaylistOverview$playlist$items$items$$Episode> - get copyWith => - CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode( - this, - (i) => i, - ); + Query$GetPlaylistOverview$playlist$items$items$$Episode + > + get copyWith => + CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode( Query$GetPlaylistOverview$playlist$items$items$$Episode instance, TRes Function(Query$GetPlaylistOverview$playlist$items$items$$Episode) then, ) = _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode; factory CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode; TRes call({ String? id, @@ -2904,7 +2924,8 @@ abstract class CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode< } class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode { _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode( @@ -2915,7 +2936,7 @@ class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode< final Query$GetPlaylistOverview$playlist$items$items$$Episode _instance; final TRes Function(Query$GetPlaylistOverview$playlist$items$items$$Episode) - _then; + _then; static const _undefined = {}; @@ -2927,34 +2948,37 @@ class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode< Object? cursor = _undefined, Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylistOverview$playlist$items$items$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylistOverview$playlist$items$items$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Episode { _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode( - this._res); + this._res, + ); TRes _res; @@ -2966,20 +2990,22 @@ class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Episode< String? cursor, String? publishDate, String? $__typename, - }) => - _res; + }) => _res; } class Query$GetPlaylistOverview$playlist$items$items$$Short implements Query$GetPlaylistOverview$playlist$items$items { - Query$GetPlaylistOverview$playlist$items$items$$Short( - {this.$__typename = 'Short'}); + Query$GetPlaylistOverview$playlist$items$items$$Short({ + this.$__typename = 'Short', + }); factory Query$GetPlaylistOverview$playlist$items$items$$Short.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetPlaylistOverview$playlist$items$items$$Short( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -3018,24 +3044,26 @@ class Query$GetPlaylistOverview$playlist$items$items$$Short extension UtilityExtension$Query$GetPlaylistOverview$playlist$items$items$$Short on Query$GetPlaylistOverview$playlist$items$items$$Short { CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short< - Query$GetPlaylistOverview$playlist$items$items$$Short> - get copyWith => - CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short( - this, - (i) => i, - ); + Query$GetPlaylistOverview$playlist$items$items$$Short + > + get copyWith => + CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short( Query$GetPlaylistOverview$playlist$items$items$$Short instance, TRes Function(Query$GetPlaylistOverview$playlist$items$items$$Short) then, ) = _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Short; factory CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Short; TRes call({String? $__typename}); } @@ -3051,23 +3079,27 @@ class _CopyWithImpl$Query$GetPlaylistOverview$playlist$items$items$$Short final Query$GetPlaylistOverview$playlist$items$items$$Short _instance; final TRes Function(Query$GetPlaylistOverview$playlist$items$items$$Short) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetPlaylistOverview$playlist$items$items$$Short( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetPlaylistOverview$playlist$items$items$$Short( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Short< - TRes> + TRes +> implements CopyWith$Query$GetPlaylistOverview$playlist$items$items$$Short { _CopyWithStubImpl$Query$GetPlaylistOverview$playlist$items$items$$Short( - this._res); + this._res, + ); TRes _res; diff --git a/bccm_core/lib/src/features/graphql/queries/live/calendar_days.graphql.dart b/bccm_core/lib/src/features/graphql/queries/live/calendar_days.graphql.dart index 5b5f37d..283adf5 100644 --- a/bccm_core/lib/src/features/graphql/queries/live/calendar_days.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/live/calendar_days.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -50,7 +51,8 @@ class Fragment$CalendarEntry { buffer: l$buffer == null ? null : Fragment$CalendarEntry$buffer.fromJson( - (l$buffer as Map)), + (l$buffer as Map), + ), ); } } @@ -168,38 +170,39 @@ class Fragment$CalendarEntry { extension UtilityExtension$Fragment$CalendarEntry on Fragment$CalendarEntry { CopyWith$Fragment$CalendarEntry get copyWith => - CopyWith$Fragment$CalendarEntry( - this, - (i) => i, - ); + CopyWith$Fragment$CalendarEntry(this, (i) => i); _T when<_T>({ required _T Function(Fragment$CalendarEntry$$EpisodeCalendarEntry) - episodeCalendarEntry, + episodeCalendarEntry, required _T Function(Fragment$CalendarEntry$$SimpleCalendarEntry) - simpleCalendarEntry, + simpleCalendarEntry, required _T Function(Fragment$CalendarEntry$$SeasonCalendarEntry) - seasonCalendarEntry, + seasonCalendarEntry, required _T Function(Fragment$CalendarEntry$$ShowCalendarEntry) - showCalendarEntry, + showCalendarEntry, required _T Function() orElse, }) { switch ($__typename) { case "EpisodeCalendarEntry": return episodeCalendarEntry( - this as Fragment$CalendarEntry$$EpisodeCalendarEntry); + this as Fragment$CalendarEntry$$EpisodeCalendarEntry, + ); case "SimpleCalendarEntry": return simpleCalendarEntry( - this as Fragment$CalendarEntry$$SimpleCalendarEntry); + this as Fragment$CalendarEntry$$SimpleCalendarEntry, + ); case "SeasonCalendarEntry": return seasonCalendarEntry( - this as Fragment$CalendarEntry$$SeasonCalendarEntry); + this as Fragment$CalendarEntry$$SeasonCalendarEntry, + ); case "ShowCalendarEntry": return showCalendarEntry( - this as Fragment$CalendarEntry$$ShowCalendarEntry); + this as Fragment$CalendarEntry$$ShowCalendarEntry, + ); default: return orElse(); @@ -208,11 +211,11 @@ extension UtilityExtension$Fragment$CalendarEntry on Fragment$CalendarEntry { _T maybeWhen<_T>({ _T Function(Fragment$CalendarEntry$$EpisodeCalendarEntry)? - episodeCalendarEntry, + episodeCalendarEntry, _T Function(Fragment$CalendarEntry$$SimpleCalendarEntry)? - simpleCalendarEntry, + simpleCalendarEntry, _T Function(Fragment$CalendarEntry$$SeasonCalendarEntry)? - seasonCalendarEntry, + seasonCalendarEntry, _T Function(Fragment$CalendarEntry$$ShowCalendarEntry)? showCalendarEntry, required _T Function() orElse, }) { @@ -220,7 +223,8 @@ extension UtilityExtension$Fragment$CalendarEntry on Fragment$CalendarEntry { case "EpisodeCalendarEntry": if (episodeCalendarEntry != null) { return episodeCalendarEntry( - this as Fragment$CalendarEntry$$EpisodeCalendarEntry); + this as Fragment$CalendarEntry$$EpisodeCalendarEntry, + ); } else { return orElse(); } @@ -228,7 +232,8 @@ extension UtilityExtension$Fragment$CalendarEntry on Fragment$CalendarEntry { case "SimpleCalendarEntry": if (simpleCalendarEntry != null) { return simpleCalendarEntry( - this as Fragment$CalendarEntry$$SimpleCalendarEntry); + this as Fragment$CalendarEntry$$SimpleCalendarEntry, + ); } else { return orElse(); } @@ -236,7 +241,8 @@ extension UtilityExtension$Fragment$CalendarEntry on Fragment$CalendarEntry { case "SeasonCalendarEntry": if (seasonCalendarEntry != null) { return seasonCalendarEntry( - this as Fragment$CalendarEntry$$SeasonCalendarEntry); + this as Fragment$CalendarEntry$$SeasonCalendarEntry, + ); } else { return orElse(); } @@ -244,7 +250,8 @@ extension UtilityExtension$Fragment$CalendarEntry on Fragment$CalendarEntry { case "ShowCalendarEntry": if (showCalendarEntry != null) { return showCalendarEntry( - this as Fragment$CalendarEntry$$ShowCalendarEntry); + this as Fragment$CalendarEntry$$ShowCalendarEntry, + ); } else { return orElse(); } @@ -279,10 +286,7 @@ abstract class CopyWith$Fragment$CalendarEntry { class _CopyWithImpl$Fragment$CalendarEntry implements CopyWith$Fragment$CalendarEntry { - _CopyWithImpl$Fragment$CalendarEntry( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarEntry(this._instance, this._then); final Fragment$CalendarEntry _instance; @@ -299,36 +303,39 @@ class _CopyWithImpl$Fragment$CalendarEntry Object? end = _undefined, Object? image = _undefined, Object? buffer = _undefined, - }) => - _then(Fragment$CalendarEntry( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - image: image == _undefined || image == null - ? _instance.image - : (image as String), - buffer: buffer == _undefined - ? _instance.buffer - : (buffer as Fragment$CalendarEntry$buffer?), - )); + }) => _then( + Fragment$CalendarEntry( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + image: image == _undefined || image == null + ? _instance.image + : (image as String), + buffer: buffer == _undefined + ? _instance.buffer + : (buffer as Fragment$CalendarEntry$buffer?), + ), + ); CopyWith$Fragment$CalendarEntry$buffer get buffer { final local$buffer = _instance.buffer; return local$buffer == null ? CopyWith$Fragment$CalendarEntry$buffer.stub(_then(_instance)) : CopyWith$Fragment$CalendarEntry$buffer( - local$buffer, (e) => call(buffer: e)); + local$buffer, + (e) => call(buffer: e), + ); } } @@ -347,8 +354,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry String? end, String? image, Fragment$CalendarEntry$buffer? buffer, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntry$buffer get buffer => CopyWith$Fragment$CalendarEntry$buffer.stub(_res); @@ -357,211 +363,220 @@ class _CopyWithStubImpl$Fragment$CalendarEntry const fragmentDefinitionCalendarEntry = FragmentDefinitionNode( name: NameNode(value: 'CalendarEntry'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'CalendarEntry'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'CalendarEntry'), isNonNull: false), + ), directives: [], - 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: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'buffer'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'availableUntil'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'EpisodeCalendarEntry'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + 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: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'end'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'buffer'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'availableUntil'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'publishDate'), + name: NameNode(value: 'start'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'locked'), + name: NameNode(value: 'end'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'EpisodeCalendarEntry'), + isNonNull: false, + ), ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episode'), + alias: null, + arguments: [], + directives: [], + 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: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'SimpleCalendarEntry'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'SimpleCalendarEntry'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - ]), + ), + ], + ), +); +const documentNodeFragmentCalendarEntry = DocumentNode( + definitions: [fragmentDefinitionCalendarEntry], ); -const documentNodeFragmentCalendarEntry = DocumentNode(definitions: [ - fragmentDefinitionCalendarEntry, -]); extension ClientExtension$Fragment$CalendarEntry on graphql.GraphQLClient { void writeFragment$CalendarEntry({ required Fragment$CalendarEntry data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'CalendarEntry', - document: documentNodeFragmentCalendarEntry, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'CalendarEntry', + document: documentNodeFragmentCalendarEntry, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$CalendarEntry? readFragment$CalendarEntry({ required Map idFields, @@ -687,10 +702,7 @@ class Fragment$CalendarEntry$buffer { extension UtilityExtension$Fragment$CalendarEntry$buffer on Fragment$CalendarEntry$buffer { CopyWith$Fragment$CalendarEntry$buffer - get copyWith => CopyWith$Fragment$CalendarEntry$buffer( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CalendarEntry$buffer(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntry$buffer { @@ -713,10 +725,7 @@ abstract class CopyWith$Fragment$CalendarEntry$buffer { class _CopyWithImpl$Fragment$CalendarEntry$buffer implements CopyWith$Fragment$CalendarEntry$buffer { - _CopyWithImpl$Fragment$CalendarEntry$buffer( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarEntry$buffer(this._instance, this._then); final Fragment$CalendarEntry$buffer _instance; @@ -730,20 +739,21 @@ class _CopyWithImpl$Fragment$CalendarEntry$buffer Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntry$buffer( - url: url == _undefined || url == null ? _instance.url : (url as String), - availableUntil: availableUntil == _undefined || availableUntil == null - ? _instance.availableUntil - : (availableUntil as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntry$buffer( + url: url == _undefined || url == null ? _instance.url : (url as String), + availableUntil: availableUntil == _undefined || availableUntil == null + ? _instance.availableUntil + : (availableUntil as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntry$buffer @@ -758,8 +768,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$buffer String? start, String? end, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$CalendarEntry$$EpisodeCalendarEntry @@ -777,7 +786,8 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry }); factory Fragment$CalendarEntry$$EpisodeCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episode = json['episode']; final l$$__typename = json['__typename']; @@ -792,7 +802,8 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry episode: l$episode == null ? null : Fragment$CalendarEntry$$EpisodeCalendarEntry$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), title: (l$title as String), description: (l$description as String), @@ -802,7 +813,8 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry buffer: l$buffer == null ? null : Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer.fromJson( - (l$buffer as Map)), + (l$buffer as Map), + ), ); } @@ -932,11 +944,10 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry extension UtilityExtension$Fragment$CalendarEntry$$EpisodeCalendarEntry on Fragment$CalendarEntry$$EpisodeCalendarEntry { CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry< - Fragment$CalendarEntry$$EpisodeCalendarEntry> - get copyWith => CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarEntry$$EpisodeCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry { @@ -960,7 +971,7 @@ abstract class CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry { Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer? buffer, }); CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode - get episode; + get episode; CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer get buffer; } @@ -987,52 +998,58 @@ class _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry Object? end = _undefined, Object? image = _undefined, Object? buffer = _undefined, - }) => - _then(Fragment$CalendarEntry$$EpisodeCalendarEntry( - id: id == _undefined || id == null ? _instance.id : (id as String), - episode: episode == _undefined - ? _instance.episode - : (episode - as Fragment$CalendarEntry$$EpisodeCalendarEntry$episode?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - image: image == _undefined || image == null - ? _instance.image - : (image as String), - buffer: buffer == _undefined - ? _instance.buffer - : (buffer as Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer?), - )); + }) => _then( + Fragment$CalendarEntry$$EpisodeCalendarEntry( + id: id == _undefined || id == null ? _instance.id : (id as String), + episode: episode == _undefined + ? _instance.episode + : (episode as Fragment$CalendarEntry$$EpisodeCalendarEntry$episode?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + image: image == _undefined || image == null + ? _instance.image + : (image as String), + buffer: buffer == _undefined + ? _instance.buffer + : (buffer as Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer?), + ), + ); CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode - get episode { + get episode { final local$episode = _instance.episode; return local$episode == null ? CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer - get buffer { + get buffer { final local$buffer = _instance.buffer; return local$buffer == null ? CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( - local$buffer, (e) => call(buffer: e)); + local$buffer, + (e) => call(buffer: e), + ); } } @@ -1052,18 +1069,15 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry String? end, String? image, Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer? buffer, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode - get episode => - CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode.stub( - _res); + get episode => + CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode.stub(_res); CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer - get buffer => - CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer.stub( - _res); + get buffer => + CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer.stub(_res); } class Fragment$CalendarEntry$$EpisodeCalendarEntry$episode { @@ -1075,7 +1089,8 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry$episode { }); factory Fragment$CalendarEntry$$EpisodeCalendarEntry$episode.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$publishDate = json['publishDate']; @@ -1115,12 +1130,7 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry$episode { final l$id = id; final l$publishDate = publishDate; final l$locked = locked; - return Object.hashAll([ - l$$__typename, - l$id, - l$publishDate, - l$locked, - ]); + return Object.hashAll([l$$__typename, l$id, l$publishDate, l$locked]); } @override @@ -1159,24 +1169,25 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry$episode { extension UtilityExtension$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode on Fragment$CalendarEntry$$EpisodeCalendarEntry$episode { CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode< - Fragment$CalendarEntry$$EpisodeCalendarEntry$episode> - get copyWith => - CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( - this, - (i) => i, - ); + Fragment$CalendarEntry$$EpisodeCalendarEntry$episode + > + get copyWith => CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( Fragment$CalendarEntry$$EpisodeCalendarEntry$episode instance, TRes Function(Fragment$CalendarEntry$$EpisodeCalendarEntry$episode) then, ) = _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode; factory CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode; TRes call({ String? $__typename, @@ -1197,7 +1208,7 @@ class _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode final Fragment$CalendarEntry$$EpisodeCalendarEntry$episode _instance; final TRes Function(Fragment$CalendarEntry$$EpisodeCalendarEntry$episode) - _then; + _then; static const _undefined = {}; @@ -1206,36 +1217,34 @@ class _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode Object? id = _undefined, Object? publishDate = _undefined, Object? locked = _undefined, - }) => - _then(Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - )); + }) => _then( + Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode< - TRes> + TRes +> implements CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode { _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$episode( - this._res); + this._res, + ); TRes _res; - call({ - String? $__typename, - String? id, - String? publishDate, - bool? locked, - }) => + call({String? $__typename, String? id, String? publishDate, bool? locked}) => _res; } @@ -1253,7 +1262,8 @@ class Fragment$CalendarEntry$$SimpleCalendarEntry }); factory Fragment$CalendarEntry$$SimpleCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; final l$title = json['title']; @@ -1273,7 +1283,8 @@ class Fragment$CalendarEntry$$SimpleCalendarEntry buffer: l$buffer == null ? null : Fragment$CalendarEntry$$SimpleCalendarEntry$buffer.fromJson( - (l$buffer as Map)), + (l$buffer as Map), + ), ); } @@ -1392,11 +1403,10 @@ class Fragment$CalendarEntry$$SimpleCalendarEntry extension UtilityExtension$Fragment$CalendarEntry$$SimpleCalendarEntry on Fragment$CalendarEntry$$SimpleCalendarEntry { CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry< - Fragment$CalendarEntry$$SimpleCalendarEntry> - get copyWith => CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarEntry$$SimpleCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry { @@ -1443,37 +1453,41 @@ class _CopyWithImpl$Fragment$CalendarEntry$$SimpleCalendarEntry Object? end = _undefined, Object? image = _undefined, Object? buffer = _undefined, - }) => - _then(Fragment$CalendarEntry$$SimpleCalendarEntry( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - image: image == _undefined || image == null - ? _instance.image - : (image as String), - buffer: buffer == _undefined - ? _instance.buffer - : (buffer as Fragment$CalendarEntry$$SimpleCalendarEntry$buffer?), - )); + }) => _then( + Fragment$CalendarEntry$$SimpleCalendarEntry( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + image: image == _undefined || image == null + ? _instance.image + : (image as String), + buffer: buffer == _undefined + ? _instance.buffer + : (buffer as Fragment$CalendarEntry$$SimpleCalendarEntry$buffer?), + ), + ); CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer get buffer { final local$buffer = _instance.buffer; return local$buffer == null ? CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( - local$buffer, (e) => call(buffer: e)); + local$buffer, + (e) => call(buffer: e), + ); } } @@ -1492,13 +1506,11 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$SimpleCalendarEntry String? end, String? image, Fragment$CalendarEntry$$SimpleCalendarEntry$buffer? buffer, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer - get buffer => - CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer.stub( - _res); + get buffer => + CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer.stub(_res); } class Fragment$CalendarEntry$$SimpleCalendarEntry$buffer @@ -1512,7 +1524,8 @@ class Fragment$CalendarEntry$$SimpleCalendarEntry$buffer }); factory Fragment$CalendarEntry$$SimpleCalendarEntry$buffer.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$availableUntil = json['availableUntil']; final l$start = json['start']; @@ -1609,24 +1622,25 @@ class Fragment$CalendarEntry$$SimpleCalendarEntry$buffer extension UtilityExtension$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer on Fragment$CalendarEntry$$SimpleCalendarEntry$buffer { CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer< - Fragment$CalendarEntry$$SimpleCalendarEntry$buffer> - get copyWith => - CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( - this, - (i) => i, - ); + Fragment$CalendarEntry$$SimpleCalendarEntry$buffer + > + get copyWith => CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( Fragment$CalendarEntry$$SimpleCalendarEntry$buffer instance, TRes Function(Fragment$CalendarEntry$$SimpleCalendarEntry$buffer) then, ) = _CopyWithImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer; factory CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer; TRes call({ String? url, @@ -1657,27 +1671,29 @@ class _CopyWithImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( - url: url == _undefined || url == null ? _instance.url : (url as String), - availableUntil: availableUntil == _undefined || availableUntil == null - ? _instance.availableUntil - : (availableUntil as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( + url: url == _undefined || url == null ? _instance.url : (url as String), + availableUntil: availableUntil == _undefined || availableUntil == null + ? _instance.availableUntil + : (availableUntil as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer implements CopyWith$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer { _CopyWithStubImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer( - this._res); + this._res, + ); TRes _res; @@ -1687,8 +1703,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$SimpleCalendarEntry$buffer String? start, String? end, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer @@ -1702,7 +1717,8 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer }); factory Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$availableUntil = json['availableUntil']; final l$start = json['start']; @@ -1799,24 +1815,25 @@ class Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer extension UtilityExtension$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer on Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer { CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer< - Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer> - get copyWith => - CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( - this, - (i) => i, - ); + Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer + > + get copyWith => CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer instance, TRes Function(Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer) then, ) = _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer; factory CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer; TRes call({ String? url, @@ -1838,7 +1855,7 @@ class _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer final Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer _instance; final TRes Function(Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer) - _then; + _then; static const _undefined = {}; @@ -1848,28 +1865,31 @@ class _CopyWithImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( - url: url == _undefined || url == null ? _instance.url : (url as String), - availableUntil: availableUntil == _undefined || availableUntil == null - ? _instance.availableUntil - : (availableUntil as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( + url: url == _undefined || url == null ? _instance.url : (url as String), + availableUntil: availableUntil == _undefined || availableUntil == null + ? _instance.availableUntil + : (availableUntil as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer< - TRes> + TRes +> implements CopyWith$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer { _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer( - this._res); + this._res, + ); TRes _res; @@ -1879,8 +1899,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$EpisodeCalendarEntry$buffer< String? start, String? end, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$CalendarEntry$$SeasonCalendarEntry @@ -1897,7 +1916,8 @@ class Fragment$CalendarEntry$$SeasonCalendarEntry }); factory Fragment$CalendarEntry$$SeasonCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -1917,7 +1937,8 @@ class Fragment$CalendarEntry$$SeasonCalendarEntry buffer: l$buffer == null ? null : Fragment$CalendarEntry$$SeasonCalendarEntry$buffer.fromJson( - (l$buffer as Map)), + (l$buffer as Map), + ), ); } @@ -2036,11 +2057,10 @@ class Fragment$CalendarEntry$$SeasonCalendarEntry extension UtilityExtension$Fragment$CalendarEntry$$SeasonCalendarEntry on Fragment$CalendarEntry$$SeasonCalendarEntry { CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry< - Fragment$CalendarEntry$$SeasonCalendarEntry> - get copyWith => CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarEntry$$SeasonCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry { @@ -2087,37 +2107,41 @@ class _CopyWithImpl$Fragment$CalendarEntry$$SeasonCalendarEntry Object? end = _undefined, Object? image = _undefined, Object? buffer = _undefined, - }) => - _then(Fragment$CalendarEntry$$SeasonCalendarEntry( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - image: image == _undefined || image == null - ? _instance.image - : (image as String), - buffer: buffer == _undefined - ? _instance.buffer - : (buffer as Fragment$CalendarEntry$$SeasonCalendarEntry$buffer?), - )); + }) => _then( + Fragment$CalendarEntry$$SeasonCalendarEntry( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + image: image == _undefined || image == null + ? _instance.image + : (image as String), + buffer: buffer == _undefined + ? _instance.buffer + : (buffer as Fragment$CalendarEntry$$SeasonCalendarEntry$buffer?), + ), + ); CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer get buffer { final local$buffer = _instance.buffer; return local$buffer == null ? CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( - local$buffer, (e) => call(buffer: e)); + local$buffer, + (e) => call(buffer: e), + ); } } @@ -2136,13 +2160,11 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$SeasonCalendarEntry String? end, String? image, Fragment$CalendarEntry$$SeasonCalendarEntry$buffer? buffer, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer - get buffer => - CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer.stub( - _res); + get buffer => + CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer.stub(_res); } class Fragment$CalendarEntry$$SeasonCalendarEntry$buffer @@ -2156,7 +2178,8 @@ class Fragment$CalendarEntry$$SeasonCalendarEntry$buffer }); factory Fragment$CalendarEntry$$SeasonCalendarEntry$buffer.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$availableUntil = json['availableUntil']; final l$start = json['start']; @@ -2253,24 +2276,25 @@ class Fragment$CalendarEntry$$SeasonCalendarEntry$buffer extension UtilityExtension$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer on Fragment$CalendarEntry$$SeasonCalendarEntry$buffer { CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer< - Fragment$CalendarEntry$$SeasonCalendarEntry$buffer> - get copyWith => - CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( - this, - (i) => i, - ); + Fragment$CalendarEntry$$SeasonCalendarEntry$buffer + > + get copyWith => CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer< - TRes> { + TRes +> { factory CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( Fragment$CalendarEntry$$SeasonCalendarEntry$buffer instance, TRes Function(Fragment$CalendarEntry$$SeasonCalendarEntry$buffer) then, ) = _CopyWithImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer; factory CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer; TRes call({ String? url, @@ -2301,27 +2325,29 @@ class _CopyWithImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( - url: url == _undefined || url == null ? _instance.url : (url as String), - availableUntil: availableUntil == _undefined || availableUntil == null - ? _instance.availableUntil - : (availableUntil as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( + url: url == _undefined || url == null ? _instance.url : (url as String), + availableUntil: availableUntil == _undefined || availableUntil == null + ? _instance.availableUntil + : (availableUntil as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer implements CopyWith$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer { _CopyWithStubImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer( - this._res); + this._res, + ); TRes _res; @@ -2331,8 +2357,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$SeasonCalendarEntry$buffer String? start, String? end, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$CalendarEntry$$ShowCalendarEntry @@ -2349,7 +2374,8 @@ class Fragment$CalendarEntry$$ShowCalendarEntry }); factory Fragment$CalendarEntry$$ShowCalendarEntry.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -2369,7 +2395,8 @@ class Fragment$CalendarEntry$$ShowCalendarEntry buffer: l$buffer == null ? null : Fragment$CalendarEntry$$ShowCalendarEntry$buffer.fromJson( - (l$buffer as Map)), + (l$buffer as Map), + ), ); } @@ -2488,11 +2515,10 @@ class Fragment$CalendarEntry$$ShowCalendarEntry extension UtilityExtension$Fragment$CalendarEntry$$ShowCalendarEntry on Fragment$CalendarEntry$$ShowCalendarEntry { CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry< - Fragment$CalendarEntry$$ShowCalendarEntry> - get copyWith => CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry( - this, - (i) => i, - ); + Fragment$CalendarEntry$$ShowCalendarEntry + > + get copyWith => + CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry { @@ -2539,37 +2565,41 @@ class _CopyWithImpl$Fragment$CalendarEntry$$ShowCalendarEntry Object? end = _undefined, Object? image = _undefined, Object? buffer = _undefined, - }) => - _then(Fragment$CalendarEntry$$ShowCalendarEntry( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - image: image == _undefined || image == null - ? _instance.image - : (image as String), - buffer: buffer == _undefined - ? _instance.buffer - : (buffer as Fragment$CalendarEntry$$ShowCalendarEntry$buffer?), - )); + }) => _then( + Fragment$CalendarEntry$$ShowCalendarEntry( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + image: image == _undefined || image == null + ? _instance.image + : (image as String), + buffer: buffer == _undefined + ? _instance.buffer + : (buffer as Fragment$CalendarEntry$$ShowCalendarEntry$buffer?), + ), + ); CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer get buffer { final local$buffer = _instance.buffer; return local$buffer == null ? CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer( - local$buffer, (e) => call(buffer: e)); + local$buffer, + (e) => call(buffer: e), + ); } } @@ -2588,8 +2618,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$ShowCalendarEntry String? end, String? image, Fragment$CalendarEntry$$ShowCalendarEntry$buffer? buffer, - }) => - _res; + }) => _res; CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer get buffer => CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer.stub(_res); @@ -2606,7 +2635,8 @@ class Fragment$CalendarEntry$$ShowCalendarEntry$buffer }); factory Fragment$CalendarEntry$$ShowCalendarEntry$buffer.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$availableUntil = json['availableUntil']; final l$start = json['start']; @@ -2703,11 +2733,10 @@ class Fragment$CalendarEntry$$ShowCalendarEntry$buffer extension UtilityExtension$Fragment$CalendarEntry$$ShowCalendarEntry$buffer on Fragment$CalendarEntry$$ShowCalendarEntry$buffer { CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer< - Fragment$CalendarEntry$$ShowCalendarEntry$buffer> - get copyWith => CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer( - this, - (i) => i, - ); + Fragment$CalendarEntry$$ShowCalendarEntry$buffer + > + get copyWith => + CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer { @@ -2717,8 +2746,8 @@ abstract class CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer { ) = _CopyWithImpl$Fragment$CalendarEntry$$ShowCalendarEntry$buffer; factory CopyWith$Fragment$CalendarEntry$$ShowCalendarEntry$buffer.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CalendarEntry$$ShowCalendarEntry$buffer; + TRes res, + ) = _CopyWithStubImpl$Fragment$CalendarEntry$$ShowCalendarEntry$buffer; TRes call({ String? url, @@ -2748,20 +2777,21 @@ class _CopyWithImpl$Fragment$CalendarEntry$$ShowCalendarEntry$buffer Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEntry$$ShowCalendarEntry$buffer( - url: url == _undefined || url == null ? _instance.url : (url as String), - availableUntil: availableUntil == _undefined || availableUntil == null - ? _instance.availableUntil - : (availableUntil as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEntry$$ShowCalendarEntry$buffer( + url: url == _undefined || url == null ? _instance.url : (url as String), + availableUntil: availableUntil == _undefined || availableUntil == null + ? _instance.availableUntil + : (availableUntil as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarEntry$$ShowCalendarEntry$buffer @@ -2776,8 +2806,7 @@ class _CopyWithStubImpl$Fragment$CalendarEntry$$ShowCalendarEntry$buffer String? start, String? end, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$CalendarDay { @@ -2793,12 +2822,16 @@ class Fragment$CalendarDay { final l$$__typename = json['__typename']; return Fragment$CalendarDay( events: (l$events as List) - .map((e) => - Fragment$CalendarDay$events.fromJson((e as Map))) + .map( + (e) => Fragment$CalendarDay$events.fromJson( + (e as Map), + ), + ) .toList(), entries: (l$entries as List) - .map((e) => - Fragment$CalendarEntry.fromJson((e as Map))) + .map( + (e) => Fragment$CalendarEntry.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -2876,10 +2909,7 @@ class Fragment$CalendarDay { extension UtilityExtension$Fragment$CalendarDay on Fragment$CalendarDay { CopyWith$Fragment$CalendarDay get copyWith => - CopyWith$Fragment$CalendarDay( - this, - (i) => i, - ); + CopyWith$Fragment$CalendarDay(this, (i) => i); } abstract class CopyWith$Fragment$CalendarDay { @@ -2897,23 +2927,24 @@ abstract class CopyWith$Fragment$CalendarDay { String? $__typename, }); TRes events( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarDay$events< - Fragment$CalendarDay$events>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$CalendarDay$events + >, + ) + _fn, + ); TRes entries( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$CalendarDay implements CopyWith$Fragment$CalendarDay { - _CopyWithImpl$Fragment$CalendarDay( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarDay(this._instance, this._then); final Fragment$CalendarDay _instance; @@ -2925,43 +2956,47 @@ class _CopyWithImpl$Fragment$CalendarDay Object? events = _undefined, Object? entries = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDay( - events: events == _undefined || events == null - ? _instance.events - : (events as List), - entries: entries == _undefined || entries == null - ? _instance.entries - : (entries as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarDay( + events: events == _undefined || events == null + ? _instance.events + : (events as List), + entries: entries == _undefined || entries == null + ? _instance.entries + : (entries as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes events( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarDay$events< - Fragment$CalendarDay$events>>) - _fn) => - call( - events: _fn( - _instance.events.map((e) => CopyWith$Fragment$CalendarDay$events( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$CalendarDay$events + >, + ) + _fn, + ) => call( + events: _fn( + _instance.events.map( + (e) => CopyWith$Fragment$CalendarDay$events(e, (i) => i), + ), + ).toList(), + ); TRes entries( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarEntry>) - _fn) => - call( - entries: - _fn(_instance.entries.map((e) => CopyWith$Fragment$CalendarEntry( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + entries: _fn( + _instance.entries.map( + (e) => CopyWith$Fragment$CalendarEntry(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$CalendarDay @@ -2974,8 +3009,7 @@ class _CopyWithStubImpl$Fragment$CalendarDay List? events, List? entries, String? $__typename, - }) => - _res; + }) => _res; events(_fn) => _res; @@ -2985,112 +3019,114 @@ class _CopyWithStubImpl$Fragment$CalendarDay const fragmentDefinitionCalendarDay = FragmentDefinitionNode( name: NameNode(value: 'CalendarDay'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'CalendarDay'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'CalendarDay'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'events'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'entries'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarEntry'), - directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'events'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'end'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'entries'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarEntry'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentCalendarDay = DocumentNode( + definitions: [fragmentDefinitionCalendarDay, fragmentDefinitionCalendarEntry], ); -const documentNodeFragmentCalendarDay = DocumentNode(definitions: [ - fragmentDefinitionCalendarDay, - fragmentDefinitionCalendarEntry, -]); extension ClientExtension$Fragment$CalendarDay on graphql.GraphQLClient { void writeFragment$CalendarDay({ required Fragment$CalendarDay data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'CalendarDay', - document: documentNodeFragmentCalendarDay, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'CalendarDay', + document: documentNodeFragmentCalendarDay, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$CalendarDay? readFragment$CalendarDay({ required Map idFields, @@ -3230,10 +3266,7 @@ class Fragment$CalendarDay$events { extension UtilityExtension$Fragment$CalendarDay$events on Fragment$CalendarDay$events { CopyWith$Fragment$CalendarDay$events - get copyWith => CopyWith$Fragment$CalendarDay$events( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CalendarDay$events(this, (i) => i); } abstract class CopyWith$Fragment$CalendarDay$events { @@ -3257,10 +3290,7 @@ abstract class CopyWith$Fragment$CalendarDay$events { class _CopyWithImpl$Fragment$CalendarDay$events implements CopyWith$Fragment$CalendarDay$events { - _CopyWithImpl$Fragment$CalendarDay$events( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarDay$events(this._instance, this._then); final Fragment$CalendarDay$events _instance; @@ -3275,23 +3305,24 @@ class _CopyWithImpl$Fragment$CalendarDay$events Object? end = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarDay$events( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - image: image == _undefined || image == null - ? _instance.image - : (image as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarDay$events( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + image: image == _undefined || image == null + ? _instance.image + : (image as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CalendarDay$events @@ -3307,15 +3338,12 @@ class _CopyWithStubImpl$Fragment$CalendarDay$events String? end, String? image, String? $__typename, - }) => - _res; + }) => _res; } class Variables$Query$GetCalendarDay { factory Variables$Query$GetCalendarDay({required String date}) => - Variables$Query$GetCalendarDay._({ - r'date': date, - }); + Variables$Query$GetCalendarDay._({r'date': date}); Variables$Query$GetCalendarDay._(this._$data); @@ -3338,10 +3366,7 @@ class Variables$Query$GetCalendarDay { } CopyWith$Variables$Query$GetCalendarDay - get copyWith => CopyWith$Variables$Query$GetCalendarDay( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetCalendarDay(this, (i) => i); @override bool operator ==(Object other) { @@ -3381,10 +3406,7 @@ abstract class CopyWith$Variables$Query$GetCalendarDay { class _CopyWithImpl$Variables$Query$GetCalendarDay implements CopyWith$Variables$Query$GetCalendarDay { - _CopyWithImpl$Variables$Query$GetCalendarDay( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetCalendarDay(this._instance, this._then); final Variables$Query$GetCalendarDay _instance; @@ -3392,11 +3414,12 @@ class _CopyWithImpl$Variables$Query$GetCalendarDay static const _undefined = {}; - TRes call({Object? date = _undefined}) => - _then(Variables$Query$GetCalendarDay._({ - ..._instance._$data, - if (date != _undefined && date != null) 'date': (date as String), - })); + TRes call({Object? date = _undefined}) => _then( + Variables$Query$GetCalendarDay._({ + ..._instance._$data, + if (date != _undefined && date != null) 'date': (date as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetCalendarDay @@ -3409,10 +3432,7 @@ class _CopyWithStubImpl$Variables$Query$GetCalendarDay } class Query$GetCalendarDay { - Query$GetCalendarDay({ - this.calendar, - this.$__typename = 'QueryRoot', - }); + Query$GetCalendarDay({this.calendar, this.$__typename = 'QueryRoot'}); factory Query$GetCalendarDay.fromJson(Map json) { final l$calendar = json['calendar']; @@ -3421,7 +3441,8 @@ class Query$GetCalendarDay { calendar: l$calendar == null ? null : Query$GetCalendarDay$calendar.fromJson( - (l$calendar as Map)), + (l$calendar as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3443,10 +3464,7 @@ class Query$GetCalendarDay { int get hashCode { final l$calendar = calendar; final l$$__typename = $__typename; - return Object.hashAll([ - l$calendar, - l$$__typename, - ]); + return Object.hashAll([l$calendar, l$$__typename]); } @override @@ -3473,10 +3491,7 @@ class Query$GetCalendarDay { extension UtilityExtension$Query$GetCalendarDay on Query$GetCalendarDay { CopyWith$Query$GetCalendarDay get copyWith => - CopyWith$Query$GetCalendarDay( - this, - (i) => i, - ); + CopyWith$Query$GetCalendarDay(this, (i) => i); } abstract class CopyWith$Query$GetCalendarDay { @@ -3488,19 +3503,13 @@ abstract class CopyWith$Query$GetCalendarDay { factory CopyWith$Query$GetCalendarDay.stub(TRes res) = _CopyWithStubImpl$Query$GetCalendarDay; - TRes call({ - Query$GetCalendarDay$calendar? calendar, - String? $__typename, - }); + TRes call({Query$GetCalendarDay$calendar? calendar, String? $__typename}); CopyWith$Query$GetCalendarDay$calendar get calendar; } class _CopyWithImpl$Query$GetCalendarDay implements CopyWith$Query$GetCalendarDay { - _CopyWithImpl$Query$GetCalendarDay( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetCalendarDay(this._instance, this._then); final Query$GetCalendarDay _instance; @@ -3511,22 +3520,25 @@ class _CopyWithImpl$Query$GetCalendarDay TRes call({ Object? calendar = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetCalendarDay( - calendar: calendar == _undefined - ? _instance.calendar - : (calendar as Query$GetCalendarDay$calendar?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetCalendarDay( + calendar: calendar == _undefined + ? _instance.calendar + : (calendar as Query$GetCalendarDay$calendar?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetCalendarDay$calendar get calendar { final local$calendar = _instance.calendar; return local$calendar == null ? CopyWith$Query$GetCalendarDay$calendar.stub(_then(_instance)) : CopyWith$Query$GetCalendarDay$calendar( - local$calendar, (e) => call(calendar: e)); + local$calendar, + (e) => call(calendar: e), + ); } } @@ -3536,62 +3548,70 @@ class _CopyWithStubImpl$Query$GetCalendarDay TRes _res; - call({ - Query$GetCalendarDay$calendar? calendar, - String? $__typename, - }) => - _res; + call({Query$GetCalendarDay$calendar? calendar, String? $__typename}) => _res; CopyWith$Query$GetCalendarDay$calendar get calendar => CopyWith$Query$GetCalendarDay$calendar.stub(_res); } -const documentNodeQueryGetCalendarDay = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetCalendarDay'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'date')), - type: NamedTypeNode( - name: NameNode(value: 'Date'), - isNonNull: true, +const documentNodeQueryGetCalendarDay = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetCalendarDay'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'date')), + type: NamedTypeNode(name: NameNode(value: 'Date'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'calendar'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'day'), + name: NameNode(value: 'calendar'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'day'), - value: VariableNode(name: NameNode(value: 'date')), - ) - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarDay'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'day'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'day'), + value: VariableNode(name: NameNode(value: 'date')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarDay'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -3600,23 +3620,16 @@ const documentNodeQueryGetCalendarDay = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - fragmentDefinitionCalendarDay, - fragmentDefinitionCalendarEntry, -]); + ), + fragmentDefinitionCalendarDay, + fragmentDefinitionCalendarEntry, + ], +); Query$GetCalendarDay _parserFn$Query$GetCalendarDay( - Map data) => - Query$GetCalendarDay.fromJson(data); + Map data, +) => Query$GetCalendarDay.fromJson(data); typedef OnQueryComplete$Query$GetCalendarDay = FutureOr Function( Map?, Query$GetCalendarDay?, @@ -3636,36 +3649,36 @@ class Options$Query$GetCalendarDay graphql.Context? context, OnQueryComplete$Query$GetCalendarDay? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetCalendarDay(data), - ), - onError: onError, - document: documentNodeQueryGetCalendarDay, - parserFn: _parserFn$Query$GetCalendarDay, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetCalendarDay(data), + ), + onError: onError, + document: documentNodeQueryGetCalendarDay, + parserFn: _parserFn$Query$GetCalendarDay, + ); final OnQueryComplete$Query$GetCalendarDay? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetCalendarDay @@ -3684,20 +3697,20 @@ class WatchOptions$Query$GetCalendarDay bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetCalendarDay, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetCalendarDay, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetCalendarDay, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetCalendarDay, + ); } class FetchMoreOptions$Query$GetCalendarDay extends graphql.FetchMoreOptions { @@ -3705,35 +3718,33 @@ class FetchMoreOptions$Query$GetCalendarDay extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetCalendarDay variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetCalendarDay, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetCalendarDay, + ); } extension ClientExtension$Query$GetCalendarDay on graphql.GraphQLClient { Future> query$GetCalendarDay( - Options$Query$GetCalendarDay options) async => - await this.query(options); + Options$Query$GetCalendarDay options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetCalendarDay( - WatchOptions$Query$GetCalendarDay options) => - this.watchQuery(options); + WatchOptions$Query$GetCalendarDay options, + ) => this.watchQuery(options); void writeQuery$GetCalendarDay({ required Query$GetCalendarDay data, required Variables$Query$GetCalendarDay variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetCalendarDay), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetCalendarDay), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetCalendarDay? readQuery$GetCalendarDay({ required Variables$Query$GetCalendarDay variables, @@ -3751,11 +3762,11 @@ extension ClientExtension$Query$GetCalendarDay on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetCalendarDay( - Options$Query$GetCalendarDay options) => - graphql_flutter.useQuery(options); + Options$Query$GetCalendarDay options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetCalendarDay( - WatchOptions$Query$GetCalendarDay options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetCalendarDay options, +) => graphql_flutter.useWatchQuery(options); class Query$GetCalendarDay$Widget extends graphql_flutter.Query { @@ -3763,11 +3774,7 @@ class Query$GetCalendarDay$Widget widgets.Key? key, required Options$Query$GetCalendarDay options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetCalendarDay$calendar { @@ -3802,10 +3809,7 @@ class Query$GetCalendarDay$calendar { int get hashCode { final l$day = day; final l$$__typename = $__typename; - return Object.hashAll([ - l$day, - l$$__typename, - ]); + return Object.hashAll([l$day, l$$__typename]); } @override @@ -3834,10 +3838,7 @@ class Query$GetCalendarDay$calendar { extension UtilityExtension$Query$GetCalendarDay$calendar on Query$GetCalendarDay$calendar { CopyWith$Query$GetCalendarDay$calendar - get copyWith => CopyWith$Query$GetCalendarDay$calendar( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetCalendarDay$calendar(this, (i) => i); } abstract class CopyWith$Query$GetCalendarDay$calendar { @@ -3849,19 +3850,13 @@ abstract class CopyWith$Query$GetCalendarDay$calendar { factory CopyWith$Query$GetCalendarDay$calendar.stub(TRes res) = _CopyWithStubImpl$Query$GetCalendarDay$calendar; - TRes call({ - Fragment$CalendarDay? day, - String? $__typename, - }); + TRes call({Fragment$CalendarDay? day, String? $__typename}); CopyWith$Fragment$CalendarDay get day; } class _CopyWithImpl$Query$GetCalendarDay$calendar implements CopyWith$Query$GetCalendarDay$calendar { - _CopyWithImpl$Query$GetCalendarDay$calendar( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetCalendarDay$calendar(this._instance, this._then); final Query$GetCalendarDay$calendar _instance; @@ -3869,18 +3864,17 @@ class _CopyWithImpl$Query$GetCalendarDay$calendar static const _undefined = {}; - TRes call({ - Object? day = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetCalendarDay$calendar( - day: day == _undefined || day == null - ? _instance.day - : (day as Fragment$CalendarDay), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? day = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetCalendarDay$calendar( + day: day == _undefined || day == null + ? _instance.day + : (day as Fragment$CalendarDay), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CalendarDay get day { final local$day = _instance.day; @@ -3894,11 +3888,7 @@ class _CopyWithStubImpl$Query$GetCalendarDay$calendar TRes _res; - call({ - Fragment$CalendarDay? day, - String? $__typename, - }) => - _res; + call({Fragment$CalendarDay? day, String? $__typename}) => _res; CopyWith$Fragment$CalendarDay get day => CopyWith$Fragment$CalendarDay.stub(_res); diff --git a/bccm_core/lib/src/features/graphql/queries/live/events.graphql.dart b/bccm_core/lib/src/features/graphql/queries/live/events.graphql.dart index e772db5..4fd8f99 100644 --- a/bccm_core/lib/src/features/graphql/queries/live/events.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/live/events.graphql.dart @@ -1,5 +1,7 @@ import 'calendar_days.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -16,7 +18,8 @@ class Fragment$CalendarEventWithEntries { }); factory Fragment$CalendarEventWithEntries.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$start = json['start']; @@ -29,8 +32,9 @@ class Fragment$CalendarEventWithEntries { start: (l$start as String), end: (l$end as String), entries: (l$entries as List) - .map((e) => - Fragment$CalendarEntry.fromJson((e as Map))) + .map( + (e) => Fragment$CalendarEntry.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -136,10 +140,7 @@ class Fragment$CalendarEventWithEntries { extension UtilityExtension$Fragment$CalendarEventWithEntries on Fragment$CalendarEventWithEntries { CopyWith$Fragment$CalendarEventWithEntries - get copyWith => CopyWith$Fragment$CalendarEventWithEntries( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CalendarEventWithEntries(this, (i) => i); } abstract class CopyWith$Fragment$CalendarEventWithEntries { @@ -160,17 +161,16 @@ abstract class CopyWith$Fragment$CalendarEventWithEntries { String? $__typename, }); TRes entries( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$CalendarEventWithEntries implements CopyWith$Fragment$CalendarEventWithEntries { - _CopyWithImpl$Fragment$CalendarEventWithEntries( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CalendarEventWithEntries(this._instance, this._then); final Fragment$CalendarEventWithEntries _instance; @@ -185,35 +185,37 @@ class _CopyWithImpl$Fragment$CalendarEventWithEntries Object? end = _undefined, Object? entries = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CalendarEventWithEntries( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - start: start == _undefined || start == null - ? _instance.start - : (start as String), - end: end == _undefined || end == null ? _instance.end : (end as String), - entries: entries == _undefined || entries == null - ? _instance.entries - : (entries as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CalendarEventWithEntries( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + start: start == _undefined || start == null + ? _instance.start + : (start as String), + end: end == _undefined || end == null ? _instance.end : (end as String), + entries: entries == _undefined || entries == null + ? _instance.entries + : (entries as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes entries( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarEntry>) - _fn) => - call( - entries: - _fn(_instance.entries.map((e) => CopyWith$Fragment$CalendarEntry( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + entries: _fn( + _instance.entries.map( + (e) => CopyWith$Fragment$CalendarEntry(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$CalendarEventWithEntries @@ -229,8 +231,7 @@ class _CopyWithStubImpl$Fragment$CalendarEventWithEntries String? end, List? entries, String? $__typename, - }) => - _res; + }) => _res; entries(_fn) => _res; } @@ -238,72 +239,76 @@ class _CopyWithStubImpl$Fragment$CalendarEventWithEntries const fragmentDefinitionCalendarEventWithEntries = FragmentDefinitionNode( name: NameNode(value: 'CalendarEventWithEntries'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Event'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Event'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'entries'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarEntry'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'end'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'entries'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarEntry'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentCalendarEventWithEntries = DocumentNode( + definitions: [ + fragmentDefinitionCalendarEventWithEntries, + fragmentDefinitionCalendarEntry, + ], ); -const documentNodeFragmentCalendarEventWithEntries = DocumentNode(definitions: [ - fragmentDefinitionCalendarEventWithEntries, - fragmentDefinitionCalendarEntry, -]); extension ClientExtension$Fragment$CalendarEventWithEntries on graphql.GraphQLClient { @@ -311,18 +316,17 @@ extension ClientExtension$Fragment$CalendarEventWithEntries required Fragment$CalendarEventWithEntries data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'CalendarEventWithEntries', - document: documentNodeFragmentCalendarEventWithEntries, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'CalendarEventWithEntries', + document: documentNodeFragmentCalendarEventWithEntries, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$CalendarEventWithEntries? readFragment$CalendarEventWithEntries({ required Map idFields, @@ -346,9 +350,7 @@ extension ClientExtension$Fragment$CalendarEventWithEntries class Variables$Query$GetEvent { factory Variables$Query$GetEvent({required String id}) => - Variables$Query$GetEvent._({ - r'id': id, - }); + Variables$Query$GetEvent._({r'id': id}); Variables$Query$GetEvent._(this._$data); @@ -371,10 +373,7 @@ class Variables$Query$GetEvent { } CopyWith$Variables$Query$GetEvent get copyWith => - CopyWith$Variables$Query$GetEvent( - this, - (i) => i, - ); + CopyWith$Variables$Query$GetEvent(this, (i) => i); @override bool operator ==(Object other) { @@ -414,10 +413,7 @@ abstract class CopyWith$Variables$Query$GetEvent { class _CopyWithImpl$Variables$Query$GetEvent implements CopyWith$Variables$Query$GetEvent { - _CopyWithImpl$Variables$Query$GetEvent( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetEvent(this._instance, this._then); final Variables$Query$GetEvent _instance; @@ -425,10 +421,12 @@ class _CopyWithImpl$Variables$Query$GetEvent static const _undefined = {}; - TRes call({Object? id = _undefined}) => _then(Variables$Query$GetEvent._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetEvent._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetEvent @@ -441,10 +439,7 @@ class _CopyWithStubImpl$Variables$Query$GetEvent } class Query$GetEvent { - Query$GetEvent({ - this.event, - this.$__typename = 'QueryRoot', - }); + Query$GetEvent({this.event, this.$__typename = 'QueryRoot'}); factory Query$GetEvent.fromJson(Map json) { final l$event = json['event']; @@ -453,7 +448,8 @@ class Query$GetEvent { event: l$event == null ? null : Fragment$CalendarEventWithEntries.fromJson( - (l$event as Map)), + (l$event as Map), + ), $__typename: (l$$__typename as String), ); } @@ -475,10 +471,7 @@ class Query$GetEvent { int get hashCode { final l$event = event; final l$$__typename = $__typename; - return Object.hashAll([ - l$event, - l$$__typename, - ]); + return Object.hashAll([l$event, l$$__typename]); } @override @@ -505,10 +498,7 @@ class Query$GetEvent { extension UtilityExtension$Query$GetEvent on Query$GetEvent { CopyWith$Query$GetEvent get copyWith => - CopyWith$Query$GetEvent( - this, - (i) => i, - ); + CopyWith$Query$GetEvent(this, (i) => i); } abstract class CopyWith$Query$GetEvent { @@ -520,19 +510,13 @@ abstract class CopyWith$Query$GetEvent { factory CopyWith$Query$GetEvent.stub(TRes res) = _CopyWithStubImpl$Query$GetEvent; - TRes call({ - Fragment$CalendarEventWithEntries? event, - String? $__typename, - }); + TRes call({Fragment$CalendarEventWithEntries? event, String? $__typename}); CopyWith$Fragment$CalendarEventWithEntries get event; } class _CopyWithImpl$Query$GetEvent implements CopyWith$Query$GetEvent { - _CopyWithImpl$Query$GetEvent( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetEvent(this._instance, this._then); final Query$GetEvent _instance; @@ -540,25 +524,26 @@ class _CopyWithImpl$Query$GetEvent static const _undefined = {}; - TRes call({ - Object? event = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetEvent( - event: event == _undefined - ? _instance.event - : (event as Fragment$CalendarEventWithEntries?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? event = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetEvent( + event: event == _undefined + ? _instance.event + : (event as Fragment$CalendarEventWithEntries?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CalendarEventWithEntries get event { final local$event = _instance.event; return local$event == null ? CopyWith$Fragment$CalendarEventWithEntries.stub(_then(_instance)) : CopyWith$Fragment$CalendarEventWithEntries( - local$event, (e) => call(event: e)); + local$event, + (e) => call(event: e), + ); } } @@ -568,47 +553,53 @@ class _CopyWithStubImpl$Query$GetEvent TRes _res; - call({ - Fragment$CalendarEventWithEntries? event, - String? $__typename, - }) => - _res; + call({Fragment$CalendarEventWithEntries? event, String? $__typename}) => _res; CopyWith$Fragment$CalendarEventWithEntries get event => CopyWith$Fragment$CalendarEventWithEntries.stub(_res); } -const documentNodeQueryGetEvent = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetEvent'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetEvent = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetEvent'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'event'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarEventWithEntries'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'event'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarEventWithEntries'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -617,20 +608,13 @@ const documentNodeQueryGetEvent = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionCalendarEventWithEntries, - fragmentDefinitionCalendarEntry, -]); + ), + fragmentDefinitionCalendarEventWithEntries, + fragmentDefinitionCalendarEntry, + ], +); Query$GetEvent _parserFn$Query$GetEvent(Map data) => Query$GetEvent.fromJson(data); typedef OnQueryComplete$Query$GetEvent = FutureOr Function( @@ -651,36 +635,36 @@ class Options$Query$GetEvent extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$GetEvent? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetEvent(data), - ), - onError: onError, - document: documentNodeQueryGetEvent, - parserFn: _parserFn$Query$GetEvent, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetEvent(data), + ), + onError: onError, + document: documentNodeQueryGetEvent, + parserFn: _parserFn$Query$GetEvent, + ); final OnQueryComplete$Query$GetEvent? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetEvent @@ -699,20 +683,20 @@ class WatchOptions$Query$GetEvent bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetEvent, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetEvent, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetEvent, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetEvent, + ); } class FetchMoreOptions$Query$GetEvent extends graphql.FetchMoreOptions { @@ -720,34 +704,33 @@ class FetchMoreOptions$Query$GetEvent extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetEvent variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetEvent, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetEvent, + ); } extension ClientExtension$Query$GetEvent on graphql.GraphQLClient { Future> query$GetEvent( - Options$Query$GetEvent options) async => - await this.query(options); + Options$Query$GetEvent options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetEvent( - WatchOptions$Query$GetEvent options) => - this.watchQuery(options); + WatchOptions$Query$GetEvent options, + ) => this.watchQuery(options); void writeQuery$GetEvent({ required Query$GetEvent data, required Variables$Query$GetEvent variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetEvent), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetEvent), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetEvent? readQuery$GetEvent({ required Variables$Query$GetEvent variables, @@ -765,29 +748,23 @@ extension ClientExtension$Query$GetEvent on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetEvent( - Options$Query$GetEvent options) => - graphql_flutter.useQuery(options); + Options$Query$GetEvent options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetEvent( - WatchOptions$Query$GetEvent options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetEvent options, +) => graphql_flutter.useWatchQuery(options); class Query$GetEvent$Widget extends graphql_flutter.Query { Query$GetEvent$Widget({ widgets.Key? key, required Options$Query$GetEvent options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Variables$Query$ListEvents { factory Variables$Query$ListEvents({String? from}) => - Variables$Query$ListEvents._({ - if (from != null) r'from': from, - }); + Variables$Query$ListEvents._({if (from != null) r'from': from}); Variables$Query$ListEvents._(this._$data); @@ -814,10 +791,7 @@ class Variables$Query$ListEvents { } CopyWith$Variables$Query$ListEvents - get copyWith => CopyWith$Variables$Query$ListEvents( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$ListEvents(this, (i) => i); @override bool operator ==(Object other) { @@ -860,10 +834,7 @@ abstract class CopyWith$Variables$Query$ListEvents { class _CopyWithImpl$Variables$Query$ListEvents implements CopyWith$Variables$Query$ListEvents { - _CopyWithImpl$Variables$Query$ListEvents( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$ListEvents(this._instance, this._then); final Variables$Query$ListEvents _instance; @@ -871,10 +842,12 @@ class _CopyWithImpl$Variables$Query$ListEvents static const _undefined = {}; - TRes call({Object? from = _undefined}) => _then(Variables$Query$ListEvents._({ - ..._instance._$data, - if (from != _undefined) 'from': (from as String?), - })); + TRes call({Object? from = _undefined}) => _then( + Variables$Query$ListEvents._({ + ..._instance._$data, + if (from != _undefined) 'from': (from as String?), + }), + ); } class _CopyWithStubImpl$Variables$Query$ListEvents @@ -887,10 +860,7 @@ class _CopyWithStubImpl$Variables$Query$ListEvents } class Query$ListEvents { - Query$ListEvents({ - this.calendar, - this.$__typename = 'QueryRoot', - }); + Query$ListEvents({this.calendar, this.$__typename = 'QueryRoot'}); factory Query$ListEvents.fromJson(Map json) { final l$calendar = json['calendar']; @@ -899,7 +869,8 @@ class Query$ListEvents { calendar: l$calendar == null ? null : Query$ListEvents$calendar.fromJson( - (l$calendar as Map)), + (l$calendar as Map), + ), $__typename: (l$$__typename as String), ); } @@ -921,10 +892,7 @@ class Query$ListEvents { int get hashCode { final l$calendar = calendar; final l$$__typename = $__typename; - return Object.hashAll([ - l$calendar, - l$$__typename, - ]); + return Object.hashAll([l$calendar, l$$__typename]); } @override @@ -951,10 +919,7 @@ class Query$ListEvents { extension UtilityExtension$Query$ListEvents on Query$ListEvents { CopyWith$Query$ListEvents get copyWith => - CopyWith$Query$ListEvents( - this, - (i) => i, - ); + CopyWith$Query$ListEvents(this, (i) => i); } abstract class CopyWith$Query$ListEvents { @@ -966,19 +931,13 @@ abstract class CopyWith$Query$ListEvents { factory CopyWith$Query$ListEvents.stub(TRes res) = _CopyWithStubImpl$Query$ListEvents; - TRes call({ - Query$ListEvents$calendar? calendar, - String? $__typename, - }); + TRes call({Query$ListEvents$calendar? calendar, String? $__typename}); CopyWith$Query$ListEvents$calendar get calendar; } class _CopyWithImpl$Query$ListEvents implements CopyWith$Query$ListEvents { - _CopyWithImpl$Query$ListEvents( - this._instance, - this._then, - ); + _CopyWithImpl$Query$ListEvents(this._instance, this._then); final Query$ListEvents _instance; @@ -989,22 +948,25 @@ class _CopyWithImpl$Query$ListEvents TRes call({ Object? calendar = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$ListEvents( - calendar: calendar == _undefined - ? _instance.calendar - : (calendar as Query$ListEvents$calendar?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$ListEvents( + calendar: calendar == _undefined + ? _instance.calendar + : (calendar as Query$ListEvents$calendar?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$ListEvents$calendar get calendar { final local$calendar = _instance.calendar; return local$calendar == null ? CopyWith$Query$ListEvents$calendar.stub(_then(_instance)) : CopyWith$Query$ListEvents$calendar( - local$calendar, (e) => call(calendar: e)); + local$calendar, + (e) => call(calendar: e), + ); } } @@ -1014,62 +976,70 @@ class _CopyWithStubImpl$Query$ListEvents TRes _res; - call({ - Query$ListEvents$calendar? calendar, - String? $__typename, - }) => - _res; + call({Query$ListEvents$calendar? calendar, String? $__typename}) => _res; CopyWith$Query$ListEvents$calendar get calendar => CopyWith$Query$ListEvents$calendar.stub(_res); } -const documentNodeQueryListEvents = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'ListEvents'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'from')), - type: NamedTypeNode( - name: NameNode(value: 'Date'), - isNonNull: false, +const documentNodeQueryListEvents = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'ListEvents'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'from')), + type: NamedTypeNode(name: NameNode(value: 'Date'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'calendar'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'events'), + name: NameNode(value: 'calendar'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'from'), - value: VariableNode(name: NameNode(value: 'from')), - ) - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CalendarEventWithEntries'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'events'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'from'), + value: VariableNode(name: NameNode(value: 'from')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CalendarEventWithEntries'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1078,20 +1048,13 @@ const documentNodeQueryListEvents = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionCalendarEventWithEntries, - fragmentDefinitionCalendarEntry, -]); + ), + fragmentDefinitionCalendarEventWithEntries, + fragmentDefinitionCalendarEntry, + ], +); Query$ListEvents _parserFn$Query$ListEvents(Map data) => Query$ListEvents.fromJson(data); typedef OnQueryComplete$Query$ListEvents = FutureOr Function( @@ -1112,36 +1075,36 @@ class Options$Query$ListEvents extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$ListEvents? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$ListEvents(data), - ), - onError: onError, - document: documentNodeQueryListEvents, - parserFn: _parserFn$Query$ListEvents, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$ListEvents(data), + ), + onError: onError, + document: documentNodeQueryListEvents, + parserFn: _parserFn$Query$ListEvents, + ); final OnQueryComplete$Query$ListEvents? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$ListEvents @@ -1160,20 +1123,20 @@ class WatchOptions$Query$ListEvents bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryListEvents, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$ListEvents, - ); + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryListEvents, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$ListEvents, + ); } class FetchMoreOptions$Query$ListEvents extends graphql.FetchMoreOptions { @@ -1181,34 +1144,33 @@ class FetchMoreOptions$Query$ListEvents extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, Variables$Query$ListEvents? variables, }) : super( - updateQuery: updateQuery, - variables: variables?.toJson() ?? {}, - document: documentNodeQueryListEvents, - ); + updateQuery: updateQuery, + variables: variables?.toJson() ?? {}, + document: documentNodeQueryListEvents, + ); } extension ClientExtension$Query$ListEvents on graphql.GraphQLClient { - Future> query$ListEvents( - [Options$Query$ListEvents? options]) async => - await this.query(options ?? Options$Query$ListEvents()); + Future> query$ListEvents([ + Options$Query$ListEvents? options, + ]) async => await this.query(options ?? Options$Query$ListEvents()); - graphql.ObservableQuery watchQuery$ListEvents( - [WatchOptions$Query$ListEvents? options]) => - this.watchQuery(options ?? WatchOptions$Query$ListEvents()); + graphql.ObservableQuery watchQuery$ListEvents([ + WatchOptions$Query$ListEvents? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$ListEvents()); void writeQuery$ListEvents({ required Query$ListEvents data, Variables$Query$ListEvents? variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryListEvents), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryListEvents), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$ListEvents? readQuery$ListEvents({ Variables$Query$ListEvents? variables, @@ -1225,12 +1187,12 @@ extension ClientExtension$Query$ListEvents on graphql.GraphQLClient { } } -graphql_flutter.QueryHookResult useQuery$ListEvents( - [Options$Query$ListEvents? options]) => - graphql_flutter.useQuery(options ?? Options$Query$ListEvents()); -graphql.ObservableQuery useWatchQuery$ListEvents( - [WatchOptions$Query$ListEvents? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$ListEvents()); +graphql_flutter.QueryHookResult useQuery$ListEvents([ + Options$Query$ListEvents? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$ListEvents()); +graphql.ObservableQuery useWatchQuery$ListEvents([ + WatchOptions$Query$ListEvents? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$ListEvents()); class Query$ListEvents$Widget extends graphql_flutter.Query { Query$ListEvents$Widget({ @@ -1238,10 +1200,10 @@ class Query$ListEvents$Widget extends graphql_flutter.Query { Options$Query$ListEvents? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$ListEvents(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$ListEvents(), + builder: builder, + ); } class Query$ListEvents$calendar { @@ -1255,8 +1217,11 @@ class Query$ListEvents$calendar { final l$$__typename = json['__typename']; return Query$ListEvents$calendar( events: (l$events as List) - .map((e) => Fragment$CalendarEventWithEntries.fromJson( - (e as Map))) + .map( + (e) => Fragment$CalendarEventWithEntries.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1318,10 +1283,7 @@ class Query$ListEvents$calendar { extension UtilityExtension$Query$ListEvents$calendar on Query$ListEvents$calendar { CopyWith$Query$ListEvents$calendar get copyWith => - CopyWith$Query$ListEvents$calendar( - this, - (i) => i, - ); + CopyWith$Query$ListEvents$calendar(this, (i) => i); } abstract class CopyWith$Query$ListEvents$calendar { @@ -1338,19 +1300,20 @@ abstract class CopyWith$Query$ListEvents$calendar { String? $__typename, }); TRes events( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarEventWithEntries< - Fragment$CalendarEventWithEntries>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$CalendarEventWithEntries< + Fragment$CalendarEventWithEntries + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$ListEvents$calendar implements CopyWith$Query$ListEvents$calendar { - _CopyWithImpl$Query$ListEvents$calendar( - this._instance, - this._then, - ); + _CopyWithImpl$Query$ListEvents$calendar(this._instance, this._then); final Query$ListEvents$calendar _instance; @@ -1358,31 +1321,34 @@ class _CopyWithImpl$Query$ListEvents$calendar static const _undefined = {}; - TRes call({ - Object? events = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$ListEvents$calendar( - events: events == _undefined || events == null - ? _instance.events - : (events as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? events = _undefined, Object? $__typename = _undefined}) => + _then( + Query$ListEvents$calendar( + events: events == _undefined || events == null + ? _instance.events + : (events as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes events( - Iterable Function( - Iterable< - CopyWith$Fragment$CalendarEventWithEntries< - Fragment$CalendarEventWithEntries>>) - _fn) => - call( - events: _fn(_instance.events - .map((e) => CopyWith$Fragment$CalendarEventWithEntries( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$CalendarEventWithEntries< + Fragment$CalendarEventWithEntries + > + >, + ) + _fn, + ) => call( + events: _fn( + _instance.events.map( + (e) => CopyWith$Fragment$CalendarEventWithEntries(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$ListEvents$calendar @@ -1394,8 +1360,7 @@ class _CopyWithStubImpl$Query$ListEvents$calendar call({ List? events, String? $__typename, - }) => - _res; + }) => _res; events(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/live/live.graphql.dart b/bccm_core/lib/src/features/graphql/queries/live/live.graphql.dart index 32a7aa1..d60428c 100644 --- a/bccm_core/lib/src/features/graphql/queries/live/live.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/live/live.graphql.dart @@ -1,14 +1,12 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; class Query$GetLive { - Query$GetLive({ - required this.live, - this.$__typename = 'QueryRoot', - }); + Query$GetLive({required this.live, this.$__typename = 'QueryRoot'}); factory Query$GetLive.fromJson(Map json) { final l$live = json['live']; @@ -36,10 +34,7 @@ class Query$GetLive { int get hashCode { final l$live = live; final l$$__typename = $__typename; - return Object.hashAll([ - l$live, - l$$__typename, - ]); + return Object.hashAll([l$live, l$$__typename]); } @override @@ -65,10 +60,8 @@ class Query$GetLive { } extension UtilityExtension$Query$GetLive on Query$GetLive { - CopyWith$Query$GetLive get copyWith => CopyWith$Query$GetLive( - this, - (i) => i, - ); + CopyWith$Query$GetLive get copyWith => + CopyWith$Query$GetLive(this, (i) => i); } abstract class CopyWith$Query$GetLive { @@ -80,19 +73,13 @@ abstract class CopyWith$Query$GetLive { factory CopyWith$Query$GetLive.stub(TRes res) = _CopyWithStubImpl$Query$GetLive; - TRes call({ - Query$GetLive$live? live, - String? $__typename, - }); + TRes call({Query$GetLive$live? live, String? $__typename}); CopyWith$Query$GetLive$live get live; } class _CopyWithImpl$Query$GetLive implements CopyWith$Query$GetLive { - _CopyWithImpl$Query$GetLive( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetLive(this._instance, this._then); final Query$GetLive _instance; @@ -100,18 +87,17 @@ class _CopyWithImpl$Query$GetLive static const _undefined = {}; - TRes call({ - Object? live = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetLive( - live: live == _undefined || live == null - ? _instance.live - : (live as Query$GetLive$live), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? live = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetLive( + live: live == _undefined || live == null + ? _instance.live + : (live as Query$GetLive$live), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetLive$live get live { final local$live = _instance.live; @@ -125,49 +111,58 @@ class _CopyWithStubImpl$Query$GetLive TRes _res; - call({ - Query$GetLive$live? live, - String? $__typename, - }) => - _res; + call({Query$GetLive$live? live, String? $__typename}) => _res; CopyWith$Query$GetLive$live get live => CopyWith$Query$GetLive$live.stub(_res); } -const documentNodeQueryGetLive = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetLive'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'live'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'isOnline'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), +const documentNodeQueryGetLive = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetLive'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'expiresAt'), + name: NameNode(value: 'live'), alias: null, arguments: [], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'isOnline'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'expiresAt'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -176,18 +171,11 @@ const documentNodeQueryGetLive = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$GetLive _parserFn$Query$GetLive(Map data) => Query$GetLive.fromJson(data); typedef OnQueryComplete$Query$GetLive = FutureOr Function( @@ -207,35 +195,35 @@ class Options$Query$GetLive extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$GetLive? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetLive(data), - ), - onError: onError, - document: documentNodeQueryGetLive, - parserFn: _parserFn$Query$GetLive, - ); + }) : onCompleteWithParsed = onComplete, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetLive(data), + ), + onError: onError, + document: documentNodeQueryGetLive, + parserFn: _parserFn$Query$GetLive, + ); final OnQueryComplete$Query$GetLive? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetLive @@ -253,65 +241,63 @@ class WatchOptions$Query$GetLive bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetLive, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetLive, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetLive, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetLive, + ); } class FetchMoreOptions$Query$GetLive extends graphql.FetchMoreOptions { FetchMoreOptions$Query$GetLive({required graphql.UpdateQuery updateQuery}) - : super( - updateQuery: updateQuery, - document: documentNodeQueryGetLive, - ); + : super(updateQuery: updateQuery, document: documentNodeQueryGetLive); } extension ClientExtension$Query$GetLive on graphql.GraphQLClient { - Future> query$GetLive( - [Options$Query$GetLive? options]) async => - await this.query(options ?? Options$Query$GetLive()); + Future> query$GetLive([ + Options$Query$GetLive? options, + ]) async => await this.query(options ?? Options$Query$GetLive()); - graphql.ObservableQuery watchQuery$GetLive( - [WatchOptions$Query$GetLive? options]) => - this.watchQuery(options ?? WatchOptions$Query$GetLive()); + graphql.ObservableQuery watchQuery$GetLive([ + WatchOptions$Query$GetLive? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$GetLive()); void writeQuery$GetLive({ required Query$GetLive data, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetLive)), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetLive), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetLive? readQuery$GetLive({bool optimistic = true}) { final result = this.readQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetLive)), + operation: graphql.Operation(document: documentNodeQueryGetLive), + ), optimistic: optimistic, ); return result == null ? null : Query$GetLive.fromJson(result); } } -graphql_flutter.QueryHookResult useQuery$GetLive( - [Options$Query$GetLive? options]) => - graphql_flutter.useQuery(options ?? Options$Query$GetLive()); -graphql.ObservableQuery useWatchQuery$GetLive( - [WatchOptions$Query$GetLive? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$GetLive()); +graphql_flutter.QueryHookResult useQuery$GetLive([ + Options$Query$GetLive? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$GetLive()); +graphql.ObservableQuery useWatchQuery$GetLive([ + WatchOptions$Query$GetLive? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$GetLive()); class Query$GetLive$Widget extends graphql_flutter.Query { Query$GetLive$Widget({ @@ -319,10 +305,10 @@ class Query$GetLive$Widget extends graphql_flutter.Query { Options$Query$GetLive? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$GetLive(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$GetLive(), + builder: builder, + ); } class Query$GetLive$live { @@ -373,12 +359,7 @@ class Query$GetLive$live { final l$url = url; final l$expiresAt = expiresAt; final l$$__typename = $__typename; - return Object.hashAll([ - l$isOnline, - l$url, - l$expiresAt, - l$$__typename, - ]); + return Object.hashAll([l$isOnline, l$url, l$expiresAt, l$$__typename]); } @override @@ -415,10 +396,7 @@ class Query$GetLive$live { extension UtilityExtension$Query$GetLive$live on Query$GetLive$live { CopyWith$Query$GetLive$live get copyWith => - CopyWith$Query$GetLive$live( - this, - (i) => i, - ); + CopyWith$Query$GetLive$live(this, (i) => i); } abstract class CopyWith$Query$GetLive$live { @@ -440,10 +418,7 @@ abstract class CopyWith$Query$GetLive$live { class _CopyWithImpl$Query$GetLive$live implements CopyWith$Query$GetLive$live { - _CopyWithImpl$Query$GetLive$live( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetLive$live(this._instance, this._then); final Query$GetLive$live _instance; @@ -456,19 +431,20 @@ class _CopyWithImpl$Query$GetLive$live Object? url = _undefined, Object? expiresAt = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetLive$live( - isOnline: isOnline == _undefined || isOnline == null - ? _instance.isOnline - : (isOnline as bool), - url: url == _undefined ? _instance.url : (url as String?), - expiresAt: expiresAt == _undefined - ? _instance.expiresAt - : (expiresAt as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetLive$live( + isOnline: isOnline == _undefined || isOnline == null + ? _instance.isOnline + : (isOnline as bool), + url: url == _undefined ? _instance.url : (url as String?), + expiresAt: expiresAt == _undefined + ? _instance.expiresAt + : (expiresAt as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetLive$live @@ -477,11 +453,6 @@ class _CopyWithStubImpl$Query$GetLive$live TRes _res; - call({ - bool? isOnline, - String? url, - String? expiresAt, - String? $__typename, - }) => + call({bool? isOnline, String? url, String? expiresAt, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/me.graphql.dart b/bccm_core/lib/src/features/graphql/queries/me.graphql.dart index be382bf..7a59d12 100644 --- a/bccm_core/lib/src/features/graphql/queries/me.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/me.graphql.dart @@ -1,15 +1,14 @@ import '../schema/mutations.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; class Query$me { - Query$me({ - required this.me, - this.$__typename = 'QueryRoot', - }); + Query$me({required this.me, this.$__typename = 'QueryRoot'}); factory Query$me.fromJson(Map json) { final l$me = json['me']; @@ -37,10 +36,7 @@ class Query$me { int get hashCode { final l$me = me; final l$$__typename = $__typename; - return Object.hashAll([ - l$me, - l$$__typename, - ]); + return Object.hashAll([l$me, l$$__typename]); } @override @@ -66,32 +62,21 @@ class Query$me { } extension UtilityExtension$Query$me on Query$me { - CopyWith$Query$me get copyWith => CopyWith$Query$me( - this, - (i) => i, - ); + CopyWith$Query$me get copyWith => CopyWith$Query$me(this, (i) => i); } abstract class CopyWith$Query$me { - factory CopyWith$Query$me( - Query$me instance, - TRes Function(Query$me) then, - ) = _CopyWithImpl$Query$me; + factory CopyWith$Query$me(Query$me instance, TRes Function(Query$me) then) = + _CopyWithImpl$Query$me; factory CopyWith$Query$me.stub(TRes res) = _CopyWithStubImpl$Query$me; - TRes call({ - Query$me$me? me, - String? $__typename, - }); + TRes call({Query$me$me? me, String? $__typename}); CopyWith$Query$me$me get me; } class _CopyWithImpl$Query$me implements CopyWith$Query$me { - _CopyWithImpl$Query$me( - this._instance, - this._then, - ); + _CopyWithImpl$Query$me(this._instance, this._then); final Query$me _instance; @@ -99,16 +84,17 @@ class _CopyWithImpl$Query$me implements CopyWith$Query$me { static const _undefined = {}; - TRes call({ - Object? me = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$me( - me: me == _undefined || me == null ? _instance.me : (me as Query$me$me), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? me = _undefined, Object? $__typename = _undefined}) => + _then( + Query$me( + me: me == _undefined || me == null + ? _instance.me + : (me as Query$me$me), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$me$me get me { final local$me = _instance.me; @@ -121,84 +107,95 @@ class _CopyWithStubImpl$Query$me implements CopyWith$Query$me { TRes _res; - call({ - Query$me$me? me, - String? $__typename, - }) => - _res; + call({Query$me$me? me, String? $__typename}) => _res; CopyWith$Query$me$me get me => CopyWith$Query$me$me.stub(_res); } -const documentNodeQueryme = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'me'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'me'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'analytics'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'anonymousId'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'roles'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'email'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), +const documentNodeQueryme = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'me'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'emailVerified'), + name: NameNode(value: 'me'), alias: null, arguments: [], directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'completedRegistration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'analytics'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'anonymousId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'roles'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'email'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'emailVerified'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'completedRegistration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -207,18 +204,11 @@ const documentNodeQueryme = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$me _parserFn$Query$me(Map data) => Query$me.fromJson(data); typedef OnQueryComplete$Query$me = FutureOr Function( @@ -238,35 +228,35 @@ class Options$Query$me extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$me? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$me(data), - ), - onError: onError, - document: documentNodeQueryme, - parserFn: _parserFn$Query$me, - ); + }) : onCompleteWithParsed = onComplete, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$me(data), + ), + onError: onError, + document: documentNodeQueryme, + parserFn: _parserFn$Query$me, + ); final OnQueryComplete$Query$me? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$me extends graphql.WatchQueryOptions { @@ -283,45 +273,40 @@ class WatchOptions$Query$me extends graphql.WatchQueryOptions { bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryme, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$me, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryme, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$me, + ); } class FetchMoreOptions$Query$me extends graphql.FetchMoreOptions { FetchMoreOptions$Query$me({required graphql.UpdateQuery updateQuery}) - : super( - updateQuery: updateQuery, - document: documentNodeQueryme, - ); + : super(updateQuery: updateQuery, document: documentNodeQueryme); } extension ClientExtension$Query$me on graphql.GraphQLClient { - Future> query$me( - [Options$Query$me? options]) async => - await this.query(options ?? Options$Query$me()); - - graphql.ObservableQuery watchQuery$me( - [WatchOptions$Query$me? options]) => - this.watchQuery(options ?? WatchOptions$Query$me()); - - void writeQuery$me({ - required Query$me data, - bool broadcast = true, - }) => + Future> query$me([ + Options$Query$me? options, + ]) async => await this.query(options ?? Options$Query$me()); + + graphql.ObservableQuery watchQuery$me([ + WatchOptions$Query$me? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$me()); + + void writeQuery$me({required Query$me data, bool broadcast = true}) => this.writeQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryme)), + operation: graphql.Operation(document: documentNodeQueryme), + ), data: data.toJson(), broadcast: broadcast, ); @@ -329,19 +314,20 @@ extension ClientExtension$Query$me on graphql.GraphQLClient { Query$me? readQuery$me({bool optimistic = true}) { final result = this.readQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryme)), + operation: graphql.Operation(document: documentNodeQueryme), + ), optimistic: optimistic, ); return result == null ? null : Query$me.fromJson(result); } } -graphql_flutter.QueryHookResult useQuery$me( - [Options$Query$me? options]) => - graphql_flutter.useQuery(options ?? Options$Query$me()); -graphql.ObservableQuery useWatchQuery$me( - [WatchOptions$Query$me? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$me()); +graphql_flutter.QueryHookResult useQuery$me([ + Options$Query$me? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$me()); +graphql.ObservableQuery useWatchQuery$me([ + WatchOptions$Query$me? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$me()); class Query$me$Widget extends graphql_flutter.Query { Query$me$Widget({ @@ -349,10 +335,10 @@ class Query$me$Widget extends graphql_flutter.Query { Options$Query$me? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$me(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$me(), + builder: builder, + ); } class Query$me$me { @@ -376,8 +362,9 @@ class Query$me$me { final l$$__typename = json['__typename']; return Query$me$me( id: (l$id as String?), - analytics: - Query$me$me$analytics.fromJson((l$analytics as Map)), + analytics: Query$me$me$analytics.fromJson( + (l$analytics as Map), + ), roles: (l$roles as List).map((e) => (e as String)).toList(), email: (l$email as String?), emailVerified: (l$emailVerified as bool), @@ -494,10 +481,8 @@ class Query$me$me { } extension UtilityExtension$Query$me$me on Query$me$me { - CopyWith$Query$me$me get copyWith => CopyWith$Query$me$me( - this, - (i) => i, - ); + CopyWith$Query$me$me get copyWith => + CopyWith$Query$me$me(this, (i) => i); } abstract class CopyWith$Query$me$me { @@ -521,10 +506,7 @@ abstract class CopyWith$Query$me$me { } class _CopyWithImpl$Query$me$me implements CopyWith$Query$me$me { - _CopyWithImpl$Query$me$me( - this._instance, - this._then, - ); + _CopyWithImpl$Query$me$me(this._instance, this._then); final Query$me$me _instance; @@ -540,32 +522,35 @@ class _CopyWithImpl$Query$me$me implements CopyWith$Query$me$me { Object? emailVerified = _undefined, Object? completedRegistration = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$me$me( - id: id == _undefined ? _instance.id : (id as String?), - analytics: analytics == _undefined || analytics == null - ? _instance.analytics - : (analytics as Query$me$me$analytics), - roles: roles == _undefined || roles == null - ? _instance.roles - : (roles as List), - email: email == _undefined ? _instance.email : (email as String?), - emailVerified: emailVerified == _undefined || emailVerified == null - ? _instance.emailVerified - : (emailVerified as bool), - completedRegistration: - completedRegistration == _undefined || completedRegistration == null - ? _instance.completedRegistration - : (completedRegistration as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$me$me( + id: id == _undefined ? _instance.id : (id as String?), + analytics: analytics == _undefined || analytics == null + ? _instance.analytics + : (analytics as Query$me$me$analytics), + roles: roles == _undefined || roles == null + ? _instance.roles + : (roles as List), + email: email == _undefined ? _instance.email : (email as String?), + emailVerified: emailVerified == _undefined || emailVerified == null + ? _instance.emailVerified + : (emailVerified as bool), + completedRegistration: + completedRegistration == _undefined || completedRegistration == null + ? _instance.completedRegistration + : (completedRegistration as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$me$me$analytics get analytics { final local$analytics = _instance.analytics; return CopyWith$Query$me$me$analytics( - local$analytics, (e) => call(analytics: e)); + local$analytics, + (e) => call(analytics: e), + ); } } @@ -583,8 +568,7 @@ class _CopyWithStubImpl$Query$me$me bool? emailVerified, bool? completedRegistration, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$me$me$analytics get analytics => CopyWith$Query$me$me$analytics.stub(_res); @@ -622,10 +606,7 @@ class Query$me$me$analytics { int get hashCode { final l$anonymousId = anonymousId; final l$$__typename = $__typename; - return Object.hashAll([ - l$anonymousId, - l$$__typename, - ]); + return Object.hashAll([l$anonymousId, l$$__typename]); } @override @@ -652,10 +633,7 @@ class Query$me$me$analytics { extension UtilityExtension$Query$me$me$analytics on Query$me$me$analytics { CopyWith$Query$me$me$analytics get copyWith => - CopyWith$Query$me$me$analytics( - this, - (i) => i, - ); + CopyWith$Query$me$me$analytics(this, (i) => i); } abstract class CopyWith$Query$me$me$analytics { @@ -667,18 +645,12 @@ abstract class CopyWith$Query$me$me$analytics { factory CopyWith$Query$me$me$analytics.stub(TRes res) = _CopyWithStubImpl$Query$me$me$analytics; - TRes call({ - String? anonymousId, - String? $__typename, - }); + TRes call({String? anonymousId, String? $__typename}); } class _CopyWithImpl$Query$me$me$analytics implements CopyWith$Query$me$me$analytics { - _CopyWithImpl$Query$me$me$analytics( - this._instance, - this._then, - ); + _CopyWithImpl$Query$me$me$analytics(this._instance, this._then); final Query$me$me$analytics _instance; @@ -689,15 +661,16 @@ class _CopyWithImpl$Query$me$me$analytics TRes call({ Object? anonymousId = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$me$me$analytics( - anonymousId: anonymousId == _undefined || anonymousId == null - ? _instance.anonymousId - : (anonymousId as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$me$me$analytics( + anonymousId: anonymousId == _undefined || anonymousId == null + ? _instance.anonymousId + : (anonymousId as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$me$me$analytics @@ -706,11 +679,7 @@ class _CopyWithStubImpl$Query$me$me$analytics TRes _res; - call({ - String? anonymousId, - String? $__typename, - }) => - _res; + call({String? anonymousId, String? $__typename}) => _res; } class Mutation$sendVerificationEmail { @@ -745,10 +714,7 @@ class Mutation$sendVerificationEmail { int get hashCode { final l$sendVerificationEmail = sendVerificationEmail; final l$$__typename = $__typename; - return Object.hashAll([ - l$sendVerificationEmail, - l$$__typename, - ]); + return Object.hashAll([l$sendVerificationEmail, l$$__typename]); } @override @@ -777,10 +743,7 @@ class Mutation$sendVerificationEmail { extension UtilityExtension$Mutation$sendVerificationEmail on Mutation$sendVerificationEmail { CopyWith$Mutation$sendVerificationEmail - get copyWith => CopyWith$Mutation$sendVerificationEmail( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$sendVerificationEmail(this, (i) => i); } abstract class CopyWith$Mutation$sendVerificationEmail { @@ -792,18 +755,12 @@ abstract class CopyWith$Mutation$sendVerificationEmail { factory CopyWith$Mutation$sendVerificationEmail.stub(TRes res) = _CopyWithStubImpl$Mutation$sendVerificationEmail; - TRes call({ - bool? sendVerificationEmail, - String? $__typename, - }); + TRes call({bool? sendVerificationEmail, String? $__typename}); } class _CopyWithImpl$Mutation$sendVerificationEmail implements CopyWith$Mutation$sendVerificationEmail { - _CopyWithImpl$Mutation$sendVerificationEmail( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$sendVerificationEmail(this._instance, this._then); final Mutation$sendVerificationEmail _instance; @@ -814,16 +771,17 @@ class _CopyWithImpl$Mutation$sendVerificationEmail TRes call({ Object? sendVerificationEmail = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$sendVerificationEmail( - sendVerificationEmail: - sendVerificationEmail == _undefined || sendVerificationEmail == null - ? _instance.sendVerificationEmail - : (sendVerificationEmail as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$sendVerificationEmail( + sendVerificationEmail: + sendVerificationEmail == _undefined || sendVerificationEmail == null + ? _instance.sendVerificationEmail + : (sendVerificationEmail as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$sendVerificationEmail @@ -832,45 +790,45 @@ class _CopyWithStubImpl$Mutation$sendVerificationEmail TRes _res; - call({ - bool? sendVerificationEmail, - String? $__typename, - }) => - _res; + call({bool? sendVerificationEmail, String? $__typename}) => _res; } -const documentNodeMutationsendVerificationEmail = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'sendVerificationEmail'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'sendVerificationEmail'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, +const documentNodeMutationsendVerificationEmail = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'sendVerificationEmail'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'sendVerificationEmail'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), -]); -Mutation$sendVerificationEmail _parserFn$Mutation$sendVerificationEmail( - Map data) => - Mutation$sendVerificationEmail.fromJson(data); -typedef OnMutationCompleted$Mutation$sendVerificationEmail = FutureOr - Function( - Map?, - Mutation$sendVerificationEmail?, + ), + ], ); +Mutation$sendVerificationEmail _parserFn$Mutation$sendVerificationEmail( + Map data, +) => Mutation$sendVerificationEmail.fromJson(data); +typedef OnMutationCompleted$Mutation$sendVerificationEmail = + FutureOr Function( + Map?, + Mutation$sendVerificationEmail?, + ); class Options$Mutation$sendVerificationEmail extends graphql.MutationOptions { @@ -885,38 +843,38 @@ class Options$Mutation$sendVerificationEmail OnMutationCompleted$Mutation$sendVerificationEmail? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$sendVerificationEmail(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsendVerificationEmail, - parserFn: _parserFn$Mutation$sendVerificationEmail, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$sendVerificationEmail(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsendVerificationEmail, + parserFn: _parserFn$Mutation$sendVerificationEmail, + ); final OnMutationCompleted$Mutation$sendVerificationEmail? - onCompletedWithParsed; + onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$sendVerificationEmail @@ -934,51 +892,51 @@ class WatchOptions$Mutation$sendVerificationEmail bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationsendVerificationEmail, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$sendVerificationEmail, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationsendVerificationEmail, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$sendVerificationEmail, + ); } extension ClientExtension$Mutation$sendVerificationEmail on graphql.GraphQLClient { Future> - mutate$sendVerificationEmail( - [Options$Mutation$sendVerificationEmail? options]) async => - await this - .mutate(options ?? Options$Mutation$sendVerificationEmail()); + mutate$sendVerificationEmail([ + Options$Mutation$sendVerificationEmail? options, + ]) async => + await this.mutate(options ?? Options$Mutation$sendVerificationEmail()); graphql.ObservableQuery - watchMutation$sendVerificationEmail( - [WatchOptions$Mutation$sendVerificationEmail? options]) => - this.watchMutation( - options ?? WatchOptions$Mutation$sendVerificationEmail()); + watchMutation$sendVerificationEmail([ + WatchOptions$Mutation$sendVerificationEmail? options, + ]) => this.watchMutation( + options ?? WatchOptions$Mutation$sendVerificationEmail(), + ); } class Mutation$sendVerificationEmail$HookResult { - Mutation$sendVerificationEmail$HookResult( - this.runMutation, - this.result, - ); + Mutation$sendVerificationEmail$HookResult(this.runMutation, this.result); final RunMutation$Mutation$sendVerificationEmail runMutation; final graphql.QueryResult result; } -Mutation$sendVerificationEmail$HookResult useMutation$sendVerificationEmail( - [WidgetOptions$Mutation$sendVerificationEmail? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$sendVerificationEmail()); +Mutation$sendVerificationEmail$HookResult useMutation$sendVerificationEmail([ + WidgetOptions$Mutation$sendVerificationEmail? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$sendVerificationEmail(), + ); return Mutation$sendVerificationEmail$HookResult( ({optimisticResult, typedOptimisticResult}) => result.runMutation( const {}, @@ -989,10 +947,11 @@ Mutation$sendVerificationEmail$HookResult useMutation$sendVerificationEmail( } graphql.ObservableQuery - useWatchMutation$sendVerificationEmail( - [WatchOptions$Mutation$sendVerificationEmail? options]) => - graphql_flutter.useWatchMutation( - options ?? WatchOptions$Mutation$sendVerificationEmail()); +useWatchMutation$sendVerificationEmail([ + WatchOptions$Mutation$sendVerificationEmail? options, +]) => graphql_flutter.useWatchMutation( + options ?? WatchOptions$Mutation$sendVerificationEmail(), +); class WidgetOptions$Mutation$sendVerificationEmail extends graphql.MutationOptions { @@ -1007,45 +966,45 @@ class WidgetOptions$Mutation$sendVerificationEmail OnMutationCompleted$Mutation$sendVerificationEmail? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$sendVerificationEmail(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsendVerificationEmail, - parserFn: _parserFn$Mutation$sendVerificationEmail, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$sendVerificationEmail(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsendVerificationEmail, + parserFn: _parserFn$Mutation$sendVerificationEmail, + ); final OnMutationCompleted$Mutation$sendVerificationEmail? - onCompletedWithParsed; + onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } -typedef RunMutation$Mutation$sendVerificationEmail - = graphql.MultiSourceResult Function({ - Object? optimisticResult, - Mutation$sendVerificationEmail? typedOptimisticResult, -}); +typedef RunMutation$Mutation$sendVerificationEmail = + graphql.MultiSourceResult Function({ + Object? optimisticResult, + Mutation$sendVerificationEmail? typedOptimisticResult, + }); typedef Builder$Mutation$sendVerificationEmail = widgets.Widget Function( RunMutation$Mutation$sendVerificationEmail, graphql.QueryResult?, @@ -1058,48 +1017,42 @@ class Mutation$sendVerificationEmail$Widget WidgetOptions$Mutation$sendVerificationEmail? options, required Builder$Mutation$sendVerificationEmail builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$sendVerificationEmail(), - builder: ( - run, - result, - ) => - builder( - ({ - optimisticResult, - typedOptimisticResult, - }) => - run( - const {}, - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$sendVerificationEmail(), + builder: (run, result) => builder( + ({optimisticResult, typedOptimisticResult}) => run( + const {}, + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Variables$Mutation$updateUserMetadata { factory Variables$Mutation$updateUserMetadata({ required Input$NameOptions nameData, required Input$BirthOptions birthData, - }) => - Variables$Mutation$updateUserMetadata._({ - r'nameData': nameData, - r'birthData': birthData, - }); + }) => Variables$Mutation$updateUserMetadata._({ + r'nameData': nameData, + r'birthData': birthData, + }); Variables$Mutation$updateUserMetadata._(this._$data); factory Variables$Mutation$updateUserMetadata.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$nameData = data['nameData']; - result$data['nameData'] = - Input$NameOptions.fromJson((l$nameData as Map)); + result$data['nameData'] = Input$NameOptions.fromJson( + (l$nameData as Map), + ); final l$birthData = data['birthData']; - result$data['birthData'] = - Input$BirthOptions.fromJson((l$birthData as Map)); + result$data['birthData'] = Input$BirthOptions.fromJson( + (l$birthData as Map), + ); return Variables$Mutation$updateUserMetadata._(result$data); } @@ -1120,11 +1073,10 @@ class Variables$Mutation$updateUserMetadata { } CopyWith$Variables$Mutation$updateUserMetadata< - Variables$Mutation$updateUserMetadata> - get copyWith => CopyWith$Variables$Mutation$updateUserMetadata( - this, - (i) => i, - ); + Variables$Mutation$updateUserMetadata + > + get copyWith => + CopyWith$Variables$Mutation$updateUserMetadata(this, (i) => i); @override bool operator ==(Object other) { @@ -1152,10 +1104,7 @@ class Variables$Mutation$updateUserMetadata { int get hashCode { final l$nameData = nameData; final l$birthData = birthData; - return Object.hashAll([ - l$nameData, - l$birthData, - ]); + return Object.hashAll([l$nameData, l$birthData]); } } @@ -1168,10 +1117,7 @@ abstract class CopyWith$Variables$Mutation$updateUserMetadata { factory CopyWith$Variables$Mutation$updateUserMetadata.stub(TRes res) = _CopyWithStubImpl$Variables$Mutation$updateUserMetadata; - TRes call({ - Input$NameOptions? nameData, - Input$BirthOptions? birthData, - }); + TRes call({Input$NameOptions? nameData, Input$BirthOptions? birthData}); } class _CopyWithImpl$Variables$Mutation$updateUserMetadata @@ -1187,17 +1133,16 @@ class _CopyWithImpl$Variables$Mutation$updateUserMetadata static const _undefined = {}; - TRes call({ - Object? nameData = _undefined, - Object? birthData = _undefined, - }) => - _then(Variables$Mutation$updateUserMetadata._({ - ..._instance._$data, - if (nameData != _undefined && nameData != null) - 'nameData': (nameData as Input$NameOptions), - if (birthData != _undefined && birthData != null) - 'birthData': (birthData as Input$BirthOptions), - })); + TRes call({Object? nameData = _undefined, Object? birthData = _undefined}) => + _then( + Variables$Mutation$updateUserMetadata._({ + ..._instance._$data, + if (nameData != _undefined && nameData != null) + 'nameData': (nameData as Input$NameOptions), + if (birthData != _undefined && birthData != null) + 'birthData': (birthData as Input$BirthOptions), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$updateUserMetadata @@ -1206,11 +1151,7 @@ class _CopyWithStubImpl$Variables$Mutation$updateUserMetadata TRes _res; - call({ - Input$NameOptions? nameData, - Input$BirthOptions? birthData, - }) => - _res; + call({Input$NameOptions? nameData, Input$BirthOptions? birthData}) => _res; } class Mutation$updateUserMetadata { @@ -1245,10 +1186,7 @@ class Mutation$updateUserMetadata { int get hashCode { final l$updateUserMetadata = updateUserMetadata; final l$$__typename = $__typename; - return Object.hashAll([ - l$updateUserMetadata, - l$$__typename, - ]); + return Object.hashAll([l$updateUserMetadata, l$$__typename]); } @override @@ -1277,10 +1215,7 @@ class Mutation$updateUserMetadata { extension UtilityExtension$Mutation$updateUserMetadata on Mutation$updateUserMetadata { CopyWith$Mutation$updateUserMetadata - get copyWith => CopyWith$Mutation$updateUserMetadata( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$updateUserMetadata(this, (i) => i); } abstract class CopyWith$Mutation$updateUserMetadata { @@ -1292,18 +1227,12 @@ abstract class CopyWith$Mutation$updateUserMetadata { factory CopyWith$Mutation$updateUserMetadata.stub(TRes res) = _CopyWithStubImpl$Mutation$updateUserMetadata; - TRes call({ - bool? updateUserMetadata, - String? $__typename, - }); + TRes call({bool? updateUserMetadata, String? $__typename}); } class _CopyWithImpl$Mutation$updateUserMetadata implements CopyWith$Mutation$updateUserMetadata { - _CopyWithImpl$Mutation$updateUserMetadata( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$updateUserMetadata(this._instance, this._then); final Mutation$updateUserMetadata _instance; @@ -1314,16 +1243,17 @@ class _CopyWithImpl$Mutation$updateUserMetadata TRes call({ Object? updateUserMetadata = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$updateUserMetadata( - updateUserMetadata: - updateUserMetadata == _undefined || updateUserMetadata == null - ? _instance.updateUserMetadata - : (updateUserMetadata as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$updateUserMetadata( + updateUserMetadata: + updateUserMetadata == _undefined || updateUserMetadata == null + ? _instance.updateUserMetadata + : (updateUserMetadata as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$updateUserMetadata @@ -1332,73 +1262,73 @@ class _CopyWithStubImpl$Mutation$updateUserMetadata TRes _res; - call({ - bool? updateUserMetadata, - String? $__typename, - }) => - _res; + call({bool? updateUserMetadata, String? $__typename}) => _res; } -const documentNodeMutationupdateUserMetadata = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'updateUserMetadata'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'nameData')), - type: NamedTypeNode( - name: NameNode(value: 'NameOptions'), - isNonNull: true, +const documentNodeMutationupdateUserMetadata = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'updateUserMetadata'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'nameData')), + type: NamedTypeNode( + name: NameNode(value: 'NameOptions'), + isNonNull: true, + ), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'birthData')), - type: NamedTypeNode( - name: NameNode(value: 'BirthOptions'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'birthData')), + type: NamedTypeNode( + name: NameNode(value: 'BirthOptions'), + isNonNull: true, + ), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'updateUserMetadata'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'nameData'), - value: VariableNode(name: NameNode(value: 'nameData')), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'updateUserMetadata'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'nameData'), + value: VariableNode(name: NameNode(value: 'nameData')), + ), + ArgumentNode( + name: NameNode(value: 'birthData'), + value: VariableNode(name: NameNode(value: 'birthData')), + ), + ], + directives: [], + selectionSet: null, ), - ArgumentNode( - name: NameNode(value: 'birthData'), - value: VariableNode(name: NameNode(value: 'birthData')), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), ], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, ), - ]), - ), -]); -Mutation$updateUserMetadata _parserFn$Mutation$updateUserMetadata( - Map data) => - Mutation$updateUserMetadata.fromJson(data); -typedef OnMutationCompleted$Mutation$updateUserMetadata = FutureOr - Function( - Map?, - Mutation$updateUserMetadata?, + ), + ], ); +Mutation$updateUserMetadata _parserFn$Mutation$updateUserMetadata( + Map data, +) => Mutation$updateUserMetadata.fromJson(data); +typedef OnMutationCompleted$Mutation$updateUserMetadata = + FutureOr Function( + Map?, + Mutation$updateUserMetadata?, + ); class Options$Mutation$updateUserMetadata extends graphql.MutationOptions { @@ -1414,38 +1344,38 @@ class Options$Mutation$updateUserMetadata OnMutationCompleted$Mutation$updateUserMetadata? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$updateUserMetadata(data), - ), - update: update, - onError: onError, - document: documentNodeMutationupdateUserMetadata, - parserFn: _parserFn$Mutation$updateUserMetadata, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$updateUserMetadata(data), + ), + update: update, + onError: onError, + document: documentNodeMutationupdateUserMetadata, + parserFn: _parserFn$Mutation$updateUserMetadata, + ); final OnMutationCompleted$Mutation$updateUserMetadata? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$updateUserMetadata @@ -1464,63 +1394,62 @@ class WatchOptions$Mutation$updateUserMetadata bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationupdateUserMetadata, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$updateUserMetadata, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationupdateUserMetadata, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$updateUserMetadata, + ); } extension ClientExtension$Mutation$updateUserMetadata on graphql.GraphQLClient { Future> - mutate$updateUserMetadata( - Options$Mutation$updateUserMetadata options) async => - await this.mutate(options); + mutate$updateUserMetadata( + Options$Mutation$updateUserMetadata options, + ) async => await this.mutate(options); graphql.ObservableQuery - watchMutation$updateUserMetadata( - WatchOptions$Mutation$updateUserMetadata options) => - this.watchMutation(options); + watchMutation$updateUserMetadata( + WatchOptions$Mutation$updateUserMetadata options, + ) => this.watchMutation(options); } class Mutation$updateUserMetadata$HookResult { - Mutation$updateUserMetadata$HookResult( - this.runMutation, - this.result, - ); + Mutation$updateUserMetadata$HookResult(this.runMutation, this.result); final RunMutation$Mutation$updateUserMetadata runMutation; final graphql.QueryResult result; } -Mutation$updateUserMetadata$HookResult useMutation$updateUserMetadata( - [WidgetOptions$Mutation$updateUserMetadata? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$updateUserMetadata()); +Mutation$updateUserMetadata$HookResult useMutation$updateUserMetadata([ + WidgetOptions$Mutation$updateUserMetadata? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$updateUserMetadata(), + ); return Mutation$updateUserMetadata$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$updateUserMetadata( - WatchOptions$Mutation$updateUserMetadata options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$updateUserMetadata( + WatchOptions$Mutation$updateUserMetadata options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$updateUserMetadata extends graphql.MutationOptions { @@ -1535,45 +1464,45 @@ class WidgetOptions$Mutation$updateUserMetadata OnMutationCompleted$Mutation$updateUserMetadata? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$updateUserMetadata(data), - ), - update: update, - onError: onError, - document: documentNodeMutationupdateUserMetadata, - parserFn: _parserFn$Mutation$updateUserMetadata, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$updateUserMetadata(data), + ), + update: update, + onError: onError, + document: documentNodeMutationupdateUserMetadata, + parserFn: _parserFn$Mutation$updateUserMetadata, + ); final OnMutationCompleted$Mutation$updateUserMetadata? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } -typedef RunMutation$Mutation$updateUserMetadata - = graphql.MultiSourceResult Function( - Variables$Mutation$updateUserMetadata, { - Object? optimisticResult, - Mutation$updateUserMetadata? typedOptimisticResult, -}); +typedef RunMutation$Mutation$updateUserMetadata = + graphql.MultiSourceResult Function( + Variables$Mutation$updateUserMetadata, { + Object? optimisticResult, + Mutation$updateUserMetadata? typedOptimisticResult, + }); typedef Builder$Mutation$updateUserMetadata = widgets.Widget Function( RunMutation$Mutation$updateUserMetadata, graphql.QueryResult?, @@ -1586,24 +1515,15 @@ class Mutation$updateUserMetadata$Widget WidgetOptions$Mutation$updateUserMetadata? options, required Builder$Mutation$updateUserMetadata builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$updateUserMetadata(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$updateUserMetadata(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } diff --git a/bccm_core/lib/src/features/graphql/queries/media/show.graphql.dart b/bccm_core/lib/src/features/graphql/queries/media/show.graphql.dart index 5c6af4b..c26ca07 100644 --- a/bccm_core/lib/src/features/graphql/queries/media/show.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/media/show.graphql.dart @@ -1,6 +1,8 @@ import '../episode.graphql.dart'; import '../page.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -8,9 +10,7 @@ import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; class Variables$Query$GetShow { factory Variables$Query$GetShow({required String id}) => - Variables$Query$GetShow._({ - r'id': id, - }); + Variables$Query$GetShow._({r'id': id}); Variables$Query$GetShow._(this._$data); @@ -33,10 +33,7 @@ class Variables$Query$GetShow { } CopyWith$Variables$Query$GetShow get copyWith => - CopyWith$Variables$Query$GetShow( - this, - (i) => i, - ); + CopyWith$Variables$Query$GetShow(this, (i) => i); @override bool operator ==(Object other) { @@ -75,10 +72,7 @@ abstract class CopyWith$Variables$Query$GetShow { class _CopyWithImpl$Variables$Query$GetShow implements CopyWith$Variables$Query$GetShow { - _CopyWithImpl$Variables$Query$GetShow( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetShow(this._instance, this._then); final Variables$Query$GetShow _instance; @@ -86,10 +80,12 @@ class _CopyWithImpl$Variables$Query$GetShow static const _undefined = {}; - TRes call({Object? id = _undefined}) => _then(Variables$Query$GetShow._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetShow._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetShow @@ -102,10 +98,7 @@ class _CopyWithStubImpl$Variables$Query$GetShow } class Query$GetShow { - Query$GetShow({ - required this.$show, - this.$__typename = 'QueryRoot', - }); + Query$GetShow({required this.$show, this.$__typename = 'QueryRoot'}); factory Query$GetShow.fromJson(Map json) { final l$$show = json['show']; @@ -133,10 +126,7 @@ class Query$GetShow { int get hashCode { final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$$show, l$$__typename]); } @override @@ -162,10 +152,8 @@ class Query$GetShow { } extension UtilityExtension$Query$GetShow on Query$GetShow { - CopyWith$Query$GetShow get copyWith => CopyWith$Query$GetShow( - this, - (i) => i, - ); + CopyWith$Query$GetShow get copyWith => + CopyWith$Query$GetShow(this, (i) => i); } abstract class CopyWith$Query$GetShow { @@ -177,19 +165,13 @@ abstract class CopyWith$Query$GetShow { factory CopyWith$Query$GetShow.stub(TRes res) = _CopyWithStubImpl$Query$GetShow; - TRes call({ - Query$GetShow$show? $show, - String? $__typename, - }); + TRes call({Query$GetShow$show? $show, String? $__typename}); CopyWith$Query$GetShow$show get $show; } class _CopyWithImpl$Query$GetShow implements CopyWith$Query$GetShow { - _CopyWithImpl$Query$GetShow( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShow(this._instance, this._then); final Query$GetShow _instance; @@ -197,18 +179,17 @@ class _CopyWithImpl$Query$GetShow static const _undefined = {}; - TRes call({ - Object? $show = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShow( - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Query$GetShow$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? $show = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShow( + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetShow$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShow$show get $show { final local$$show = _instance.$show; @@ -222,154 +203,179 @@ class _CopyWithStubImpl$Query$GetShow TRes _res; - call({ - Query$GetShow$show? $show, - String? $__typename, - }) => - _res; + call({Query$GetShow$show? $show, String? $__typename}) => _res; CopyWith$Query$GetShow$show get $show => CopyWith$Query$GetShow$show.stub(_res); } -const documentNodeQueryGetShow = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetShow'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetShow = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetShow'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'seasons'), + name: NameNode(value: 'show'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'dir'), - value: StringValueNode( - value: 'desc', - isBlock: false, - ), - ) + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'episodes'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'seasons'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'dir'), + value: StringValueNode(value: 'desc', isBlock: false), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'items'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SeasonListEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episodes'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode( + value: 'SeasonListEpisode', + ), + directives: [], + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -378,25 +384,18 @@ const documentNodeQueryGetShow = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -405,20 +404,13 @@ const documentNodeQueryGetShow = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); + ), + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], +); Query$GetShow _parserFn$Query$GetShow(Map data) => Query$GetShow.fromJson(data); typedef OnQueryComplete$Query$GetShow = FutureOr Function( @@ -439,36 +431,36 @@ class Options$Query$GetShow extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$GetShow? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetShow(data), - ), - onError: onError, - document: documentNodeQueryGetShow, - parserFn: _parserFn$Query$GetShow, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetShow(data), + ), + onError: onError, + document: documentNodeQueryGetShow, + parserFn: _parserFn$Query$GetShow, + ); final OnQueryComplete$Query$GetShow? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetShow @@ -487,20 +479,20 @@ class WatchOptions$Query$GetShow bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetShow, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetShow, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetShow, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetShow, + ); } class FetchMoreOptions$Query$GetShow extends graphql.FetchMoreOptions { @@ -508,34 +500,33 @@ class FetchMoreOptions$Query$GetShow extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetShow variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetShow, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetShow, + ); } extension ClientExtension$Query$GetShow on graphql.GraphQLClient { Future> query$GetShow( - Options$Query$GetShow options) async => - await this.query(options); + Options$Query$GetShow options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetShow( - WatchOptions$Query$GetShow options) => - this.watchQuery(options); + WatchOptions$Query$GetShow options, + ) => this.watchQuery(options); void writeQuery$GetShow({ required Query$GetShow data, required Variables$Query$GetShow variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetShow), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetShow), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetShow? readQuery$GetShow({ required Variables$Query$GetShow variables, @@ -553,22 +544,18 @@ extension ClientExtension$Query$GetShow on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetShow( - Options$Query$GetShow options) => - graphql_flutter.useQuery(options); + Options$Query$GetShow options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetShow( - WatchOptions$Query$GetShow options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetShow options, +) => graphql_flutter.useWatchQuery(options); class Query$GetShow$Widget extends graphql_flutter.Query { Query$GetShow$Widget({ widgets.Key? key, required Options$Query$GetShow options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetShow$show { @@ -594,7 +581,8 @@ class Query$GetShow$show { description: (l$description as String), image: (l$image as String?), seasons: Query$GetShow$show$seasons.fromJson( - (l$seasons as Map)), + (l$seasons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -690,10 +678,7 @@ class Query$GetShow$show { extension UtilityExtension$Query$GetShow$show on Query$GetShow$show { CopyWith$Query$GetShow$show get copyWith => - CopyWith$Query$GetShow$show( - this, - (i) => i, - ); + CopyWith$Query$GetShow$show(this, (i) => i); } abstract class CopyWith$Query$GetShow$show { @@ -718,10 +703,7 @@ abstract class CopyWith$Query$GetShow$show { class _CopyWithImpl$Query$GetShow$show implements CopyWith$Query$GetShow$show { - _CopyWithImpl$Query$GetShow$show( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShow$show(this._instance, this._then); final Query$GetShow$show _instance; @@ -736,28 +718,31 @@ class _CopyWithImpl$Query$GetShow$show Object? image = _undefined, Object? seasons = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - image: image == _undefined ? _instance.image : (image as String?), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons as Query$GetShow$show$seasons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetShow$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + image: image == _undefined ? _instance.image : (image as String?), + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Query$GetShow$show$seasons), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShow$show$seasons get seasons { final local$seasons = _instance.seasons; return CopyWith$Query$GetShow$show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } @@ -774,8 +759,7 @@ class _CopyWithStubImpl$Query$GetShow$show String? image, Query$GetShow$show$seasons? seasons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetShow$show$seasons get seasons => CopyWith$Query$GetShow$show$seasons.stub(_res); @@ -792,8 +776,11 @@ class Query$GetShow$show$seasons { final l$$__typename = json['__typename']; return Query$GetShow$show$seasons( items: (l$items as List) - .map((e) => Query$GetShow$show$seasons$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetShow$show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -855,10 +842,7 @@ class Query$GetShow$show$seasons { extension UtilityExtension$Query$GetShow$show$seasons on Query$GetShow$show$seasons { CopyWith$Query$GetShow$show$seasons - get copyWith => CopyWith$Query$GetShow$show$seasons( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetShow$show$seasons(this, (i) => i); } abstract class CopyWith$Query$GetShow$show$seasons { @@ -875,19 +859,20 @@ abstract class CopyWith$Query$GetShow$show$seasons { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShow$show$seasons$items< - Query$GetShow$show$seasons$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetShow$show$seasons$items< + Query$GetShow$show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetShow$show$seasons implements CopyWith$Query$GetShow$show$seasons { - _CopyWithImpl$Query$GetShow$show$seasons( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShow$show$seasons(this._instance, this._then); final Query$GetShow$show$seasons _instance; @@ -895,31 +880,34 @@ class _CopyWithImpl$Query$GetShow$show$seasons static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShow$show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShow$show$seasons$items< - Query$GetShow$show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Query$GetShow$show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetShow$show$seasons$items< + Query$GetShow$show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetShow$show$seasons$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetShow$show$seasons @@ -928,10 +916,7 @@ class _CopyWithStubImpl$Query$GetShow$show$seasons TRes _res; - call({ - List? items, - String? $__typename, - }) => + call({List? items, String? $__typename}) => _res; items(_fn) => _res; @@ -957,7 +942,8 @@ class Query$GetShow$show$seasons$items { title: (l$title as String), number: (l$number as int), episodes: Query$GetShow$show$seasons$items$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } @@ -994,13 +980,7 @@ class Query$GetShow$show$seasons$items { final l$number = number; final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$number, - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$number, l$episodes, l$$__typename]); } @override @@ -1044,10 +1024,7 @@ class Query$GetShow$show$seasons$items { extension UtilityExtension$Query$GetShow$show$seasons$items on Query$GetShow$show$seasons$items { CopyWith$Query$GetShow$show$seasons$items - get copyWith => CopyWith$Query$GetShow$show$seasons$items( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetShow$show$seasons$items(this, (i) => i); } abstract class CopyWith$Query$GetShow$show$seasons$items { @@ -1071,10 +1048,7 @@ abstract class CopyWith$Query$GetShow$show$seasons$items { class _CopyWithImpl$Query$GetShow$show$seasons$items implements CopyWith$Query$GetShow$show$seasons$items { - _CopyWithImpl$Query$GetShow$show$seasons$items( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetShow$show$seasons$items(this._instance, this._then); final Query$GetShow$show$seasons$items _instance; @@ -1088,27 +1062,30 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items Object? number = _undefined, Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - number: number == _undefined || number == null - ? _instance.number - : (number as int), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes as Query$GetShow$show$seasons$items$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetShow$show$seasons$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + number: number == _undefined || number == null + ? _instance.number + : (number as int), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetShow$show$seasons$items$episodes), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShow$show$seasons$items$episodes get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetShow$show$seasons$items$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } @@ -1124,8 +1101,7 @@ class _CopyWithStubImpl$Query$GetShow$show$seasons$items int? number, Query$GetShow$show$seasons$items$episodes? episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetShow$show$seasons$items$episodes get episodes => CopyWith$Query$GetShow$show$seasons$items$episodes.stub(_res); @@ -1138,13 +1114,17 @@ class Query$GetShow$show$seasons$items$episodes { }); factory Query$GetShow$show$seasons$items$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetShow$show$seasons$items$episodes( items: (l$items as List) - .map((e) => Query$GetShow$show$seasons$items$episodes$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetShow$show$seasons$items$episodes$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1206,11 +1186,10 @@ class Query$GetShow$show$seasons$items$episodes { extension UtilityExtension$Query$GetShow$show$seasons$items$episodes on Query$GetShow$show$seasons$items$episodes { CopyWith$Query$GetShow$show$seasons$items$episodes< - Query$GetShow$show$seasons$items$episodes> - get copyWith => CopyWith$Query$GetShow$show$seasons$items$episodes( - this, - (i) => i, - ); + Query$GetShow$show$seasons$items$episodes + > + get copyWith => + CopyWith$Query$GetShow$show$seasons$items$episodes(this, (i) => i); } abstract class CopyWith$Query$GetShow$show$seasons$items$episodes { @@ -1227,11 +1206,15 @@ abstract class CopyWith$Query$GetShow$show$seasons$items$episodes { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShow$show$seasons$items$episodes$items< - Query$GetShow$show$seasons$items$episodes$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetShow$show$seasons$items$episodes$items< + Query$GetShow$show$seasons$items$episodes$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes @@ -1247,31 +1230,38 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons$items$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShow$show$seasons$items$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items + as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetShow$show$seasons$items$episodes$items< - Query$GetShow$show$seasons$items$episodes$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Query$GetShow$show$seasons$items$episodes$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetShow$show$seasons$items$episodes$items< + Query$GetShow$show$seasons$items$episodes$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetShow$show$seasons$items$episodes$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes @@ -1283,8 +1273,7 @@ class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -1307,7 +1296,8 @@ class Query$GetShow$show$seasons$items$episodes$items }); factory Query$GetShow$show$seasons$items$episodes$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$image = json['image']; final l$number = json['number']; @@ -1330,12 +1320,14 @@ class Query$GetShow$show$seasons$items$episodes$items duration: (l$duration as int), locked: (l$locked as bool), lessons: Query$GetShow$show$seasons$items$episodes$items$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Query$GetShow$show$seasons$items$episodes$items$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1499,11 +1491,10 @@ class Query$GetShow$show$seasons$items$episodes$items extension UtilityExtension$Query$GetShow$show$seasons$items$episodes$items on Query$GetShow$show$seasons$items$episodes$items { CopyWith$Query$GetShow$show$seasons$items$episodes$items< - Query$GetShow$show$seasons$items$episodes$items> - get copyWith => CopyWith$Query$GetShow$show$seasons$items$episodes$items( - this, - (i) => i, - ); + Query$GetShow$show$seasons$items$episodes$items + > + get copyWith => + CopyWith$Query$GetShow$show$seasons$items$episodes$items(this, (i) => i); } abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items { @@ -1513,8 +1504,8 @@ abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items { ) = _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items; factory CopyWith$Query$GetShow$show$seasons$items$episodes$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items; TRes call({ String? id, @@ -1531,9 +1522,9 @@ abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items { String? $__typename, }); CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons - get lessons; + get lessons; CopyWith$Query$GetShow$show$seasons$items$episodes$items$season - get season; + get season; } class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items @@ -1562,56 +1553,62 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons$items$episodes$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons + }) => _then( + Query$GetShow$show$seasons$items$episodes$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Query$GetShow$show$seasons$items$episodes$items$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season - as Query$GetShow$show$seasons$items$episodes$items$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetShow$show$seasons$items$episodes$items$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons - get lessons { + get lessons { final local$lessons = _instance.lessons; return CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Query$GetShow$show$seasons$items$episodes$items$season - get season { + get season { final local$season = _instance.season; return local$season == null ? CopyWith$Query$GetShow$show$seasons$items$episodes$items$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetShow$show$seasons$items$episodes$items$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -1634,18 +1631,19 @@ class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items int? progress, Query$GetShow$show$seasons$items$episodes$items$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons - get lessons => - CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons.stub( - _res); + get lessons => + CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons.stub( + _res, + ); CopyWith$Query$GetShow$show$seasons$items$episodes$items$season - get season => - CopyWith$Query$GetShow$show$seasons$items$episodes$items$season.stub( - _res); + get season => + CopyWith$Query$GetShow$show$seasons$items$episodes$items$season.stub( + _res, + ); } class Query$GetShow$show$seasons$items$episodes$items$lessons @@ -1656,7 +1654,8 @@ class Query$GetShow$show$seasons$items$episodes$items$lessons }); factory Query$GetShow$show$seasons$items$episodes$items$lessons.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$$__typename = json['__typename']; return Query$GetShow$show$seasons$items$episodes$items$lessons( @@ -1682,10 +1681,7 @@ class Query$GetShow$show$seasons$items$episodes$items$lessons int get hashCode { final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$total, - l$$__typename, - ]); + return Object.hashAll([l$total, l$$__typename]); } @override @@ -1714,33 +1710,33 @@ class Query$GetShow$show$seasons$items$episodes$items$lessons extension UtilityExtension$Query$GetShow$show$seasons$items$episodes$items$lessons on Query$GetShow$show$seasons$items$episodes$items$lessons { CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons< - Query$GetShow$show$seasons$items$episodes$items$lessons> - get copyWith => - CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons( - this, - (i) => i, - ); + Query$GetShow$show$seasons$items$episodes$items$lessons + > + get copyWith => + CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons< - TRes> { + TRes +> { factory CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons( Query$GetShow$show$seasons$items$episodes$items$lessons instance, TRes Function(Query$GetShow$show$seasons$items$episodes$items$lessons) then, ) = _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$lessons; factory CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons.stub( - TRes res) = - _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$lessons; + TRes res, + ) = _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$lessons; - TRes call({ - int? total, - String? $__typename, - }); + TRes call({int? total, String? $__typename}); } class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$lessons< - TRes> + TRes +> implements CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons { _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$lessons( @@ -1751,38 +1747,35 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$lessons< final Query$GetShow$show$seasons$items$episodes$items$lessons _instance; final TRes Function(Query$GetShow$show$seasons$items$episodes$items$lessons) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? total = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons$items$episodes$items$lessons( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? total = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShow$show$seasons$items$episodes$items$lessons( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$lessons< - TRes> + TRes +> implements CopyWith$Query$GetShow$show$seasons$items$episodes$items$lessons { _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$lessons( - this._res); + this._res, + ); TRes _res; - call({ - int? total, - String? $__typename, - }) => - _res; + call({int? total, String? $__typename}) => _res; } class Query$GetShow$show$seasons$items$episodes$items$season @@ -1796,7 +1789,8 @@ class Query$GetShow$show$seasons$items$episodes$items$season }); factory Query$GetShow$show$seasons$items$episodes$items$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; @@ -1804,7 +1798,8 @@ class Query$GetShow$show$seasons$items$episodes$items$season number: (l$number as int), $show: Query$GetShow$show$seasons$items$episodes$items$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1831,11 +1826,7 @@ class Query$GetShow$show$seasons$items$episodes$items$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -1869,24 +1860,26 @@ class Query$GetShow$show$seasons$items$episodes$items$season extension UtilityExtension$Query$GetShow$show$seasons$items$episodes$items$season on Query$GetShow$show$seasons$items$episodes$items$season { CopyWith$Query$GetShow$show$seasons$items$episodes$items$season< - Query$GetShow$show$seasons$items$episodes$items$season> - get copyWith => - CopyWith$Query$GetShow$show$seasons$items$episodes$items$season( - this, - (i) => i, - ); + Query$GetShow$show$seasons$items$episodes$items$season + > + get copyWith => + CopyWith$Query$GetShow$show$seasons$items$episodes$items$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items$season< - TRes> { + TRes +> { factory CopyWith$Query$GetShow$show$seasons$items$episodes$items$season( Query$GetShow$show$seasons$items$episodes$items$season instance, TRes Function(Query$GetShow$show$seasons$items$episodes$items$season) then, ) = _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season; factory CopyWith$Query$GetShow$show$seasons$items$episodes$items$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season; TRes call({ int? number, @@ -1894,7 +1887,7 @@ abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items$season< String? $__typename, }); CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show - get $show; + get $show; } class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season @@ -1908,7 +1901,7 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season final Query$GetShow$show$seasons$items$episodes$items$season _instance; final TRes Function(Query$GetShow$show$seasons$items$episodes$items$season) - _then; + _then; static const _undefined = {}; @@ -1916,34 +1909,39 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons$items$episodes$items$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetShow$show$seasons$items$episodes$items$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetShow$show$seasons$items$episodes$items$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show - get $show { + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season< - TRes> + TRes +> implements CopyWith$Query$GetShow$show$seasons$items$episodes$items$season { _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season( - this._res); + this._res, + ); TRes _res; @@ -1951,13 +1949,13 @@ class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season< int? number, Query$GetShow$show$seasons$items$episodes$items$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show - get $show => - CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show - .stub(_res); + get $show => + CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show.stub( + _res, + ); } class Query$GetShow$show$seasons$items$episodes$items$season$show @@ -1970,7 +1968,8 @@ class Query$GetShow$show$seasons$items$episodes$items$season$show }); factory Query$GetShow$show$seasons$items$episodes$items$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetShow$show$seasons$items$episodes$items$season$show( @@ -1996,10 +1995,7 @@ class Query$GetShow$show$seasons$items$episodes$items$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -2028,37 +2024,38 @@ class Query$GetShow$show$seasons$items$episodes$items$season$show extension UtilityExtension$Query$GetShow$show$seasons$items$episodes$items$season$show on Query$GetShow$show$seasons$items$episodes$items$season$show { CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show< - Query$GetShow$show$seasons$items$episodes$items$season$show> - get copyWith => - CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show( - this, - (i) => i, - ); + Query$GetShow$show$seasons$items$episodes$items$season$show + > + get copyWith => + CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show( Query$GetShow$show$seasons$items$episodes$items$season$show instance, TRes Function(Query$GetShow$show$seasons$items$episodes$items$season$show) - then, + then, ) = _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season$show; factory CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season$show< - TRes> + TRes +> implements CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season$show( this._instance, this._then, @@ -2067,37 +2064,37 @@ class _CopyWithImpl$Query$GetShow$show$seasons$items$episodes$items$season$show< final Query$GetShow$show$seasons$items$episodes$items$season$show _instance; final TRes Function( - Query$GetShow$show$seasons$items$episodes$items$season$show) _then; + Query$GetShow$show$seasons$items$episodes$items$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetShow$show$seasons$items$episodes$items$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetShow$show$seasons$items$episodes$items$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season$show< - TRes> + TRes +> implements CopyWith$Query$GetShow$show$seasons$items$episodes$items$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetShow$show$seasons$items$episodes$items$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/my_list.graphql.dart b/bccm_core/lib/src/features/graphql/queries/my_list.graphql.dart index c1bcdf5..b30ed6f 100644 --- a/bccm_core/lib/src/features/graphql/queries/my_list.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/my_list.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -26,7 +27,8 @@ class Fragment$MyListEntry { item: l$item == null ? null : Fragment$MyListEntry$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -63,13 +65,7 @@ class Fragment$MyListEntry { final l$available = available; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$available, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$available, l$item, l$$__typename]); } @override @@ -111,10 +107,7 @@ class Fragment$MyListEntry { extension UtilityExtension$Fragment$MyListEntry on Fragment$MyListEntry { CopyWith$Fragment$MyListEntry get copyWith => - CopyWith$Fragment$MyListEntry( - this, - (i) => i, - ); + CopyWith$Fragment$MyListEntry(this, (i) => i); } abstract class CopyWith$Fragment$MyListEntry { @@ -138,10 +131,7 @@ abstract class CopyWith$Fragment$MyListEntry { class _CopyWithImpl$Fragment$MyListEntry implements CopyWith$Fragment$MyListEntry { - _CopyWithImpl$Fragment$MyListEntry( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$MyListEntry(this._instance, this._then); final Fragment$MyListEntry _instance; @@ -155,20 +145,21 @@ class _CopyWithImpl$Fragment$MyListEntry Object? available = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$MyListEntry( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - available: available == _undefined || available == null - ? _instance.available - : (available as bool), - item: item == _undefined - ? _instance.item - : (item as Fragment$MyListEntry$item?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$MyListEntry( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + available: available == _undefined || available == null + ? _instance.available + : (available as bool), + item: item == _undefined + ? _instance.item + : (item as Fragment$MyListEntry$item?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$MyListEntry$item get item { final local$item = _instance.item; @@ -190,8 +181,7 @@ class _CopyWithStubImpl$Fragment$MyListEntry bool? available, Fragment$MyListEntry$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$MyListEntry$item get item => CopyWith$Fragment$MyListEntry$item.stub(_res); @@ -200,138 +190,156 @@ class _CopyWithStubImpl$Fragment$MyListEntry const fragmentDefinitionMyListEntry = FragmentDefinitionNode( name: NameNode(value: 'MyListEntry'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'UserCollectionEntry'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'available'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + on: NamedTypeNode( + name: NameNode(value: 'UserCollectionEntry'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'progress'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Short'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'available'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'style'), - value: EnumValueNode(name: NameNode(value: 'poster')), - ) - ], + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Short'), + isNonNull: false, + ), + ), directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'style'), + value: EnumValueNode(name: NameNode(value: 'poster')), + ), + ], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -340,47 +348,39 @@ const fragmentDefinitionMyListEntry = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentMyListEntry = DocumentNode( + definitions: [fragmentDefinitionMyListEntry], ); -const documentNodeFragmentMyListEntry = DocumentNode(definitions: [ - fragmentDefinitionMyListEntry, -]); extension ClientExtension$Fragment$MyListEntry on graphql.GraphQLClient { void writeFragment$MyListEntry({ required Fragment$MyListEntry data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'MyListEntry', - document: documentNodeFragmentMyListEntry, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'MyListEntry', + document: documentNodeFragmentMyListEntry, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$MyListEntry? readFragment$MyListEntry({ required Map idFields, @@ -417,7 +417,8 @@ class Fragment$MyListEntry$item { default: final l$$__typename = json['__typename']; return Fragment$MyListEntry$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -457,10 +458,7 @@ class Fragment$MyListEntry$item { extension UtilityExtension$Fragment$MyListEntry$item on Fragment$MyListEntry$item { CopyWith$Fragment$MyListEntry$item get copyWith => - CopyWith$Fragment$MyListEntry$item( - this, - (i) => i, - ); + CopyWith$Fragment$MyListEntry$item(this, (i) => i); _T when<_T>({ required _T Function(Fragment$MyListEntry$item$$Episode) episode, @@ -531,10 +529,7 @@ abstract class CopyWith$Fragment$MyListEntry$item { class _CopyWithImpl$Fragment$MyListEntry$item implements CopyWith$Fragment$MyListEntry$item { - _CopyWithImpl$Fragment$MyListEntry$item( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$MyListEntry$item(this._instance, this._then); final Fragment$MyListEntry$item _instance; @@ -542,11 +537,13 @@ class _CopyWithImpl$Fragment$MyListEntry$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$MyListEntry$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$MyListEntry$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$MyListEntry$item @@ -571,7 +568,8 @@ class Fragment$MyListEntry$item$$Episode implements Fragment$MyListEntry$item { }); factory Fragment$MyListEntry$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$duration = json['duration']; @@ -707,11 +705,9 @@ class Fragment$MyListEntry$item$$Episode implements Fragment$MyListEntry$item { extension UtilityExtension$Fragment$MyListEntry$item$$Episode on Fragment$MyListEntry$item$$Episode { CopyWith$Fragment$MyListEntry$item$$Episode< - Fragment$MyListEntry$item$$Episode> - get copyWith => CopyWith$Fragment$MyListEntry$item$$Episode( - this, - (i) => i, - ); + Fragment$MyListEntry$item$$Episode + > + get copyWith => CopyWith$Fragment$MyListEntry$item$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$MyListEntry$item$$Episode { @@ -737,10 +733,7 @@ abstract class CopyWith$Fragment$MyListEntry$item$$Episode { class _CopyWithImpl$Fragment$MyListEntry$item$$Episode implements CopyWith$Fragment$MyListEntry$item$$Episode { - _CopyWithImpl$Fragment$MyListEntry$item$$Episode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$MyListEntry$item$$Episode(this._instance, this._then); final Fragment$MyListEntry$item$$Episode _instance; @@ -757,28 +750,30 @@ class _CopyWithImpl$Fragment$MyListEntry$item$$Episode Object? progress = _undefined, Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$MyListEntry$item$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - image: image == _undefined ? _instance.image : (image as String?), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$MyListEntry$item$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + image: image == _undefined ? _instance.image : (image as String?), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$MyListEntry$item$$Episode @@ -796,8 +791,7 @@ class _CopyWithStubImpl$Fragment$MyListEntry$item$$Episode int? progress, String? publishDate, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$MyListEntry$item$$Short implements Fragment$MyListEntry$item { @@ -848,12 +842,7 @@ class Fragment$MyListEntry$item$$Short implements Fragment$MyListEntry$item { final l$title = title; final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$$__typename]); } @override @@ -892,10 +881,7 @@ class Fragment$MyListEntry$item$$Short implements Fragment$MyListEntry$item { extension UtilityExtension$Fragment$MyListEntry$item$$Short on Fragment$MyListEntry$item$$Short { CopyWith$Fragment$MyListEntry$item$$Short - get copyWith => CopyWith$Fragment$MyListEntry$item$$Short( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$MyListEntry$item$$Short(this, (i) => i); } abstract class CopyWith$Fragment$MyListEntry$item$$Short { @@ -907,20 +893,12 @@ abstract class CopyWith$Fragment$MyListEntry$item$$Short { factory CopyWith$Fragment$MyListEntry$item$$Short.stub(TRes res) = _CopyWithStubImpl$Fragment$MyListEntry$item$$Short; - TRes call({ - String? id, - String? title, - String? image, - String? $__typename, - }); + TRes call({String? id, String? title, String? image, String? $__typename}); } class _CopyWithImpl$Fragment$MyListEntry$item$$Short implements CopyWith$Fragment$MyListEntry$item$$Short { - _CopyWithImpl$Fragment$MyListEntry$item$$Short( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$MyListEntry$item$$Short(this._instance, this._then); final Fragment$MyListEntry$item$$Short _instance; @@ -933,17 +911,18 @@ class _CopyWithImpl$Fragment$MyListEntry$item$$Short Object? title = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$MyListEntry$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$MyListEntry$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$MyListEntry$item$$Short @@ -952,13 +931,7 @@ class _CopyWithStubImpl$Fragment$MyListEntry$item$$Short TRes _res; - call({ - String? id, - String? title, - String? image, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? image, String? $__typename}) => _res; } class Fragment$MyListEntry$item$$Show implements Fragment$MyListEntry$item { @@ -967,7 +940,8 @@ class Fragment$MyListEntry$item$$Show implements Fragment$MyListEntry$item { factory Fragment$MyListEntry$item$$Show.fromJson(Map json) { final l$$__typename = json['__typename']; return Fragment$MyListEntry$item$$Show( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -1006,10 +980,7 @@ class Fragment$MyListEntry$item$$Show implements Fragment$MyListEntry$item { extension UtilityExtension$Fragment$MyListEntry$item$$Show on Fragment$MyListEntry$item$$Show { CopyWith$Fragment$MyListEntry$item$$Show - get copyWith => CopyWith$Fragment$MyListEntry$item$$Show( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$MyListEntry$item$$Show(this, (i) => i); } abstract class CopyWith$Fragment$MyListEntry$item$$Show { @@ -1026,10 +997,7 @@ abstract class CopyWith$Fragment$MyListEntry$item$$Show { class _CopyWithImpl$Fragment$MyListEntry$item$$Show implements CopyWith$Fragment$MyListEntry$item$$Show { - _CopyWithImpl$Fragment$MyListEntry$item$$Show( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$MyListEntry$item$$Show(this._instance, this._then); final Fragment$MyListEntry$item$$Show _instance; @@ -1037,11 +1005,13 @@ class _CopyWithImpl$Fragment$MyListEntry$item$$Show static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$MyListEntry$item$$Show( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$MyListEntry$item$$Show( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$MyListEntry$item$$Show @@ -1054,10 +1024,7 @@ class _CopyWithStubImpl$Fragment$MyListEntry$item$$Show } class Query$MyList { - Query$MyList({ - required this.myList, - this.$__typename = 'QueryRoot', - }); + Query$MyList({required this.myList, this.$__typename = 'QueryRoot'}); factory Query$MyList.fromJson(Map json) { final l$myList = json['myList']; @@ -1085,10 +1052,7 @@ class Query$MyList { int get hashCode { final l$myList = myList; final l$$__typename = $__typename; - return Object.hashAll([ - l$myList, - l$$__typename, - ]); + return Object.hashAll([l$myList, l$$__typename]); } @override @@ -1114,10 +1078,8 @@ class Query$MyList { } extension UtilityExtension$Query$MyList on Query$MyList { - CopyWith$Query$MyList get copyWith => CopyWith$Query$MyList( - this, - (i) => i, - ); + CopyWith$Query$MyList get copyWith => + CopyWith$Query$MyList(this, (i) => i); } abstract class CopyWith$Query$MyList { @@ -1128,18 +1090,12 @@ abstract class CopyWith$Query$MyList { factory CopyWith$Query$MyList.stub(TRes res) = _CopyWithStubImpl$Query$MyList; - TRes call({ - Query$MyList$myList? myList, - String? $__typename, - }); + TRes call({Query$MyList$myList? myList, String? $__typename}); CopyWith$Query$MyList$myList get myList; } class _CopyWithImpl$Query$MyList implements CopyWith$Query$MyList { - _CopyWithImpl$Query$MyList( - this._instance, - this._then, - ); + _CopyWithImpl$Query$MyList(this._instance, this._then); final Query$MyList _instance; @@ -1147,18 +1103,17 @@ class _CopyWithImpl$Query$MyList implements CopyWith$Query$MyList { static const _undefined = {}; - TRes call({ - Object? myList = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$MyList( - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as Query$MyList$myList), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? myList = _undefined, Object? $__typename = _undefined}) => + _then( + Query$MyList( + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as Query$MyList$myList), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$MyList$myList get myList { final local$myList = _instance.myList; @@ -1172,67 +1127,80 @@ class _CopyWithStubImpl$Query$MyList TRes _res; - call({ - Query$MyList$myList? myList, - String? $__typename, - }) => - _res; + call({Query$MyList$myList? myList, String? $__typename}) => _res; CopyWith$Query$MyList$myList get myList => CopyWith$Query$MyList$myList.stub(_res); } -const documentNodeQueryMyList = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'MyList'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'myList'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ +const documentNodeQueryMyList = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'MyList'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'entries'), + name: NameNode(value: 'myList'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '200'), - ) - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'MyListEntry'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'entries'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '200'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'MyListEntry'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1241,19 +1209,12 @@ const documentNodeQueryMyList = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionMyListEntry, -]); + ), + fragmentDefinitionMyListEntry, + ], +); Query$MyList _parserFn$Query$MyList(Map data) => Query$MyList.fromJson(data); typedef OnQueryComplete$Query$MyList = FutureOr Function( @@ -1273,35 +1234,35 @@ class Options$Query$MyList extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$MyList? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$MyList(data), - ), - onError: onError, - document: documentNodeQueryMyList, - parserFn: _parserFn$Query$MyList, - ); + }) : onCompleteWithParsed = onComplete, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$MyList(data), + ), + onError: onError, + document: documentNodeQueryMyList, + parserFn: _parserFn$Query$MyList, + ); final OnQueryComplete$Query$MyList? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$MyList @@ -1319,45 +1280,40 @@ class WatchOptions$Query$MyList bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryMyList, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$MyList, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryMyList, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$MyList, + ); } class FetchMoreOptions$Query$MyList extends graphql.FetchMoreOptions { FetchMoreOptions$Query$MyList({required graphql.UpdateQuery updateQuery}) - : super( - updateQuery: updateQuery, - document: documentNodeQueryMyList, - ); + : super(updateQuery: updateQuery, document: documentNodeQueryMyList); } extension ClientExtension$Query$MyList on graphql.GraphQLClient { - Future> query$MyList( - [Options$Query$MyList? options]) async => - await this.query(options ?? Options$Query$MyList()); + Future> query$MyList([ + Options$Query$MyList? options, + ]) async => await this.query(options ?? Options$Query$MyList()); - graphql.ObservableQuery watchQuery$MyList( - [WatchOptions$Query$MyList? options]) => - this.watchQuery(options ?? WatchOptions$Query$MyList()); + graphql.ObservableQuery watchQuery$MyList([ + WatchOptions$Query$MyList? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$MyList()); - void writeQuery$MyList({ - required Query$MyList data, - bool broadcast = true, - }) => + void writeQuery$MyList({required Query$MyList data, bool broadcast = true}) => this.writeQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryMyList)), + operation: graphql.Operation(document: documentNodeQueryMyList), + ), data: data.toJson(), broadcast: broadcast, ); @@ -1365,19 +1321,20 @@ extension ClientExtension$Query$MyList on graphql.GraphQLClient { Query$MyList? readQuery$MyList({bool optimistic = true}) { final result = this.readQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQueryMyList)), + operation: graphql.Operation(document: documentNodeQueryMyList), + ), optimistic: optimistic, ); return result == null ? null : Query$MyList.fromJson(result); } } -graphql_flutter.QueryHookResult useQuery$MyList( - [Options$Query$MyList? options]) => - graphql_flutter.useQuery(options ?? Options$Query$MyList()); -graphql.ObservableQuery useWatchQuery$MyList( - [WatchOptions$Query$MyList? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$MyList()); +graphql_flutter.QueryHookResult useQuery$MyList([ + Options$Query$MyList? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$MyList()); +graphql.ObservableQuery useWatchQuery$MyList([ + WatchOptions$Query$MyList? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$MyList()); class Query$MyList$Widget extends graphql_flutter.Query { Query$MyList$Widget({ @@ -1385,10 +1342,10 @@ class Query$MyList$Widget extends graphql_flutter.Query { Options$Query$MyList? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$MyList(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$MyList(), + builder: builder, + ); } class Query$MyList$myList { @@ -1402,7 +1359,8 @@ class Query$MyList$myList { final l$$__typename = json['__typename']; return Query$MyList$myList( entries: Query$MyList$myList$entries.fromJson( - (l$entries as Map)), + (l$entries as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1424,10 +1382,7 @@ class Query$MyList$myList { int get hashCode { final l$entries = entries; final l$$__typename = $__typename; - return Object.hashAll([ - l$entries, - l$$__typename, - ]); + return Object.hashAll([l$entries, l$$__typename]); } @override @@ -1454,10 +1409,7 @@ class Query$MyList$myList { extension UtilityExtension$Query$MyList$myList on Query$MyList$myList { CopyWith$Query$MyList$myList get copyWith => - CopyWith$Query$MyList$myList( - this, - (i) => i, - ); + CopyWith$Query$MyList$myList(this, (i) => i); } abstract class CopyWith$Query$MyList$myList { @@ -1467,21 +1419,15 @@ abstract class CopyWith$Query$MyList$myList { ) = _CopyWithImpl$Query$MyList$myList; factory CopyWith$Query$MyList$myList.stub(TRes res) = - _CopyWithStubImpl$Query$MyList$myList; - - TRes call({ - Query$MyList$myList$entries? entries, - String? $__typename, - }); + _CopyWithStubImpl$Query$MyList$myList; + + TRes call({Query$MyList$myList$entries? entries, String? $__typename}); CopyWith$Query$MyList$myList$entries get entries; } class _CopyWithImpl$Query$MyList$myList implements CopyWith$Query$MyList$myList { - _CopyWithImpl$Query$MyList$myList( - this._instance, - this._then, - ); + _CopyWithImpl$Query$MyList$myList(this._instance, this._then); final Query$MyList$myList _instance; @@ -1489,23 +1435,24 @@ class _CopyWithImpl$Query$MyList$myList static const _undefined = {}; - TRes call({ - Object? entries = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$MyList$myList( - entries: entries == _undefined || entries == null - ? _instance.entries - : (entries as Query$MyList$myList$entries), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? entries = _undefined, Object? $__typename = _undefined}) => + _then( + Query$MyList$myList( + entries: entries == _undefined || entries == null + ? _instance.entries + : (entries as Query$MyList$myList$entries), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$MyList$myList$entries get entries { final local$entries = _instance.entries; return CopyWith$Query$MyList$myList$entries( - local$entries, (e) => call(entries: e)); + local$entries, + (e) => call(entries: e), + ); } } @@ -1515,11 +1462,7 @@ class _CopyWithStubImpl$Query$MyList$myList TRes _res; - call({ - Query$MyList$myList$entries? entries, - String? $__typename, - }) => - _res; + call({Query$MyList$myList$entries? entries, String? $__typename}) => _res; CopyWith$Query$MyList$myList$entries get entries => CopyWith$Query$MyList$myList$entries.stub(_res); @@ -1537,7 +1480,8 @@ class Query$MyList$myList$entries { return Query$MyList$myList$entries( items: (l$items as List) .map( - (e) => Fragment$MyListEntry.fromJson((e as Map))) + (e) => Fragment$MyListEntry.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1599,10 +1543,7 @@ class Query$MyList$myList$entries { extension UtilityExtension$Query$MyList$myList$entries on Query$MyList$myList$entries { CopyWith$Query$MyList$myList$entries - get copyWith => CopyWith$Query$MyList$myList$entries( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$MyList$myList$entries(this, (i) => i); } abstract class CopyWith$Query$MyList$myList$entries { @@ -1614,22 +1555,18 @@ abstract class CopyWith$Query$MyList$myList$entries { factory CopyWith$Query$MyList$myList$entries.stub(TRes res) = _CopyWithStubImpl$Query$MyList$myList$entries; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$MyList$myList$entries implements CopyWith$Query$MyList$myList$entries { - _CopyWithImpl$Query$MyList$myList$entries( - this._instance, - this._then, - ); + _CopyWithImpl$Query$MyList$myList$entries(this._instance, this._then); final Query$MyList$myList$entries _instance; @@ -1637,28 +1574,28 @@ class _CopyWithImpl$Query$MyList$myList$entries static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$MyList$myList$entries( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$MyList$myList$entries( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$MyListEntry( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$MyListEntry(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$MyList$myList$entries @@ -1667,25 +1604,20 @@ class _CopyWithStubImpl$Query$MyList$myList$entries TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } class Variables$Mutation$addEpisodeToMyList { factory Variables$Mutation$addEpisodeToMyList({required String episodeId}) => - Variables$Mutation$addEpisodeToMyList._({ - r'episodeId': episodeId, - }); + Variables$Mutation$addEpisodeToMyList._({r'episodeId': episodeId}); Variables$Mutation$addEpisodeToMyList._(this._$data); factory Variables$Mutation$addEpisodeToMyList.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$episodeId = data['episodeId']; result$data['episodeId'] = (l$episodeId as String); @@ -1704,11 +1636,10 @@ class Variables$Mutation$addEpisodeToMyList { } CopyWith$Variables$Mutation$addEpisodeToMyList< - Variables$Mutation$addEpisodeToMyList> - get copyWith => CopyWith$Variables$Mutation$addEpisodeToMyList( - this, - (i) => i, - ); + Variables$Mutation$addEpisodeToMyList + > + get copyWith => + CopyWith$Variables$Mutation$addEpisodeToMyList(this, (i) => i); @override bool operator ==(Object other) { @@ -1759,12 +1690,13 @@ class _CopyWithImpl$Variables$Mutation$addEpisodeToMyList static const _undefined = {}; - TRes call({Object? episodeId = _undefined}) => - _then(Variables$Mutation$addEpisodeToMyList._({ - ..._instance._$data, - if (episodeId != _undefined && episodeId != null) - 'episodeId': (episodeId as String), - })); + TRes call({Object? episodeId = _undefined}) => _then( + Variables$Mutation$addEpisodeToMyList._({ + ..._instance._$data, + if (episodeId != _undefined && episodeId != null) + 'episodeId': (episodeId as String), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$addEpisodeToMyList @@ -1788,7 +1720,8 @@ class Mutation$addEpisodeToMyList { return Mutation$addEpisodeToMyList( addEpisodeToMyList: Mutation$addEpisodeToMyList$addEpisodeToMyList.fromJson( - (l$addEpisodeToMyList as Map)), + (l$addEpisodeToMyList as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1810,10 +1743,7 @@ class Mutation$addEpisodeToMyList { int get hashCode { final l$addEpisodeToMyList = addEpisodeToMyList; final l$$__typename = $__typename; - return Object.hashAll([ - l$addEpisodeToMyList, - l$$__typename, - ]); + return Object.hashAll([l$addEpisodeToMyList, l$$__typename]); } @override @@ -1842,10 +1772,7 @@ class Mutation$addEpisodeToMyList { extension UtilityExtension$Mutation$addEpisodeToMyList on Mutation$addEpisodeToMyList { CopyWith$Mutation$addEpisodeToMyList - get copyWith => CopyWith$Mutation$addEpisodeToMyList( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$addEpisodeToMyList(this, (i) => i); } abstract class CopyWith$Mutation$addEpisodeToMyList { @@ -1862,15 +1789,12 @@ abstract class CopyWith$Mutation$addEpisodeToMyList { String? $__typename, }); CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList - get addEpisodeToMyList; + get addEpisodeToMyList; } class _CopyWithImpl$Mutation$addEpisodeToMyList implements CopyWith$Mutation$addEpisodeToMyList { - _CopyWithImpl$Mutation$addEpisodeToMyList( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$addEpisodeToMyList(this._instance, this._then); final Mutation$addEpisodeToMyList _instance; @@ -1881,23 +1805,26 @@ class _CopyWithImpl$Mutation$addEpisodeToMyList TRes call({ Object? addEpisodeToMyList = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$addEpisodeToMyList( - addEpisodeToMyList: - addEpisodeToMyList == _undefined || addEpisodeToMyList == null - ? _instance.addEpisodeToMyList - : (addEpisodeToMyList - as Mutation$addEpisodeToMyList$addEpisodeToMyList), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$addEpisodeToMyList( + addEpisodeToMyList: + addEpisodeToMyList == _undefined || addEpisodeToMyList == null + ? _instance.addEpisodeToMyList + : (addEpisodeToMyList + as Mutation$addEpisodeToMyList$addEpisodeToMyList), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList - get addEpisodeToMyList { + get addEpisodeToMyList { final local$addEpisodeToMyList = _instance.addEpisodeToMyList; return CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList( - local$addEpisodeToMyList, (e) => call(addEpisodeToMyList: e)); + local$addEpisodeToMyList, + (e) => call(addEpisodeToMyList: e), + ); } } @@ -1910,48 +1837,57 @@ class _CopyWithStubImpl$Mutation$addEpisodeToMyList call({ Mutation$addEpisodeToMyList$addEpisodeToMyList? addEpisodeToMyList, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList - get addEpisodeToMyList => - CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList.stub(_res); -} - -const documentNodeMutationaddEpisodeToMyList = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'addEpisodeToMyList'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'episodeId')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, + get addEpisodeToMyList => + CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList.stub(_res); +} + +const documentNodeMutationaddEpisodeToMyList = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'addEpisodeToMyList'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'episodeId')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'addEpisodeToMyList'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'episodeId'), - value: VariableNode(name: NameNode(value: 'episodeId')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'entryId'), + name: NameNode(value: 'addEpisodeToMyList'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'episodeId'), + value: VariableNode(name: NameNode(value: 'episodeId')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'entryId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1960,26 +1896,19 @@ const documentNodeMutationaddEpisodeToMyList = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Mutation$addEpisodeToMyList _parserFn$Mutation$addEpisodeToMyList( - Map data) => - Mutation$addEpisodeToMyList.fromJson(data); -typedef OnMutationCompleted$Mutation$addEpisodeToMyList = FutureOr - Function( - Map?, - Mutation$addEpisodeToMyList?, + ), + ], ); +Mutation$addEpisodeToMyList _parserFn$Mutation$addEpisodeToMyList( + Map data, +) => Mutation$addEpisodeToMyList.fromJson(data); +typedef OnMutationCompleted$Mutation$addEpisodeToMyList = + FutureOr Function( + Map?, + Mutation$addEpisodeToMyList?, + ); class Options$Mutation$addEpisodeToMyList extends graphql.MutationOptions { @@ -1995,38 +1924,38 @@ class Options$Mutation$addEpisodeToMyList OnMutationCompleted$Mutation$addEpisodeToMyList? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$addEpisodeToMyList(data), - ), - update: update, - onError: onError, - document: documentNodeMutationaddEpisodeToMyList, - parserFn: _parserFn$Mutation$addEpisodeToMyList, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$addEpisodeToMyList(data), + ), + update: update, + onError: onError, + document: documentNodeMutationaddEpisodeToMyList, + parserFn: _parserFn$Mutation$addEpisodeToMyList, + ); final OnMutationCompleted$Mutation$addEpisodeToMyList? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$addEpisodeToMyList @@ -2045,63 +1974,62 @@ class WatchOptions$Mutation$addEpisodeToMyList bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationaddEpisodeToMyList, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$addEpisodeToMyList, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationaddEpisodeToMyList, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$addEpisodeToMyList, + ); } extension ClientExtension$Mutation$addEpisodeToMyList on graphql.GraphQLClient { Future> - mutate$addEpisodeToMyList( - Options$Mutation$addEpisodeToMyList options) async => - await this.mutate(options); + mutate$addEpisodeToMyList( + Options$Mutation$addEpisodeToMyList options, + ) async => await this.mutate(options); graphql.ObservableQuery - watchMutation$addEpisodeToMyList( - WatchOptions$Mutation$addEpisodeToMyList options) => - this.watchMutation(options); + watchMutation$addEpisodeToMyList( + WatchOptions$Mutation$addEpisodeToMyList options, + ) => this.watchMutation(options); } class Mutation$addEpisodeToMyList$HookResult { - Mutation$addEpisodeToMyList$HookResult( - this.runMutation, - this.result, - ); + Mutation$addEpisodeToMyList$HookResult(this.runMutation, this.result); final RunMutation$Mutation$addEpisodeToMyList runMutation; final graphql.QueryResult result; } -Mutation$addEpisodeToMyList$HookResult useMutation$addEpisodeToMyList( - [WidgetOptions$Mutation$addEpisodeToMyList? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$addEpisodeToMyList()); +Mutation$addEpisodeToMyList$HookResult useMutation$addEpisodeToMyList([ + WidgetOptions$Mutation$addEpisodeToMyList? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$addEpisodeToMyList(), + ); return Mutation$addEpisodeToMyList$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$addEpisodeToMyList( - WatchOptions$Mutation$addEpisodeToMyList options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$addEpisodeToMyList( + WatchOptions$Mutation$addEpisodeToMyList options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$addEpisodeToMyList extends graphql.MutationOptions { @@ -2116,45 +2044,45 @@ class WidgetOptions$Mutation$addEpisodeToMyList OnMutationCompleted$Mutation$addEpisodeToMyList? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$addEpisodeToMyList(data), - ), - update: update, - onError: onError, - document: documentNodeMutationaddEpisodeToMyList, - parserFn: _parserFn$Mutation$addEpisodeToMyList, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$addEpisodeToMyList(data), + ), + update: update, + onError: onError, + document: documentNodeMutationaddEpisodeToMyList, + parserFn: _parserFn$Mutation$addEpisodeToMyList, + ); final OnMutationCompleted$Mutation$addEpisodeToMyList? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; -} - -typedef RunMutation$Mutation$addEpisodeToMyList - = graphql.MultiSourceResult Function( - Variables$Mutation$addEpisodeToMyList, { - Object? optimisticResult, - Mutation$addEpisodeToMyList? typedOptimisticResult, -}); + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; +} + +typedef RunMutation$Mutation$addEpisodeToMyList = + graphql.MultiSourceResult Function( + Variables$Mutation$addEpisodeToMyList, { + Object? optimisticResult, + Mutation$addEpisodeToMyList? typedOptimisticResult, + }); typedef Builder$Mutation$addEpisodeToMyList = widgets.Widget Function( RunMutation$Mutation$addEpisodeToMyList, graphql.QueryResult?, @@ -2167,26 +2095,17 @@ class Mutation$addEpisodeToMyList$Widget WidgetOptions$Mutation$addEpisodeToMyList? options, required Builder$Mutation$addEpisodeToMyList builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$addEpisodeToMyList(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$addEpisodeToMyList(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$addEpisodeToMyList$addEpisodeToMyList { @@ -2196,7 +2115,8 @@ class Mutation$addEpisodeToMyList$addEpisodeToMyList { }); factory Mutation$addEpisodeToMyList$addEpisodeToMyList.fromJson( - Map json) { + Map json, + ) { final l$entryId = json['entryId']; final l$$__typename = json['__typename']; return Mutation$addEpisodeToMyList$addEpisodeToMyList( @@ -2222,10 +2142,7 @@ class Mutation$addEpisodeToMyList$addEpisodeToMyList { int get hashCode { final l$entryId = entryId; final l$$__typename = $__typename; - return Object.hashAll([ - l$entryId, - l$$__typename, - ]); + return Object.hashAll([l$entryId, l$$__typename]); } @override @@ -2254,11 +2171,10 @@ class Mutation$addEpisodeToMyList$addEpisodeToMyList { extension UtilityExtension$Mutation$addEpisodeToMyList$addEpisodeToMyList on Mutation$addEpisodeToMyList$addEpisodeToMyList { CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList< - Mutation$addEpisodeToMyList$addEpisodeToMyList> - get copyWith => CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList( - this, - (i) => i, - ); + Mutation$addEpisodeToMyList$addEpisodeToMyList + > + get copyWith => + CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList(this, (i) => i); } abstract class CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList { @@ -2268,13 +2184,10 @@ abstract class CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList { ) = _CopyWithImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList; factory CopyWith$Mutation$addEpisodeToMyList$addEpisodeToMyList.stub( - TRes res) = - _CopyWithStubImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList; + TRes res, + ) = _CopyWithStubImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList; - TRes call({ - String? entryId, - String? $__typename, - }); + TRes call({String? entryId, String? $__typename}); } class _CopyWithImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList @@ -2290,18 +2203,17 @@ class _CopyWithImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList static const _undefined = {}; - TRes call({ - Object? entryId = _undefined, - Object? $__typename = _undefined, - }) => - _then(Mutation$addEpisodeToMyList$addEpisodeToMyList( - entryId: entryId == _undefined || entryId == null - ? _instance.entryId - : (entryId as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? entryId = _undefined, Object? $__typename = _undefined}) => + _then( + Mutation$addEpisodeToMyList$addEpisodeToMyList( + entryId: entryId == _undefined || entryId == null + ? _instance.entryId + : (entryId as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList @@ -2310,23 +2222,18 @@ class _CopyWithStubImpl$Mutation$addEpisodeToMyList$addEpisodeToMyList TRes _res; - call({ - String? entryId, - String? $__typename, - }) => - _res; + call({String? entryId, String? $__typename}) => _res; } class Variables$Mutation$addShortToMyList { factory Variables$Mutation$addShortToMyList({required String shortId}) => - Variables$Mutation$addShortToMyList._({ - r'shortId': shortId, - }); + Variables$Mutation$addShortToMyList._({r'shortId': shortId}); Variables$Mutation$addShortToMyList._(this._$data); factory Variables$Mutation$addShortToMyList.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$shortId = data['shortId']; result$data['shortId'] = (l$shortId as String); @@ -2345,11 +2252,9 @@ class Variables$Mutation$addShortToMyList { } CopyWith$Variables$Mutation$addShortToMyList< - Variables$Mutation$addShortToMyList> - get copyWith => CopyWith$Variables$Mutation$addShortToMyList( - this, - (i) => i, - ); + Variables$Mutation$addShortToMyList + > + get copyWith => CopyWith$Variables$Mutation$addShortToMyList(this, (i) => i); @override bool operator ==(Object other) { @@ -2389,10 +2294,7 @@ abstract class CopyWith$Variables$Mutation$addShortToMyList { class _CopyWithImpl$Variables$Mutation$addShortToMyList implements CopyWith$Variables$Mutation$addShortToMyList { - _CopyWithImpl$Variables$Mutation$addShortToMyList( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Mutation$addShortToMyList(this._instance, this._then); final Variables$Mutation$addShortToMyList _instance; @@ -2400,12 +2302,13 @@ class _CopyWithImpl$Variables$Mutation$addShortToMyList static const _undefined = {}; - TRes call({Object? shortId = _undefined}) => - _then(Variables$Mutation$addShortToMyList._({ - ..._instance._$data, - if (shortId != _undefined && shortId != null) - 'shortId': (shortId as String), - })); + TRes call({Object? shortId = _undefined}) => _then( + Variables$Mutation$addShortToMyList._({ + ..._instance._$data, + if (shortId != _undefined && shortId != null) + 'shortId': (shortId as String), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$addShortToMyList @@ -2428,7 +2331,8 @@ class Mutation$addShortToMyList { final l$$__typename = json['__typename']; return Mutation$addShortToMyList( addShortToMyList: Mutation$addShortToMyList$addShortToMyList.fromJson( - (l$addShortToMyList as Map)), + (l$addShortToMyList as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2450,10 +2354,7 @@ class Mutation$addShortToMyList { int get hashCode { final l$addShortToMyList = addShortToMyList; final l$$__typename = $__typename; - return Object.hashAll([ - l$addShortToMyList, - l$$__typename, - ]); + return Object.hashAll([l$addShortToMyList, l$$__typename]); } @override @@ -2482,10 +2383,7 @@ class Mutation$addShortToMyList { extension UtilityExtension$Mutation$addShortToMyList on Mutation$addShortToMyList { CopyWith$Mutation$addShortToMyList get copyWith => - CopyWith$Mutation$addShortToMyList( - this, - (i) => i, - ); + CopyWith$Mutation$addShortToMyList(this, (i) => i); } abstract class CopyWith$Mutation$addShortToMyList { @@ -2502,15 +2400,12 @@ abstract class CopyWith$Mutation$addShortToMyList { String? $__typename, }); CopyWith$Mutation$addShortToMyList$addShortToMyList - get addShortToMyList; + get addShortToMyList; } class _CopyWithImpl$Mutation$addShortToMyList implements CopyWith$Mutation$addShortToMyList { - _CopyWithImpl$Mutation$addShortToMyList( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$addShortToMyList(this._instance, this._then); final Mutation$addShortToMyList _instance; @@ -2521,22 +2416,25 @@ class _CopyWithImpl$Mutation$addShortToMyList TRes call({ Object? addShortToMyList = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$addShortToMyList( - addShortToMyList: addShortToMyList == _undefined || - addShortToMyList == null - ? _instance.addShortToMyList - : (addShortToMyList as Mutation$addShortToMyList$addShortToMyList), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$addShortToMyList( + addShortToMyList: + addShortToMyList == _undefined || addShortToMyList == null + ? _instance.addShortToMyList + : (addShortToMyList as Mutation$addShortToMyList$addShortToMyList), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$addShortToMyList$addShortToMyList - get addShortToMyList { + get addShortToMyList { final local$addShortToMyList = _instance.addShortToMyList; return CopyWith$Mutation$addShortToMyList$addShortToMyList( - local$addShortToMyList, (e) => call(addShortToMyList: e)); + local$addShortToMyList, + (e) => call(addShortToMyList: e), + ); } } @@ -2549,48 +2447,57 @@ class _CopyWithStubImpl$Mutation$addShortToMyList call({ Mutation$addShortToMyList$addShortToMyList? addShortToMyList, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$addShortToMyList$addShortToMyList - get addShortToMyList => - CopyWith$Mutation$addShortToMyList$addShortToMyList.stub(_res); -} - -const documentNodeMutationaddShortToMyList = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'addShortToMyList'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'shortId')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, + get addShortToMyList => + CopyWith$Mutation$addShortToMyList$addShortToMyList.stub(_res); +} + +const documentNodeMutationaddShortToMyList = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'addShortToMyList'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'shortId')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'addShortToMyList'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'shortId'), - value: VariableNode(name: NameNode(value: 'shortId')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'entryId'), + name: NameNode(value: 'addShortToMyList'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'shortId'), + value: VariableNode(name: NameNode(value: 'shortId')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'entryId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2599,21 +2506,14 @@ const documentNodeMutationaddShortToMyList = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Mutation$addShortToMyList _parserFn$Mutation$addShortToMyList( - Map data) => - Mutation$addShortToMyList.fromJson(data); + Map data, +) => Mutation$addShortToMyList.fromJson(data); typedef OnMutationCompleted$Mutation$addShortToMyList = FutureOr Function( Map?, Mutation$addShortToMyList?, @@ -2633,38 +2533,38 @@ class Options$Mutation$addShortToMyList OnMutationCompleted$Mutation$addShortToMyList? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$addShortToMyList(data), - ), - update: update, - onError: onError, - document: documentNodeMutationaddShortToMyList, - parserFn: _parserFn$Mutation$addShortToMyList, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$addShortToMyList(data), + ), + update: update, + onError: onError, + document: documentNodeMutationaddShortToMyList, + parserFn: _parserFn$Mutation$addShortToMyList, + ); final OnMutationCompleted$Mutation$addShortToMyList? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$addShortToMyList @@ -2683,63 +2583,61 @@ class WatchOptions$Mutation$addShortToMyList bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationaddShortToMyList, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$addShortToMyList, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationaddShortToMyList, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$addShortToMyList, + ); } extension ClientExtension$Mutation$addShortToMyList on graphql.GraphQLClient { Future> - mutate$addShortToMyList( - Options$Mutation$addShortToMyList options) async => - await this.mutate(options); + mutate$addShortToMyList(Options$Mutation$addShortToMyList options) async => + await this.mutate(options); graphql.ObservableQuery - watchMutation$addShortToMyList( - WatchOptions$Mutation$addShortToMyList options) => - this.watchMutation(options); + watchMutation$addShortToMyList( + WatchOptions$Mutation$addShortToMyList options, + ) => this.watchMutation(options); } class Mutation$addShortToMyList$HookResult { - Mutation$addShortToMyList$HookResult( - this.runMutation, - this.result, - ); + Mutation$addShortToMyList$HookResult(this.runMutation, this.result); final RunMutation$Mutation$addShortToMyList runMutation; final graphql.QueryResult result; } -Mutation$addShortToMyList$HookResult useMutation$addShortToMyList( - [WidgetOptions$Mutation$addShortToMyList? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$addShortToMyList()); +Mutation$addShortToMyList$HookResult useMutation$addShortToMyList([ + WidgetOptions$Mutation$addShortToMyList? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$addShortToMyList(), + ); return Mutation$addShortToMyList$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$addShortToMyList( - WatchOptions$Mutation$addShortToMyList options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$addShortToMyList( + WatchOptions$Mutation$addShortToMyList options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$addShortToMyList extends graphql.MutationOptions { @@ -2754,45 +2652,45 @@ class WidgetOptions$Mutation$addShortToMyList OnMutationCompleted$Mutation$addShortToMyList? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$addShortToMyList(data), - ), - update: update, - onError: onError, - document: documentNodeMutationaddShortToMyList, - parserFn: _parserFn$Mutation$addShortToMyList, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$addShortToMyList(data), + ), + update: update, + onError: onError, + document: documentNodeMutationaddShortToMyList, + parserFn: _parserFn$Mutation$addShortToMyList, + ); final OnMutationCompleted$Mutation$addShortToMyList? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; -} - -typedef RunMutation$Mutation$addShortToMyList - = graphql.MultiSourceResult Function( - Variables$Mutation$addShortToMyList, { - Object? optimisticResult, - Mutation$addShortToMyList? typedOptimisticResult, -}); + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; +} + +typedef RunMutation$Mutation$addShortToMyList = + graphql.MultiSourceResult Function( + Variables$Mutation$addShortToMyList, { + Object? optimisticResult, + Mutation$addShortToMyList? typedOptimisticResult, + }); typedef Builder$Mutation$addShortToMyList = widgets.Widget Function( RunMutation$Mutation$addShortToMyList, graphql.QueryResult?, @@ -2805,26 +2703,17 @@ class Mutation$addShortToMyList$Widget WidgetOptions$Mutation$addShortToMyList? options, required Builder$Mutation$addShortToMyList builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$addShortToMyList(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$addShortToMyList(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$addShortToMyList$addShortToMyList { @@ -2834,7 +2723,8 @@ class Mutation$addShortToMyList$addShortToMyList { }); factory Mutation$addShortToMyList$addShortToMyList.fromJson( - Map json) { + Map json, + ) { final l$entryId = json['entryId']; final l$$__typename = json['__typename']; return Mutation$addShortToMyList$addShortToMyList( @@ -2860,10 +2750,7 @@ class Mutation$addShortToMyList$addShortToMyList { int get hashCode { final l$entryId = entryId; final l$$__typename = $__typename; - return Object.hashAll([ - l$entryId, - l$$__typename, - ]); + return Object.hashAll([l$entryId, l$$__typename]); } @override @@ -2892,11 +2779,10 @@ class Mutation$addShortToMyList$addShortToMyList { extension UtilityExtension$Mutation$addShortToMyList$addShortToMyList on Mutation$addShortToMyList$addShortToMyList { CopyWith$Mutation$addShortToMyList$addShortToMyList< - Mutation$addShortToMyList$addShortToMyList> - get copyWith => CopyWith$Mutation$addShortToMyList$addShortToMyList( - this, - (i) => i, - ); + Mutation$addShortToMyList$addShortToMyList + > + get copyWith => + CopyWith$Mutation$addShortToMyList$addShortToMyList(this, (i) => i); } abstract class CopyWith$Mutation$addShortToMyList$addShortToMyList { @@ -2908,10 +2794,7 @@ abstract class CopyWith$Mutation$addShortToMyList$addShortToMyList { factory CopyWith$Mutation$addShortToMyList$addShortToMyList.stub(TRes res) = _CopyWithStubImpl$Mutation$addShortToMyList$addShortToMyList; - TRes call({ - String? entryId, - String? $__typename, - }); + TRes call({String? entryId, String? $__typename}); } class _CopyWithImpl$Mutation$addShortToMyList$addShortToMyList @@ -2927,18 +2810,17 @@ class _CopyWithImpl$Mutation$addShortToMyList$addShortToMyList static const _undefined = {}; - TRes call({ - Object? entryId = _undefined, - Object? $__typename = _undefined, - }) => - _then(Mutation$addShortToMyList$addShortToMyList( - entryId: entryId == _undefined || entryId == null - ? _instance.entryId - : (entryId as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? entryId = _undefined, Object? $__typename = _undefined}) => + _then( + Mutation$addShortToMyList$addShortToMyList( + entryId: entryId == _undefined || entryId == null + ? _instance.entryId + : (entryId as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$addShortToMyList$addShortToMyList @@ -2947,23 +2829,18 @@ class _CopyWithStubImpl$Mutation$addShortToMyList$addShortToMyList TRes _res; - call({ - String? entryId, - String? $__typename, - }) => - _res; + call({String? entryId, String? $__typename}) => _res; } class Variables$Mutation$removeEntryFromMyList { factory Variables$Mutation$removeEntryFromMyList({required String entryId}) => - Variables$Mutation$removeEntryFromMyList._({ - r'entryId': entryId, - }); + Variables$Mutation$removeEntryFromMyList._({r'entryId': entryId}); Variables$Mutation$removeEntryFromMyList._(this._$data); factory Variables$Mutation$removeEntryFromMyList.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$entryId = data['entryId']; result$data['entryId'] = (l$entryId as String); @@ -2982,11 +2859,10 @@ class Variables$Mutation$removeEntryFromMyList { } CopyWith$Variables$Mutation$removeEntryFromMyList< - Variables$Mutation$removeEntryFromMyList> - get copyWith => CopyWith$Variables$Mutation$removeEntryFromMyList( - this, - (i) => i, - ); + Variables$Mutation$removeEntryFromMyList + > + get copyWith => + CopyWith$Variables$Mutation$removeEntryFromMyList(this, (i) => i); @override bool operator ==(Object other) { @@ -3037,12 +2913,13 @@ class _CopyWithImpl$Variables$Mutation$removeEntryFromMyList static const _undefined = {}; - TRes call({Object? entryId = _undefined}) => - _then(Variables$Mutation$removeEntryFromMyList._({ - ..._instance._$data, - if (entryId != _undefined && entryId != null) - 'entryId': (entryId as String), - })); + TRes call({Object? entryId = _undefined}) => _then( + Variables$Mutation$removeEntryFromMyList._({ + ..._instance._$data, + if (entryId != _undefined && entryId != null) + 'entryId': (entryId as String), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$removeEntryFromMyList @@ -3066,13 +2943,14 @@ class Mutation$removeEntryFromMyList { return Mutation$removeEntryFromMyList( removeEntryFromMyList: Mutation$removeEntryFromMyList$removeEntryFromMyList.fromJson( - (l$removeEntryFromMyList as Map)), + (l$removeEntryFromMyList as Map), + ), $__typename: (l$$__typename as String), ); } final Mutation$removeEntryFromMyList$removeEntryFromMyList - removeEntryFromMyList; + removeEntryFromMyList; final String $__typename; @@ -3089,10 +2967,7 @@ class Mutation$removeEntryFromMyList { int get hashCode { final l$removeEntryFromMyList = removeEntryFromMyList; final l$$__typename = $__typename; - return Object.hashAll([ - l$removeEntryFromMyList, - l$$__typename, - ]); + return Object.hashAll([l$removeEntryFromMyList, l$$__typename]); } @override @@ -3121,10 +2996,7 @@ class Mutation$removeEntryFromMyList { extension UtilityExtension$Mutation$removeEntryFromMyList on Mutation$removeEntryFromMyList { CopyWith$Mutation$removeEntryFromMyList - get copyWith => CopyWith$Mutation$removeEntryFromMyList( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$removeEntryFromMyList(this, (i) => i); } abstract class CopyWith$Mutation$removeEntryFromMyList { @@ -3141,15 +3013,12 @@ abstract class CopyWith$Mutation$removeEntryFromMyList { String? $__typename, }); CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList - get removeEntryFromMyList; + get removeEntryFromMyList; } class _CopyWithImpl$Mutation$removeEntryFromMyList implements CopyWith$Mutation$removeEntryFromMyList { - _CopyWithImpl$Mutation$removeEntryFromMyList( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$removeEntryFromMyList(this._instance, this._then); final Mutation$removeEntryFromMyList _instance; @@ -3160,23 +3029,26 @@ class _CopyWithImpl$Mutation$removeEntryFromMyList TRes call({ Object? removeEntryFromMyList = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$removeEntryFromMyList( - removeEntryFromMyList: - removeEntryFromMyList == _undefined || removeEntryFromMyList == null - ? _instance.removeEntryFromMyList - : (removeEntryFromMyList - as Mutation$removeEntryFromMyList$removeEntryFromMyList), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$removeEntryFromMyList( + removeEntryFromMyList: + removeEntryFromMyList == _undefined || removeEntryFromMyList == null + ? _instance.removeEntryFromMyList + : (removeEntryFromMyList + as Mutation$removeEntryFromMyList$removeEntryFromMyList), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList - get removeEntryFromMyList { + get removeEntryFromMyList { final local$removeEntryFromMyList = _instance.removeEntryFromMyList; return CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList( - local$removeEntryFromMyList, (e) => call(removeEntryFromMyList: e)); + local$removeEntryFromMyList, + (e) => call(removeEntryFromMyList: e), + ); } } @@ -3189,49 +3061,57 @@ class _CopyWithStubImpl$Mutation$removeEntryFromMyList call({ Mutation$removeEntryFromMyList$removeEntryFromMyList? removeEntryFromMyList, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList - get removeEntryFromMyList => - CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList.stub( - _res); -} - -const documentNodeMutationremoveEntryFromMyList = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'removeEntryFromMyList'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'entryId')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: true, + get removeEntryFromMyList => + CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList.stub(_res); +} + +const documentNodeMutationremoveEntryFromMyList = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'removeEntryFromMyList'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'entryId')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'removeEntryFromMyList'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'entryId'), - value: VariableNode(name: NameNode(value: 'entryId')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'removeEntryFromMyList'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'entryId'), + value: VariableNode(name: NameNode(value: 'entryId')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -3240,26 +3120,19 @@ const documentNodeMutationremoveEntryFromMyList = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Mutation$removeEntryFromMyList _parserFn$Mutation$removeEntryFromMyList( - Map data) => - Mutation$removeEntryFromMyList.fromJson(data); -typedef OnMutationCompleted$Mutation$removeEntryFromMyList = FutureOr - Function( - Map?, - Mutation$removeEntryFromMyList?, + ), + ], ); +Mutation$removeEntryFromMyList _parserFn$Mutation$removeEntryFromMyList( + Map data, +) => Mutation$removeEntryFromMyList.fromJson(data); +typedef OnMutationCompleted$Mutation$removeEntryFromMyList = + FutureOr Function( + Map?, + Mutation$removeEntryFromMyList?, + ); class Options$Mutation$removeEntryFromMyList extends graphql.MutationOptions { @@ -3275,39 +3148,39 @@ class Options$Mutation$removeEntryFromMyList OnMutationCompleted$Mutation$removeEntryFromMyList? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$removeEntryFromMyList(data), - ), - update: update, - onError: onError, - document: documentNodeMutationremoveEntryFromMyList, - parserFn: _parserFn$Mutation$removeEntryFromMyList, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$removeEntryFromMyList(data), + ), + update: update, + onError: onError, + document: documentNodeMutationremoveEntryFromMyList, + parserFn: _parserFn$Mutation$removeEntryFromMyList, + ); final OnMutationCompleted$Mutation$removeEntryFromMyList? - onCompletedWithParsed; + onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$removeEntryFromMyList @@ -3326,64 +3199,63 @@ class WatchOptions$Mutation$removeEntryFromMyList bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationremoveEntryFromMyList, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$removeEntryFromMyList, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationremoveEntryFromMyList, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$removeEntryFromMyList, + ); } extension ClientExtension$Mutation$removeEntryFromMyList on graphql.GraphQLClient { Future> - mutate$removeEntryFromMyList( - Options$Mutation$removeEntryFromMyList options) async => - await this.mutate(options); + mutate$removeEntryFromMyList( + Options$Mutation$removeEntryFromMyList options, + ) async => await this.mutate(options); graphql.ObservableQuery - watchMutation$removeEntryFromMyList( - WatchOptions$Mutation$removeEntryFromMyList options) => - this.watchMutation(options); + watchMutation$removeEntryFromMyList( + WatchOptions$Mutation$removeEntryFromMyList options, + ) => this.watchMutation(options); } class Mutation$removeEntryFromMyList$HookResult { - Mutation$removeEntryFromMyList$HookResult( - this.runMutation, - this.result, - ); + Mutation$removeEntryFromMyList$HookResult(this.runMutation, this.result); final RunMutation$Mutation$removeEntryFromMyList runMutation; final graphql.QueryResult result; } -Mutation$removeEntryFromMyList$HookResult useMutation$removeEntryFromMyList( - [WidgetOptions$Mutation$removeEntryFromMyList? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$removeEntryFromMyList()); +Mutation$removeEntryFromMyList$HookResult useMutation$removeEntryFromMyList([ + WidgetOptions$Mutation$removeEntryFromMyList? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$removeEntryFromMyList(), + ); return Mutation$removeEntryFromMyList$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$removeEntryFromMyList( - WatchOptions$Mutation$removeEntryFromMyList options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$removeEntryFromMyList( + WatchOptions$Mutation$removeEntryFromMyList options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$removeEntryFromMyList extends graphql.MutationOptions { @@ -3398,46 +3270,46 @@ class WidgetOptions$Mutation$removeEntryFromMyList OnMutationCompleted$Mutation$removeEntryFromMyList? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$removeEntryFromMyList(data), - ), - update: update, - onError: onError, - document: documentNodeMutationremoveEntryFromMyList, - parserFn: _parserFn$Mutation$removeEntryFromMyList, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$removeEntryFromMyList(data), + ), + update: update, + onError: onError, + document: documentNodeMutationremoveEntryFromMyList, + parserFn: _parserFn$Mutation$removeEntryFromMyList, + ); final OnMutationCompleted$Mutation$removeEntryFromMyList? - onCompletedWithParsed; + onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; -} - -typedef RunMutation$Mutation$removeEntryFromMyList - = graphql.MultiSourceResult Function( - Variables$Mutation$removeEntryFromMyList, { - Object? optimisticResult, - Mutation$removeEntryFromMyList? typedOptimisticResult, -}); + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; +} + +typedef RunMutation$Mutation$removeEntryFromMyList = + graphql.MultiSourceResult Function( + Variables$Mutation$removeEntryFromMyList, { + Object? optimisticResult, + Mutation$removeEntryFromMyList? typedOptimisticResult, + }); typedef Builder$Mutation$removeEntryFromMyList = widgets.Widget Function( RunMutation$Mutation$removeEntryFromMyList, graphql.QueryResult?, @@ -3450,26 +3322,17 @@ class Mutation$removeEntryFromMyList$Widget WidgetOptions$Mutation$removeEntryFromMyList? options, required Builder$Mutation$removeEntryFromMyList builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$removeEntryFromMyList(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$removeEntryFromMyList(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$removeEntryFromMyList$removeEntryFromMyList { @@ -3479,7 +3342,8 @@ class Mutation$removeEntryFromMyList$removeEntryFromMyList { }); factory Mutation$removeEntryFromMyList$removeEntryFromMyList.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Mutation$removeEntryFromMyList$removeEntryFromMyList( @@ -3505,10 +3369,7 @@ class Mutation$removeEntryFromMyList$removeEntryFromMyList { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3537,29 +3398,27 @@ class Mutation$removeEntryFromMyList$removeEntryFromMyList { extension UtilityExtension$Mutation$removeEntryFromMyList$removeEntryFromMyList on Mutation$removeEntryFromMyList$removeEntryFromMyList { CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList< - Mutation$removeEntryFromMyList$removeEntryFromMyList> - get copyWith => - CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList( - this, - (i) => i, - ); + Mutation$removeEntryFromMyList$removeEntryFromMyList + > + get copyWith => CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList( + this, + (i) => i, + ); } abstract class CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList< - TRes> { + TRes +> { factory CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList( Mutation$removeEntryFromMyList$removeEntryFromMyList instance, TRes Function(Mutation$removeEntryFromMyList$removeEntryFromMyList) then, ) = _CopyWithImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList; factory CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList.stub( - TRes res) = - _CopyWithStubImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList; + TRes res, + ) = _CopyWithStubImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList @@ -3573,34 +3432,31 @@ class _CopyWithImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList final Mutation$removeEntryFromMyList$removeEntryFromMyList _instance; final TRes Function(Mutation$removeEntryFromMyList$removeEntryFromMyList) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Mutation$removeEntryFromMyList$removeEntryFromMyList( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Mutation$removeEntryFromMyList$removeEntryFromMyList( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList< - TRes> + TRes +> implements CopyWith$Mutation$removeEntryFromMyList$removeEntryFromMyList { _CopyWithStubImpl$Mutation$removeEntryFromMyList$removeEntryFromMyList( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/page.graphql.dart b/bccm_core/lib/src/features/graphql/queries/page.graphql.dart index b68094f..584f63f 100644 --- a/bccm_core/lib/src/features/graphql/queries/page.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/page.graphql.dart @@ -1,6 +1,8 @@ import '../schema/persons.graphql.dart'; import '../schema/sections.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -26,7 +28,8 @@ class Fragment$GridSectionItem implements Fragment$ItemSectionItem { title: (l$title as String), image: (l$image as String?), item: Fragment$GridSectionItem$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -63,13 +66,7 @@ class Fragment$GridSectionItem implements Fragment$ItemSectionItem { final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -113,10 +110,7 @@ class Fragment$GridSectionItem implements Fragment$ItemSectionItem { extension UtilityExtension$Fragment$GridSectionItem on Fragment$GridSectionItem { CopyWith$Fragment$GridSectionItem get copyWith => - CopyWith$Fragment$GridSectionItem( - this, - (i) => i, - ); + CopyWith$Fragment$GridSectionItem(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem { @@ -140,10 +134,7 @@ abstract class CopyWith$Fragment$GridSectionItem { class _CopyWithImpl$Fragment$GridSectionItem implements CopyWith$Fragment$GridSectionItem { - _CopyWithImpl$Fragment$GridSectionItem( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSectionItem(this._instance, this._then); final Fragment$GridSectionItem _instance; @@ -157,25 +148,28 @@ class _CopyWithImpl$Fragment$GridSectionItem Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$GridSectionItem$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$GridSectionItem( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$GridSectionItem$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSectionItem$item get item { final local$item = _instance.item; return CopyWith$Fragment$GridSectionItem$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -191,8 +185,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem String? image, Fragment$GridSectionItem$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSectionItem$item get item => CopyWith$Fragment$GridSectionItem$item.stub(_res); @@ -201,111 +194,130 @@ class _CopyWithStubImpl$Fragment$GridSectionItem const fragmentDefinitionGridSectionItem = FragmentDefinitionNode( name: NameNode(value: 'GridSectionItem'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'SectionItem'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'SectionItem'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'ItemSectionItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Show'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episodeCount'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'seasonCount'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'ItemSectionItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Show'), + isNonNull: false, + ), + ), directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'episodeCount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'seasonCount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -314,57 +326,51 @@ const fragmentDefinitionGridSectionItem = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentGridSectionItem = DocumentNode( + definitions: [ + fragmentDefinitionGridSectionItem, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentGridSectionItem = DocumentNode(definitions: [ - fragmentDefinitionGridSectionItem, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$GridSectionItem on graphql.GraphQLClient { void writeFragment$GridSectionItem({ required Fragment$GridSectionItem data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'GridSectionItem', - document: documentNodeFragmentGridSectionItem, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'GridSectionItem', + document: documentNodeFragmentGridSectionItem, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$GridSectionItem? readFragment$GridSectionItem({ required Map idFields, @@ -422,7 +428,8 @@ class Fragment$GridSectionItem$item implements Fragment$ItemSectionItem$item { default: final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -462,10 +469,7 @@ class Fragment$GridSectionItem$item implements Fragment$ItemSectionItem$item { extension UtilityExtension$Fragment$GridSectionItem$item on Fragment$GridSectionItem$item { CopyWith$Fragment$GridSectionItem$item - get copyWith => CopyWith$Fragment$GridSectionItem$item( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$GridSectionItem$item(this, (i) => i); _T when<_T>({ required _T Function(Fragment$GridSectionItem$item$$Episode) episode, @@ -620,10 +624,7 @@ abstract class CopyWith$Fragment$GridSectionItem$item { class _CopyWithImpl$Fragment$GridSectionItem$item implements CopyWith$Fragment$GridSectionItem$item { - _CopyWithImpl$Fragment$GridSectionItem$item( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSectionItem$item(this._instance, this._then); final Fragment$GridSectionItem$item _instance; @@ -631,11 +632,13 @@ class _CopyWithImpl$Fragment$GridSectionItem$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$GridSectionItem$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$GridSectionItem$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item @@ -669,7 +672,8 @@ class Fragment$GridSectionItem$item$$Episode }); factory Fragment$GridSectionItem$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -684,9 +688,11 @@ class Fragment$GridSectionItem$item$$Episode final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$GridSectionItem$item$$Episode$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$GridSectionItem$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -700,7 +706,8 @@ class Fragment$GridSectionItem$item$$Episode season: l$season == null ? null : Fragment$GridSectionItem$item$$Episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -732,8 +739,9 @@ class Fragment$GridSectionItem$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -872,11 +880,10 @@ class Fragment$GridSectionItem$item$$Episode extension UtilityExtension$Fragment$GridSectionItem$item$$Episode on Fragment$GridSectionItem$item$$Episode { CopyWith$Fragment$GridSectionItem$item$$Episode< - Fragment$GridSectionItem$item$$Episode> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Episode( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Episode + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Episode { @@ -903,11 +910,15 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Episode { String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< - Fragment$GridSectionItem$item$$Episode$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< + Fragment$GridSectionItem$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$GridSectionItem$item$$Episode$season get season; } @@ -937,60 +948,72 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors + }) => _then( + Fragment$GridSectionItem$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$GridSectionItem$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$GridSectionItem$item$$Episode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< - Fragment$GridSectionItem$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$GridSectionItem$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< + Fragment$GridSectionItem$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Fragment$GridSectionItem$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$GridSectionItem$item$$Episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$GridSectionItem$item$$Episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$GridSectionItem$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -1013,8 +1036,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode int? number, Fragment$GridSectionItem$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; @@ -1031,14 +1053,16 @@ class Fragment$GridSectionItem$item$$Episode$contributors }); factory Fragment$GridSectionItem$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Episode$contributors( person: Fragment$GridSectionItem$item$$Episode$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -1115,24 +1139,25 @@ class Fragment$GridSectionItem$item$$Episode$contributors extension UtilityExtension$Fragment$GridSectionItem$item$$Episode$contributors on Fragment$GridSectionItem$item$$Episode$contributors { CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< - Fragment$GridSectionItem$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$GridSectionItem$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Episode$contributors + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$GridSectionItem$item$$Episode$contributors( Fragment$GridSectionItem$item$$Episode$contributors instance, TRes Function(Fragment$GridSectionItem$item$$Episode$contributors) then, ) = _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors; factory CopyWith$Fragment$GridSectionItem$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors; TRes call({ Fragment$GridSectionItem$item$$Episode$contributors$person? person, @@ -1140,7 +1165,7 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Episode$contributors< String? $__typename, }); CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person - get person; + get person; } class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors @@ -1154,7 +1179,7 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors final Fragment$GridSectionItem$item$$Episode$contributors _instance; final TRes Function(Fragment$GridSectionItem$item$$Episode$contributors) - _then; + _then; static const _undefined = {}; @@ -1162,35 +1187,40 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$GridSectionItem$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$GridSectionItem$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person - get person { + get person { final local$person = _instance.person; return CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$GridSectionItem$item$$Episode$contributors { _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; @@ -1198,13 +1228,13 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors< Fragment$GridSectionItem$item$$Episode$contributors$person? person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person - get person => - CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person - .stub(_res); + get person => + CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$GridSectionItem$item$$Episode$contributors$person @@ -1215,7 +1245,8 @@ class Fragment$GridSectionItem$item$$Episode$contributors$person }); factory Fragment$GridSectionItem$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Episode$contributors$person( @@ -1241,10 +1272,7 @@ class Fragment$GridSectionItem$item$$Episode$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -1273,37 +1301,38 @@ class Fragment$GridSectionItem$item$$Episode$contributors$person extension UtilityExtension$Fragment$GridSectionItem$item$$Episode$contributors$person on Fragment$GridSectionItem$item$$Episode$contributors$person { CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person< - Fragment$GridSectionItem$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person( Fragment$GridSectionItem$item$$Episode$contributors$person instance, TRes Function(Fragment$GridSectionItem$item$$Episode$contributors$person) - then, + then, ) = _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors$person; factory CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors$person( this._instance, this._then, @@ -1312,39 +1341,39 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$contributors$person< final Fragment$GridSectionItem$item$$Episode$contributors$person _instance; final TRes Function( - Fragment$GridSectionItem$item$$Episode$contributors$person) _then; + Fragment$GridSectionItem$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$GridSectionItem$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Episode$season @@ -1358,14 +1387,16 @@ class Fragment$GridSectionItem$item$$Episode$season }); factory Fragment$GridSectionItem$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Episode$season( number: (l$number as int), $show: Fragment$GridSectionItem$item$$Episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1392,11 +1423,7 @@ class Fragment$GridSectionItem$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -1430,11 +1457,10 @@ class Fragment$GridSectionItem$item$$Episode$season extension UtilityExtension$Fragment$GridSectionItem$item$$Episode$season on Fragment$GridSectionItem$item$$Episode$season { CopyWith$Fragment$GridSectionItem$item$$Episode$season< - Fragment$GridSectionItem$item$$Episode$season> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Episode$season( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$Episode$season(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Episode$season { @@ -1444,8 +1470,8 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Episode$season { ) = _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$season; factory CopyWith$Fragment$GridSectionItem$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season; TRes call({ int? number, @@ -1472,23 +1498,26 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$GridSectionItem$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$GridSectionItem$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$GridSectionItem$item$$Episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSectionItem$item$$Episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$GridSectionItem$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -1502,8 +1531,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season int? number, Fragment$GridSectionItem$item$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSectionItem$item$$Episode$season$show get $show => CopyWith$Fragment$GridSectionItem$item$$Episode$season$show.stub(_res); @@ -1519,7 +1547,8 @@ class Fragment$GridSectionItem$item$$Episode$season$show }); factory Fragment$GridSectionItem$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Episode$season$show( @@ -1545,10 +1574,7 @@ class Fragment$GridSectionItem$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -1577,29 +1603,27 @@ class Fragment$GridSectionItem$item$$Episode$season$show extension UtilityExtension$Fragment$GridSectionItem$item$$Episode$season$show on Fragment$GridSectionItem$item$$Episode$season$show { CopyWith$Fragment$GridSectionItem$item$$Episode$season$show< - Fragment$GridSectionItem$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$GridSectionItem$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Episode$season$show + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$GridSectionItem$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$GridSectionItem$item$$Episode$season$show( Fragment$GridSectionItem$item$$Episode$season$show instance, TRes Function(Fragment$GridSectionItem$item$$Episode$season$show) then, ) = _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$season$show; factory CopyWith$Fragment$GridSectionItem$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$season$show @@ -1616,33 +1640,29 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Episode$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season$show implements CopyWith$Fragment$GridSectionItem$item$$Episode$season$show { _CopyWithStubImpl$Fragment$GridSectionItem$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Show @@ -1659,7 +1679,8 @@ class Fragment$GridSectionItem$item$$Show }); factory Fragment$GridSectionItem$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -1672,7 +1693,8 @@ class Fragment$GridSectionItem$item$$Show $__typename: (l$$__typename as String), defaultEpisode: Fragment$GridSectionItem$item$$Show$defaultEpisode.fromJson( - (l$defaultEpisode as Map)), + (l$defaultEpisode as Map), + ), ); } @@ -1758,11 +1780,9 @@ class Fragment$GridSectionItem$item$$Show extension UtilityExtension$Fragment$GridSectionItem$item$$Show on Fragment$GridSectionItem$item$$Show { CopyWith$Fragment$GridSectionItem$item$$Show< - Fragment$GridSectionItem$item$$Show> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Show( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Show + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Show(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Show { @@ -1782,15 +1802,12 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Show { Fragment$GridSectionItem$item$$Show$defaultEpisode? defaultEpisode, }); CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode - get defaultEpisode; + get defaultEpisode; } class _CopyWithImpl$Fragment$GridSectionItem$item$$Show implements CopyWith$Fragment$GridSectionItem$item$$Show { - _CopyWithImpl$Fragment$GridSectionItem$item$$Show( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSectionItem$item$$Show(this._instance, this._then); final Fragment$GridSectionItem$item$$Show _instance; @@ -1804,29 +1821,32 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$GridSectionItem$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$GridSectionItem$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode - get defaultEpisode { + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } @@ -1842,13 +1862,11 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Show int? seasonCount, String? $__typename, Fragment$GridSectionItem$item$$Show$defaultEpisode? defaultEpisode, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode - get defaultEpisode => - CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode.stub( - _res); + get defaultEpisode => + CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode.stub(_res); } class Fragment$GridSectionItem$item$$Show$defaultEpisode @@ -1861,7 +1879,8 @@ class Fragment$GridSectionItem$item$$Show$defaultEpisode }); factory Fragment$GridSectionItem$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Show$defaultEpisode( @@ -1887,10 +1906,7 @@ class Fragment$GridSectionItem$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -1919,29 +1935,27 @@ class Fragment$GridSectionItem$item$$Show$defaultEpisode extension UtilityExtension$Fragment$GridSectionItem$item$$Show$defaultEpisode on Fragment$GridSectionItem$item$$Show$defaultEpisode { CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode< - Fragment$GridSectionItem$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Show$defaultEpisode + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode( Fragment$GridSectionItem$item$$Show$defaultEpisode instance, TRes Function(Fragment$GridSectionItem$item$$Show$defaultEpisode) then, ) = _CopyWithImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode; factory CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode @@ -1958,31 +1972,27 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode implements CopyWith$Fragment$GridSectionItem$item$$Show$defaultEpisode { _CopyWithStubImpl$Fragment$GridSectionItem$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Season @@ -1992,10 +2002,12 @@ class Fragment$GridSectionItem$item$$Season Fragment$GridSectionItem$item$$Season({this.$__typename = 'Season'}); factory Fragment$GridSectionItem$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2034,11 +2046,10 @@ class Fragment$GridSectionItem$item$$Season extension UtilityExtension$Fragment$GridSectionItem$item$$Season on Fragment$GridSectionItem$item$$Season { CopyWith$Fragment$GridSectionItem$item$$Season< - Fragment$GridSectionItem$item$$Season> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Season( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Season + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$Season(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Season { @@ -2066,11 +2077,13 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Season static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$GridSectionItem$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$GridSectionItem$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Season @@ -2093,7 +2106,8 @@ class Fragment$GridSectionItem$item$$Page }); factory Fragment$GridSectionItem$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Page( @@ -2119,10 +2133,7 @@ class Fragment$GridSectionItem$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -2151,11 +2162,9 @@ class Fragment$GridSectionItem$item$$Page extension UtilityExtension$Fragment$GridSectionItem$item$$Page on Fragment$GridSectionItem$item$$Page { CopyWith$Fragment$GridSectionItem$item$$Page< - Fragment$GridSectionItem$item$$Page> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Page( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Page + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Page(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Page { @@ -2167,18 +2176,12 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Page { factory CopyWith$Fragment$GridSectionItem$item$$Page.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Page implements CopyWith$Fragment$GridSectionItem$item$$Page { - _CopyWithImpl$Fragment$GridSectionItem$item$$Page( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSectionItem$item$$Page(this._instance, this._then); final Fragment$GridSectionItem$item$$Page _instance; @@ -2186,18 +2189,17 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Page @@ -2206,11 +2208,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Link @@ -2224,7 +2222,8 @@ class Fragment$GridSectionItem$item$$Link }); factory Fragment$GridSectionItem$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Link( @@ -2250,10 +2249,7 @@ class Fragment$GridSectionItem$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -2282,11 +2278,9 @@ class Fragment$GridSectionItem$item$$Link extension UtilityExtension$Fragment$GridSectionItem$item$$Link on Fragment$GridSectionItem$item$$Link { CopyWith$Fragment$GridSectionItem$item$$Link< - Fragment$GridSectionItem$item$$Link> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Link( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Link + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Link(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Link { @@ -2298,18 +2292,12 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Link { factory CopyWith$Fragment$GridSectionItem$item$$Link.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Link implements CopyWith$Fragment$GridSectionItem$item$$Link { - _CopyWithImpl$Fragment$GridSectionItem$item$$Link( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSectionItem$item$$Link(this._instance, this._then); final Fragment$GridSectionItem$item$$Link _instance; @@ -2317,16 +2305,17 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Link static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Link @@ -2335,11 +2324,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Link TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$StudyTopic @@ -2349,10 +2334,12 @@ class Fragment$GridSectionItem$item$$StudyTopic Fragment$GridSectionItem$item$$StudyTopic({this.$__typename = 'StudyTopic'}); factory Fragment$GridSectionItem$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -2391,11 +2378,10 @@ class Fragment$GridSectionItem$item$$StudyTopic extension UtilityExtension$Fragment$GridSectionItem$item$$StudyTopic on Fragment$GridSectionItem$item$$StudyTopic { CopyWith$Fragment$GridSectionItem$item$$StudyTopic< - Fragment$GridSectionItem$item$$StudyTopic> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$StudyTopic(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$StudyTopic { @@ -2423,11 +2409,13 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$StudyTopic static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$GridSectionItem$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$GridSectionItem$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$StudyTopic @@ -2450,7 +2438,8 @@ class Fragment$GridSectionItem$item$$Game }); factory Fragment$GridSectionItem$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Game( @@ -2476,10 +2465,7 @@ class Fragment$GridSectionItem$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -2508,11 +2494,9 @@ class Fragment$GridSectionItem$item$$Game extension UtilityExtension$Fragment$GridSectionItem$item$$Game on Fragment$GridSectionItem$item$$Game { CopyWith$Fragment$GridSectionItem$item$$Game< - Fragment$GridSectionItem$item$$Game> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Game( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Game + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Game(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Game { @@ -2524,18 +2508,12 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Game { factory CopyWith$Fragment$GridSectionItem$item$$Game.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Game implements CopyWith$Fragment$GridSectionItem$item$$Game { - _CopyWithImpl$Fragment$GridSectionItem$item$$Game( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSectionItem$item$$Game(this._instance, this._then); final Fragment$GridSectionItem$item$$Game _instance; @@ -2543,18 +2521,17 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Game static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Game @@ -2563,11 +2540,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Game TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Playlist @@ -2581,7 +2554,8 @@ class Fragment$GridSectionItem$item$$Playlist }); factory Fragment$GridSectionItem$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Playlist( @@ -2607,10 +2581,7 @@ class Fragment$GridSectionItem$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2639,11 +2610,10 @@ class Fragment$GridSectionItem$item$$Playlist extension UtilityExtension$Fragment$GridSectionItem$item$$Playlist on Fragment$GridSectionItem$item$$Playlist { CopyWith$Fragment$GridSectionItem$item$$Playlist< - Fragment$GridSectionItem$item$$Playlist> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Playlist( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Playlist + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$Playlist(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Playlist { @@ -2655,10 +2625,7 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Playlist { factory CopyWith$Fragment$GridSectionItem$item$$Playlist.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Playlist @@ -2674,16 +2641,15 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Playlist static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Playlist @@ -2692,11 +2658,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Playlist TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Short @@ -2710,7 +2672,8 @@ class Fragment$GridSectionItem$item$$Short }); factory Fragment$GridSectionItem$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Short( @@ -2736,10 +2699,7 @@ class Fragment$GridSectionItem$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2768,11 +2728,9 @@ class Fragment$GridSectionItem$item$$Short extension UtilityExtension$Fragment$GridSectionItem$item$$Short on Fragment$GridSectionItem$item$$Short { CopyWith$Fragment$GridSectionItem$item$$Short< - Fragment$GridSectionItem$item$$Short> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Short( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Short + > + get copyWith => CopyWith$Fragment$GridSectionItem$item$$Short(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Short { @@ -2784,10 +2742,7 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Short { factory CopyWith$Fragment$GridSectionItem$item$$Short.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Short @@ -2803,16 +2758,15 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Short static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Short @@ -2821,11 +2775,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Short TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$GridSectionItem$item$$Person @@ -2839,7 +2789,8 @@ class Fragment$GridSectionItem$item$$Person }); factory Fragment$GridSectionItem$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$GridSectionItem$item$$Person( @@ -2865,10 +2816,7 @@ class Fragment$GridSectionItem$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2897,11 +2845,10 @@ class Fragment$GridSectionItem$item$$Person extension UtilityExtension$Fragment$GridSectionItem$item$$Person on Fragment$GridSectionItem$item$$Person { CopyWith$Fragment$GridSectionItem$item$$Person< - Fragment$GridSectionItem$item$$Person> - get copyWith => CopyWith$Fragment$GridSectionItem$item$$Person( - this, - (i) => i, - ); + Fragment$GridSectionItem$item$$Person + > + get copyWith => + CopyWith$Fragment$GridSectionItem$item$$Person(this, (i) => i); } abstract class CopyWith$Fragment$GridSectionItem$item$$Person { @@ -2913,10 +2860,7 @@ abstract class CopyWith$Fragment$GridSectionItem$item$$Person { factory CopyWith$Fragment$GridSectionItem$item$$Person.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSectionItem$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$GridSectionItem$item$$Person @@ -2932,16 +2876,15 @@ class _CopyWithImpl$Fragment$GridSectionItem$item$$Person static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSectionItem$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSectionItem$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Person @@ -2950,11 +2893,7 @@ class _CopyWithStubImpl$Fragment$GridSectionItem$item$$Person TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$ItemSectionItem { @@ -2977,7 +2916,8 @@ class Fragment$ItemSectionItem { title: (l$title as String), image: (l$image as String?), item: Fragment$ItemSectionItem$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3014,13 +2954,7 @@ class Fragment$ItemSectionItem { final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -3064,10 +2998,7 @@ class Fragment$ItemSectionItem { extension UtilityExtension$Fragment$ItemSectionItem on Fragment$ItemSectionItem { CopyWith$Fragment$ItemSectionItem get copyWith => - CopyWith$Fragment$ItemSectionItem( - this, - (i) => i, - ); + CopyWith$Fragment$ItemSectionItem(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem { @@ -3091,10 +3022,7 @@ abstract class CopyWith$Fragment$ItemSectionItem { class _CopyWithImpl$Fragment$ItemSectionItem implements CopyWith$Fragment$ItemSectionItem { - _CopyWithImpl$Fragment$ItemSectionItem( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSectionItem(this._instance, this._then); final Fragment$ItemSectionItem _instance; @@ -3108,25 +3036,28 @@ class _CopyWithImpl$Fragment$ItemSectionItem Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$ItemSectionItem$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSectionItem( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$ItemSectionItem$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSectionItem$item get item { final local$item = _instance.item; return CopyWith$Fragment$ItemSectionItem$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -3142,8 +3073,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem String? image, Fragment$ItemSectionItem$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSectionItem$item get item => CopyWith$Fragment$ItemSectionItem$item.stub(_res); @@ -3152,171 +3082,190 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem const fragmentDefinitionItemSectionItem = FragmentDefinitionNode( name: NameNode(value: 'ItemSectionItem'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'SectionItem'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'SectionItem'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'NavigatablePerson'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableGame'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableLink'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatablePlaylist'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatablePage'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableShort'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableEpisode'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableShow'), - directives: [], - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'contributors'), - alias: null, - arguments: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'NavigatablePerson'), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'person'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'contributionTypes'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatableGame'), directives: [], - selectionSet: null, ), FragmentSpreadNode( - name: NameNode(value: 'EpisodeThumbnail'), + name: NameNode(value: 'NavigatableLink'), directives: [], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatablePlaylist'), directives: [], - selectionSet: null, ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Show'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatablePage'), directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: 'episodeCount'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatableShort'), directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: 'seasonCount'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatableEpisode'), directives: [], - selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'NavigatableShow'), + directives: [], + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'contributors'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'person'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'contributionTypes'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'EpisodeThumbnail'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Show'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episodeCount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'seasonCount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -3325,56 +3274,50 @@ const fragmentDefinitionItemSectionItem = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentItemSectionItem = DocumentNode( + definitions: [ + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentItemSectionItem = DocumentNode(definitions: [ - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$ItemSectionItem on graphql.GraphQLClient { void writeFragment$ItemSectionItem({ required Fragment$ItemSectionItem data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'ItemSectionItem', - document: documentNodeFragmentItemSectionItem, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'ItemSectionItem', + document: documentNodeFragmentItemSectionItem, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$ItemSectionItem? readFragment$ItemSectionItem({ required Map idFields, @@ -3432,7 +3375,8 @@ class Fragment$ItemSectionItem$item { default: final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -3472,10 +3416,7 @@ class Fragment$ItemSectionItem$item { extension UtilityExtension$Fragment$ItemSectionItem$item on Fragment$ItemSectionItem$item { CopyWith$Fragment$ItemSectionItem$item - get copyWith => CopyWith$Fragment$ItemSectionItem$item( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ItemSectionItem$item(this, (i) => i); _T when<_T>({ required _T Function(Fragment$ItemSectionItem$item$$Episode) episode, @@ -3630,10 +3571,7 @@ abstract class CopyWith$Fragment$ItemSectionItem$item { class _CopyWithImpl$Fragment$ItemSectionItem$item implements CopyWith$Fragment$ItemSectionItem$item { - _CopyWithImpl$Fragment$ItemSectionItem$item( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSectionItem$item(this._instance, this._then); final Fragment$ItemSectionItem$item _instance; @@ -3641,11 +3579,13 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$ItemSectionItem$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$ItemSectionItem$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item @@ -3678,7 +3618,8 @@ class Fragment$ItemSectionItem$item$$Episode }); factory Fragment$ItemSectionItem$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -3693,9 +3634,11 @@ class Fragment$ItemSectionItem$item$$Episode final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$ItemSectionItem$item$$Episode$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$ItemSectionItem$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -3709,7 +3652,8 @@ class Fragment$ItemSectionItem$item$$Episode season: l$season == null ? null : Fragment$ItemSectionItem$item$$Episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3741,8 +3685,9 @@ class Fragment$ItemSectionItem$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -3881,11 +3826,10 @@ class Fragment$ItemSectionItem$item$$Episode extension UtilityExtension$Fragment$ItemSectionItem$item$$Episode on Fragment$ItemSectionItem$item$$Episode { CopyWith$Fragment$ItemSectionItem$item$$Episode< - Fragment$ItemSectionItem$item$$Episode> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Episode( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Episode + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode { @@ -3912,11 +3856,15 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode { String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< - Fragment$ItemSectionItem$item$$Episode$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< + Fragment$ItemSectionItem$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$ItemSectionItem$item$$Episode$season get season; } @@ -3946,60 +3894,72 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors + }) => _then( + Fragment$ItemSectionItem$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$ItemSectionItem$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$ItemSectionItem$item$$Episode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< - Fragment$ItemSectionItem$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< + Fragment$ItemSectionItem$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$ItemSectionItem$item$$Episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$ItemSectionItem$item$$Episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSectionItem$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -4022,8 +3982,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode int? number, Fragment$ItemSectionItem$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; @@ -4039,14 +3998,16 @@ class Fragment$ItemSectionItem$item$$Episode$contributors { }); factory Fragment$ItemSectionItem$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Episode$contributors( person: Fragment$ItemSectionItem$item$$Episode$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -4123,24 +4084,25 @@ class Fragment$ItemSectionItem$item$$Episode$contributors { extension UtilityExtension$Fragment$ItemSectionItem$item$$Episode$contributors on Fragment$ItemSectionItem$item$$Episode$contributors { CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< - Fragment$ItemSectionItem$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Episode$contributors + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors( Fragment$ItemSectionItem$item$$Episode$contributors instance, TRes Function(Fragment$ItemSectionItem$item$$Episode$contributors) then, ) = _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors; factory CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors; TRes call({ Fragment$ItemSectionItem$item$$Episode$contributors$person? person, @@ -4148,7 +4110,7 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors< String? $__typename, }); CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person - get person; + get person; } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors @@ -4162,7 +4124,7 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors final Fragment$ItemSectionItem$item$$Episode$contributors _instance; final TRes Function(Fragment$ItemSectionItem$item$$Episode$contributors) - _then; + _then; static const _undefined = {}; @@ -4170,35 +4132,40 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$ItemSectionItem$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$ItemSectionItem$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person - get person { + get person { final local$person = _instance.person; return CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors { _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; @@ -4206,13 +4173,13 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors< Fragment$ItemSectionItem$item$$Episode$contributors$person? person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person - get person => - CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person - .stub(_res); + get person => + CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$ItemSectionItem$item$$Episode$contributors$person { @@ -4222,7 +4189,8 @@ class Fragment$ItemSectionItem$item$$Episode$contributors$person { }); factory Fragment$ItemSectionItem$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Episode$contributors$person( @@ -4248,10 +4216,7 @@ class Fragment$ItemSectionItem$item$$Episode$contributors$person { int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -4280,37 +4245,38 @@ class Fragment$ItemSectionItem$item$$Episode$contributors$person { extension UtilityExtension$Fragment$ItemSectionItem$item$$Episode$contributors$person on Fragment$ItemSectionItem$item$$Episode$contributors$person { CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person< - Fragment$ItemSectionItem$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person( Fragment$ItemSectionItem$item$$Episode$contributors$person instance, TRes Function(Fragment$ItemSectionItem$item$$Episode$contributors$person) - then, + then, ) = _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person; factory CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person( this._instance, this._then, @@ -4319,39 +4285,39 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person< final Fragment$ItemSectionItem$item$$Episode$contributors$person _instance; final TRes Function( - Fragment$ItemSectionItem$item$$Episode$contributors$person) _then; + Fragment$ItemSectionItem$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$ItemSectionItem$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Episode$season @@ -4363,14 +4329,16 @@ class Fragment$ItemSectionItem$item$$Episode$season }); factory Fragment$ItemSectionItem$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Episode$season( number: (l$number as int), $show: Fragment$ItemSectionItem$item$$Episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -4397,11 +4365,7 @@ class Fragment$ItemSectionItem$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -4435,11 +4399,10 @@ class Fragment$ItemSectionItem$item$$Episode$season extension UtilityExtension$Fragment$ItemSectionItem$item$$Episode$season on Fragment$ItemSectionItem$item$$Episode$season { CopyWith$Fragment$ItemSectionItem$item$$Episode$season< - Fragment$ItemSectionItem$item$$Episode$season> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Episode$season( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$Episode$season(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode$season { @@ -4449,8 +4412,8 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode$season { ) = _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$season; factory CopyWith$Fragment$ItemSectionItem$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season; TRes call({ int? number, @@ -4477,23 +4440,26 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$ItemSectionItem$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSectionItem$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$ItemSectionItem$item$$Episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -4507,8 +4473,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season int? number, Fragment$ItemSectionItem$item$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show get $show => CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show.stub(_res); @@ -4522,7 +4487,8 @@ class Fragment$ItemSectionItem$item$$Episode$season$show }); factory Fragment$ItemSectionItem$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Episode$season$show( @@ -4548,10 +4514,7 @@ class Fragment$ItemSectionItem$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -4580,29 +4543,27 @@ class Fragment$ItemSectionItem$item$$Episode$season$show extension UtilityExtension$Fragment$ItemSectionItem$item$$Episode$season$show on Fragment$ItemSectionItem$item$$Episode$season$show { CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show< - Fragment$ItemSectionItem$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Episode$season$show + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show( Fragment$ItemSectionItem$item$$Episode$season$show instance, TRes Function(Fragment$ItemSectionItem$item$$Episode$season$show) then, ) = _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$season$show; factory CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$season$show @@ -4619,33 +4580,29 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Episode$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season$show implements CopyWith$Fragment$ItemSectionItem$item$$Episode$season$show { _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Show @@ -4659,7 +4616,8 @@ class Fragment$ItemSectionItem$item$$Show }); factory Fragment$ItemSectionItem$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -4672,7 +4630,8 @@ class Fragment$ItemSectionItem$item$$Show $__typename: (l$$__typename as String), defaultEpisode: Fragment$ItemSectionItem$item$$Show$defaultEpisode.fromJson( - (l$defaultEpisode as Map)), + (l$defaultEpisode as Map), + ), ); } @@ -4758,11 +4717,9 @@ class Fragment$ItemSectionItem$item$$Show extension UtilityExtension$Fragment$ItemSectionItem$item$$Show on Fragment$ItemSectionItem$item$$Show { CopyWith$Fragment$ItemSectionItem$item$$Show< - Fragment$ItemSectionItem$item$$Show> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Show( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Show + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Show(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Show { @@ -4782,15 +4739,12 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Show { Fragment$ItemSectionItem$item$$Show$defaultEpisode? defaultEpisode, }); CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode - get defaultEpisode; + get defaultEpisode; } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Show implements CopyWith$Fragment$ItemSectionItem$item$$Show { - _CopyWithImpl$Fragment$ItemSectionItem$item$$Show( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSectionItem$item$$Show(this._instance, this._then); final Fragment$ItemSectionItem$item$$Show _instance; @@ -4804,29 +4758,32 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$ItemSectionItem$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$ItemSectionItem$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode - get defaultEpisode { + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } @@ -4842,13 +4799,11 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Show int? seasonCount, String? $__typename, Fragment$ItemSectionItem$item$$Show$defaultEpisode? defaultEpisode, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode - get defaultEpisode => - CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode.stub( - _res); + get defaultEpisode => + CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode.stub(_res); } class Fragment$ItemSectionItem$item$$Show$defaultEpisode @@ -4859,7 +4814,8 @@ class Fragment$ItemSectionItem$item$$Show$defaultEpisode }); factory Fragment$ItemSectionItem$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Show$defaultEpisode( @@ -4885,10 +4841,7 @@ class Fragment$ItemSectionItem$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -4917,29 +4870,27 @@ class Fragment$ItemSectionItem$item$$Show$defaultEpisode extension UtilityExtension$Fragment$ItemSectionItem$item$$Show$defaultEpisode on Fragment$ItemSectionItem$item$$Show$defaultEpisode { CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode< - Fragment$ItemSectionItem$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Show$defaultEpisode + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode( Fragment$ItemSectionItem$item$$Show$defaultEpisode instance, TRes Function(Fragment$ItemSectionItem$item$$Show$defaultEpisode) then, ) = _CopyWithImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode; factory CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode @@ -4956,31 +4907,27 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode implements CopyWith$Fragment$ItemSectionItem$item$$Show$defaultEpisode { _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Season @@ -4988,10 +4935,12 @@ class Fragment$ItemSectionItem$item$$Season Fragment$ItemSectionItem$item$$Season({this.$__typename = 'Season'}); factory Fragment$ItemSectionItem$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -5030,11 +4979,10 @@ class Fragment$ItemSectionItem$item$$Season extension UtilityExtension$Fragment$ItemSectionItem$item$$Season on Fragment$ItemSectionItem$item$$Season { CopyWith$Fragment$ItemSectionItem$item$$Season< - Fragment$ItemSectionItem$item$$Season> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Season( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Season + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$Season(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Season { @@ -5062,11 +5010,13 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Season static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$ItemSectionItem$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$ItemSectionItem$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Season @@ -5086,7 +5036,8 @@ class Fragment$ItemSectionItem$item$$Page }); factory Fragment$ItemSectionItem$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Page( @@ -5112,10 +5063,7 @@ class Fragment$ItemSectionItem$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -5144,11 +5092,9 @@ class Fragment$ItemSectionItem$item$$Page extension UtilityExtension$Fragment$ItemSectionItem$item$$Page on Fragment$ItemSectionItem$item$$Page { CopyWith$Fragment$ItemSectionItem$item$$Page< - Fragment$ItemSectionItem$item$$Page> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Page( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Page + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Page(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Page { @@ -5160,18 +5106,12 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Page { factory CopyWith$Fragment$ItemSectionItem$item$$Page.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Page implements CopyWith$Fragment$ItemSectionItem$item$$Page { - _CopyWithImpl$Fragment$ItemSectionItem$item$$Page( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSectionItem$item$$Page(this._instance, this._then); final Fragment$ItemSectionItem$item$$Page _instance; @@ -5179,18 +5119,17 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Page @@ -5199,11 +5138,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Link @@ -5214,7 +5149,8 @@ class Fragment$ItemSectionItem$item$$Link }); factory Fragment$ItemSectionItem$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Link( @@ -5240,10 +5176,7 @@ class Fragment$ItemSectionItem$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -5272,11 +5205,9 @@ class Fragment$ItemSectionItem$item$$Link extension UtilityExtension$Fragment$ItemSectionItem$item$$Link on Fragment$ItemSectionItem$item$$Link { CopyWith$Fragment$ItemSectionItem$item$$Link< - Fragment$ItemSectionItem$item$$Link> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Link( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Link + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Link(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Link { @@ -5288,18 +5219,12 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Link { factory CopyWith$Fragment$ItemSectionItem$item$$Link.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Link implements CopyWith$Fragment$ItemSectionItem$item$$Link { - _CopyWithImpl$Fragment$ItemSectionItem$item$$Link( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSectionItem$item$$Link(this._instance, this._then); final Fragment$ItemSectionItem$item$$Link _instance; @@ -5307,16 +5232,17 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Link static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Link @@ -5325,11 +5251,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Link TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$StudyTopic @@ -5337,10 +5259,12 @@ class Fragment$ItemSectionItem$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic({this.$__typename = 'StudyTopic'}); factory Fragment$ItemSectionItem$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -5379,11 +5303,10 @@ class Fragment$ItemSectionItem$item$$StudyTopic extension UtilityExtension$Fragment$ItemSectionItem$item$$StudyTopic on Fragment$ItemSectionItem$item$$StudyTopic { CopyWith$Fragment$ItemSectionItem$item$$StudyTopic< - Fragment$ItemSectionItem$item$$StudyTopic> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$StudyTopic(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$StudyTopic { @@ -5411,11 +5334,13 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$StudyTopic static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$ItemSectionItem$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$ItemSectionItem$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$StudyTopic @@ -5435,7 +5360,8 @@ class Fragment$ItemSectionItem$item$$Game }); factory Fragment$ItemSectionItem$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Game( @@ -5461,10 +5387,7 @@ class Fragment$ItemSectionItem$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -5493,11 +5416,9 @@ class Fragment$ItemSectionItem$item$$Game extension UtilityExtension$Fragment$ItemSectionItem$item$$Game on Fragment$ItemSectionItem$item$$Game { CopyWith$Fragment$ItemSectionItem$item$$Game< - Fragment$ItemSectionItem$item$$Game> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Game( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Game + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Game(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Game { @@ -5509,18 +5430,12 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Game { factory CopyWith$Fragment$ItemSectionItem$item$$Game.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Game implements CopyWith$Fragment$ItemSectionItem$item$$Game { - _CopyWithImpl$Fragment$ItemSectionItem$item$$Game( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSectionItem$item$$Game(this._instance, this._then); final Fragment$ItemSectionItem$item$$Game _instance; @@ -5528,18 +5443,17 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Game static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Game @@ -5548,11 +5462,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Game TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Playlist @@ -5563,7 +5473,8 @@ class Fragment$ItemSectionItem$item$$Playlist }); factory Fragment$ItemSectionItem$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Playlist( @@ -5589,10 +5500,7 @@ class Fragment$ItemSectionItem$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -5621,11 +5529,10 @@ class Fragment$ItemSectionItem$item$$Playlist extension UtilityExtension$Fragment$ItemSectionItem$item$$Playlist on Fragment$ItemSectionItem$item$$Playlist { CopyWith$Fragment$ItemSectionItem$item$$Playlist< - Fragment$ItemSectionItem$item$$Playlist> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Playlist( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Playlist + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$Playlist(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Playlist { @@ -5637,10 +5544,7 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Playlist { factory CopyWith$Fragment$ItemSectionItem$item$$Playlist.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Playlist @@ -5656,16 +5560,15 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Playlist static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Playlist @@ -5674,11 +5577,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Playlist TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Short @@ -5689,7 +5588,8 @@ class Fragment$ItemSectionItem$item$$Short }); factory Fragment$ItemSectionItem$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Short( @@ -5715,10 +5615,7 @@ class Fragment$ItemSectionItem$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -5747,11 +5644,9 @@ class Fragment$ItemSectionItem$item$$Short extension UtilityExtension$Fragment$ItemSectionItem$item$$Short on Fragment$ItemSectionItem$item$$Short { CopyWith$Fragment$ItemSectionItem$item$$Short< - Fragment$ItemSectionItem$item$$Short> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Short( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Short + > + get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Short(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Short { @@ -5763,10 +5658,7 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Short { factory CopyWith$Fragment$ItemSectionItem$item$$Short.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Short @@ -5782,16 +5674,15 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Short static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Short @@ -5800,11 +5691,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Short TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$ItemSectionItem$item$$Person @@ -5815,7 +5702,8 @@ class Fragment$ItemSectionItem$item$$Person }); factory Fragment$ItemSectionItem$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$ItemSectionItem$item$$Person( @@ -5841,10 +5729,7 @@ class Fragment$ItemSectionItem$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -5873,11 +5758,10 @@ class Fragment$ItemSectionItem$item$$Person extension UtilityExtension$Fragment$ItemSectionItem$item$$Person on Fragment$ItemSectionItem$item$$Person { CopyWith$Fragment$ItemSectionItem$item$$Person< - Fragment$ItemSectionItem$item$$Person> - get copyWith => CopyWith$Fragment$ItemSectionItem$item$$Person( - this, - (i) => i, - ); + Fragment$ItemSectionItem$item$$Person + > + get copyWith => + CopyWith$Fragment$ItemSectionItem$item$$Person(this, (i) => i); } abstract class CopyWith$Fragment$ItemSectionItem$item$$Person { @@ -5889,10 +5773,7 @@ abstract class CopyWith$Fragment$ItemSectionItem$item$$Person { factory CopyWith$Fragment$ItemSectionItem$item$$Person.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSectionItem$item$$Person @@ -5908,16 +5789,15 @@ class _CopyWithImpl$Fragment$ItemSectionItem$item$$Person static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSectionItem$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSectionItem$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Person @@ -5926,11 +5806,7 @@ class _CopyWithStubImpl$Fragment$ItemSectionItem$item$$Person TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$EpisodeThumbnail { @@ -5970,7 +5846,8 @@ class Fragment$EpisodeThumbnail { season: l$season == null ? null : Fragment$EpisodeThumbnail$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -6112,10 +5989,7 @@ class Fragment$EpisodeThumbnail { extension UtilityExtension$Fragment$EpisodeThumbnail on Fragment$EpisodeThumbnail { CopyWith$Fragment$EpisodeThumbnail get copyWith => - CopyWith$Fragment$EpisodeThumbnail( - this, - (i) => i, - ); + CopyWith$Fragment$EpisodeThumbnail(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeThumbnail { @@ -6144,10 +6018,7 @@ abstract class CopyWith$Fragment$EpisodeThumbnail { class _CopyWithImpl$Fragment$EpisodeThumbnail implements CopyWith$Fragment$EpisodeThumbnail { - _CopyWithImpl$Fragment$EpisodeThumbnail( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeThumbnail(this._instance, this._then); final Fragment$EpisodeThumbnail _instance; @@ -6166,39 +6037,43 @@ class _CopyWithImpl$Fragment$EpisodeThumbnail Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeThumbnail( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$EpisodeThumbnail$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeThumbnail( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$EpisodeThumbnail$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeThumbnail$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$EpisodeThumbnail$season.stub(_then(_instance)) : CopyWith$Fragment$EpisodeThumbnail$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -6219,8 +6094,7 @@ class _CopyWithStubImpl$Fragment$EpisodeThumbnail int? number, Fragment$EpisodeThumbnail$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeThumbnail$season get season => CopyWith$Fragment$EpisodeThumbnail$season.stub(_res); @@ -6229,94 +6103,105 @@ class _CopyWithStubImpl$Fragment$EpisodeThumbnail const fragmentDefinitionEpisodeThumbnail = FragmentDefinitionNode( name: NameNode(value: 'EpisodeThumbnail'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'progress'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'publishDate'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'number'), alias: null, arguments: [], directives: [], selectionSet: null, ), + FieldNode( + name: NameNode(value: 'show'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), FieldNode( name: NameNode(value: '__typename'), alias: null, @@ -6324,47 +6209,39 @@ const fragmentDefinitionEpisodeThumbnail = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeThumbnail = DocumentNode( + definitions: [fragmentDefinitionEpisodeThumbnail], ); -const documentNodeFragmentEpisodeThumbnail = DocumentNode(definitions: [ - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$EpisodeThumbnail on graphql.GraphQLClient { void writeFragment$EpisodeThumbnail({ required Fragment$EpisodeThumbnail data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeThumbnail', - document: documentNodeFragmentEpisodeThumbnail, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeThumbnail', + document: documentNodeFragmentEpisodeThumbnail, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeThumbnail? readFragment$EpisodeThumbnail({ required Map idFields, @@ -6398,7 +6275,8 @@ class Fragment$EpisodeThumbnail$season { return Fragment$EpisodeThumbnail$season( number: (l$number as int), $show: Fragment$EpisodeThumbnail$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -6425,11 +6303,7 @@ class Fragment$EpisodeThumbnail$season { final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -6463,10 +6337,7 @@ class Fragment$EpisodeThumbnail$season { extension UtilityExtension$Fragment$EpisodeThumbnail$season on Fragment$EpisodeThumbnail$season { CopyWith$Fragment$EpisodeThumbnail$season - get copyWith => CopyWith$Fragment$EpisodeThumbnail$season( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$EpisodeThumbnail$season(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeThumbnail$season { @@ -6488,10 +6359,7 @@ abstract class CopyWith$Fragment$EpisodeThumbnail$season { class _CopyWithImpl$Fragment$EpisodeThumbnail$season implements CopyWith$Fragment$EpisodeThumbnail$season { - _CopyWithImpl$Fragment$EpisodeThumbnail$season( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$EpisodeThumbnail$season(this._instance, this._then); final Fragment$EpisodeThumbnail$season _instance; @@ -6503,23 +6371,26 @@ class _CopyWithImpl$Fragment$EpisodeThumbnail$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeThumbnail$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$EpisodeThumbnail$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeThumbnail$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$EpisodeThumbnail$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeThumbnail$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$EpisodeThumbnail$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -6533,8 +6404,7 @@ class _CopyWithStubImpl$Fragment$EpisodeThumbnail$season int? number, Fragment$EpisodeThumbnail$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeThumbnail$season$show get $show => CopyWith$Fragment$EpisodeThumbnail$season$show.stub(_res); @@ -6547,7 +6417,8 @@ class Fragment$EpisodeThumbnail$season$show { }); factory Fragment$EpisodeThumbnail$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$EpisodeThumbnail$season$show( @@ -6573,10 +6444,7 @@ class Fragment$EpisodeThumbnail$season$show { int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -6605,11 +6473,10 @@ class Fragment$EpisodeThumbnail$season$show { extension UtilityExtension$Fragment$EpisodeThumbnail$season$show on Fragment$EpisodeThumbnail$season$show { CopyWith$Fragment$EpisodeThumbnail$season$show< - Fragment$EpisodeThumbnail$season$show> - get copyWith => CopyWith$Fragment$EpisodeThumbnail$season$show( - this, - (i) => i, - ); + Fragment$EpisodeThumbnail$season$show + > + get copyWith => + CopyWith$Fragment$EpisodeThumbnail$season$show(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeThumbnail$season$show { @@ -6621,10 +6488,7 @@ abstract class CopyWith$Fragment$EpisodeThumbnail$season$show { factory CopyWith$Fragment$EpisodeThumbnail$season$show.stub(TRes res) = _CopyWithStubImpl$Fragment$EpisodeThumbnail$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$EpisodeThumbnail$season$show @@ -6640,18 +6504,17 @@ class _CopyWithImpl$Fragment$EpisodeThumbnail$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeThumbnail$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeThumbnail$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$EpisodeThumbnail$season$show @@ -6660,18 +6523,11 @@ class _CopyWithStubImpl$Fragment$EpisodeThumbnail$season$show TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$NavigatablePerson { - Fragment$NavigatablePerson({ - required this.id, - this.$__typename = 'Person', - }); + Fragment$NavigatablePerson({required this.id, this.$__typename = 'Person'}); factory Fragment$NavigatablePerson.fromJson(Map json) { final l$id = json['id']; @@ -6699,10 +6555,7 @@ class Fragment$NavigatablePerson { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -6731,10 +6584,7 @@ class Fragment$NavigatablePerson { extension UtilityExtension$Fragment$NavigatablePerson on Fragment$NavigatablePerson { CopyWith$Fragment$NavigatablePerson - get copyWith => CopyWith$Fragment$NavigatablePerson( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$NavigatablePerson(this, (i) => i); } abstract class CopyWith$Fragment$NavigatablePerson { @@ -6746,18 +6596,12 @@ abstract class CopyWith$Fragment$NavigatablePerson { factory CopyWith$Fragment$NavigatablePerson.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatablePerson; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatablePerson implements CopyWith$Fragment$NavigatablePerson { - _CopyWithImpl$Fragment$NavigatablePerson( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatablePerson(this._instance, this._then); final Fragment$NavigatablePerson _instance; @@ -6765,16 +6609,15 @@ class _CopyWithImpl$Fragment$NavigatablePerson static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatablePerson( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatablePerson( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatablePerson @@ -6783,59 +6626,54 @@ class _CopyWithStubImpl$Fragment$NavigatablePerson TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } const fragmentDefinitionNavigatablePerson = FragmentDefinitionNode( name: NameNode(value: 'NavigatablePerson'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Person'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Person'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatablePerson = DocumentNode( + definitions: [fragmentDefinitionNavigatablePerson], ); -const documentNodeFragmentNavigatablePerson = DocumentNode(definitions: [ - fragmentDefinitionNavigatablePerson, -]); extension ClientExtension$Fragment$NavigatablePerson on graphql.GraphQLClient { void writeFragment$NavigatablePerson({ required Fragment$NavigatablePerson data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatablePerson', - document: documentNodeFragmentNavigatablePerson, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatablePerson', + document: documentNodeFragmentNavigatablePerson, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatablePerson? readFragment$NavigatablePerson({ required Map idFields, @@ -6856,10 +6694,7 @@ extension ClientExtension$Fragment$NavigatablePerson on graphql.GraphQLClient { } class Fragment$NavigatableGame { - Fragment$NavigatableGame({ - required this.uuid, - this.$__typename = 'Game', - }); + Fragment$NavigatableGame({required this.uuid, this.$__typename = 'Game'}); factory Fragment$NavigatableGame.fromJson(Map json) { final l$uuid = json['uuid']; @@ -6887,10 +6722,7 @@ class Fragment$NavigatableGame { int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -6919,10 +6751,7 @@ class Fragment$NavigatableGame { extension UtilityExtension$Fragment$NavigatableGame on Fragment$NavigatableGame { CopyWith$Fragment$NavigatableGame get copyWith => - CopyWith$Fragment$NavigatableGame( - this, - (i) => i, - ); + CopyWith$Fragment$NavigatableGame(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableGame { @@ -6934,18 +6763,12 @@ abstract class CopyWith$Fragment$NavigatableGame { factory CopyWith$Fragment$NavigatableGame.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatableGame; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatableGame implements CopyWith$Fragment$NavigatableGame { - _CopyWithImpl$Fragment$NavigatableGame( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableGame(this._instance, this._then); final Fragment$NavigatableGame _instance; @@ -6953,18 +6776,17 @@ class _CopyWithImpl$Fragment$NavigatableGame static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableGame( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatableGame( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatableGame @@ -6973,59 +6795,54 @@ class _CopyWithStubImpl$Fragment$NavigatableGame TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } const fragmentDefinitionNavigatableGame = FragmentDefinitionNode( name: NameNode(value: 'NavigatableGame'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Game'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Game'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: NameNode(value: 'uuid'), - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: NameNode(value: 'uuid'), + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatableGame = DocumentNode( + definitions: [fragmentDefinitionNavigatableGame], ); -const documentNodeFragmentNavigatableGame = DocumentNode(definitions: [ - fragmentDefinitionNavigatableGame, -]); extension ClientExtension$Fragment$NavigatableGame on graphql.GraphQLClient { void writeFragment$NavigatableGame({ required Fragment$NavigatableGame data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatableGame', - document: documentNodeFragmentNavigatableGame, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatableGame', + document: documentNodeFragmentNavigatableGame, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatableGame? readFragment$NavigatableGame({ required Map idFields, @@ -7046,10 +6863,7 @@ extension ClientExtension$Fragment$NavigatableGame on graphql.GraphQLClient { } class Fragment$NavigatableLink { - Fragment$NavigatableLink({ - required this.url, - this.$__typename = 'Link', - }); + Fragment$NavigatableLink({required this.url, this.$__typename = 'Link'}); factory Fragment$NavigatableLink.fromJson(Map json) { final l$url = json['url']; @@ -7077,10 +6891,7 @@ class Fragment$NavigatableLink { int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -7109,10 +6920,7 @@ class Fragment$NavigatableLink { extension UtilityExtension$Fragment$NavigatableLink on Fragment$NavigatableLink { CopyWith$Fragment$NavigatableLink get copyWith => - CopyWith$Fragment$NavigatableLink( - this, - (i) => i, - ); + CopyWith$Fragment$NavigatableLink(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableLink { @@ -7124,18 +6932,12 @@ abstract class CopyWith$Fragment$NavigatableLink { factory CopyWith$Fragment$NavigatableLink.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatableLink; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatableLink implements CopyWith$Fragment$NavigatableLink { - _CopyWithImpl$Fragment$NavigatableLink( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableLink(this._instance, this._then); final Fragment$NavigatableLink _instance; @@ -7143,16 +6945,17 @@ class _CopyWithImpl$Fragment$NavigatableLink static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableLink( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatableLink( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatableLink @@ -7161,59 +6964,54 @@ class _CopyWithStubImpl$Fragment$NavigatableLink TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } const fragmentDefinitionNavigatableLink = FragmentDefinitionNode( name: NameNode(value: 'NavigatableLink'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Link'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Link'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatableLink = DocumentNode( + definitions: [fragmentDefinitionNavigatableLink], ); -const documentNodeFragmentNavigatableLink = DocumentNode(definitions: [ - fragmentDefinitionNavigatableLink, -]); extension ClientExtension$Fragment$NavigatableLink on graphql.GraphQLClient { void writeFragment$NavigatableLink({ required Fragment$NavigatableLink data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatableLink', - document: documentNodeFragmentNavigatableLink, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatableLink', + document: documentNodeFragmentNavigatableLink, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatableLink? readFragment$NavigatableLink({ required Map idFields, @@ -7265,10 +7063,7 @@ class Fragment$NavigatablePlaylist { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -7297,10 +7092,7 @@ class Fragment$NavigatablePlaylist { extension UtilityExtension$Fragment$NavigatablePlaylist on Fragment$NavigatablePlaylist { CopyWith$Fragment$NavigatablePlaylist - get copyWith => CopyWith$Fragment$NavigatablePlaylist( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$NavigatablePlaylist(this, (i) => i); } abstract class CopyWith$Fragment$NavigatablePlaylist { @@ -7312,18 +7104,12 @@ abstract class CopyWith$Fragment$NavigatablePlaylist { factory CopyWith$Fragment$NavigatablePlaylist.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatablePlaylist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatablePlaylist implements CopyWith$Fragment$NavigatablePlaylist { - _CopyWithImpl$Fragment$NavigatablePlaylist( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatablePlaylist(this._instance, this._then); final Fragment$NavigatablePlaylist _instance; @@ -7331,16 +7117,15 @@ class _CopyWithImpl$Fragment$NavigatablePlaylist static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatablePlaylist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatablePlaylist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatablePlaylist @@ -7349,41 +7134,37 @@ class _CopyWithStubImpl$Fragment$NavigatablePlaylist TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } const fragmentDefinitionNavigatablePlaylist = FragmentDefinitionNode( name: NameNode(value: 'NavigatablePlaylist'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Playlist'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Playlist'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatablePlaylist = DocumentNode( + definitions: [fragmentDefinitionNavigatablePlaylist], ); -const documentNodeFragmentNavigatablePlaylist = DocumentNode(definitions: [ - fragmentDefinitionNavigatablePlaylist, -]); extension ClientExtension$Fragment$NavigatablePlaylist on graphql.GraphQLClient { @@ -7391,18 +7172,17 @@ extension ClientExtension$Fragment$NavigatablePlaylist required Fragment$NavigatablePlaylist data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatablePlaylist', - document: documentNodeFragmentNavigatablePlaylist, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatablePlaylist', + document: documentNodeFragmentNavigatablePlaylist, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatablePlaylist? readFragment$NavigatablePlaylist({ required Map idFields, @@ -7425,10 +7205,7 @@ extension ClientExtension$Fragment$NavigatablePlaylist } class Fragment$NavigatablePage { - Fragment$NavigatablePage({ - required this.code, - this.$__typename = 'Page', - }); + Fragment$NavigatablePage({required this.code, this.$__typename = 'Page'}); factory Fragment$NavigatablePage.fromJson(Map json) { final l$code = json['code']; @@ -7456,10 +7233,7 @@ class Fragment$NavigatablePage { int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -7488,10 +7262,7 @@ class Fragment$NavigatablePage { extension UtilityExtension$Fragment$NavigatablePage on Fragment$NavigatablePage { CopyWith$Fragment$NavigatablePage get copyWith => - CopyWith$Fragment$NavigatablePage( - this, - (i) => i, - ); + CopyWith$Fragment$NavigatablePage(this, (i) => i); } abstract class CopyWith$Fragment$NavigatablePage { @@ -7503,18 +7274,12 @@ abstract class CopyWith$Fragment$NavigatablePage { factory CopyWith$Fragment$NavigatablePage.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatablePage; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatablePage implements CopyWith$Fragment$NavigatablePage { - _CopyWithImpl$Fragment$NavigatablePage( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatablePage(this._instance, this._then); final Fragment$NavigatablePage _instance; @@ -7522,18 +7287,17 @@ class _CopyWithImpl$Fragment$NavigatablePage static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatablePage( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatablePage( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatablePage @@ -7542,59 +7306,54 @@ class _CopyWithStubImpl$Fragment$NavigatablePage TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } const fragmentDefinitionNavigatablePage = FragmentDefinitionNode( name: NameNode(value: 'NavigatablePage'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Page'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Page'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatablePage = DocumentNode( + definitions: [fragmentDefinitionNavigatablePage], ); -const documentNodeFragmentNavigatablePage = DocumentNode(definitions: [ - fragmentDefinitionNavigatablePage, -]); extension ClientExtension$Fragment$NavigatablePage on graphql.GraphQLClient { void writeFragment$NavigatablePage({ required Fragment$NavigatablePage data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatablePage', - document: documentNodeFragmentNavigatablePage, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatablePage', + document: documentNodeFragmentNavigatablePage, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatablePage? readFragment$NavigatablePage({ required Map idFields, @@ -7615,10 +7374,7 @@ extension ClientExtension$Fragment$NavigatablePage on graphql.GraphQLClient { } class Fragment$NavigatableShort { - Fragment$NavigatableShort({ - required this.id, - this.$__typename = 'Short', - }); + Fragment$NavigatableShort({required this.id, this.$__typename = 'Short'}); factory Fragment$NavigatableShort.fromJson(Map json) { final l$id = json['id']; @@ -7646,10 +7402,7 @@ class Fragment$NavigatableShort { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -7678,10 +7431,7 @@ class Fragment$NavigatableShort { extension UtilityExtension$Fragment$NavigatableShort on Fragment$NavigatableShort { CopyWith$Fragment$NavigatableShort get copyWith => - CopyWith$Fragment$NavigatableShort( - this, - (i) => i, - ); + CopyWith$Fragment$NavigatableShort(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableShort { @@ -7693,18 +7443,12 @@ abstract class CopyWith$Fragment$NavigatableShort { factory CopyWith$Fragment$NavigatableShort.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatableShort; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatableShort implements CopyWith$Fragment$NavigatableShort { - _CopyWithImpl$Fragment$NavigatableShort( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableShort(this._instance, this._then); final Fragment$NavigatableShort _instance; @@ -7712,16 +7456,15 @@ class _CopyWithImpl$Fragment$NavigatableShort static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableShort( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatableShort( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatableShort @@ -7730,59 +7473,54 @@ class _CopyWithStubImpl$Fragment$NavigatableShort TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } const fragmentDefinitionNavigatableShort = FragmentDefinitionNode( name: NameNode(value: 'NavigatableShort'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Short'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Short'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatableShort = DocumentNode( + definitions: [fragmentDefinitionNavigatableShort], ); -const documentNodeFragmentNavigatableShort = DocumentNode(definitions: [ - fragmentDefinitionNavigatableShort, -]); extension ClientExtension$Fragment$NavigatableShort on graphql.GraphQLClient { void writeFragment$NavigatableShort({ required Fragment$NavigatableShort data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatableShort', - document: documentNodeFragmentNavigatableShort, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatableShort', + document: documentNodeFragmentNavigatableShort, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatableShort? readFragment$NavigatableShort({ required Map idFields, @@ -7842,11 +7580,7 @@ class Fragment$NavigatableEpisode { final l$id = id; final l$locked = locked; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$locked, - l$$__typename, - ]); + return Object.hashAll([l$id, l$locked, l$$__typename]); } @override @@ -7880,10 +7614,7 @@ class Fragment$NavigatableEpisode { extension UtilityExtension$Fragment$NavigatableEpisode on Fragment$NavigatableEpisode { CopyWith$Fragment$NavigatableEpisode - get copyWith => CopyWith$Fragment$NavigatableEpisode( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$NavigatableEpisode(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableEpisode { @@ -7895,19 +7626,12 @@ abstract class CopyWith$Fragment$NavigatableEpisode { factory CopyWith$Fragment$NavigatableEpisode.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatableEpisode; - TRes call({ - String? id, - bool? locked, - String? $__typename, - }); + TRes call({String? id, bool? locked, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatableEpisode implements CopyWith$Fragment$NavigatableEpisode { - _CopyWithImpl$Fragment$NavigatableEpisode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableEpisode(this._instance, this._then); final Fragment$NavigatableEpisode _instance; @@ -7919,16 +7643,17 @@ class _CopyWithImpl$Fragment$NavigatableEpisode Object? id = _undefined, Object? locked = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$NavigatableEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatableEpisode @@ -7937,67 +7662,61 @@ class _CopyWithStubImpl$Fragment$NavigatableEpisode TRes _res; - call({ - String? id, - bool? locked, - String? $__typename, - }) => - _res; + call({String? id, bool? locked, String? $__typename}) => _res; } const fragmentDefinitionNavigatableEpisode = FragmentDefinitionNode( name: NameNode(value: 'NavigatableEpisode'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatableEpisode = DocumentNode( + definitions: [fragmentDefinitionNavigatableEpisode], ); -const documentNodeFragmentNavigatableEpisode = DocumentNode(definitions: [ - fragmentDefinitionNavigatableEpisode, -]); extension ClientExtension$Fragment$NavigatableEpisode on graphql.GraphQLClient { void writeFragment$NavigatableEpisode({ required Fragment$NavigatableEpisode data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatableEpisode', - document: documentNodeFragmentNavigatableEpisode, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatableEpisode', + document: documentNodeFragmentNavigatableEpisode, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatableEpisode? readFragment$NavigatableEpisode({ required Map idFields, @@ -8031,7 +7750,8 @@ class Fragment$NavigatableShow { return Fragment$NavigatableShow( id: (l$id as String), defaultEpisode: Fragment$NavigatableShow$defaultEpisode.fromJson( - (l$defaultEpisode as Map)), + (l$defaultEpisode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -8058,11 +7778,7 @@ class Fragment$NavigatableShow { final l$id = id; final l$defaultEpisode = defaultEpisode; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$defaultEpisode, - l$$__typename, - ]); + return Object.hashAll([l$id, l$defaultEpisode, l$$__typename]); } @override @@ -8096,10 +7812,7 @@ class Fragment$NavigatableShow { extension UtilityExtension$Fragment$NavigatableShow on Fragment$NavigatableShow { CopyWith$Fragment$NavigatableShow get copyWith => - CopyWith$Fragment$NavigatableShow( - this, - (i) => i, - ); + CopyWith$Fragment$NavigatableShow(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableShow { @@ -8121,10 +7834,7 @@ abstract class CopyWith$Fragment$NavigatableShow { class _CopyWithImpl$Fragment$NavigatableShow implements CopyWith$Fragment$NavigatableShow { - _CopyWithImpl$Fragment$NavigatableShow( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableShow(this._instance, this._then); final Fragment$NavigatableShow _instance; @@ -8136,21 +7846,24 @@ class _CopyWithImpl$Fragment$NavigatableShow Object? id = _undefined, Object? defaultEpisode = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableShow( - id: id == _undefined || id == null ? _instance.id : (id as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode as Fragment$NavigatableShow$defaultEpisode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$NavigatableShow( + id: id == _undefined || id == null ? _instance.id : (id as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$NavigatableShow$defaultEpisode), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$NavigatableShow$defaultEpisode get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$NavigatableShow$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } @@ -8164,8 +7877,7 @@ class _CopyWithStubImpl$Fragment$NavigatableShow String? id, Fragment$NavigatableShow$defaultEpisode? defaultEpisode, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$NavigatableShow$defaultEpisode get defaultEpisode => CopyWith$Fragment$NavigatableShow$defaultEpisode.stub(_res); @@ -8174,71 +7886,72 @@ class _CopyWithStubImpl$Fragment$NavigatableShow const fragmentDefinitionNavigatableShow = FragmentDefinitionNode( name: NameNode(value: 'NavigatableShow'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Show'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Show'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'defaultEpisode'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'defaultEpisode'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatableShow = DocumentNode( + definitions: [fragmentDefinitionNavigatableShow], ); -const documentNodeFragmentNavigatableShow = DocumentNode(definitions: [ - fragmentDefinitionNavigatableShow, -]); extension ClientExtension$Fragment$NavigatableShow on graphql.GraphQLClient { void writeFragment$NavigatableShow({ required Fragment$NavigatableShow data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatableShow', - document: documentNodeFragmentNavigatableShow, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatableShow', + document: documentNodeFragmentNavigatableShow, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatableShow? readFragment$NavigatableShow({ required Map idFields, @@ -8265,7 +7978,8 @@ class Fragment$NavigatableShow$defaultEpisode { }); factory Fragment$NavigatableShow$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$NavigatableShow$defaultEpisode( @@ -8291,10 +8005,7 @@ class Fragment$NavigatableShow$defaultEpisode { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -8323,11 +8034,10 @@ class Fragment$NavigatableShow$defaultEpisode { extension UtilityExtension$Fragment$NavigatableShow$defaultEpisode on Fragment$NavigatableShow$defaultEpisode { CopyWith$Fragment$NavigatableShow$defaultEpisode< - Fragment$NavigatableShow$defaultEpisode> - get copyWith => CopyWith$Fragment$NavigatableShow$defaultEpisode( - this, - (i) => i, - ); + Fragment$NavigatableShow$defaultEpisode + > + get copyWith => + CopyWith$Fragment$NavigatableShow$defaultEpisode(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableShow$defaultEpisode { @@ -8339,10 +8049,7 @@ abstract class CopyWith$Fragment$NavigatableShow$defaultEpisode { factory CopyWith$Fragment$NavigatableShow$defaultEpisode.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatableShow$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatableShow$defaultEpisode @@ -8358,16 +8065,15 @@ class _CopyWithImpl$Fragment$NavigatableShow$defaultEpisode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableShow$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatableShow$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatableShow$defaultEpisode @@ -8376,11 +8082,7 @@ class _CopyWithStubImpl$Fragment$NavigatableShow$defaultEpisode TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$NavigatableChapter { @@ -8402,7 +8104,8 @@ class Fragment$NavigatableChapter { episode: l$episode == null ? null : Fragment$NavigatableChapter$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -8434,12 +8137,7 @@ class Fragment$NavigatableChapter { final l$start = start; final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$start, - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$id, l$start, l$episode, l$$__typename]); } @override @@ -8478,10 +8176,7 @@ class Fragment$NavigatableChapter { extension UtilityExtension$Fragment$NavigatableChapter on Fragment$NavigatableChapter { CopyWith$Fragment$NavigatableChapter - get copyWith => CopyWith$Fragment$NavigatableChapter( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$NavigatableChapter(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableChapter { @@ -8504,10 +8199,7 @@ abstract class CopyWith$Fragment$NavigatableChapter { class _CopyWithImpl$Fragment$NavigatableChapter implements CopyWith$Fragment$NavigatableChapter { - _CopyWithImpl$Fragment$NavigatableChapter( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableChapter(this._instance, this._then); final Fragment$NavigatableChapter _instance; @@ -8520,26 +8212,29 @@ class _CopyWithImpl$Fragment$NavigatableChapter Object? start = _undefined, Object? episode = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableChapter( - id: id == _undefined || id == null ? _instance.id : (id as String), - start: start == _undefined || start == null - ? _instance.start - : (start as int), - episode: episode == _undefined - ? _instance.episode - : (episode as Fragment$NavigatableChapter$episode?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$NavigatableChapter( + id: id == _undefined || id == null ? _instance.id : (id as String), + start: start == _undefined || start == null + ? _instance.start + : (start as int), + episode: episode == _undefined + ? _instance.episode + : (episode as Fragment$NavigatableChapter$episode?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$NavigatableChapter$episode get episode { final local$episode = _instance.episode; return local$episode == null ? CopyWith$Fragment$NavigatableChapter$episode.stub(_then(_instance)) : CopyWith$Fragment$NavigatableChapter$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -8554,8 +8249,7 @@ class _CopyWithStubImpl$Fragment$NavigatableChapter int? start, Fragment$NavigatableChapter$episode? episode, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$NavigatableChapter$episode get episode => CopyWith$Fragment$NavigatableChapter$episode.stub(_res); @@ -8564,78 +8258,79 @@ class _CopyWithStubImpl$Fragment$NavigatableChapter const fragmentDefinitionNavigatableChapter = FragmentDefinitionNode( name: NameNode(value: 'NavigatableChapter'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Chapter'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Chapter'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episode'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentNavigatableChapter = DocumentNode( + definitions: [fragmentDefinitionNavigatableChapter], ); -const documentNodeFragmentNavigatableChapter = DocumentNode(definitions: [ - fragmentDefinitionNavigatableChapter, -]); extension ClientExtension$Fragment$NavigatableChapter on graphql.GraphQLClient { void writeFragment$NavigatableChapter({ required Fragment$NavigatableChapter data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'NavigatableChapter', - document: documentNodeFragmentNavigatableChapter, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'NavigatableChapter', + document: documentNodeFragmentNavigatableChapter, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$NavigatableChapter? readFragment$NavigatableChapter({ required Map idFields, @@ -8662,7 +8357,8 @@ class Fragment$NavigatableChapter$episode { }); factory Fragment$NavigatableChapter$episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$NavigatableChapter$episode( @@ -8688,10 +8384,7 @@ class Fragment$NavigatableChapter$episode { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -8720,11 +8413,9 @@ class Fragment$NavigatableChapter$episode { extension UtilityExtension$Fragment$NavigatableChapter$episode on Fragment$NavigatableChapter$episode { CopyWith$Fragment$NavigatableChapter$episode< - Fragment$NavigatableChapter$episode> - get copyWith => CopyWith$Fragment$NavigatableChapter$episode( - this, - (i) => i, - ); + Fragment$NavigatableChapter$episode + > + get copyWith => CopyWith$Fragment$NavigatableChapter$episode(this, (i) => i); } abstract class CopyWith$Fragment$NavigatableChapter$episode { @@ -8736,18 +8427,12 @@ abstract class CopyWith$Fragment$NavigatableChapter$episode { factory CopyWith$Fragment$NavigatableChapter$episode.stub(TRes res) = _CopyWithStubImpl$Fragment$NavigatableChapter$episode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$NavigatableChapter$episode implements CopyWith$Fragment$NavigatableChapter$episode { - _CopyWithImpl$Fragment$NavigatableChapter$episode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$NavigatableChapter$episode(this._instance, this._then); final Fragment$NavigatableChapter$episode _instance; @@ -8755,16 +8440,15 @@ class _CopyWithImpl$Fragment$NavigatableChapter$episode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$NavigatableChapter$episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$NavigatableChapter$episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$NavigatableChapter$episode @@ -8773,18 +8457,11 @@ class _CopyWithStubImpl$Fragment$NavigatableChapter$episode TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Variables$Fragment$ItemSection { - factory Variables$Fragment$ItemSection({ - int? first, - int? offset, - }) => + factory Variables$Fragment$ItemSection({int? first, int? offset}) => Variables$Fragment$ItemSection._({ if (first != null) r'first': first, if (offset != null) r'offset': offset, @@ -8825,10 +8502,7 @@ class Variables$Fragment$ItemSection { } CopyWith$Variables$Fragment$ItemSection - get copyWith => CopyWith$Variables$Fragment$ItemSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Fragment$ItemSection(this, (i) => i); @override bool operator ==(Object other) { @@ -8878,18 +8552,12 @@ abstract class CopyWith$Variables$Fragment$ItemSection { factory CopyWith$Variables$Fragment$ItemSection.stub(TRes res) = _CopyWithStubImpl$Variables$Fragment$ItemSection; - TRes call({ - int? first, - int? offset, - }); + TRes call({int? first, int? offset}); } class _CopyWithImpl$Variables$Fragment$ItemSection implements CopyWith$Variables$Fragment$ItemSection { - _CopyWithImpl$Variables$Fragment$ItemSection( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Fragment$ItemSection(this._instance, this._then); final Variables$Fragment$ItemSection _instance; @@ -8897,15 +8565,13 @@ class _CopyWithImpl$Variables$Fragment$ItemSection static const _undefined = {}; - TRes call({ - Object? first = _undefined, - Object? offset = _undefined, - }) => - _then(Variables$Fragment$ItemSection._({ - ..._instance._$data, - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + TRes call({Object? first = _undefined, Object? offset = _undefined}) => _then( + Variables$Fragment$ItemSection._({ + ..._instance._$data, + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Fragment$ItemSection @@ -8914,11 +8580,7 @@ class _CopyWithStubImpl$Variables$Fragment$ItemSection TRes _res; - call({ - int? first, - int? offset, - }) => - _res; + call({int? first, int? offset}) => _res; } class Fragment$ItemSection { @@ -8974,9 +8636,11 @@ class Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -9004,11 +8668,7 @@ class Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -9040,10 +8700,7 @@ class Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection on Fragment$ItemSection { CopyWith$Fragment$ItemSection get copyWith => - CopyWith$Fragment$ItemSection( - this, - (i) => i, - ); + CopyWith$Fragment$ItemSection(this, (i) => i); _T when<_T>({ required _T Function(Fragment$ItemSection$$PosterSection) posterSection, @@ -9053,9 +8710,9 @@ extension UtilityExtension$Fragment$ItemSection on Fragment$ItemSection { required _T Function(Fragment$ItemSection$$ListSection) listSection, required _T Function(Fragment$ItemSection$$CardListSection) cardListSection, required _T Function(Fragment$ItemSection$$DefaultGridSection) - defaultGridSection, + defaultGridSection, required _T Function(Fragment$ItemSection$$PosterGridSection) - posterGridSection, + posterGridSection, required _T Function(Fragment$ItemSection$$IconGridSection) iconGridSection, required _T Function(Fragment$ItemSection$$IconSection) iconSection, required _T Function(Fragment$ItemSection$$LabelSection) labelSection, @@ -9083,11 +8740,13 @@ extension UtilityExtension$Fragment$ItemSection on Fragment$ItemSection { case "DefaultGridSection": return defaultGridSection( - this as Fragment$ItemSection$$DefaultGridSection); + this as Fragment$ItemSection$$DefaultGridSection, + ); case "PosterGridSection": return posterGridSection( - this as Fragment$ItemSection$$PosterGridSection); + this as Fragment$ItemSection$$PosterGridSection, + ); case "IconGridSection": return iconGridSection(this as Fragment$ItemSection$$IconGridSection); @@ -9167,7 +8826,8 @@ extension UtilityExtension$Fragment$ItemSection on Fragment$ItemSection { case "DefaultGridSection": if (defaultGridSection != null) { return defaultGridSection( - this as Fragment$ItemSection$$DefaultGridSection); + this as Fragment$ItemSection$$DefaultGridSection, + ); } else { return orElse(); } @@ -9175,7 +8835,8 @@ extension UtilityExtension$Fragment$ItemSection on Fragment$ItemSection { case "PosterGridSection": if (posterGridSection != null) { return posterGridSection( - this as Fragment$ItemSection$$PosterGridSection); + this as Fragment$ItemSection$$PosterGridSection, + ); } else { return orElse(); } @@ -9234,10 +8895,7 @@ abstract class CopyWith$Fragment$ItemSection { class _CopyWithImpl$Fragment$ItemSection implements CopyWith$Fragment$ItemSection { - _CopyWithImpl$Fragment$ItemSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection(this._instance, this._then); final Fragment$ItemSection _instance; @@ -9249,31 +8907,36 @@ class _CopyWithImpl$Fragment$ItemSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$metadata.stub(_then(_instance)) : CopyWith$Fragment$ItemSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -9287,8 +8950,7 @@ class _CopyWithStubImpl$Fragment$ItemSection Fragment$ItemSection$metadata? metadata, Fragment$ItemSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$metadata get metadata => CopyWith$Fragment$ItemSection$metadata.stub(_res); @@ -9300,61 +8962,86 @@ class _CopyWithStubImpl$Fragment$ItemSection const fragmentDefinitionItemSection = FragmentDefinitionNode( name: NameNode(value: 'ItemSection'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'ItemSection'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'ItemSection'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'metadata'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'continueWatching'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'myList'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'secondaryTitles'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'collectionId'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'useContext'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'page'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'metadata'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'continueWatching'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'myList'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'secondaryTitles'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'collectionId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'useContext'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'page'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'limit'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), FieldNode( - name: NameNode(value: 'code'), + name: NameNode(value: 'prependLiveElement'), alias: null, arguments: [], directives: [], @@ -9367,69 +9054,59 @@ const fragmentDefinitionItemSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: 'limit'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'prependLiveElement'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'offset'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'first'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'ItemSectionItem'), + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'offset'), + alias: null, + arguments: [], directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'first'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'ItemSectionItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -9438,39 +9115,34 @@ const fragmentDefinitionItemSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentItemSection = DocumentNode( + definitions: [ + fragmentDefinitionItemSection, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentItemSection = DocumentNode(definitions: [ - fragmentDefinitionItemSection, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$ItemSection on graphql.GraphQLClient { void writeFragment$ItemSection({ @@ -9478,19 +9150,18 @@ extension ClientExtension$Fragment$ItemSection on graphql.GraphQLClient { required Map idFields, Variables$Fragment$ItemSection? variables, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'ItemSection', - document: documentNodeFragmentItemSection, - ), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'ItemSection', + document: documentNodeFragmentItemSection, + ), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$ItemSection? readFragment$ItemSection({ required Map idFields, @@ -9544,7 +9215,8 @@ class Fragment$ItemSection$metadata { page: l$page == null ? null : Fragment$ItemSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -9677,10 +9349,7 @@ class Fragment$ItemSection$metadata { extension UtilityExtension$Fragment$ItemSection$metadata on Fragment$ItemSection$metadata { CopyWith$Fragment$ItemSection$metadata - get copyWith => CopyWith$Fragment$ItemSection$metadata( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ItemSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$metadata { @@ -9708,10 +9377,7 @@ abstract class CopyWith$Fragment$ItemSection$metadata { class _CopyWithImpl$Fragment$ItemSection$metadata implements CopyWith$Fragment$ItemSection$metadata { - _CopyWithImpl$Fragment$ItemSection$metadata( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$metadata(this._instance, this._then); final Fragment$ItemSection$metadata _instance; @@ -9729,44 +9395,46 @@ class _CopyWithImpl$Fragment$ItemSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$metadata$page.stub(_then(_instance)) : CopyWith$Fragment$ItemSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -9786,8 +9454,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$metadata$page get page => CopyWith$Fragment$ItemSection$metadata$page.stub(_res); @@ -9800,7 +9467,8 @@ class Fragment$ItemSection$metadata$page { }); factory Fragment$ItemSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$metadata$page( @@ -9826,10 +9494,7 @@ class Fragment$ItemSection$metadata$page { int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -9858,11 +9523,9 @@ class Fragment$ItemSection$metadata$page { extension UtilityExtension$Fragment$ItemSection$metadata$page on Fragment$ItemSection$metadata$page { CopyWith$Fragment$ItemSection$metadata$page< - Fragment$ItemSection$metadata$page> - get copyWith => CopyWith$Fragment$ItemSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$metadata$page { @@ -9874,18 +9537,12 @@ abstract class CopyWith$Fragment$ItemSection$metadata$page { factory CopyWith$Fragment$ItemSection$metadata$page.stub(TRes res) = _CopyWithStubImpl$Fragment$ItemSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$metadata$page implements CopyWith$Fragment$ItemSection$metadata$page { - _CopyWithImpl$Fragment$ItemSection$metadata$page( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$metadata$page(this._instance, this._then); final Fragment$ItemSection$metadata$page _instance; @@ -9893,18 +9550,17 @@ class _CopyWithImpl$Fragment$ItemSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$metadata$page @@ -9913,11 +9569,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$items { @@ -9937,8 +9589,10 @@ class Fragment$ItemSection$items { offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -10023,10 +9677,7 @@ class Fragment$ItemSection$items { extension UtilityExtension$Fragment$ItemSection$items on Fragment$ItemSection$items { CopyWith$Fragment$ItemSection$items - get copyWith => CopyWith$Fragment$ItemSection$items( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ItemSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$items { @@ -10045,18 +9696,16 @@ abstract class CopyWith$Fragment$ItemSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$items implements CopyWith$Fragment$ItemSection$items { - _CopyWithImpl$Fragment$ItemSection$items( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$items(this._instance, this._then); final Fragment$ItemSection$items _instance; @@ -10069,34 +9718,35 @@ class _CopyWithImpl$Fragment$ItemSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$items @@ -10110,8 +9760,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -10124,7 +9773,8 @@ class Fragment$ItemSection$$PosterSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$PosterSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -10132,9 +9782,11 @@ class Fragment$ItemSection$$PosterSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$PosterSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$PosterSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -10161,11 +9813,7 @@ class Fragment$ItemSection$$PosterSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -10199,11 +9847,9 @@ class Fragment$ItemSection$$PosterSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$PosterSection on Fragment$ItemSection$$PosterSection { CopyWith$Fragment$ItemSection$$PosterSection< - Fragment$ItemSection$$PosterSection> - get copyWith => CopyWith$Fragment$ItemSection$$PosterSection( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterSection + > + get copyWith => CopyWith$Fragment$ItemSection$$PosterSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$PosterSection { @@ -10226,10 +9872,7 @@ abstract class CopyWith$Fragment$ItemSection$$PosterSection { class _CopyWithImpl$Fragment$ItemSection$$PosterSection implements CopyWith$Fragment$ItemSection$$PosterSection { - _CopyWithImpl$Fragment$ItemSection$$PosterSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$$PosterSection(this._instance, this._then); final Fragment$ItemSection$$PosterSection _instance; @@ -10241,32 +9884,38 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$PosterSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$PosterSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$PosterSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$PosterSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$PosterSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$PosterSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$PosterSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$PosterSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$PosterSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$PosterSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -10280,8 +9929,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$PosterSection Fragment$ItemSection$$PosterSection$metadata? metadata, Fragment$ItemSection$$PosterSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$PosterSection$metadata get metadata => CopyWith$Fragment$ItemSection$$PosterSection$metadata.stub(_res); @@ -10305,7 +9953,8 @@ class Fragment$ItemSection$$PosterSection$metadata }); factory Fragment$ItemSection$$PosterSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -10324,7 +9973,8 @@ class Fragment$ItemSection$$PosterSection$metadata page: l$page == null ? null : Fragment$ItemSection$$PosterSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -10457,11 +10107,10 @@ class Fragment$ItemSection$$PosterSection$metadata extension UtilityExtension$Fragment$ItemSection$$PosterSection$metadata on Fragment$ItemSection$$PosterSection$metadata { CopyWith$Fragment$ItemSection$$PosterSection$metadata< - Fragment$ItemSection$$PosterSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$PosterSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$PosterSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$PosterSection$metadata { @@ -10510,45 +10159,48 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$PosterSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$PosterSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$PosterSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$PosterSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$PosterSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$PosterSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -10568,8 +10220,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$PosterSection$metadata$page get page => CopyWith$Fragment$ItemSection$$PosterSection$metadata$page.stub(_res); @@ -10583,7 +10234,8 @@ class Fragment$ItemSection$$PosterSection$metadata$page }); factory Fragment$ItemSection$$PosterSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$PosterSection$metadata$page( @@ -10609,10 +10261,7 @@ class Fragment$ItemSection$$PosterSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -10641,29 +10290,27 @@ class Fragment$ItemSection$$PosterSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$PosterSection$metadata$page on Fragment$ItemSection$$PosterSection$metadata$page { CopyWith$Fragment$ItemSection$$PosterSection$metadata$page< - Fragment$ItemSection$$PosterSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$PosterSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$$PosterSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$PosterSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$PosterSection$metadata$page( Fragment$ItemSection$$PosterSection$metadata$page instance, TRes Function(Fragment$ItemSection$$PosterSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$PosterSection$metadata$page; factory CopyWith$Fragment$ItemSection$$PosterSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$PosterSection$metadata$page @@ -10680,33 +10327,29 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$PosterSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$metadata$page implements CopyWith$Fragment$ItemSection$$PosterSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$PosterSection$items @@ -10719,7 +10362,8 @@ class Fragment$ItemSection$$PosterSection$items }); factory Fragment$ItemSection$$PosterSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -10728,8 +10372,10 @@ class Fragment$ItemSection$$PosterSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -10814,11 +10460,10 @@ class Fragment$ItemSection$$PosterSection$items extension UtilityExtension$Fragment$ItemSection$$PosterSection$items on Fragment$ItemSection$$PosterSection$items { CopyWith$Fragment$ItemSection$$PosterSection$items< - Fragment$ItemSection$$PosterSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$PosterSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$PosterSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$PosterSection$items { @@ -10837,10 +10482,11 @@ abstract class CopyWith$Fragment$ItemSection$$PosterSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$PosterSection$items @@ -10861,34 +10507,35 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$PosterSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$items @@ -10902,8 +10549,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$PosterSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -10916,7 +10562,8 @@ class Fragment$ItemSection$$FeaturedSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$FeaturedSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -10924,9 +10571,11 @@ class Fragment$ItemSection$$FeaturedSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$FeaturedSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$FeaturedSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -10953,11 +10602,7 @@ class Fragment$ItemSection$$FeaturedSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -10991,11 +10636,10 @@ class Fragment$ItemSection$$FeaturedSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$FeaturedSection on Fragment$ItemSection$$FeaturedSection { CopyWith$Fragment$ItemSection$$FeaturedSection< - Fragment$ItemSection$$FeaturedSection> - get copyWith => CopyWith$Fragment$ItemSection$$FeaturedSection( - this, - (i) => i, - ); + Fragment$ItemSection$$FeaturedSection + > + get copyWith => + CopyWith$Fragment$ItemSection$$FeaturedSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$FeaturedSection { @@ -11033,32 +10677,38 @@ class _CopyWithImpl$Fragment$ItemSection$$FeaturedSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$FeaturedSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$FeaturedSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$FeaturedSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$FeaturedSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$FeaturedSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$FeaturedSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$FeaturedSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$FeaturedSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$FeaturedSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$FeaturedSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$FeaturedSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -11072,8 +10722,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection Fragment$ItemSection$$FeaturedSection$metadata? metadata, Fragment$ItemSection$$FeaturedSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$FeaturedSection$metadata get metadata => CopyWith$Fragment$ItemSection$$FeaturedSection$metadata.stub(_res); @@ -11097,7 +10746,8 @@ class Fragment$ItemSection$$FeaturedSection$metadata }); factory Fragment$ItemSection$$FeaturedSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -11116,7 +10766,8 @@ class Fragment$ItemSection$$FeaturedSection$metadata page: l$page == null ? null : Fragment$ItemSection$$FeaturedSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -11249,11 +10900,10 @@ class Fragment$ItemSection$$FeaturedSection$metadata extension UtilityExtension$Fragment$ItemSection$$FeaturedSection$metadata on Fragment$ItemSection$$FeaturedSection$metadata { CopyWith$Fragment$ItemSection$$FeaturedSection$metadata< - Fragment$ItemSection$$FeaturedSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$FeaturedSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$FeaturedSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$FeaturedSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$FeaturedSection$metadata { @@ -11263,8 +10913,8 @@ abstract class CopyWith$Fragment$ItemSection$$FeaturedSection$metadata { ) = _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$metadata; factory CopyWith$Fragment$ItemSection$$FeaturedSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata; TRes call({ bool? continueWatching, @@ -11303,45 +10953,48 @@ class _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$FeaturedSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$FeaturedSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$FeaturedSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$FeaturedSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -11361,8 +11014,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page get page => CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page.stub(_res); @@ -11376,7 +11028,8 @@ class Fragment$ItemSection$$FeaturedSection$metadata$page }); factory Fragment$ItemSection$$FeaturedSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$FeaturedSection$metadata$page( @@ -11402,10 +11055,7 @@ class Fragment$ItemSection$$FeaturedSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -11434,29 +11084,27 @@ class Fragment$ItemSection$$FeaturedSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$FeaturedSection$metadata$page on Fragment$ItemSection$$FeaturedSection$metadata$page { CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page< - Fragment$ItemSection$$FeaturedSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$FeaturedSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page( Fragment$ItemSection$$FeaturedSection$metadata$page instance, TRes Function(Fragment$ItemSection$$FeaturedSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$metadata$page; factory CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$metadata$page @@ -11470,38 +11118,35 @@ class _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$metadata$page final Fragment$ItemSection$$FeaturedSection$metadata$page _instance; final TRes Function(Fragment$ItemSection$$FeaturedSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$FeaturedSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$FeaturedSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata$page< - TRes> + TRes +> implements CopyWith$Fragment$ItemSection$$FeaturedSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$FeaturedSection$items @@ -11514,7 +11159,8 @@ class Fragment$ItemSection$$FeaturedSection$items }); factory Fragment$ItemSection$$FeaturedSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -11523,8 +11169,10 @@ class Fragment$ItemSection$$FeaturedSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -11609,11 +11257,10 @@ class Fragment$ItemSection$$FeaturedSection$items extension UtilityExtension$Fragment$ItemSection$$FeaturedSection$items on Fragment$ItemSection$$FeaturedSection$items { CopyWith$Fragment$ItemSection$$FeaturedSection$items< - Fragment$ItemSection$$FeaturedSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$FeaturedSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$FeaturedSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$FeaturedSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$FeaturedSection$items { @@ -11632,10 +11279,11 @@ abstract class CopyWith$Fragment$ItemSection$$FeaturedSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$items @@ -11656,34 +11304,35 @@ class _CopyWithImpl$Fragment$ItemSection$$FeaturedSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$FeaturedSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$FeaturedSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$items @@ -11697,8 +11346,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$FeaturedSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -11711,7 +11359,8 @@ class Fragment$ItemSection$$DefaultSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$DefaultSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -11719,9 +11368,11 @@ class Fragment$ItemSection$$DefaultSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$DefaultSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$DefaultSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -11748,11 +11399,7 @@ class Fragment$ItemSection$$DefaultSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -11786,11 +11433,9 @@ class Fragment$ItemSection$$DefaultSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$DefaultSection on Fragment$ItemSection$$DefaultSection { CopyWith$Fragment$ItemSection$$DefaultSection< - Fragment$ItemSection$$DefaultSection> - get copyWith => CopyWith$Fragment$ItemSection$$DefaultSection( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultSection + > + get copyWith => CopyWith$Fragment$ItemSection$$DefaultSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$DefaultSection { @@ -11828,32 +11473,38 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$DefaultSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$DefaultSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$DefaultSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$DefaultSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$DefaultSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$DefaultSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$DefaultSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$DefaultSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$DefaultSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$DefaultSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -11867,8 +11518,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection Fragment$ItemSection$$DefaultSection$metadata? metadata, Fragment$ItemSection$$DefaultSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$DefaultSection$metadata get metadata => CopyWith$Fragment$ItemSection$$DefaultSection$metadata.stub(_res); @@ -11892,7 +11542,8 @@ class Fragment$ItemSection$$DefaultSection$metadata }); factory Fragment$ItemSection$$DefaultSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -11911,7 +11562,8 @@ class Fragment$ItemSection$$DefaultSection$metadata page: l$page == null ? null : Fragment$ItemSection$$DefaultSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -12044,11 +11696,10 @@ class Fragment$ItemSection$$DefaultSection$metadata extension UtilityExtension$Fragment$ItemSection$$DefaultSection$metadata on Fragment$ItemSection$$DefaultSection$metadata { CopyWith$Fragment$ItemSection$$DefaultSection$metadata< - Fragment$ItemSection$$DefaultSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$DefaultSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$DefaultSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$DefaultSection$metadata { @@ -12058,8 +11709,8 @@ abstract class CopyWith$Fragment$ItemSection$$DefaultSection$metadata { ) = _CopyWithImpl$Fragment$ItemSection$$DefaultSection$metadata; factory CopyWith$Fragment$ItemSection$$DefaultSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata; TRes call({ bool? continueWatching, @@ -12098,45 +11749,48 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$DefaultSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$DefaultSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$DefaultSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -12156,8 +11810,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page get page => CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page.stub(_res); @@ -12171,7 +11824,8 @@ class Fragment$ItemSection$$DefaultSection$metadata$page }); factory Fragment$ItemSection$$DefaultSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$DefaultSection$metadata$page( @@ -12197,10 +11851,7 @@ class Fragment$ItemSection$$DefaultSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -12229,29 +11880,27 @@ class Fragment$ItemSection$$DefaultSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$DefaultSection$metadata$page on Fragment$ItemSection$$DefaultSection$metadata$page { CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page< - Fragment$ItemSection$$DefaultSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page( Fragment$ItemSection$$DefaultSection$metadata$page instance, TRes Function(Fragment$ItemSection$$DefaultSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$DefaultSection$metadata$page; factory CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$DefaultSection$metadata$page @@ -12268,33 +11917,29 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$DefaultSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata$page implements CopyWith$Fragment$ItemSection$$DefaultSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$DefaultSection$items @@ -12307,7 +11952,8 @@ class Fragment$ItemSection$$DefaultSection$items }); factory Fragment$ItemSection$$DefaultSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -12316,8 +11962,10 @@ class Fragment$ItemSection$$DefaultSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -12402,11 +12050,10 @@ class Fragment$ItemSection$$DefaultSection$items extension UtilityExtension$Fragment$ItemSection$$DefaultSection$items on Fragment$ItemSection$$DefaultSection$items { CopyWith$Fragment$ItemSection$$DefaultSection$items< - Fragment$ItemSection$$DefaultSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$DefaultSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$DefaultSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$DefaultSection$items { @@ -12425,10 +12072,11 @@ abstract class CopyWith$Fragment$ItemSection$$DefaultSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$DefaultSection$items @@ -12449,34 +12097,35 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$DefaultSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$items @@ -12490,8 +12139,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -12504,7 +12152,8 @@ class Fragment$ItemSection$$CardSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$CardSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -12512,9 +12161,11 @@ class Fragment$ItemSection$$CardSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$CardSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$CardSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -12541,11 +12192,7 @@ class Fragment$ItemSection$$CardSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -12579,10 +12226,7 @@ class Fragment$ItemSection$$CardSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$CardSection on Fragment$ItemSection$$CardSection { CopyWith$Fragment$ItemSection$$CardSection - get copyWith => CopyWith$Fragment$ItemSection$$CardSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ItemSection$$CardSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardSection { @@ -12605,10 +12249,7 @@ abstract class CopyWith$Fragment$ItemSection$$CardSection { class _CopyWithImpl$Fragment$ItemSection$$CardSection implements CopyWith$Fragment$ItemSection$$CardSection { - _CopyWithImpl$Fragment$ItemSection$$CardSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$$CardSection(this._instance, this._then); final Fragment$ItemSection$$CardSection _instance; @@ -12620,32 +12261,38 @@ class _CopyWithImpl$Fragment$ItemSection$$CardSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$CardSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$CardSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$CardSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$CardSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$CardSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$CardSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$CardSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$CardSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$CardSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$CardSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -12659,8 +12306,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardSection Fragment$ItemSection$$CardSection$metadata? metadata, Fragment$ItemSection$$CardSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$CardSection$metadata get metadata => CopyWith$Fragment$ItemSection$$CardSection$metadata.stub(_res); @@ -12684,7 +12330,8 @@ class Fragment$ItemSection$$CardSection$metadata }); factory Fragment$ItemSection$$CardSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -12703,7 +12350,8 @@ class Fragment$ItemSection$$CardSection$metadata page: l$page == null ? null : Fragment$ItemSection$$CardSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -12836,11 +12484,10 @@ class Fragment$ItemSection$$CardSection$metadata extension UtilityExtension$Fragment$ItemSection$$CardSection$metadata on Fragment$ItemSection$$CardSection$metadata { CopyWith$Fragment$ItemSection$$CardSection$metadata< - Fragment$ItemSection$$CardSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$CardSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$CardSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$CardSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardSection$metadata { @@ -12889,45 +12536,48 @@ class _CopyWithImpl$Fragment$ItemSection$$CardSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$CardSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$CardSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$CardSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$CardSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$CardSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$CardSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -12947,8 +12597,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$CardSection$metadata$page get page => CopyWith$Fragment$ItemSection$$CardSection$metadata$page.stub(_res); @@ -12962,7 +12611,8 @@ class Fragment$ItemSection$$CardSection$metadata$page }); factory Fragment$ItemSection$$CardSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$CardSection$metadata$page( @@ -12988,10 +12638,7 @@ class Fragment$ItemSection$$CardSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -13020,11 +12667,10 @@ class Fragment$ItemSection$$CardSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$CardSection$metadata$page on Fragment$ItemSection$$CardSection$metadata$page { CopyWith$Fragment$ItemSection$$CardSection$metadata$page< - Fragment$ItemSection$$CardSection$metadata$page> - get copyWith => CopyWith$Fragment$ItemSection$$CardSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$CardSection$metadata$page + > + get copyWith => + CopyWith$Fragment$ItemSection$$CardSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardSection$metadata$page { @@ -13034,13 +12680,10 @@ abstract class CopyWith$Fragment$ItemSection$$CardSection$metadata$page { ) = _CopyWithImpl$Fragment$ItemSection$$CardSection$metadata$page; factory CopyWith$Fragment$ItemSection$$CardSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$CardSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$CardSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$CardSection$metadata$page @@ -13056,18 +12699,17 @@ class _CopyWithImpl$Fragment$ItemSection$$CardSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$CardSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$CardSection$metadata$page @@ -13076,11 +12718,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$CardSection$items @@ -13093,7 +12731,8 @@ class Fragment$ItemSection$$CardSection$items }); factory Fragment$ItemSection$$CardSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -13102,8 +12741,10 @@ class Fragment$ItemSection$$CardSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -13188,11 +12829,10 @@ class Fragment$ItemSection$$CardSection$items extension UtilityExtension$Fragment$ItemSection$$CardSection$items on Fragment$ItemSection$$CardSection$items { CopyWith$Fragment$ItemSection$$CardSection$items< - Fragment$ItemSection$$CardSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$CardSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$CardSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$CardSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardSection$items { @@ -13211,10 +12851,11 @@ abstract class CopyWith$Fragment$ItemSection$$CardSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$CardSection$items @@ -13235,34 +12876,35 @@ class _CopyWithImpl$Fragment$ItemSection$$CardSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$CardSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$CardSection$items @@ -13276,8 +12918,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -13290,7 +12931,8 @@ class Fragment$ItemSection$$ListSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$ListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -13298,9 +12940,11 @@ class Fragment$ItemSection$$ListSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$ListSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$ListSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -13327,11 +12971,7 @@ class Fragment$ItemSection$$ListSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -13365,10 +13005,7 @@ class Fragment$ItemSection$$ListSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$ListSection on Fragment$ItemSection$$ListSection { CopyWith$Fragment$ItemSection$$ListSection - get copyWith => CopyWith$Fragment$ItemSection$$ListSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ItemSection$$ListSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$ListSection { @@ -13391,10 +13028,7 @@ abstract class CopyWith$Fragment$ItemSection$$ListSection { class _CopyWithImpl$Fragment$ItemSection$$ListSection implements CopyWith$Fragment$ItemSection$$ListSection { - _CopyWithImpl$Fragment$ItemSection$$ListSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$$ListSection(this._instance, this._then); final Fragment$ItemSection$$ListSection _instance; @@ -13406,32 +13040,38 @@ class _CopyWithImpl$Fragment$ItemSection$$ListSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$ListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$ListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$ListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$ListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$ListSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$ListSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$ListSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$ListSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$ListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$ListSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$ListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -13445,8 +13085,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$ListSection Fragment$ItemSection$$ListSection$metadata? metadata, Fragment$ItemSection$$ListSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$ListSection$metadata get metadata => CopyWith$Fragment$ItemSection$$ListSection$metadata.stub(_res); @@ -13470,7 +13109,8 @@ class Fragment$ItemSection$$ListSection$metadata }); factory Fragment$ItemSection$$ListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -13489,7 +13129,8 @@ class Fragment$ItemSection$$ListSection$metadata page: l$page == null ? null : Fragment$ItemSection$$ListSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -13622,11 +13263,10 @@ class Fragment$ItemSection$$ListSection$metadata extension UtilityExtension$Fragment$ItemSection$$ListSection$metadata on Fragment$ItemSection$$ListSection$metadata { CopyWith$Fragment$ItemSection$$ListSection$metadata< - Fragment$ItemSection$$ListSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$ListSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$ListSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$ListSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$ListSection$metadata { @@ -13675,45 +13315,48 @@ class _CopyWithImpl$Fragment$ItemSection$$ListSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$ListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$ListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$ListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$ListSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$ListSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$ListSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$ListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -13733,8 +13376,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$ListSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$ListSection$metadata$page get page => CopyWith$Fragment$ItemSection$$ListSection$metadata$page.stub(_res); @@ -13748,7 +13390,8 @@ class Fragment$ItemSection$$ListSection$metadata$page }); factory Fragment$ItemSection$$ListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$ListSection$metadata$page( @@ -13774,10 +13417,7 @@ class Fragment$ItemSection$$ListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -13806,11 +13446,10 @@ class Fragment$ItemSection$$ListSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$ListSection$metadata$page on Fragment$ItemSection$$ListSection$metadata$page { CopyWith$Fragment$ItemSection$$ListSection$metadata$page< - Fragment$ItemSection$$ListSection$metadata$page> - get copyWith => CopyWith$Fragment$ItemSection$$ListSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$ListSection$metadata$page + > + get copyWith => + CopyWith$Fragment$ItemSection$$ListSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$ListSection$metadata$page { @@ -13820,13 +13459,10 @@ abstract class CopyWith$Fragment$ItemSection$$ListSection$metadata$page { ) = _CopyWithImpl$Fragment$ItemSection$$ListSection$metadata$page; factory CopyWith$Fragment$ItemSection$$ListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$ListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$ListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$ListSection$metadata$page @@ -13842,18 +13478,17 @@ class _CopyWithImpl$Fragment$ItemSection$$ListSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$ListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$ListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$ListSection$metadata$page @@ -13862,11 +13497,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$ListSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$ListSection$items @@ -13879,7 +13510,8 @@ class Fragment$ItemSection$$ListSection$items }); factory Fragment$ItemSection$$ListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -13888,8 +13520,10 @@ class Fragment$ItemSection$$ListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -13974,11 +13608,10 @@ class Fragment$ItemSection$$ListSection$items extension UtilityExtension$Fragment$ItemSection$$ListSection$items on Fragment$ItemSection$$ListSection$items { CopyWith$Fragment$ItemSection$$ListSection$items< - Fragment$ItemSection$$ListSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$ListSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$ListSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$ListSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$ListSection$items { @@ -13997,10 +13630,11 @@ abstract class CopyWith$Fragment$ItemSection$$ListSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$ListSection$items @@ -14021,34 +13655,35 @@ class _CopyWithImpl$Fragment$ItemSection$$ListSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$ListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$ListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$ListSection$items @@ -14062,8 +13697,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$ListSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -14076,7 +13710,8 @@ class Fragment$ItemSection$$CardListSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$CardListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -14084,9 +13719,11 @@ class Fragment$ItemSection$$CardListSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$CardListSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$CardListSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -14113,11 +13750,7 @@ class Fragment$ItemSection$$CardListSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -14151,11 +13784,10 @@ class Fragment$ItemSection$$CardListSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$CardListSection on Fragment$ItemSection$$CardListSection { CopyWith$Fragment$ItemSection$$CardListSection< - Fragment$ItemSection$$CardListSection> - get copyWith => CopyWith$Fragment$ItemSection$$CardListSection( - this, - (i) => i, - ); + Fragment$ItemSection$$CardListSection + > + get copyWith => + CopyWith$Fragment$ItemSection$$CardListSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardListSection { @@ -14193,32 +13825,38 @@ class _CopyWithImpl$Fragment$ItemSection$$CardListSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$CardListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$CardListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$CardListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$CardListSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$CardListSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$CardListSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$CardListSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$CardListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$CardListSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$CardListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -14232,8 +13870,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardListSection Fragment$ItemSection$$CardListSection$metadata? metadata, Fragment$ItemSection$$CardListSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$CardListSection$metadata get metadata => CopyWith$Fragment$ItemSection$$CardListSection$metadata.stub(_res); @@ -14257,7 +13894,8 @@ class Fragment$ItemSection$$CardListSection$metadata }); factory Fragment$ItemSection$$CardListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -14276,7 +13914,8 @@ class Fragment$ItemSection$$CardListSection$metadata page: l$page == null ? null : Fragment$ItemSection$$CardListSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -14409,11 +14048,10 @@ class Fragment$ItemSection$$CardListSection$metadata extension UtilityExtension$Fragment$ItemSection$$CardListSection$metadata on Fragment$ItemSection$$CardListSection$metadata { CopyWith$Fragment$ItemSection$$CardListSection$metadata< - Fragment$ItemSection$$CardListSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$CardListSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$CardListSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$CardListSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardListSection$metadata { @@ -14423,8 +14061,8 @@ abstract class CopyWith$Fragment$ItemSection$$CardListSection$metadata { ) = _CopyWithImpl$Fragment$ItemSection$$CardListSection$metadata; factory CopyWith$Fragment$ItemSection$$CardListSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata; TRes call({ bool? continueWatching, @@ -14463,45 +14101,48 @@ class _CopyWithImpl$Fragment$ItemSection$$CardListSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$CardListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$CardListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$CardListSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$CardListSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$CardListSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$CardListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -14521,8 +14162,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$CardListSection$metadata$page get page => CopyWith$Fragment$ItemSection$$CardListSection$metadata$page.stub(_res); @@ -14536,7 +14176,8 @@ class Fragment$ItemSection$$CardListSection$metadata$page }); factory Fragment$ItemSection$$CardListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$CardListSection$metadata$page( @@ -14562,10 +14203,7 @@ class Fragment$ItemSection$$CardListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -14594,29 +14232,27 @@ class Fragment$ItemSection$$CardListSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$CardListSection$metadata$page on Fragment$ItemSection$$CardListSection$metadata$page { CopyWith$Fragment$ItemSection$$CardListSection$metadata$page< - Fragment$ItemSection$$CardListSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$CardListSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$CardListSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$$CardListSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$CardListSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$CardListSection$metadata$page( Fragment$ItemSection$$CardListSection$metadata$page instance, TRes Function(Fragment$ItemSection$$CardListSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$CardListSection$metadata$page; factory CopyWith$Fragment$ItemSection$$CardListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$CardListSection$metadata$page @@ -14630,38 +14266,35 @@ class _CopyWithImpl$Fragment$ItemSection$$CardListSection$metadata$page final Fragment$ItemSection$$CardListSection$metadata$page _instance; final TRes Function(Fragment$ItemSection$$CardListSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$CardListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Fragment$ItemSection$$CardListSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$CardListSection$items @@ -14674,7 +14307,8 @@ class Fragment$ItemSection$$CardListSection$items }); factory Fragment$ItemSection$$CardListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -14683,8 +14317,10 @@ class Fragment$ItemSection$$CardListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -14769,11 +14405,10 @@ class Fragment$ItemSection$$CardListSection$items extension UtilityExtension$Fragment$ItemSection$$CardListSection$items on Fragment$ItemSection$$CardListSection$items { CopyWith$Fragment$ItemSection$$CardListSection$items< - Fragment$ItemSection$$CardListSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$CardListSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$CardListSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$CardListSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$CardListSection$items { @@ -14792,10 +14427,11 @@ abstract class CopyWith$Fragment$ItemSection$$CardListSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$CardListSection$items @@ -14816,34 +14452,35 @@ class _CopyWithImpl$Fragment$ItemSection$$CardListSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$CardListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$CardListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$items @@ -14857,8 +14494,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$CardListSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -14871,7 +14507,8 @@ class Fragment$ItemSection$$DefaultGridSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$DefaultGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -14879,9 +14516,11 @@ class Fragment$ItemSection$$DefaultGridSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$DefaultGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$DefaultGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -14908,11 +14547,7 @@ class Fragment$ItemSection$$DefaultGridSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -14946,11 +14581,10 @@ class Fragment$ItemSection$$DefaultGridSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$DefaultGridSection on Fragment$ItemSection$$DefaultGridSection { CopyWith$Fragment$ItemSection$$DefaultGridSection< - Fragment$ItemSection$$DefaultGridSection> - get copyWith => CopyWith$Fragment$ItemSection$$DefaultGridSection( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultGridSection + > + get copyWith => + CopyWith$Fragment$ItemSection$$DefaultGridSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection { @@ -14988,33 +14622,39 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$DefaultGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$DefaultGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$DefaultGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$DefaultGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$DefaultGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$DefaultGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$DefaultGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -15028,12 +14668,11 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection Fragment$ItemSection$$DefaultGridSection$metadata? metadata, Fragment$ItemSection$$DefaultGridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata - get metadata => - CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata.stub(_res); + get metadata => + CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata.stub(_res); CopyWith$Fragment$ItemSection$$DefaultGridSection$items get items => CopyWith$Fragment$ItemSection$$DefaultGridSection$items.stub(_res); @@ -15054,7 +14693,8 @@ class Fragment$ItemSection$$DefaultGridSection$metadata }); factory Fragment$ItemSection$$DefaultGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -15073,7 +14713,8 @@ class Fragment$ItemSection$$DefaultGridSection$metadata page: l$page == null ? null : Fragment$ItemSection$$DefaultGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -15206,24 +14847,25 @@ class Fragment$ItemSection$$DefaultGridSection$metadata extension UtilityExtension$Fragment$ItemSection$$DefaultGridSection$metadata on Fragment$ItemSection$$DefaultGridSection$metadata { CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata< - Fragment$ItemSection$$DefaultGridSection$metadata> - get copyWith => - CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultGridSection$metadata + > + get copyWith => CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata( Fragment$ItemSection$$DefaultGridSection$metadata instance, TRes Function(Fragment$ItemSection$$DefaultGridSection$metadata) then, ) = _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$metadata; factory CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata; TRes call({ bool? continueWatching, @@ -15237,7 +14879,7 @@ abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata< String? $__typename, }); CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page - get page; + get page; } class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$metadata @@ -15264,46 +14906,49 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$DefaultGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$DefaultGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$DefaultGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -15311,7 +14956,8 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata implements CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata { _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -15325,13 +14971,13 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page - get page => - CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page.stub( - _res); + get page => + CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page.stub( + _res, + ); } class Fragment$ItemSection$$DefaultGridSection$metadata$page @@ -15342,7 +14988,8 @@ class Fragment$ItemSection$$DefaultGridSection$metadata$page }); factory Fragment$ItemSection$$DefaultGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$DefaultGridSection$metadata$page( @@ -15368,10 +15015,7 @@ class Fragment$ItemSection$$DefaultGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -15400,29 +15044,28 @@ class Fragment$ItemSection$$DefaultGridSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$DefaultGridSection$metadata$page on Fragment$ItemSection$$DefaultGridSection$metadata$page { CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page< - Fragment$ItemSection$$DefaultGridSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultGridSection$metadata$page + > + get copyWith => + CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page( Fragment$ItemSection$$DefaultGridSection$metadata$page instance, TRes Function(Fragment$ItemSection$$DefaultGridSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page; factory CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page @@ -15436,38 +15079,35 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page final Fragment$ItemSection$$DefaultGridSection$metadata$page _instance; final TRes Function(Fragment$ItemSection$$DefaultGridSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$DefaultGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Fragment$ItemSection$$DefaultGridSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$DefaultGridSection$items @@ -15480,7 +15120,8 @@ class Fragment$ItemSection$$DefaultGridSection$items }); factory Fragment$ItemSection$$DefaultGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -15489,8 +15130,10 @@ class Fragment$ItemSection$$DefaultGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -15575,11 +15218,10 @@ class Fragment$ItemSection$$DefaultGridSection$items extension UtilityExtension$Fragment$ItemSection$$DefaultGridSection$items on Fragment$ItemSection$$DefaultGridSection$items { CopyWith$Fragment$ItemSection$$DefaultGridSection$items< - Fragment$ItemSection$$DefaultGridSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$DefaultGridSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$DefaultGridSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$DefaultGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection$items { @@ -15589,8 +15231,8 @@ abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection$items { ) = _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$items; factory CopyWith$Fragment$ItemSection$$DefaultGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$items; TRes call({ int? offset, @@ -15599,10 +15241,11 @@ abstract class CopyWith$Fragment$ItemSection$$DefaultGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$items @@ -15623,34 +15266,35 @@ class _CopyWithImpl$Fragment$ItemSection$$DefaultGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$DefaultGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$DefaultGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$items @@ -15664,8 +15308,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$DefaultGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -15678,7 +15321,8 @@ class Fragment$ItemSection$$PosterGridSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$PosterGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -15686,9 +15330,11 @@ class Fragment$ItemSection$$PosterGridSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$PosterGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$PosterGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -15715,11 +15361,7 @@ class Fragment$ItemSection$$PosterGridSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -15753,11 +15395,10 @@ class Fragment$ItemSection$$PosterGridSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$PosterGridSection on Fragment$ItemSection$$PosterGridSection { CopyWith$Fragment$ItemSection$$PosterGridSection< - Fragment$ItemSection$$PosterGridSection> - get copyWith => CopyWith$Fragment$ItemSection$$PosterGridSection( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterGridSection + > + get copyWith => + CopyWith$Fragment$ItemSection$$PosterGridSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$PosterGridSection { @@ -15795,32 +15436,38 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterGridSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$PosterGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$PosterGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$PosterGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$PosterGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$PosterGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$PosterGridSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$PosterGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$PosterGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$PosterGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$PosterGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -15834,12 +15481,11 @@ class _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection Fragment$ItemSection$$PosterGridSection$metadata? metadata, Fragment$ItemSection$$PosterGridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$PosterGridSection$metadata - get metadata => - CopyWith$Fragment$ItemSection$$PosterGridSection$metadata.stub(_res); + get metadata => + CopyWith$Fragment$ItemSection$$PosterGridSection$metadata.stub(_res); CopyWith$Fragment$ItemSection$$PosterGridSection$items get items => CopyWith$Fragment$ItemSection$$PosterGridSection$items.stub(_res); @@ -15860,7 +15506,8 @@ class Fragment$ItemSection$$PosterGridSection$metadata }); factory Fragment$ItemSection$$PosterGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -15879,7 +15526,8 @@ class Fragment$ItemSection$$PosterGridSection$metadata page: l$page == null ? null : Fragment$ItemSection$$PosterGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -16012,11 +15660,10 @@ class Fragment$ItemSection$$PosterGridSection$metadata extension UtilityExtension$Fragment$ItemSection$$PosterGridSection$metadata on Fragment$ItemSection$$PosterGridSection$metadata { CopyWith$Fragment$ItemSection$$PosterGridSection$metadata< - Fragment$ItemSection$$PosterGridSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$PosterGridSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterGridSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$PosterGridSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$PosterGridSection$metadata { @@ -16026,8 +15673,8 @@ abstract class CopyWith$Fragment$ItemSection$$PosterGridSection$metadata { ) = _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$metadata; factory CopyWith$Fragment$ItemSection$$PosterGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata; TRes call({ bool? continueWatching, @@ -16066,46 +15713,49 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$PosterGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$PosterGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$PosterGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -16125,13 +15775,11 @@ class _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page - get page => - CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page.stub( - _res); + get page => + CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page.stub(_res); } class Fragment$ItemSection$$PosterGridSection$metadata$page @@ -16142,7 +15790,8 @@ class Fragment$ItemSection$$PosterGridSection$metadata$page }); factory Fragment$ItemSection$$PosterGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$PosterGridSection$metadata$page( @@ -16168,10 +15817,7 @@ class Fragment$ItemSection$$PosterGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -16200,29 +15846,28 @@ class Fragment$ItemSection$$PosterGridSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$PosterGridSection$metadata$page on Fragment$ItemSection$$PosterGridSection$metadata$page { CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page< - Fragment$ItemSection$$PosterGridSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterGridSection$metadata$page + > + get copyWith => + CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page( Fragment$ItemSection$$PosterGridSection$metadata$page instance, TRes Function(Fragment$ItemSection$$PosterGridSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$metadata$page; factory CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$metadata$page @@ -16236,38 +15881,35 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$metadata$page final Fragment$ItemSection$$PosterGridSection$metadata$page _instance; final TRes Function(Fragment$ItemSection$$PosterGridSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$PosterGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Fragment$ItemSection$$PosterGridSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$PosterGridSection$items @@ -16280,7 +15922,8 @@ class Fragment$ItemSection$$PosterGridSection$items }); factory Fragment$ItemSection$$PosterGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -16289,8 +15932,10 @@ class Fragment$ItemSection$$PosterGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -16375,11 +16020,10 @@ class Fragment$ItemSection$$PosterGridSection$items extension UtilityExtension$Fragment$ItemSection$$PosterGridSection$items on Fragment$ItemSection$$PosterGridSection$items { CopyWith$Fragment$ItemSection$$PosterGridSection$items< - Fragment$ItemSection$$PosterGridSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$PosterGridSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$PosterGridSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$PosterGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$PosterGridSection$items { @@ -16389,8 +16033,8 @@ abstract class CopyWith$Fragment$ItemSection$$PosterGridSection$items { ) = _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$items; factory CopyWith$Fragment$ItemSection$$PosterGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$items; TRes call({ int? offset, @@ -16399,10 +16043,11 @@ abstract class CopyWith$Fragment$ItemSection$$PosterGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$items @@ -16423,34 +16068,35 @@ class _CopyWithImpl$Fragment$ItemSection$$PosterGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$PosterGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$PosterGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$items @@ -16464,8 +16110,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$PosterGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -16478,7 +16123,8 @@ class Fragment$ItemSection$$IconGridSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$IconGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -16486,9 +16132,11 @@ class Fragment$ItemSection$$IconGridSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$IconGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$IconGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -16515,11 +16163,7 @@ class Fragment$ItemSection$$IconGridSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -16553,11 +16197,10 @@ class Fragment$ItemSection$$IconGridSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$IconGridSection on Fragment$ItemSection$$IconGridSection { CopyWith$Fragment$ItemSection$$IconGridSection< - Fragment$ItemSection$$IconGridSection> - get copyWith => CopyWith$Fragment$ItemSection$$IconGridSection( - this, - (i) => i, - ); + Fragment$ItemSection$$IconGridSection + > + get copyWith => + CopyWith$Fragment$ItemSection$$IconGridSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconGridSection { @@ -16595,32 +16238,38 @@ class _CopyWithImpl$Fragment$ItemSection$$IconGridSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$IconGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$IconGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$IconGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$IconGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$IconGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$IconGridSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$IconGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$IconGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$IconGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$IconGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -16634,8 +16283,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection Fragment$ItemSection$$IconGridSection$metadata? metadata, Fragment$ItemSection$$IconGridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$IconGridSection$metadata get metadata => CopyWith$Fragment$ItemSection$$IconGridSection$metadata.stub(_res); @@ -16659,7 +16307,8 @@ class Fragment$ItemSection$$IconGridSection$metadata }); factory Fragment$ItemSection$$IconGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -16678,7 +16327,8 @@ class Fragment$ItemSection$$IconGridSection$metadata page: l$page == null ? null : Fragment$ItemSection$$IconGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -16811,11 +16461,10 @@ class Fragment$ItemSection$$IconGridSection$metadata extension UtilityExtension$Fragment$ItemSection$$IconGridSection$metadata on Fragment$ItemSection$$IconGridSection$metadata { CopyWith$Fragment$ItemSection$$IconGridSection$metadata< - Fragment$ItemSection$$IconGridSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$IconGridSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$IconGridSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$IconGridSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconGridSection$metadata { @@ -16825,8 +16474,8 @@ abstract class CopyWith$Fragment$ItemSection$$IconGridSection$metadata { ) = _CopyWithImpl$Fragment$ItemSection$$IconGridSection$metadata; factory CopyWith$Fragment$ItemSection$$IconGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata; TRes call({ bool? continueWatching, @@ -16865,45 +16514,48 @@ class _CopyWithImpl$Fragment$ItemSection$$IconGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$IconGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$IconGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$IconGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -16923,8 +16575,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page get page => CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page.stub(_res); @@ -16938,7 +16589,8 @@ class Fragment$ItemSection$$IconGridSection$metadata$page }); factory Fragment$ItemSection$$IconGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$IconGridSection$metadata$page( @@ -16964,10 +16616,7 @@ class Fragment$ItemSection$$IconGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -16996,29 +16645,27 @@ class Fragment$ItemSection$$IconGridSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$IconGridSection$metadata$page on Fragment$ItemSection$$IconGridSection$metadata$page { CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page< - Fragment$ItemSection$$IconGridSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$IconGridSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page( Fragment$ItemSection$$IconGridSection$metadata$page instance, TRes Function(Fragment$ItemSection$$IconGridSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$IconGridSection$metadata$page; factory CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$IconGridSection$metadata$page @@ -17032,38 +16679,35 @@ class _CopyWithImpl$Fragment$ItemSection$$IconGridSection$metadata$page final Fragment$ItemSection$$IconGridSection$metadata$page _instance; final TRes Function(Fragment$ItemSection$$IconGridSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$IconGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Fragment$ItemSection$$IconGridSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$IconGridSection$items @@ -17076,7 +16720,8 @@ class Fragment$ItemSection$$IconGridSection$items }); factory Fragment$ItemSection$$IconGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -17085,8 +16730,10 @@ class Fragment$ItemSection$$IconGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -17171,11 +16818,10 @@ class Fragment$ItemSection$$IconGridSection$items extension UtilityExtension$Fragment$ItemSection$$IconGridSection$items on Fragment$ItemSection$$IconGridSection$items { CopyWith$Fragment$ItemSection$$IconGridSection$items< - Fragment$ItemSection$$IconGridSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$IconGridSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$IconGridSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$IconGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconGridSection$items { @@ -17194,10 +16840,11 @@ abstract class CopyWith$Fragment$ItemSection$$IconGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$IconGridSection$items @@ -17218,34 +16865,35 @@ class _CopyWithImpl$Fragment$ItemSection$$IconGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$IconGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$items @@ -17259,8 +16907,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -17273,7 +16920,8 @@ class Fragment$ItemSection$$IconSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$IconSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -17281,9 +16929,11 @@ class Fragment$ItemSection$$IconSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$IconSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$IconSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -17310,11 +16960,7 @@ class Fragment$ItemSection$$IconSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -17348,10 +16994,7 @@ class Fragment$ItemSection$$IconSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$IconSection on Fragment$ItemSection$$IconSection { CopyWith$Fragment$ItemSection$$IconSection - get copyWith => CopyWith$Fragment$ItemSection$$IconSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ItemSection$$IconSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconSection { @@ -17374,10 +17017,7 @@ abstract class CopyWith$Fragment$ItemSection$$IconSection { class _CopyWithImpl$Fragment$ItemSection$$IconSection implements CopyWith$Fragment$ItemSection$$IconSection { - _CopyWithImpl$Fragment$ItemSection$$IconSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$$IconSection(this._instance, this._then); final Fragment$ItemSection$$IconSection _instance; @@ -17389,32 +17029,38 @@ class _CopyWithImpl$Fragment$ItemSection$$IconSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$IconSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$IconSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$IconSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$IconSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$IconSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$IconSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$IconSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$IconSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$IconSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$IconSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -17428,8 +17074,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconSection Fragment$ItemSection$$IconSection$metadata? metadata, Fragment$ItemSection$$IconSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$IconSection$metadata get metadata => CopyWith$Fragment$ItemSection$$IconSection$metadata.stub(_res); @@ -17453,7 +17098,8 @@ class Fragment$ItemSection$$IconSection$metadata }); factory Fragment$ItemSection$$IconSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -17472,7 +17118,8 @@ class Fragment$ItemSection$$IconSection$metadata page: l$page == null ? null : Fragment$ItemSection$$IconSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -17605,11 +17252,10 @@ class Fragment$ItemSection$$IconSection$metadata extension UtilityExtension$Fragment$ItemSection$$IconSection$metadata on Fragment$ItemSection$$IconSection$metadata { CopyWith$Fragment$ItemSection$$IconSection$metadata< - Fragment$ItemSection$$IconSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$IconSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$IconSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$IconSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconSection$metadata { @@ -17658,45 +17304,48 @@ class _CopyWithImpl$Fragment$ItemSection$$IconSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$IconSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$IconSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$IconSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$IconSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$IconSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$IconSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -17716,8 +17365,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$IconSection$metadata$page get page => CopyWith$Fragment$ItemSection$$IconSection$metadata$page.stub(_res); @@ -17731,7 +17379,8 @@ class Fragment$ItemSection$$IconSection$metadata$page }); factory Fragment$ItemSection$$IconSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$IconSection$metadata$page( @@ -17757,10 +17406,7 @@ class Fragment$ItemSection$$IconSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -17789,11 +17435,10 @@ class Fragment$ItemSection$$IconSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$IconSection$metadata$page on Fragment$ItemSection$$IconSection$metadata$page { CopyWith$Fragment$ItemSection$$IconSection$metadata$page< - Fragment$ItemSection$$IconSection$metadata$page> - get copyWith => CopyWith$Fragment$ItemSection$$IconSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$IconSection$metadata$page + > + get copyWith => + CopyWith$Fragment$ItemSection$$IconSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconSection$metadata$page { @@ -17803,13 +17448,10 @@ abstract class CopyWith$Fragment$ItemSection$$IconSection$metadata$page { ) = _CopyWithImpl$Fragment$ItemSection$$IconSection$metadata$page; factory CopyWith$Fragment$ItemSection$$IconSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$IconSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$IconSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$IconSection$metadata$page @@ -17825,18 +17467,17 @@ class _CopyWithImpl$Fragment$ItemSection$$IconSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$IconSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$IconSection$metadata$page @@ -17845,11 +17486,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$IconSection$items @@ -17862,7 +17499,8 @@ class Fragment$ItemSection$$IconSection$items }); factory Fragment$ItemSection$$IconSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -17871,8 +17509,10 @@ class Fragment$ItemSection$$IconSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -17957,11 +17597,10 @@ class Fragment$ItemSection$$IconSection$items extension UtilityExtension$Fragment$ItemSection$$IconSection$items on Fragment$ItemSection$$IconSection$items { CopyWith$Fragment$ItemSection$$IconSection$items< - Fragment$ItemSection$$IconSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$IconSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$IconSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$IconSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$IconSection$items { @@ -17980,10 +17619,11 @@ abstract class CopyWith$Fragment$ItemSection$$IconSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$IconSection$items @@ -18004,34 +17644,35 @@ class _CopyWithImpl$Fragment$ItemSection$$IconSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$IconSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$IconSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$IconSection$items @@ -18045,8 +17686,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$IconSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -18059,7 +17699,8 @@ class Fragment$ItemSection$$LabelSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$LabelSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -18067,9 +17708,11 @@ class Fragment$ItemSection$$LabelSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$LabelSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$LabelSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -18096,11 +17739,7 @@ class Fragment$ItemSection$$LabelSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -18134,11 +17773,9 @@ class Fragment$ItemSection$$LabelSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$LabelSection on Fragment$ItemSection$$LabelSection { CopyWith$Fragment$ItemSection$$LabelSection< - Fragment$ItemSection$$LabelSection> - get copyWith => CopyWith$Fragment$ItemSection$$LabelSection( - this, - (i) => i, - ); + Fragment$ItemSection$$LabelSection + > + get copyWith => CopyWith$Fragment$ItemSection$$LabelSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$LabelSection { @@ -18161,10 +17798,7 @@ abstract class CopyWith$Fragment$ItemSection$$LabelSection { class _CopyWithImpl$Fragment$ItemSection$$LabelSection implements CopyWith$Fragment$ItemSection$$LabelSection { - _CopyWithImpl$Fragment$ItemSection$$LabelSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$$LabelSection(this._instance, this._then); final Fragment$ItemSection$$LabelSection _instance; @@ -18176,32 +17810,38 @@ class _CopyWithImpl$Fragment$ItemSection$$LabelSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$LabelSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$LabelSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$LabelSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$LabelSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$LabelSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$LabelSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$LabelSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$LabelSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$LabelSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$LabelSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$LabelSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -18215,8 +17855,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$LabelSection Fragment$ItemSection$$LabelSection$metadata? metadata, Fragment$ItemSection$$LabelSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$LabelSection$metadata get metadata => CopyWith$Fragment$ItemSection$$LabelSection$metadata.stub(_res); @@ -18240,7 +17879,8 @@ class Fragment$ItemSection$$LabelSection$metadata }); factory Fragment$ItemSection$$LabelSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -18259,7 +17899,8 @@ class Fragment$ItemSection$$LabelSection$metadata page: l$page == null ? null : Fragment$ItemSection$$LabelSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -18392,11 +18033,10 @@ class Fragment$ItemSection$$LabelSection$metadata extension UtilityExtension$Fragment$ItemSection$$LabelSection$metadata on Fragment$ItemSection$$LabelSection$metadata { CopyWith$Fragment$ItemSection$$LabelSection$metadata< - Fragment$ItemSection$$LabelSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$LabelSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$LabelSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$LabelSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$LabelSection$metadata { @@ -18445,45 +18085,48 @@ class _CopyWithImpl$Fragment$ItemSection$$LabelSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$LabelSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$LabelSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$LabelSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$LabelSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$LabelSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$LabelSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$LabelSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -18503,8 +18146,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$LabelSection$metadata$page get page => CopyWith$Fragment$ItemSection$$LabelSection$metadata$page.stub(_res); @@ -18518,7 +18160,8 @@ class Fragment$ItemSection$$LabelSection$metadata$page }); factory Fragment$ItemSection$$LabelSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$LabelSection$metadata$page( @@ -18544,10 +18187,7 @@ class Fragment$ItemSection$$LabelSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -18576,11 +18216,10 @@ class Fragment$ItemSection$$LabelSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$LabelSection$metadata$page on Fragment$ItemSection$$LabelSection$metadata$page { CopyWith$Fragment$ItemSection$$LabelSection$metadata$page< - Fragment$ItemSection$$LabelSection$metadata$page> - get copyWith => CopyWith$Fragment$ItemSection$$LabelSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$LabelSection$metadata$page + > + get copyWith => + CopyWith$Fragment$ItemSection$$LabelSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$LabelSection$metadata$page { @@ -18590,13 +18229,10 @@ abstract class CopyWith$Fragment$ItemSection$$LabelSection$metadata$page { ) = _CopyWithImpl$Fragment$ItemSection$$LabelSection$metadata$page; factory CopyWith$Fragment$ItemSection$$LabelSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$LabelSection$metadata$page @@ -18612,18 +18248,17 @@ class _CopyWithImpl$Fragment$ItemSection$$LabelSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$LabelSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$LabelSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$metadata$page @@ -18632,11 +18267,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$LabelSection$items @@ -18649,7 +18280,8 @@ class Fragment$ItemSection$$LabelSection$items }); factory Fragment$ItemSection$$LabelSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -18658,8 +18290,10 @@ class Fragment$ItemSection$$LabelSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -18744,11 +18378,10 @@ class Fragment$ItemSection$$LabelSection$items extension UtilityExtension$Fragment$ItemSection$$LabelSection$items on Fragment$ItemSection$$LabelSection$items { CopyWith$Fragment$ItemSection$$LabelSection$items< - Fragment$ItemSection$$LabelSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$LabelSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$LabelSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$LabelSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$LabelSection$items { @@ -18767,10 +18400,11 @@ abstract class CopyWith$Fragment$ItemSection$$LabelSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$LabelSection$items @@ -18791,34 +18425,35 @@ class _CopyWithImpl$Fragment$ItemSection$$LabelSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$LabelSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$LabelSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$items @@ -18832,8 +18467,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$LabelSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -18846,7 +18480,8 @@ class Fragment$ItemSection$$AvatarSection implements Fragment$ItemSection { }); factory Fragment$ItemSection$$AvatarSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -18854,9 +18489,11 @@ class Fragment$ItemSection$$AvatarSection implements Fragment$ItemSection { metadata: l$metadata == null ? null : Fragment$ItemSection$$AvatarSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$ItemSection$$AvatarSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -18883,11 +18520,7 @@ class Fragment$ItemSection$$AvatarSection implements Fragment$ItemSection { final l$metadata = metadata; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$metadata, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$metadata, l$items, l$$__typename]); } @override @@ -18921,11 +18554,9 @@ class Fragment$ItemSection$$AvatarSection implements Fragment$ItemSection { extension UtilityExtension$Fragment$ItemSection$$AvatarSection on Fragment$ItemSection$$AvatarSection { CopyWith$Fragment$ItemSection$$AvatarSection< - Fragment$ItemSection$$AvatarSection> - get copyWith => CopyWith$Fragment$ItemSection$$AvatarSection( - this, - (i) => i, - ); + Fragment$ItemSection$$AvatarSection + > + get copyWith => CopyWith$Fragment$ItemSection$$AvatarSection(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$AvatarSection { @@ -18948,10 +18579,7 @@ abstract class CopyWith$Fragment$ItemSection$$AvatarSection { class _CopyWithImpl$Fragment$ItemSection$$AvatarSection implements CopyWith$Fragment$ItemSection$$AvatarSection { - _CopyWithImpl$Fragment$ItemSection$$AvatarSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ItemSection$$AvatarSection(this._instance, this._then); final Fragment$ItemSection$$AvatarSection _instance; @@ -18963,32 +18591,38 @@ class _CopyWithImpl$Fragment$ItemSection$$AvatarSection Object? metadata = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$AvatarSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$ItemSection$$AvatarSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$ItemSection$$AvatarSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$AvatarSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$ItemSection$$AvatarSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$ItemSection$$AvatarSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$AvatarSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$ItemSection$$AvatarSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$AvatarSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$ItemSection$$AvatarSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$ItemSection$$AvatarSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -19002,8 +18636,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection Fragment$ItemSection$$AvatarSection$metadata? metadata, Fragment$ItemSection$$AvatarSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$AvatarSection$metadata get metadata => CopyWith$Fragment$ItemSection$$AvatarSection$metadata.stub(_res); @@ -19027,7 +18660,8 @@ class Fragment$ItemSection$$AvatarSection$metadata }); factory Fragment$ItemSection$$AvatarSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -19046,7 +18680,8 @@ class Fragment$ItemSection$$AvatarSection$metadata page: l$page == null ? null : Fragment$ItemSection$$AvatarSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -19179,11 +18814,10 @@ class Fragment$ItemSection$$AvatarSection$metadata extension UtilityExtension$Fragment$ItemSection$$AvatarSection$metadata on Fragment$ItemSection$$AvatarSection$metadata { CopyWith$Fragment$ItemSection$$AvatarSection$metadata< - Fragment$ItemSection$$AvatarSection$metadata> - get copyWith => CopyWith$Fragment$ItemSection$$AvatarSection$metadata( - this, - (i) => i, - ); + Fragment$ItemSection$$AvatarSection$metadata + > + get copyWith => + CopyWith$Fragment$ItemSection$$AvatarSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$AvatarSection$metadata { @@ -19232,45 +18866,48 @@ class _CopyWithImpl$Fragment$ItemSection$$AvatarSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$AvatarSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$ItemSection$$AvatarSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$AvatarSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$ItemSection$$AvatarSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -19290,8 +18927,7 @@ class _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page get page => CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page.stub(_res); @@ -19305,7 +18941,8 @@ class Fragment$ItemSection$$AvatarSection$metadata$page }); factory Fragment$ItemSection$$AvatarSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$ItemSection$$AvatarSection$metadata$page( @@ -19331,10 +18968,7 @@ class Fragment$ItemSection$$AvatarSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -19363,29 +18997,27 @@ class Fragment$ItemSection$$AvatarSection$metadata$page extension UtilityExtension$Fragment$ItemSection$$AvatarSection$metadata$page on Fragment$ItemSection$$AvatarSection$metadata$page { CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page< - Fragment$ItemSection$$AvatarSection$metadata$page> - get copyWith => - CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page( - this, - (i) => i, - ); + Fragment$ItemSection$$AvatarSection$metadata$page + > + get copyWith => CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page( Fragment$ItemSection$$AvatarSection$metadata$page instance, TRes Function(Fragment$ItemSection$$AvatarSection$metadata$page) then, ) = _CopyWithImpl$Fragment$ItemSection$$AvatarSection$metadata$page; factory CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$ItemSection$$AvatarSection$metadata$page @@ -19402,33 +19034,29 @@ class _CopyWithImpl$Fragment$ItemSection$$AvatarSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$AvatarSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ItemSection$$AvatarSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$metadata$page implements CopyWith$Fragment$ItemSection$$AvatarSection$metadata$page { _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$ItemSection$$AvatarSection$items @@ -19441,7 +19069,8 @@ class Fragment$ItemSection$$AvatarSection$items }); factory Fragment$ItemSection$$AvatarSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -19450,8 +19079,10 @@ class Fragment$ItemSection$$AvatarSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -19536,11 +19167,10 @@ class Fragment$ItemSection$$AvatarSection$items extension UtilityExtension$Fragment$ItemSection$$AvatarSection$items on Fragment$ItemSection$$AvatarSection$items { CopyWith$Fragment$ItemSection$$AvatarSection$items< - Fragment$ItemSection$$AvatarSection$items> - get copyWith => CopyWith$Fragment$ItemSection$$AvatarSection$items( - this, - (i) => i, - ); + Fragment$ItemSection$$AvatarSection$items + > + get copyWith => + CopyWith$Fragment$ItemSection$$AvatarSection$items(this, (i) => i); } abstract class CopyWith$Fragment$ItemSection$$AvatarSection$items { @@ -19559,10 +19189,11 @@ abstract class CopyWith$Fragment$ItemSection$$AvatarSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$ItemSection$$AvatarSection$items @@ -19583,34 +19214,35 @@ class _CopyWithImpl$Fragment$ItemSection$$AvatarSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$ItemSection$$AvatarSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$ItemSection$$AvatarSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$items @@ -19624,17 +19256,13 @@ class _CopyWithStubImpl$Fragment$ItemSection$$AvatarSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } class Variables$Fragment$GridSection { - factory Variables$Fragment$GridSection({ - int? first, - int? offset, - }) => + factory Variables$Fragment$GridSection({int? first, int? offset}) => Variables$Fragment$GridSection._({ if (first != null) r'first': first, if (offset != null) r'offset': offset, @@ -19675,10 +19303,7 @@ class Variables$Fragment$GridSection { } CopyWith$Variables$Fragment$GridSection - get copyWith => CopyWith$Variables$Fragment$GridSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Fragment$GridSection(this, (i) => i); @override bool operator ==(Object other) { @@ -19728,18 +19353,12 @@ abstract class CopyWith$Variables$Fragment$GridSection { factory CopyWith$Variables$Fragment$GridSection.stub(TRes res) = _CopyWithStubImpl$Variables$Fragment$GridSection; - TRes call({ - int? first, - int? offset, - }); + TRes call({int? first, int? offset}); } class _CopyWithImpl$Variables$Fragment$GridSection implements CopyWith$Variables$Fragment$GridSection { - _CopyWithImpl$Variables$Fragment$GridSection( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Fragment$GridSection(this._instance, this._then); final Variables$Fragment$GridSection _instance; @@ -19747,15 +19366,13 @@ class _CopyWithImpl$Variables$Fragment$GridSection static const _undefined = {}; - TRes call({ - Object? first = _undefined, - Object? offset = _undefined, - }) => - _then(Variables$Fragment$GridSection._({ - ..._instance._$data, - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + TRes call({Object? first = _undefined, Object? offset = _undefined}) => _then( + Variables$Fragment$GridSection._({ + ..._instance._$data, + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Fragment$GridSection @@ -19764,11 +19381,7 @@ class _CopyWithStubImpl$Variables$Fragment$GridSection TRes _res; - call({ - int? first, - int? offset, - }) => - _res; + call({int? first, int? offset}) => _res; } class Fragment$GridSection { @@ -19796,7 +19409,8 @@ class Fragment$GridSection { return Fragment$GridSection( gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), items: Fragment$GridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -19824,11 +19438,7 @@ class Fragment$GridSection { final l$gridSize = gridSize; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$gridSize, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$gridSize, l$items, l$$__typename]); } @override @@ -19860,27 +19470,26 @@ class Fragment$GridSection { extension UtilityExtension$Fragment$GridSection on Fragment$GridSection { CopyWith$Fragment$GridSection get copyWith => - CopyWith$Fragment$GridSection( - this, - (i) => i, - ); + CopyWith$Fragment$GridSection(this, (i) => i); _T when<_T>({ required _T Function(Fragment$GridSection$$DefaultGridSection) - defaultGridSection, + defaultGridSection, required _T Function(Fragment$GridSection$$PosterGridSection) - posterGridSection, + posterGridSection, required _T Function(Fragment$GridSection$$IconGridSection) iconGridSection, required _T Function() orElse, }) { switch ($__typename) { case "DefaultGridSection": return defaultGridSection( - this as Fragment$GridSection$$DefaultGridSection); + this as Fragment$GridSection$$DefaultGridSection, + ); case "PosterGridSection": return posterGridSection( - this as Fragment$GridSection$$PosterGridSection); + this as Fragment$GridSection$$PosterGridSection, + ); case "IconGridSection": return iconGridSection(this as Fragment$GridSection$$IconGridSection); @@ -19900,7 +19509,8 @@ extension UtilityExtension$Fragment$GridSection on Fragment$GridSection { case "DefaultGridSection": if (defaultGridSection != null) { return defaultGridSection( - this as Fragment$GridSection$$DefaultGridSection); + this as Fragment$GridSection$$DefaultGridSection, + ); } else { return orElse(); } @@ -19908,7 +19518,8 @@ extension UtilityExtension$Fragment$GridSection on Fragment$GridSection { case "PosterGridSection": if (posterGridSection != null) { return posterGridSection( - this as Fragment$GridSection$$PosterGridSection); + this as Fragment$GridSection$$PosterGridSection, + ); } else { return orElse(); } @@ -19945,10 +19556,7 @@ abstract class CopyWith$Fragment$GridSection { class _CopyWithImpl$Fragment$GridSection implements CopyWith$Fragment$GridSection { - _CopyWithImpl$Fragment$GridSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSection(this._instance, this._then); final Fragment$GridSection _instance; @@ -19960,23 +19568,26 @@ class _CopyWithImpl$Fragment$GridSection Object? gridSize = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection( - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$GridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$GridSection( + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$GridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$GridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -19990,8 +19601,7 @@ class _CopyWithStubImpl$Fragment$GridSection Enum$GridSectionSize? gridSize, Fragment$GridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSection$items get items => CopyWith$Fragment$GridSection$items.stub(_res); @@ -20000,43 +19610,54 @@ class _CopyWithStubImpl$Fragment$GridSection const fragmentDefinitionGridSection = FragmentDefinitionNode( name: NameNode(value: 'GridSection'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'GridSection'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'GridSection'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'size'), - alias: NameNode(value: 'gridSize'), - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'GridSectionItem'), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'size'), + alias: NameNode(value: 'gridSize'), + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'GridSectionItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -20045,40 +19666,35 @@ const fragmentDefinitionGridSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentGridSection = DocumentNode( + definitions: [ + fragmentDefinitionGridSection, + fragmentDefinitionGridSectionItem, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentGridSection = DocumentNode(definitions: [ - fragmentDefinitionGridSection, - fragmentDefinitionGridSectionItem, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$GridSection on graphql.GraphQLClient { void writeFragment$GridSection({ @@ -20086,19 +19702,18 @@ extension ClientExtension$Fragment$GridSection on graphql.GraphQLClient { required Map idFields, Variables$Fragment$GridSection? variables, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'GridSection', - document: documentNodeFragmentGridSection, - ), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'GridSection', + document: documentNodeFragmentGridSection, + ), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$GridSection? readFragment$GridSection({ required Map idFields, @@ -20131,8 +19746,10 @@ class Fragment$GridSection$items { final l$$__typename = json['__typename']; return Fragment$GridSection$items( items: (l$items as List) - .map((e) => - Fragment$GridSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$GridSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -20194,10 +19811,7 @@ class Fragment$GridSection$items { extension UtilityExtension$Fragment$GridSection$items on Fragment$GridSection$items { CopyWith$Fragment$GridSection$items - get copyWith => CopyWith$Fragment$GridSection$items( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$GridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$items { @@ -20209,23 +19823,18 @@ abstract class CopyWith$Fragment$GridSection$items { factory CopyWith$Fragment$GridSection$items.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSection$items; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$GridSection$items implements CopyWith$Fragment$GridSection$items { - _CopyWithImpl$Fragment$GridSection$items( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$GridSection$items(this._instance, this._then); final Fragment$GridSection$items _instance; @@ -20233,31 +19842,30 @@ class _CopyWithImpl$Fragment$GridSection$items static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSection$items( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem< - Fragment$GridSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$GridSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$GridSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$GridSection$items @@ -20266,11 +19874,7 @@ class _CopyWithStubImpl$Fragment$GridSection$items TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -20283,14 +19887,16 @@ class Fragment$GridSection$$DefaultGridSection implements Fragment$GridSection { }); factory Fragment$GridSection$$DefaultGridSection.fromJson( - Map json) { + Map json, + ) { final l$gridSize = json['gridSize']; final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$GridSection$$DefaultGridSection( gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), items: Fragment$GridSection$$DefaultGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -20317,11 +19923,7 @@ class Fragment$GridSection$$DefaultGridSection implements Fragment$GridSection { final l$gridSize = gridSize; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$gridSize, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$gridSize, l$items, l$$__typename]); } @override @@ -20355,11 +19957,10 @@ class Fragment$GridSection$$DefaultGridSection implements Fragment$GridSection { extension UtilityExtension$Fragment$GridSection$$DefaultGridSection on Fragment$GridSection$$DefaultGridSection { CopyWith$Fragment$GridSection$$DefaultGridSection< - Fragment$GridSection$$DefaultGridSection> - get copyWith => CopyWith$Fragment$GridSection$$DefaultGridSection( - this, - (i) => i, - ); + Fragment$GridSection$$DefaultGridSection + > + get copyWith => + CopyWith$Fragment$GridSection$$DefaultGridSection(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$$DefaultGridSection { @@ -20396,23 +19997,26 @@ class _CopyWithImpl$Fragment$GridSection$$DefaultGridSection Object? gridSize = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$$DefaultGridSection( - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$GridSection$$DefaultGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$GridSection$$DefaultGridSection( + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$GridSection$$DefaultGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSection$$DefaultGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$GridSection$$DefaultGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -20426,8 +20030,7 @@ class _CopyWithStubImpl$Fragment$GridSection$$DefaultGridSection Enum$GridSectionSize? gridSize, Fragment$GridSection$$DefaultGridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSection$$DefaultGridSection$items get items => CopyWith$Fragment$GridSection$$DefaultGridSection$items.stub(_res); @@ -20441,13 +20044,16 @@ class Fragment$GridSection$$DefaultGridSection$items }); factory Fragment$GridSection$$DefaultGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$GridSection$$DefaultGridSection$items( items: (l$items as List) - .map((e) => - Fragment$GridSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$GridSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -20509,11 +20115,10 @@ class Fragment$GridSection$$DefaultGridSection$items extension UtilityExtension$Fragment$GridSection$$DefaultGridSection$items on Fragment$GridSection$$DefaultGridSection$items { CopyWith$Fragment$GridSection$$DefaultGridSection$items< - Fragment$GridSection$$DefaultGridSection$items> - get copyWith => CopyWith$Fragment$GridSection$$DefaultGridSection$items( - this, - (i) => i, - ); + Fragment$GridSection$$DefaultGridSection$items + > + get copyWith => + CopyWith$Fragment$GridSection$$DefaultGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$$DefaultGridSection$items { @@ -20523,18 +20128,16 @@ abstract class CopyWith$Fragment$GridSection$$DefaultGridSection$items { ) = _CopyWithImpl$Fragment$GridSection$$DefaultGridSection$items; factory CopyWith$Fragment$GridSection$$DefaultGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSection$$DefaultGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSection$$DefaultGridSection$items; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$GridSection$$DefaultGridSection$items @@ -20550,31 +20153,30 @@ class _CopyWithImpl$Fragment$GridSection$$DefaultGridSection$items static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$$DefaultGridSection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSection$$DefaultGridSection$items( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem< - Fragment$GridSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$GridSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$GridSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$GridSection$$DefaultGridSection$items @@ -20583,11 +20185,7 @@ class _CopyWithStubImpl$Fragment$GridSection$$DefaultGridSection$items TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -20600,14 +20198,16 @@ class Fragment$GridSection$$PosterGridSection implements Fragment$GridSection { }); factory Fragment$GridSection$$PosterGridSection.fromJson( - Map json) { + Map json, + ) { final l$gridSize = json['gridSize']; final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$GridSection$$PosterGridSection( gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), items: Fragment$GridSection$$PosterGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -20634,11 +20234,7 @@ class Fragment$GridSection$$PosterGridSection implements Fragment$GridSection { final l$gridSize = gridSize; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$gridSize, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$gridSize, l$items, l$$__typename]); } @override @@ -20672,11 +20268,10 @@ class Fragment$GridSection$$PosterGridSection implements Fragment$GridSection { extension UtilityExtension$Fragment$GridSection$$PosterGridSection on Fragment$GridSection$$PosterGridSection { CopyWith$Fragment$GridSection$$PosterGridSection< - Fragment$GridSection$$PosterGridSection> - get copyWith => CopyWith$Fragment$GridSection$$PosterGridSection( - this, - (i) => i, - ); + Fragment$GridSection$$PosterGridSection + > + get copyWith => + CopyWith$Fragment$GridSection$$PosterGridSection(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$$PosterGridSection { @@ -20713,23 +20308,26 @@ class _CopyWithImpl$Fragment$GridSection$$PosterGridSection Object? gridSize = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$$PosterGridSection( - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$GridSection$$PosterGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$GridSection$$PosterGridSection( + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$GridSection$$PosterGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSection$$PosterGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$GridSection$$PosterGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -20743,8 +20341,7 @@ class _CopyWithStubImpl$Fragment$GridSection$$PosterGridSection Enum$GridSectionSize? gridSize, Fragment$GridSection$$PosterGridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSection$$PosterGridSection$items get items => CopyWith$Fragment$GridSection$$PosterGridSection$items.stub(_res); @@ -20758,13 +20355,16 @@ class Fragment$GridSection$$PosterGridSection$items }); factory Fragment$GridSection$$PosterGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$GridSection$$PosterGridSection$items( items: (l$items as List) - .map((e) => - Fragment$GridSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$GridSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -20826,11 +20426,10 @@ class Fragment$GridSection$$PosterGridSection$items extension UtilityExtension$Fragment$GridSection$$PosterGridSection$items on Fragment$GridSection$$PosterGridSection$items { CopyWith$Fragment$GridSection$$PosterGridSection$items< - Fragment$GridSection$$PosterGridSection$items> - get copyWith => CopyWith$Fragment$GridSection$$PosterGridSection$items( - this, - (i) => i, - ); + Fragment$GridSection$$PosterGridSection$items + > + get copyWith => + CopyWith$Fragment$GridSection$$PosterGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$$PosterGridSection$items { @@ -20840,18 +20439,16 @@ abstract class CopyWith$Fragment$GridSection$$PosterGridSection$items { ) = _CopyWithImpl$Fragment$GridSection$$PosterGridSection$items; factory CopyWith$Fragment$GridSection$$PosterGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$GridSection$$PosterGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$GridSection$$PosterGridSection$items; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$GridSection$$PosterGridSection$items @@ -20867,31 +20464,30 @@ class _CopyWithImpl$Fragment$GridSection$$PosterGridSection$items static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$$PosterGridSection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSection$$PosterGridSection$items( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem< - Fragment$GridSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$GridSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$GridSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$GridSection$$PosterGridSection$items @@ -20900,11 +20496,7 @@ class _CopyWithStubImpl$Fragment$GridSection$$PosterGridSection$items TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -20917,14 +20509,16 @@ class Fragment$GridSection$$IconGridSection implements Fragment$GridSection { }); factory Fragment$GridSection$$IconGridSection.fromJson( - Map json) { + Map json, + ) { final l$gridSize = json['gridSize']; final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$GridSection$$IconGridSection( gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), items: Fragment$GridSection$$IconGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -20951,11 +20545,7 @@ class Fragment$GridSection$$IconGridSection implements Fragment$GridSection { final l$gridSize = gridSize; final l$items = items; final l$$__typename = $__typename; - return Object.hashAll([ - l$gridSize, - l$items, - l$$__typename, - ]); + return Object.hashAll([l$gridSize, l$items, l$$__typename]); } @override @@ -20989,11 +20579,10 @@ class Fragment$GridSection$$IconGridSection implements Fragment$GridSection { extension UtilityExtension$Fragment$GridSection$$IconGridSection on Fragment$GridSection$$IconGridSection { CopyWith$Fragment$GridSection$$IconGridSection< - Fragment$GridSection$$IconGridSection> - get copyWith => CopyWith$Fragment$GridSection$$IconGridSection( - this, - (i) => i, - ); + Fragment$GridSection$$IconGridSection + > + get copyWith => + CopyWith$Fragment$GridSection$$IconGridSection(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$$IconGridSection { @@ -21030,23 +20619,26 @@ class _CopyWithImpl$Fragment$GridSection$$IconGridSection Object? gridSize = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$$IconGridSection( - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$GridSection$$IconGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$GridSection$$IconGridSection( + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$GridSection$$IconGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$GridSection$$IconGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$GridSection$$IconGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -21060,8 +20652,7 @@ class _CopyWithStubImpl$Fragment$GridSection$$IconGridSection Enum$GridSectionSize? gridSize, Fragment$GridSection$$IconGridSection$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$GridSection$$IconGridSection$items get items => CopyWith$Fragment$GridSection$$IconGridSection$items.stub(_res); @@ -21075,13 +20666,16 @@ class Fragment$GridSection$$IconGridSection$items }); factory Fragment$GridSection$$IconGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$GridSection$$IconGridSection$items( items: (l$items as List) - .map((e) => - Fragment$GridSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$GridSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -21143,11 +20737,10 @@ class Fragment$GridSection$$IconGridSection$items extension UtilityExtension$Fragment$GridSection$$IconGridSection$items on Fragment$GridSection$$IconGridSection$items { CopyWith$Fragment$GridSection$$IconGridSection$items< - Fragment$GridSection$$IconGridSection$items> - get copyWith => CopyWith$Fragment$GridSection$$IconGridSection$items( - this, - (i) => i, - ); + Fragment$GridSection$$IconGridSection$items + > + get copyWith => + CopyWith$Fragment$GridSection$$IconGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$GridSection$$IconGridSection$items { @@ -21159,15 +20752,13 @@ abstract class CopyWith$Fragment$GridSection$$IconGridSection$items { factory CopyWith$Fragment$GridSection$$IconGridSection$items.stub(TRes res) = _CopyWithStubImpl$Fragment$GridSection$$IconGridSection$items; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$GridSection$$IconGridSection$items @@ -21183,31 +20774,30 @@ class _CopyWithImpl$Fragment$GridSection$$IconGridSection$items static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$GridSection$$IconGridSection$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$GridSection$$IconGridSection$items( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$GridSectionItem< - Fragment$GridSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$GridSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$GridSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$GridSection$$IconGridSection$items @@ -21216,20 +20806,13 @@ class _CopyWithStubImpl$Fragment$GridSection$$IconGridSection$items TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } class Variables$Fragment$Section { - factory Variables$Fragment$Section({ - int? first, - int? offset, - }) => + factory Variables$Fragment$Section({int? first, int? offset}) => Variables$Fragment$Section._({ if (first != null) r'first': first, if (offset != null) r'offset': offset, @@ -21270,10 +20853,7 @@ class Variables$Fragment$Section { } CopyWith$Variables$Fragment$Section - get copyWith => CopyWith$Variables$Fragment$Section( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Fragment$Section(this, (i) => i); @override bool operator ==(Object other) { @@ -21323,18 +20903,12 @@ abstract class CopyWith$Variables$Fragment$Section { factory CopyWith$Variables$Fragment$Section.stub(TRes res) = _CopyWithStubImpl$Variables$Fragment$Section; - TRes call({ - int? first, - int? offset, - }); + TRes call({int? first, int? offset}); } class _CopyWithImpl$Variables$Fragment$Section implements CopyWith$Variables$Fragment$Section { - _CopyWithImpl$Variables$Fragment$Section( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Fragment$Section(this._instance, this._then); final Variables$Fragment$Section _instance; @@ -21342,15 +20916,13 @@ class _CopyWithImpl$Variables$Fragment$Section static const _undefined = {}; - TRes call({ - Object? first = _undefined, - Object? offset = _undefined, - }) => - _then(Variables$Fragment$Section._({ - ..._instance._$data, - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + TRes call({Object? first = _undefined, Object? offset = _undefined}) => _then( + Variables$Fragment$Section._({ + ..._instance._$data, + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Fragment$Section @@ -21359,11 +20931,7 @@ class _CopyWithStubImpl$Variables$Fragment$Section TRes _res; - call({ - int? first, - int? offset, - }) => - _res; + call({int? first, int? offset}) => _res; } class Fragment$Section { @@ -21465,12 +21033,7 @@ class Fragment$Section { final l$title = title; final l$description = description; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$description, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$description, l$$__typename]); } @override @@ -21507,10 +21070,7 @@ class Fragment$Section { extension UtilityExtension$Fragment$Section on Fragment$Section { CopyWith$Fragment$Section get copyWith => - CopyWith$Fragment$Section( - this, - (i) => i, - ); + CopyWith$Fragment$Section(this, (i) => i); _T when<_T>({ required _T Function(Fragment$Section$$PosterSection) posterSection, @@ -21520,7 +21080,7 @@ extension UtilityExtension$Fragment$Section on Fragment$Section { required _T Function(Fragment$Section$$ListSection) listSection, required _T Function(Fragment$Section$$CardListSection) cardListSection, required _T Function(Fragment$Section$$DefaultGridSection) - defaultGridSection, + defaultGridSection, required _T Function(Fragment$Section$$PosterGridSection) posterGridSection, required _T Function(Fragment$Section$$IconGridSection) iconGridSection, required _T Function(Fragment$Section$$IconSection) iconSection, @@ -21529,9 +21089,9 @@ extension UtilityExtension$Fragment$Section on Fragment$Section { required _T Function(Fragment$Section$$WebSection) webSection, required _T Function(Fragment$Section$$MessageSection) messageSection, required _T Function(Fragment$Section$$PageDetailsSection) - pageDetailsSection, + pageDetailsSection, required _T Function(Fragment$Section$$AchievementSection) - achievementSection, + achievementSection, required _T Function() orElse, }) { switch ($__typename) { @@ -21653,7 +21213,8 @@ extension UtilityExtension$Fragment$Section on Fragment$Section { case "DefaultGridSection": if (defaultGridSection != null) { return defaultGridSection( - this as Fragment$Section$$DefaultGridSection); + this as Fragment$Section$$DefaultGridSection, + ); } else { return orElse(); } @@ -21710,7 +21271,8 @@ extension UtilityExtension$Fragment$Section on Fragment$Section { case "PageDetailsSection": if (pageDetailsSection != null) { return pageDetailsSection( - this as Fragment$Section$$PageDetailsSection); + this as Fragment$Section$$PageDetailsSection, + ); } else { return orElse(); } @@ -21718,7 +21280,8 @@ extension UtilityExtension$Fragment$Section on Fragment$Section { case "AchievementSection": if (achievementSection != null) { return achievementSection( - this as Fragment$Section$$AchievementSection); + this as Fragment$Section$$AchievementSection, + ); } else { return orElse(); } @@ -21748,10 +21311,7 @@ abstract class CopyWith$Fragment$Section { class _CopyWithImpl$Fragment$Section implements CopyWith$Fragment$Section { - _CopyWithImpl$Fragment$Section( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section(this._instance, this._then); final Fragment$Section _instance; @@ -21764,17 +21324,18 @@ class _CopyWithImpl$Fragment$Section Object? title = _undefined, Object? description = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section @@ -21783,174 +21344,380 @@ class _CopyWithStubImpl$Fragment$Section TRes _res; - call({ - String? id, - String? title, - String? description, - String? $__typename, - }) => + call({String? id, String? title, String? description, String? $__typename}) => _res; } const fragmentDefinitionSection = FragmentDefinitionNode( name: NameNode(value: 'Section'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Section'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Section'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'ItemSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'ItemSection'), - directives: [], - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'PosterSection'), + name: NameNode(value: 'ItemSection'), isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'size'), - alias: null, - arguments: [], + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'ItemSection'), directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'PosterSection'), + isNonNull: false, ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'productionDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Playlist'), - isNonNull: false, - )), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'size'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '8'), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'style'), - value: EnumValueNode( - name: NameNode(value: 'default')), - ) - ], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'productionDate', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Playlist'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '8'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'items', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'image', + ), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode( + value: 'style', + ), + value: EnumValueNode( + name: NameNode( + value: + 'default', + ), + ), + ), + ], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Show'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'seasons'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '1'), + ), + ArgumentNode( + name: NameNode(value: 'dir'), + value: StringValueNode( + value: 'desc', + isBlock: false, + ), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'items', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'episodes', + ), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode( + value: 'first', + ), + value: IntValueNode( + value: '1', + ), + ), + ArgumentNode( + name: NameNode( + value: 'dir', + ), + value: + StringValueNode( + value: 'desc', + isBlock: + false, + ), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'items', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: + NameNode( + value: 'publishDate', + ), + alias: null, + arguments: + [], + directives: + [], + selectionSet: + null, + ), + FieldNode( + name: + NameNode( + value: '__typename', + ), + alias: null, + arguments: + [], + directives: + [], + selectionSet: + null, + ), + ], + ), + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: + null, + ), + ], + ), + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode( + value: '__typename', + ), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -21959,110 +21726,191 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Show'), - isNonNull: false, - )), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'seasons'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '1'), - ), - ArgumentNode( - name: NameNode(value: 'dir'), - value: StringValueNode( - value: 'desc', - isBlock: false, - ), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episodes'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '1'), - ), - ArgumentNode( - name: NameNode(value: 'dir'), - value: StringValueNode( - value: 'desc', - isBlock: false, - ), + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'FeaturedSection'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'size'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'DefaultSection'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'size'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, ), - ], + ), directives: [], - selectionSet: - SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: - SelectionSetNode(selections: [ - FieldNode( - name: NameNode( - value: 'publishDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode( + value: 'productionDate', ), - FieldNode( - name: - NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -22071,25 +21919,18 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -22098,25 +21939,163 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'GridSection'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'GridSection'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'ListSection'), + isNonNull: false, ), - ]), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'ageRating'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -22125,68 +22104,46 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'FeaturedSection'), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'WebSection'), isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'size'), + name: NameNode(value: 'authentication'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'widthRatio'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'height'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), FieldNode( name: NameNode(value: '__typename'), @@ -22195,73 +22152,67 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'DefaultSection'), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'MessageSection'), isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'size'), + name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'messages'), alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'content'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'style'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'text'), + alias: null, + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'productionDate'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'background'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'border'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), FieldNode( name: NameNode(value: '__typename'), @@ -22270,25 +22221,18 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -22297,37 +22241,26 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'GridSection'), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'CardListSection'), isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'GridSection'), - directives: [], - ), + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: '__typename'), - alias: null, + name: NameNode(value: 'size'), + alias: NameNode(value: 'cardSize'), arguments: [], directives: [], selectionSet: null, ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'ListSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'items'), alias: null, @@ -22342,56 +22275,18 @@ const fragmentDefinitionSection = FragmentDefinitionNode( ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CardItem'), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'ageRating'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), ), FieldNode( name: NameNode(value: '__typename'), @@ -22400,25 +22295,18 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -22427,125 +22315,72 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'WebSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'authentication'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'widthRatio'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'height'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'MessageSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'CardSection'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'messages'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'content'), - alias: null, + name: NameNode(value: 'size'), + alias: NameNode(value: 'cardSize'), arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'style'), + name: NameNode(value: 'items'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'text'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'background'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'border'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'CardItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -22554,65 +22389,32 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'CardListSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'size'), - alias: NameNode(value: 'cardSize'), - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'PageDetailsSection'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CardItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: null, ), FieldNode( name: NameNode(value: '__typename'), @@ -22621,65 +22423,25 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'CardSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'size'), - alias: NameNode(value: 'cardSize'), - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'AchievementSection'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'items'), + name: NameNode(value: 'source'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'CardItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: null, ), FieldNode( name: NameNode(value: '__typename'), @@ -22688,98 +22450,38 @@ const fragmentDefinitionSection = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'PageDetailsSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'AchievementSection'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'source'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentSection = DocumentNode( + definitions: [ + fragmentDefinitionSection, + fragmentDefinitionItemSection, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + fragmentDefinitionGridSection, + fragmentDefinitionGridSectionItem, + fragmentDefinitionCardItem, + ], ); -const documentNodeFragmentSection = DocumentNode(definitions: [ - fragmentDefinitionSection, - fragmentDefinitionItemSection, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, - fragmentDefinitionGridSection, - fragmentDefinitionGridSectionItem, - fragmentDefinitionCardItem, -]); extension ClientExtension$Fragment$Section on graphql.GraphQLClient { void writeFragment$Section({ @@ -22787,19 +22489,18 @@ extension ClientExtension$Fragment$Section on graphql.GraphQLClient { required Map idFields, Variables$Fragment$Section? variables, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Section', - document: documentNodeFragmentSection, - ), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Section', + document: documentNodeFragmentSection, + ), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Section? readFragment$Section({ required Map idFields, @@ -22845,9 +22546,11 @@ class Fragment$Section$$PosterSection metadata: l$metadata == null ? null : Fragment$Section$$PosterSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$PosterSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -22960,10 +22663,7 @@ class Fragment$Section$$PosterSection extension UtilityExtension$Fragment$Section$$PosterSection on Fragment$Section$$PosterSection { CopyWith$Fragment$Section$$PosterSection - get copyWith => CopyWith$Fragment$Section$$PosterSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$PosterSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterSection { @@ -22990,10 +22690,7 @@ abstract class CopyWith$Fragment$Section$$PosterSection { class _CopyWithImpl$Fragment$Section$$PosterSection implements CopyWith$Fragment$Section$$PosterSection { - _CopyWithImpl$Fragment$Section$$PosterSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$PosterSection(this._instance, this._then); final Fragment$Section$$PosterSection _instance; @@ -23009,40 +22706,46 @@ class _CopyWithImpl$Fragment$Section$$PosterSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$PosterSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$PosterSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$PosterSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$PosterSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$PosterSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$PosterSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$PosterSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$PosterSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$PosterSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$PosterSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$PosterSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -23060,8 +22763,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$metadata get metadata => CopyWith$Fragment$Section$$PosterSection$metadata.stub(_res); @@ -23085,7 +22787,8 @@ class Fragment$Section$$PosterSection$metadata }); factory Fragment$Section$$PosterSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -23104,7 +22807,8 @@ class Fragment$Section$$PosterSection$metadata page: l$page == null ? null : Fragment$Section$$PosterSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -23237,11 +22941,10 @@ class Fragment$Section$$PosterSection$metadata extension UtilityExtension$Fragment$Section$$PosterSection$metadata on Fragment$Section$$PosterSection$metadata { CopyWith$Fragment$Section$$PosterSection$metadata< - Fragment$Section$$PosterSection$metadata> - get copyWith => CopyWith$Fragment$Section$$PosterSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterSection$metadata { @@ -23290,45 +22993,48 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$PosterSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$PosterSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$PosterSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$PosterSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -23348,8 +23054,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$metadata$page get page => CopyWith$Fragment$Section$$PosterSection$metadata$page.stub(_res); @@ -23363,7 +23068,8 @@ class Fragment$Section$$PosterSection$metadata$page }); factory Fragment$Section$$PosterSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$metadata$page( @@ -23389,10 +23095,7 @@ class Fragment$Section$$PosterSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -23421,11 +23124,10 @@ class Fragment$Section$$PosterSection$metadata$page extension UtilityExtension$Fragment$Section$$PosterSection$metadata$page on Fragment$Section$$PosterSection$metadata$page { CopyWith$Fragment$Section$$PosterSection$metadata$page< - Fragment$Section$$PosterSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$PosterSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterSection$metadata$page { @@ -23435,13 +23137,10 @@ abstract class CopyWith$Fragment$Section$$PosterSection$metadata$page { ) = _CopyWithImpl$Fragment$Section$$PosterSection$metadata$page; factory CopyWith$Fragment$Section$$PosterSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$metadata$page @@ -23457,18 +23156,17 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$metadata$page @@ -23477,11 +23175,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items @@ -23494,7 +23188,8 @@ class Fragment$Section$$PosterSection$items }); factory Fragment$Section$$PosterSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -23503,8 +23198,11 @@ class Fragment$Section$$PosterSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$PosterSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$PosterSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -23589,11 +23287,10 @@ class Fragment$Section$$PosterSection$items extension UtilityExtension$Fragment$Section$$PosterSection$items on Fragment$Section$$PosterSection$items { CopyWith$Fragment$Section$$PosterSection$items< - Fragment$Section$$PosterSection$items> - get copyWith => CopyWith$Fragment$Section$$PosterSection$items( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterSection$items { @@ -23612,11 +23309,15 @@ abstract class CopyWith$Fragment$Section$$PosterSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items< - Fragment$Section$$PosterSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items< + Fragment$Section$$PosterSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$PosterSection$items @@ -23637,34 +23338,40 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items< - Fragment$Section$$PosterSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$Section$$PosterSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items< + Fragment$Section$$PosterSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$PosterSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items @@ -23678,8 +23385,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -23695,7 +23401,8 @@ class Fragment$Section$$PosterSection$items$items }); factory Fragment$Section$$PosterSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -23706,7 +23413,8 @@ class Fragment$Section$$PosterSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$PosterSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -23743,13 +23451,7 @@ class Fragment$Section$$PosterSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -23793,11 +23495,10 @@ class Fragment$Section$$PosterSection$items$items extension UtilityExtension$Fragment$Section$$PosterSection$items$items on Fragment$Section$$PosterSection$items$items { CopyWith$Fragment$Section$$PosterSection$items$items< - Fragment$Section$$PosterSection$items$items> - get copyWith => CopyWith$Fragment$Section$$PosterSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items { @@ -23838,25 +23539,28 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$PosterSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$PosterSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$PosterSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -23872,8 +23576,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items String? image, Fragment$Section$$PosterSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item get item => CopyWith$Fragment$Section$$PosterSection$items$items$item.stub(_res); @@ -23884,52 +23587,64 @@ class Fragment$Section$$PosterSection$items$items$item Fragment$Section$$PosterSection$items$items$item({required this.$__typename}); factory Fragment$Section$$PosterSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$PosterSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$PosterSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": return Fragment$Section$$PosterSection$items$items$item$$Show.fromJson( - json); + json, + ); case "Season": - return Fragment$Section$$PosterSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$PosterSection$items$items$item$$Season.fromJson( + json, + ); case "Page": return Fragment$Section$$PosterSection$items$items$item$$Page.fromJson( - json); + json, + ); case "Link": return Fragment$Section$$PosterSection$items$items$item$$Link.fromJson( - json); + json, + ); case "StudyTopic": - return Fragment$Section$$PosterSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$PosterSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": return Fragment$Section$$PosterSection$items$items$item$$Game.fromJson( - json); + json, + ); case "Playlist": - return Fragment$Section$$PosterSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$PosterSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": return Fragment$Section$$PosterSection$items$items$item$$Short.fromJson( - json); + json, + ); case "Person": - return Fragment$Section$$PosterSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$PosterSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -23969,81 +23684,96 @@ class Fragment$Section$$PosterSection$items$items$item extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item on Fragment$Section$$PosterSection$items$items$item { CopyWith$Fragment$Section$$PosterSection$items$items$item< - Fragment$Section$$PosterSection$items$items$item> - get copyWith => CopyWith$Fragment$Section$$PosterSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item(this, (i) => i); _T when<_T>({ required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Episode) - episode, + Fragment$Section$$PosterSection$items$items$item$$Episode, + ) + episode, required _T Function(Fragment$Section$$PosterSection$items$items$item$$Show) - show, + show, required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Season) - season, + Fragment$Section$$PosterSection$items$items$item$$Season, + ) + season, required _T Function(Fragment$Section$$PosterSection$items$items$item$$Page) - page, + page, required _T Function(Fragment$Section$$PosterSection$items$items$item$$Link) - link, + link, required _T Function( - Fragment$Section$$PosterSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$PosterSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function(Fragment$Section$$PosterSection$items$items$item$$Game) - game, + game, required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$PosterSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Short) - short, + Fragment$Section$$PosterSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Person) - person, + Fragment$Section$$PosterSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": return episode( - this as Fragment$Section$$PosterSection$items$items$item$$Episode); + this as Fragment$Section$$PosterSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$PosterSection$items$items$item$$Show); + this as Fragment$Section$$PosterSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$PosterSection$items$items$item$$Season); + this as Fragment$Section$$PosterSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$PosterSection$items$items$item$$Page); + this as Fragment$Section$$PosterSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$PosterSection$items$items$item$$Link); + this as Fragment$Section$$PosterSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$PosterSection$items$items$item$$StudyTopic); + return studyTopic( + this as Fragment$Section$$PosterSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$PosterSection$items$items$item$$Game); + this as Fragment$Section$$PosterSection$items$items$item$$Game, + ); case "Playlist": return playlist( - this as Fragment$Section$$PosterSection$items$items$item$$Playlist); + this as Fragment$Section$$PosterSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$PosterSection$items$items$item$$Short); + this as Fragment$Section$$PosterSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$PosterSection$items$items$item$$Person); + this as Fragment$Section$$PosterSection$items$items$item$$Person, + ); default: return orElse(); @@ -24052,27 +23782,28 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$PosterSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$PosterSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$PosterSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$PosterSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$PosterSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$PosterSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$PosterSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$PosterSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$PosterSection$items$items$item$$Short)? short, _T Function(Fragment$Section$$PosterSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$PosterSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$PosterSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -24080,7 +23811,8 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$PosterSection$items$items$item$$Show); + this as Fragment$Section$$PosterSection$items$items$item$$Show, + ); } else { return orElse(); } @@ -24088,7 +23820,8 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Season": if (season != null) { return season( - this as Fragment$Section$$PosterSection$items$items$item$$Season); + this as Fragment$Section$$PosterSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -24096,7 +23829,8 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$PosterSection$items$items$item$$Page); + this as Fragment$Section$$PosterSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -24104,15 +23838,18 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$PosterSection$items$items$item$$Link); + this as Fragment$Section$$PosterSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$PosterSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$PosterSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -24120,15 +23857,17 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$PosterSection$items$items$item$$Game); + this as Fragment$Section$$PosterSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$PosterSection$items$items$item$$Playlist); + return playlist( + this as Fragment$Section$$PosterSection$items$items$item$$Playlist, + ); } else { return orElse(); } @@ -24136,7 +23875,8 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Short": if (short != null) { return short( - this as Fragment$Section$$PosterSection$items$items$item$$Short); + this as Fragment$Section$$PosterSection$items$items$item$$Short, + ); } else { return orElse(); } @@ -24144,7 +23884,8 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item case "Person": if (person != null) { return person( - this as Fragment$Section$$PosterSection$items$items$item$$Person); + this as Fragment$Section$$PosterSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -24162,8 +23903,8 @@ abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item { ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item; factory CopyWith$Fragment$Section$$PosterSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item; TRes call({String? $__typename}); } @@ -24181,11 +23922,13 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$PosterSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$PosterSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item @@ -24220,7 +23963,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode }); factory Fragment$Section$$PosterSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -24236,9 +23980,12 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode final l$productionDate = json['productionDate']; return Fragment$Section$$PosterSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -24251,16 +23998,18 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$PosterSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$PosterSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), productionDate: (l$productionDate as String), ); } final List< - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -24281,7 +24030,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode final int? number; final Fragment$Section$$PosterSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -24290,8 +24039,9 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -24439,29 +24189,33 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Episode on Fragment$Section$$PosterSection$items$items$item$$Episode { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode< - Fragment$Section$$PosterSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode( Fragment$Section$$PosterSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Episode) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -24476,20 +24230,31 @@ abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episod String? productionDate, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode( this._instance, this._then, @@ -24498,7 +24263,7 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode< final Fragment$Section$$PosterSection$items$items$item$$Episode _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Episode) - _then; + _then; static const _undefined = {}; @@ -24516,81 +24281,106 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode< Object? season = _undefined, Object? $__typename = _undefined, Object? productionDate = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$PosterSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - productionDate: productionDate == _undefined || productionDate == null - ? _instance.productionDate - : (productionDate as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + productionDate: productionDate == _undefined || productionDate == null + ? _instance.productionDate + : (productionDate as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -24603,16 +24393,17 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episod Fragment$Section$$PosterSection$items$items$item$$Episode$season? season, String? $__typename, String? productionDate, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors @@ -24624,14 +24415,16 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$PosterSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -24640,7 +24433,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors } final Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -24710,54 +24503,62 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors on Fragment$Section$$PosterSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( Fragment$Section$$PosterSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -24765,53 +24566,61 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$co Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person @@ -24822,7 +24631,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$per }); factory Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( @@ -24848,10 +24658,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$per int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -24881,83 +24688,85 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$per extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person on Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Episode$season @@ -24971,15 +24780,17 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season }); factory Fragment$Section$$PosterSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$PosterSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$PosterSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -24987,7 +24798,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season final int number; final Fragment$Section$$PosterSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -25007,11 +24818,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -25046,52 +24853,61 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Episode$season on Fragment$Section$$PosterSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - Fragment$Section$$PosterSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season( Fragment$Section$$PosterSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$season) - then, + Fragment$Section$$PosterSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$PosterSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$season) _then; + Fragment$Section$$PosterSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -25099,51 +24915,60 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$se Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$PosterSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$PosterSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$PosterSection$items$items$item$$Episode$season$show @@ -25156,7 +24981,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$PosterSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( @@ -25182,10 +25008,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -25215,83 +25038,83 @@ class Fragment$Section$$PosterSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show on Fragment$Section$$PosterSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - Fragment$Section$$PosterSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( Fragment$Section$$PosterSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$PosterSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$PosterSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Show @@ -25309,7 +25132,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Show }); factory Fragment$Section$$PosterSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -25322,10 +25146,13 @@ class Fragment$Section$$PosterSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), - seasons: Fragment$Section$$PosterSection$items$items$item$$Show$seasons - .fromJson((l$seasons as Map)), + Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), + seasons: + Fragment$Section$$PosterSection$items$items$item$$Show$seasons.fromJson( + (l$seasons as Map), + ), ); } @@ -25338,7 +25165,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Show final String $__typename; final Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; final Fragment$Section$$PosterSection$items$items$item$$Show$seasons seasons; @@ -25423,24 +25250,26 @@ class Fragment$Section$$PosterSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Show on Fragment$Section$$PosterSection$items$items$item$$Show { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show< - Fragment$Section$$PosterSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show( Fragment$Section$$PosterSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Show) then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show; TRes call({ String? id, @@ -25448,13 +25277,15 @@ abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, Fragment$Section$$PosterSection$items$items$item$$Show$seasons? seasons, }); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons - get seasons; + get seasons; } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show @@ -25468,7 +25299,7 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show final Fragment$Section$$PosterSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -25479,49 +25310,58 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show Object? $__typename = _undefined, Object? defaultEpisode = _undefined, Object? seasons = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Fragment$Section$$PosterSection$items$items$item$$Show$seasons), - )); + ), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons - get seasons { + get seasons { final local$seasons = _instance.seasons; return CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -25531,21 +25371,23 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, Fragment$Section$$PosterSection$items$items$item$$Show$seasons? seasons, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons - get seasons => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons - .stub(_res); + get seasons => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons.stub( + _res, + ); } class Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode @@ -25558,7 +25400,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( @@ -25584,10 +25427,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -25617,95 +25457,98 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Season implements Fragment$ItemSectionItem$item$$Season, Fragment$Section$$PosterSection$items$items$item { - Fragment$Section$$PosterSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$PosterSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$PosterSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -25744,34 +25587,38 @@ class Fragment$Section$$PosterSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Season on Fragment$Section$$PosterSection$items$items$item$$Season { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season< - Fragment$Section$$PosterSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season( Fragment$Section$$PosterSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Season( this._instance, this._then, @@ -25780,24 +25627,29 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Season< final Fragment$Section$$PosterSection$items$items$item$$Season _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Season) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$PosterSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$PosterSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -25815,7 +25667,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Page }); factory Fragment$Section$$PosterSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Page( @@ -25841,10 +25694,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -25873,29 +25723,28 @@ class Fragment$Section$$PosterSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Page on Fragment$Section$$PosterSection$items$items$item$$Page { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page< - Fragment$Section$$PosterSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page( Fragment$Section$$PosterSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Page) then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Page @@ -25909,38 +25758,35 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Page final Fragment$Section$$PosterSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Page { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Link @@ -25954,7 +25800,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Link }); factory Fragment$Section$$PosterSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Link( @@ -25980,10 +25827,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -26012,29 +25856,28 @@ class Fragment$Section$$PosterSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Link on Fragment$Section$$PosterSection$items$items$item$$Link { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link< - Fragment$Section$$PosterSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link( Fragment$Section$$PosterSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Link) then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Link @@ -26048,50 +25891,52 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Link final Fragment$Section$$PosterSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Link { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$StudyTopic implements Fragment$ItemSectionItem$item$$StudyTopic, Fragment$Section$$PosterSection$items$items$item { - Fragment$Section$$PosterSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$PosterSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$PosterSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -26131,34 +25976,38 @@ class Fragment$Section$$PosterSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$StudyTopic on Fragment$Section$$PosterSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic< - Fragment$Section$$PosterSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic( Fragment$Section$$PosterSection$items$items$item$$StudyTopic instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$StudyTopic) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic( this._instance, this._then, @@ -26167,24 +26016,31 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic final Fragment$Section$$PosterSection$items$items$item$$StudyTopic _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$PosterSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$PosterSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$PosterSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -26202,7 +26058,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Game }); factory Fragment$Section$$PosterSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Game( @@ -26228,10 +26085,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -26260,29 +26114,28 @@ class Fragment$Section$$PosterSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Game on Fragment$Section$$PosterSection$items$items$item$$Game { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game< - Fragment$Section$$PosterSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game( Fragment$Section$$PosterSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Game) then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Game @@ -26296,38 +26149,35 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Game final Fragment$Section$$PosterSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Game { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Playlist @@ -26344,7 +26194,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist }); factory Fragment$Section$$PosterSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; final l$title = json['title']; @@ -26355,8 +26206,10 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist $__typename: (l$$__typename as String), title: (l$title as String), image: (l$image as String?), - items: Fragment$Section$$PosterSection$items$items$item$$Playlist$items - .fromJson((l$items as Map)), + items: + Fragment$Section$$PosterSection$items$items$item$$Playlist$items.fromJson( + (l$items as Map), + ), ); } @@ -26392,13 +26245,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist final l$title = title; final l$image = image; final l$items = items; - return Object.hashAll([ - l$id, - l$$__typename, - l$title, - l$image, - l$items, - ]); + return Object.hashAll([l$id, l$$__typename, l$title, l$image, l$items]); } @override @@ -26442,25 +26289,27 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist on Fragment$Section$$PosterSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist< - Fragment$Section$$PosterSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist( Fragment$Section$$PosterSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist; TRes call({ String? id, @@ -26470,14 +26319,18 @@ abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playli Fragment$Section$$PosterSection$items$items$item$$Playlist$items? items, }); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist( this._instance, this._then, @@ -26486,7 +26339,9 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist< final Fragment$Section$$PosterSection$items$items$item$$Playlist _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist) _then; + Fragment$Section$$PosterSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; @@ -26496,37 +26351,45 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist< Object? title = _undefined, Object? image = _undefined, Object? items = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$PosterSection$items$items$item$$Playlist$items), - )); + ), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -26536,14 +26399,15 @@ class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playli String? title, String? image, Fragment$Section$$PosterSection$items$items$item$$Playlist$items? items, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> - get items => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items - .stub(_res); + TRes + > + get items => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items.stub( + _res, + ); } class Fragment$Section$$PosterSection$items$items$item$$Short @@ -26557,7 +26421,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Short }); factory Fragment$Section$$PosterSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Short( @@ -26583,10 +26448,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -26615,33 +26477,33 @@ class Fragment$Section$$PosterSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Short on Fragment$Section$$PosterSection$items$items$item$$Short { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short< - Fragment$Section$$PosterSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short( Fragment$Section$$PosterSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Short) then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Short( @@ -26652,36 +26514,33 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Short< final Fragment$Section$$PosterSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Short { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Person @@ -26695,7 +26554,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Person }); factory Fragment$Section$$PosterSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Person( @@ -26721,10 +26581,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -26753,37 +26610,38 @@ class Fragment$Section$$PosterSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Person on Fragment$Section$$PosterSection$items$items$item$$Person { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person< - Fragment$Section$$PosterSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person( Fragment$Section$$PosterSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$PosterSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Person( this._instance, this._then, @@ -26792,37 +26650,35 @@ class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Person< final Fragment$Section$$PosterSection$items$items$item$$Person _instance; final TRes Function(Fragment$Section$$PosterSection$items$items$item$$Person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Playlist$items { @@ -26832,22 +26688,27 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items { }); factory Fragment$Section$$PosterSection$items$items$item$$Playlist$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Playlist$items( items: (l$items as List) - .map((e) => - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items> - items; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + > + items; final String $__typename; @@ -26904,102 +26765,136 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items { extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist$items on Fragment$Section$$PosterSection$items$items$item$$Playlist$items { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Playlist$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items( Fragment$Section$$PosterSection$items$items$item$$Playlist$items instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items) - then, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items; TRes call({ - List? - items, + List< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items>>) - _fn); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Playlist$items - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items) _then; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Playlist$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Playlist$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -27011,15 +26906,18 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items { }); factory Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { - case "Short": - return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short - .fromJson(json); - case "Episode": - return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - .fromJson(json); + return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( + json, + ); + + case "Short": + return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( + json, + ); default: final l$image = json['image']; @@ -27048,10 +26946,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items { int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -27081,30 +26976,37 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items { extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items on Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - short, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + episode, required _T Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - episode, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + short, required _T Function() orElse, }) { switch ($__typename) { - case "Short": - return short(this - as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short); - case "Episode": - return episode(this - as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode); + return episode( + this + as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ); + + case "Short": + return short( + this + as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ); default: return orElse(); @@ -27113,26 +27015,32 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Pla _T maybeWhen<_T>({ _T Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short)? - short, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + )? + episode, _T Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode)? - episode, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + )? + short, required _T Function() orElse, }) { switch ($__typename) { - case "Short": - if (short != null) { - return short(this - as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short); + case "Episode": + if (episode != null) { + return episode( + this + as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ); } else { return orElse(); } - case "Episode": - if (episode != null) { - return episode(this - as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode); + case "Short": + if (short != null) { + return short( + this + as Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ); } else { return orElse(); } @@ -27144,87 +27052,87 @@ extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Pla } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items) - then, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items) - _then; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items, + ) + _then; static const _undefined = {}; - TRes call({ - Object? image = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? image = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items( - this._res); + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } -class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short +class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode implements Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items { - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short({ + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode({ this.image, - this.$__typename = 'Short', + this.$__typename = 'Episode', }); - factory Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( - Map json) { + factory Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( + Map json, + ) { final l$image = json['image']; final l$$__typename = json['__typename']; - return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( image: (l$image as String?), $__typename: (l$$__typename as String), ); @@ -27247,10 +27155,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Sh int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -27259,7 +27164,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Sh return true; } if (other - is! Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short || + is! Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode || runtimeType != other.runtimeType) { return false; } @@ -27277,99 +27182,103 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Sh } } -extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short - on Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short { - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + on + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode { + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + this, + (i) => i, + ); } -abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short - instance, +abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> { + factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - then, - ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + then, + ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; - factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short; + factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.stub( + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } -class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> +class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> implements - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes + > { + _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( this._instance, this._then, ); - final Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short - _instance; + final Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - _then; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> +class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> implements - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - this._res); + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes + > { + _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } -class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode +class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short implements Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items { - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode({ + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short({ this.image, - this.$__typename = 'Episode', + this.$__typename = 'Short', }); - factory Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( - Map json) { + factory Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( + Map json, + ) { final l$image = json['image']; final l$$__typename = json['__typename']; - return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + return Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( image: (l$image as String?), $__typename: (l$$__typename as String), ); @@ -27392,10 +27301,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Ep int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -27404,7 +27310,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Ep return true; } if (other - is! Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode || + is! Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short || runtimeType != other.runtimeType) { return false; } @@ -27422,84 +27328,86 @@ class Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Ep } } -extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - on Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode { - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short + on Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short { + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + this, + (i) => i, + ); } -abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - instance, +abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> { + factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - then, - ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + then, + ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short; - factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; + factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short.stub( + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } -class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> +class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> implements - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes + > { + _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( this._instance, this._then, ); - final Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - _instance; + final Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - _then; + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> +class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> implements - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - this._res); + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes + > { + _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } class Fragment$Section$$PosterSection$items$items$item$$Show$seasons { @@ -27509,22 +27417,27 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons { }); factory Fragment$Section$$PosterSection$items$items$item$$Show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Show$seasons( items: (l$items as List) - .map((e) => - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items> - items; + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + > + items; final String $__typename; @@ -27581,102 +27494,132 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons { extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Show$seasons on Fragment$Section$$PosterSection$items$items$item$$Show$seasons { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Show$seasons + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons( Fragment$Section$$PosterSection$items$items$item$$Show$seasons instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons) - then, + Fragment$Section$$PosterSection$items$items$item$$Show$seasons, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons; TRes call({ List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items>>) - _fn); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Show$seasons - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons) _then; + Fragment$Section$$PosterSection$items$items$item$$Show$seasons, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterSection$items$items$item$$Show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons( - this._res); + this._res, + ); TRes _res; call({ List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -27688,19 +27631,21 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items { }); factory Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$episodes = json['episodes']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( episodes: - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes - .fromJson((l$episodes as Map)), + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes.fromJson( + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } final Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes - episodes; + episodes; final String $__typename; @@ -27717,10 +27662,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items { int get hashCode { final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$episodes, l$$__typename]); } @override @@ -27750,101 +27692,117 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items { extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items on Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items) - then, + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items; TRes call({ Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes? - episodes, + episodes, String? $__typename, }); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> get episodes; + TRes + > + get episodes; } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items) - _then; + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items, + ) + _then; static const _undefined = {}; TRes call({ Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> get episodes { + TRes + > + get episodes { final local$episodes = _instance.episodes; return CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes? - episodes, + episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> - get episodes => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes - .stub(_res); + TRes + > + get episodes => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes.stub( + _res, + ); } class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes { @@ -27854,22 +27812,27 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episo }); factory Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( items: (l$items as List) - .map((e) => - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items> - items; + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + items; final String $__typename; @@ -27926,105 +27889,137 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episo extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes on Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes) - then, + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes; TRes call({ - List? - items, + List< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>>) - _fn); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes) - _then; + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -28036,7 +28031,8 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episo }); factory Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.fromJson( - Map json) { + Map json, + ) { final l$publishDate = json['publishDate']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( @@ -28062,10 +28058,7 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episo int get hashCode { final l$publishDate = publishDate; final l$$__typename = $__typename; - return Object.hashAll([ - l$publishDate, - l$$__typename, - ]); + return Object.hashAll([l$publishDate, l$$__typename]); } @override @@ -28093,85 +28086,88 @@ class Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episo } extension UtilityExtension$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - on Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items { + on + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items { CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items> - get copyWith => - CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - this, - (i) => i, - ); + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - instance, + instance, TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items) - then, + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; factory CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; - TRes call({ - String? publishDate, - String? $__typename, - }); + TRes call({String? publishDate, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( this._instance, this._then, ); final Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items) - _then; + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items, + ) + _then; static const _undefined = {}; TRes call({ Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - this._res); + this._res, + ); TRes _res; - call({ - String? publishDate, - String? $__typename, - }) => - _res; + call({String? publishDate, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection @@ -28187,7 +28183,8 @@ class Fragment$Section$$FeaturedSection }); factory Fragment$Section$$FeaturedSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -28199,9 +28196,11 @@ class Fragment$Section$$FeaturedSection metadata: l$metadata == null ? null : Fragment$Section$$FeaturedSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$FeaturedSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -28314,10 +28313,7 @@ class Fragment$Section$$FeaturedSection extension UtilityExtension$Fragment$Section$$FeaturedSection on Fragment$Section$$FeaturedSection { CopyWith$Fragment$Section$$FeaturedSection - get copyWith => CopyWith$Fragment$Section$$FeaturedSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$FeaturedSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$FeaturedSection { @@ -28344,10 +28340,7 @@ abstract class CopyWith$Fragment$Section$$FeaturedSection { class _CopyWithImpl$Fragment$Section$$FeaturedSection implements CopyWith$Fragment$Section$$FeaturedSection { - _CopyWithImpl$Fragment$Section$$FeaturedSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$FeaturedSection(this._instance, this._then); final Fragment$Section$$FeaturedSection _instance; @@ -28363,40 +28356,46 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$FeaturedSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$FeaturedSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$FeaturedSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$FeaturedSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$FeaturedSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$FeaturedSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$FeaturedSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$FeaturedSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$FeaturedSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$FeaturedSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -28414,8 +28413,7 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$FeaturedSection$metadata get metadata => CopyWith$Fragment$Section$$FeaturedSection$metadata.stub(_res); @@ -28439,7 +28437,8 @@ class Fragment$Section$$FeaturedSection$metadata }); factory Fragment$Section$$FeaturedSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -28458,7 +28457,8 @@ class Fragment$Section$$FeaturedSection$metadata page: l$page == null ? null : Fragment$Section$$FeaturedSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -28591,11 +28591,10 @@ class Fragment$Section$$FeaturedSection$metadata extension UtilityExtension$Fragment$Section$$FeaturedSection$metadata on Fragment$Section$$FeaturedSection$metadata { CopyWith$Fragment$Section$$FeaturedSection$metadata< - Fragment$Section$$FeaturedSection$metadata> - get copyWith => CopyWith$Fragment$Section$$FeaturedSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$FeaturedSection$metadata { @@ -28644,45 +28643,48 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$FeaturedSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$FeaturedSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$FeaturedSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$FeaturedSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$FeaturedSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$FeaturedSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -28702,8 +28704,7 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$FeaturedSection$metadata$page get page => CopyWith$Fragment$Section$$FeaturedSection$metadata$page.stub(_res); @@ -28717,7 +28718,8 @@ class Fragment$Section$$FeaturedSection$metadata$page }); factory Fragment$Section$$FeaturedSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$metadata$page( @@ -28743,10 +28745,7 @@ class Fragment$Section$$FeaturedSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -28775,11 +28774,10 @@ class Fragment$Section$$FeaturedSection$metadata$page extension UtilityExtension$Fragment$Section$$FeaturedSection$metadata$page on Fragment$Section$$FeaturedSection$metadata$page { CopyWith$Fragment$Section$$FeaturedSection$metadata$page< - Fragment$Section$$FeaturedSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$FeaturedSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$FeaturedSection$metadata$page { @@ -28789,13 +28787,10 @@ abstract class CopyWith$Fragment$Section$$FeaturedSection$metadata$page { ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$metadata$page; factory CopyWith$Fragment$Section$$FeaturedSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$metadata$page @@ -28811,18 +28806,17 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$metadata$page @@ -28831,11 +28825,7 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items @@ -28848,7 +28838,8 @@ class Fragment$Section$$FeaturedSection$items }); factory Fragment$Section$$FeaturedSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -28857,8 +28848,11 @@ class Fragment$Section$$FeaturedSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$FeaturedSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$FeaturedSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -28943,11 +28937,10 @@ class Fragment$Section$$FeaturedSection$items extension UtilityExtension$Fragment$Section$$FeaturedSection$items on Fragment$Section$$FeaturedSection$items { CopyWith$Fragment$Section$$FeaturedSection$items< - Fragment$Section$$FeaturedSection$items> - get copyWith => CopyWith$Fragment$Section$$FeaturedSection$items( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items { @@ -28966,11 +28959,15 @@ abstract class CopyWith$Fragment$Section$$FeaturedSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$FeaturedSection$items$items< - Fragment$Section$$FeaturedSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$FeaturedSection$items$items< + Fragment$Section$$FeaturedSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items @@ -28991,34 +28988,40 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$FeaturedSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$FeaturedSection$items$items< - Fragment$Section$$FeaturedSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Fragment$Section$$FeaturedSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$FeaturedSection$items$items< + Fragment$Section$$FeaturedSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$FeaturedSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items @@ -29032,8 +29035,7 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -29050,7 +29052,8 @@ class Fragment$Section$$FeaturedSection$items$items }); factory Fragment$Section$$FeaturedSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -29062,7 +29065,8 @@ class Fragment$Section$$FeaturedSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$FeaturedSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -29161,11 +29165,10 @@ class Fragment$Section$$FeaturedSection$items$items extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items on Fragment$Section$$FeaturedSection$items$items { CopyWith$Fragment$Section$$FeaturedSection$items$items< - Fragment$Section$$FeaturedSection$items$items> - get copyWith => CopyWith$Fragment$Section$$FeaturedSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items { @@ -29175,8 +29178,8 @@ abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items { ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items; factory CopyWith$Fragment$Section$$FeaturedSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items; TRes call({ String? id, @@ -29209,28 +29212,31 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$FeaturedSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + }) => _then( + Fragment$Section$$FeaturedSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$FeaturedSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Fragment$Section$$FeaturedSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$FeaturedSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -29247,8 +29253,7 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items Fragment$Section$$FeaturedSection$items$items$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$FeaturedSection$items$items$item get item => CopyWith$Fragment$Section$$FeaturedSection$items$items$item.stub(_res); @@ -29256,56 +29261,69 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items class Fragment$Section$$FeaturedSection$items$items$item implements Fragment$ItemSectionItem$item { - Fragment$Section$$FeaturedSection$items$items$item( - {required this.$__typename}); + Fragment$Section$$FeaturedSection$items$items$item({ + required this.$__typename, + }); factory Fragment$Section$$FeaturedSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$FeaturedSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Fragment$Section$$FeaturedSection$items$items$item$$Show - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Fragment$Section$$FeaturedSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Fragment$Section$$FeaturedSection$items$items$item$$Page - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Fragment$Section$$FeaturedSection$items$items$item$$Link - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Fragment$Section$$FeaturedSection$items$items$item$$Game - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Fragment$Section$$FeaturedSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$Section$$FeaturedSection$items$items$item$$Short - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$Section$$FeaturedSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$FeaturedSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -29345,86 +29363,107 @@ class Fragment$Section$$FeaturedSection$items$items$item extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item on Fragment$Section$$FeaturedSection$items$items$item { CopyWith$Fragment$Section$$FeaturedSection$items$items$item< - Fragment$Section$$FeaturedSection$items$items$item> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item + > + get copyWith => CopyWith$Fragment$Section$$FeaturedSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode) - episode, + Fragment$Section$$FeaturedSection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Show) - show, + Fragment$Section$$FeaturedSection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Season) - season, + Fragment$Section$$FeaturedSection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Page) - page, + Fragment$Section$$FeaturedSection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Link) - link, + Fragment$Section$$FeaturedSection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Game) - game, + Fragment$Section$$FeaturedSection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$FeaturedSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Short) - short, + Fragment$Section$$FeaturedSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$FeaturedSection$items$items$item$$Person) - person, + Fragment$Section$$FeaturedSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Fragment$Section$$FeaturedSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$FeaturedSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$FeaturedSection$items$items$item$$Show); + this as Fragment$Section$$FeaturedSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$FeaturedSection$items$items$item$$Season); + this as Fragment$Section$$FeaturedSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$FeaturedSection$items$items$item$$Page); + this as Fragment$Section$$FeaturedSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$FeaturedSection$items$items$item$$Link); + this as Fragment$Section$$FeaturedSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$FeaturedSection$items$items$item$$Game); + this as Fragment$Section$$FeaturedSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$Section$$FeaturedSection$items$items$item$$Playlist); + return playlist( + this as Fragment$Section$$FeaturedSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$FeaturedSection$items$items$item$$Short); + this as Fragment$Section$$FeaturedSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$FeaturedSection$items$items$item$$Person); + this as Fragment$Section$$FeaturedSection$items$items$item$$Person, + ); default: return orElse(); @@ -29433,28 +29472,29 @@ extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Short)? - short, + short, _T Function(Fragment$Section$$FeaturedSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$FeaturedSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$FeaturedSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -29462,15 +29502,17 @@ extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$FeaturedSection$items$items$item$$Show); + this as Fragment$Section$$FeaturedSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$Section$$FeaturedSection$items$items$item$$Season); + return season( + this as Fragment$Section$$FeaturedSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -29478,7 +29520,8 @@ extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$FeaturedSection$items$items$item$$Page); + this as Fragment$Section$$FeaturedSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -29486,15 +29529,18 @@ extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$FeaturedSection$items$items$item$$Link); + this as Fragment$Section$$FeaturedSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -29502,31 +29548,36 @@ extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$FeaturedSection$items$items$item$$Game); + this as Fragment$Section$$FeaturedSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$FeaturedSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$FeaturedSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Fragment$Section$$FeaturedSection$items$items$item$$Short); + return short( + this as Fragment$Section$$FeaturedSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$Section$$FeaturedSection$items$items$item$$Person); + return person( + this as Fragment$Section$$FeaturedSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -29538,15 +29589,16 @@ extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item( Fragment$Section$$FeaturedSection$items$items$item instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item) then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item; TRes call({String? $__typename}); } @@ -29565,18 +29617,21 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$FeaturedSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$FeaturedSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -29605,7 +29660,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode }); factory Fragment$Section$$FeaturedSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -29620,9 +29676,12 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -29635,15 +29694,17 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$FeaturedSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$FeaturedSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -29664,15 +29725,16 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode final int? number; final Fragment$Section$$FeaturedSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -29811,29 +29873,33 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Episode on Fragment$Section$$FeaturedSection$items$items$item$$Episode { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode< - Fragment$Section$$FeaturedSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode( Fragment$Section$$FeaturedSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Episode) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -29847,20 +29913,31 @@ abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Epis String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode( this._instance, this._then, @@ -29869,7 +29946,9 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode< final Fragment$Section$$FeaturedSection$items$items$item$$Episode _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode) _then; + Fragment$Section$$FeaturedSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -29886,78 +29965,103 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode< Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$FeaturedSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -29969,16 +30073,17 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Epis int? number, Fragment$Section$$FeaturedSection$items$items$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors @@ -29990,14 +30095,16 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -30006,7 +30113,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors } final Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -30076,54 +30183,62 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors on Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -30131,53 +30246,61 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person @@ -30188,7 +30311,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$p }); factory Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( @@ -30214,10 +30338,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$p int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -30245,85 +30366,88 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$p } extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person - on Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person { + on + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season @@ -30337,15 +30461,17 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season }); factory Fragment$Section$$FeaturedSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -30353,7 +30479,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season final int number; final Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -30373,11 +30499,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -30412,52 +30534,61 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season on Fragment$Section$$FeaturedSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( Fragment$Section$$FeaturedSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season) - then, + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$FeaturedSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season) _then; + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -30465,51 +30596,60 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show @@ -30522,7 +30662,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( @@ -30548,10 +30689,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -30581,83 +30719,83 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show on Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Show @@ -30674,7 +30812,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show }); factory Fragment$Section$$FeaturedSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -30686,8 +30825,9 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -30700,7 +30840,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show final String $__typename; final Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -30774,25 +30914,27 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Show on Fragment$Section$$FeaturedSection$items$items$item$$Show { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show< - Fragment$Section$$FeaturedSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show( Fragment$Section$$FeaturedSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show; TRes call({ String? id, @@ -30800,17 +30942,21 @@ abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show int? seasonCount, String? $__typename, Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show( this._instance, this._then, @@ -30819,7 +30965,7 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show< final Fragment$Section$$FeaturedSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -30829,39 +30975,47 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show< Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -30871,15 +31025,16 @@ class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show int? seasonCount, String? $__typename, Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode @@ -30892,7 +31047,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( @@ -30918,10 +31074,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -30951,95 +31104,98 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Season implements Fragment$ItemSectionItem$item$$Season, Fragment$Section$$FeaturedSection$items$items$item { - Fragment$Section$$FeaturedSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$FeaturedSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$FeaturedSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -31078,34 +31234,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Season on Fragment$Section$$FeaturedSection$items$items$item$$Season { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season< - Fragment$Section$$FeaturedSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season( Fragment$Section$$FeaturedSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season( this._instance, this._then, @@ -31114,24 +31274,31 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season< final Fragment$Section$$FeaturedSection$items$items$item$$Season _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Season) _then; + Fragment$Section$$FeaturedSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -31149,7 +31316,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Page }); factory Fragment$Section$$FeaturedSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Page( @@ -31175,10 +31343,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -31207,37 +31372,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Page on Fragment$Section$$FeaturedSection$items$items$item$$Page { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page< - Fragment$Section$$FeaturedSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page( Fragment$Section$$FeaturedSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page( this._instance, this._then, @@ -31246,39 +31412,37 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page< final Fragment$Section$$FeaturedSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Link @@ -31292,7 +31456,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Link }); factory Fragment$Section$$FeaturedSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Link( @@ -31318,10 +31483,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -31350,37 +31512,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Link on Fragment$Section$$FeaturedSection$items$items$item$$Link { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link< - Fragment$Section$$FeaturedSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link( Fragment$Section$$FeaturedSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link( this._instance, this._then, @@ -31389,51 +31552,54 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link< final Fragment$Section$$FeaturedSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic implements Fragment$ItemSectionItem$item$$StudyTopic, Fragment$Section$$FeaturedSection$items$items$item { - Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -31473,62 +31639,74 @@ class Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic on Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic< - Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic instance, TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic) - then, + Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -31546,7 +31724,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Game }); factory Fragment$Section$$FeaturedSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Game( @@ -31572,10 +31751,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -31604,37 +31780,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Game on Fragment$Section$$FeaturedSection$items$items$item$$Game { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game< - Fragment$Section$$FeaturedSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game( Fragment$Section$$FeaturedSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game( this._instance, this._then, @@ -31643,39 +31820,37 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game< final Fragment$Section$$FeaturedSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Playlist @@ -31689,7 +31864,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Playlist }); factory Fragment$Section$$FeaturedSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Playlist( @@ -31715,10 +31891,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -31748,37 +31921,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Playlist on Fragment$Section$$FeaturedSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist< - Fragment$Section$$FeaturedSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist( Fragment$Section$$FeaturedSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist( this._instance, this._then, @@ -31787,37 +31961,37 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist final Fragment$Section$$FeaturedSection$items$items$item$$Playlist _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Playlist) _then; + Fragment$Section$$FeaturedSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Short @@ -31831,7 +32005,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Short }); factory Fragment$Section$$FeaturedSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Short( @@ -31857,10 +32032,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -31889,37 +32061,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Short on Fragment$Section$$FeaturedSection$items$items$item$$Short { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short< - Fragment$Section$$FeaturedSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short( Fragment$Section$$FeaturedSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short( this._instance, this._then, @@ -31928,37 +32101,35 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short< final Fragment$Section$$FeaturedSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$FeaturedSection$items$items$item$$Person @@ -31972,7 +32143,8 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Person }); factory Fragment$Section$$FeaturedSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$FeaturedSection$items$items$item$$Person( @@ -31998,10 +32170,7 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -32030,37 +32199,38 @@ class Fragment$Section$$FeaturedSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$FeaturedSection$items$items$item$$Person on Fragment$Section$$FeaturedSection$items$items$item$$Person { CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person< - Fragment$Section$$FeaturedSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$FeaturedSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person( Fragment$Section$$FeaturedSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$FeaturedSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person( this._instance, this._then, @@ -32069,37 +32239,37 @@ class _CopyWithImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person< final Fragment$Section$$FeaturedSection$items$items$item$$Person _instance; final TRes Function( - Fragment$Section$$FeaturedSection$items$items$item$$Person) _then; + Fragment$Section$$FeaturedSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$FeaturedSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$FeaturedSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$FeaturedSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection @@ -32126,9 +32296,11 @@ class Fragment$Section$$DefaultSection metadata: l$metadata == null ? null : Fragment$Section$$DefaultSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$DefaultSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -32241,10 +32413,7 @@ class Fragment$Section$$DefaultSection extension UtilityExtension$Fragment$Section$$DefaultSection on Fragment$Section$$DefaultSection { CopyWith$Fragment$Section$$DefaultSection - get copyWith => CopyWith$Fragment$Section$$DefaultSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$DefaultSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultSection { @@ -32271,10 +32440,7 @@ abstract class CopyWith$Fragment$Section$$DefaultSection { class _CopyWithImpl$Fragment$Section$$DefaultSection implements CopyWith$Fragment$Section$$DefaultSection { - _CopyWithImpl$Fragment$Section$$DefaultSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$DefaultSection(this._instance, this._then); final Fragment$Section$$DefaultSection _instance; @@ -32290,40 +32456,46 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$DefaultSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$DefaultSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$DefaultSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$DefaultSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$DefaultSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$DefaultSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$DefaultSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$DefaultSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$DefaultSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$DefaultSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$DefaultSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -32341,8 +32513,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultSection$metadata get metadata => CopyWith$Fragment$Section$$DefaultSection$metadata.stub(_res); @@ -32366,7 +32537,8 @@ class Fragment$Section$$DefaultSection$metadata }); factory Fragment$Section$$DefaultSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -32385,7 +32557,8 @@ class Fragment$Section$$DefaultSection$metadata page: l$page == null ? null : Fragment$Section$$DefaultSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -32518,11 +32691,10 @@ class Fragment$Section$$DefaultSection$metadata extension UtilityExtension$Fragment$Section$$DefaultSection$metadata on Fragment$Section$$DefaultSection$metadata { CopyWith$Fragment$Section$$DefaultSection$metadata< - Fragment$Section$$DefaultSection$metadata> - get copyWith => CopyWith$Fragment$Section$$DefaultSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultSection$metadata { @@ -32571,45 +32743,48 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$DefaultSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$DefaultSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$DefaultSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$DefaultSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -32629,8 +32804,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultSection$metadata$page get page => CopyWith$Fragment$Section$$DefaultSection$metadata$page.stub(_res); @@ -32644,7 +32818,8 @@ class Fragment$Section$$DefaultSection$metadata$page }); factory Fragment$Section$$DefaultSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$metadata$page( @@ -32670,10 +32845,7 @@ class Fragment$Section$$DefaultSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -32702,11 +32874,10 @@ class Fragment$Section$$DefaultSection$metadata$page extension UtilityExtension$Fragment$Section$$DefaultSection$metadata$page on Fragment$Section$$DefaultSection$metadata$page { CopyWith$Fragment$Section$$DefaultSection$metadata$page< - Fragment$Section$$DefaultSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$DefaultSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultSection$metadata$page { @@ -32716,13 +32887,10 @@ abstract class CopyWith$Fragment$Section$$DefaultSection$metadata$page { ) = _CopyWithImpl$Fragment$Section$$DefaultSection$metadata$page; factory CopyWith$Fragment$Section$$DefaultSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$metadata$page @@ -32738,18 +32906,17 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$metadata$page @@ -32758,11 +32925,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items @@ -32775,7 +32938,8 @@ class Fragment$Section$$DefaultSection$items }); factory Fragment$Section$$DefaultSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -32784,8 +32948,11 @@ class Fragment$Section$$DefaultSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$DefaultSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$DefaultSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -32870,11 +33037,10 @@ class Fragment$Section$$DefaultSection$items extension UtilityExtension$Fragment$Section$$DefaultSection$items on Fragment$Section$$DefaultSection$items { CopyWith$Fragment$Section$$DefaultSection$items< - Fragment$Section$$DefaultSection$items> - get copyWith => CopyWith$Fragment$Section$$DefaultSection$items( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultSection$items { @@ -32893,11 +33059,15 @@ abstract class CopyWith$Fragment$Section$$DefaultSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultSection$items$items< - Fragment$Section$$DefaultSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$DefaultSection$items$items< + Fragment$Section$$DefaultSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items @@ -32918,34 +33088,40 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultSection$items$items< - Fragment$Section$$DefaultSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$Section$$DefaultSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$DefaultSection$items$items< + Fragment$Section$$DefaultSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$DefaultSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items @@ -32959,8 +33135,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -32976,7 +33151,8 @@ class Fragment$Section$$DefaultSection$items$items }); factory Fragment$Section$$DefaultSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -32987,7 +33163,8 @@ class Fragment$Section$$DefaultSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$DefaultSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -33024,13 +33201,7 @@ class Fragment$Section$$DefaultSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -33074,11 +33245,10 @@ class Fragment$Section$$DefaultSection$items$items extension UtilityExtension$Fragment$Section$$DefaultSection$items$items on Fragment$Section$$DefaultSection$items$items { CopyWith$Fragment$Section$$DefaultSection$items$items< - Fragment$Section$$DefaultSection$items$items> - get copyWith => CopyWith$Fragment$Section$$DefaultSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items { @@ -33119,25 +33289,28 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$DefaultSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$DefaultSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$DefaultSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -33153,8 +33326,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items String? image, Fragment$Section$$DefaultSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultSection$items$items$item get item => CopyWith$Fragment$Section$$DefaultSection$items$items$item.stub(_res); @@ -33162,56 +33334,69 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items class Fragment$Section$$DefaultSection$items$items$item implements Fragment$ItemSectionItem$item { - Fragment$Section$$DefaultSection$items$items$item( - {required this.$__typename}); + Fragment$Section$$DefaultSection$items$items$item({ + required this.$__typename, + }); factory Fragment$Section$$DefaultSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$DefaultSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$DefaultSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": return Fragment$Section$$DefaultSection$items$items$item$$Show.fromJson( - json); + json, + ); case "Season": - return Fragment$Section$$DefaultSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$DefaultSection$items$items$item$$Season.fromJson( + json, + ); case "Page": return Fragment$Section$$DefaultSection$items$items$item$$Page.fromJson( - json); + json, + ); case "Link": return Fragment$Section$$DefaultSection$items$items$item$$Link.fromJson( - json); + json, + ); case "StudyTopic": - return Fragment$Section$$DefaultSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$DefaultSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": return Fragment$Section$$DefaultSection$items$items$item$$Game.fromJson( - json); + json, + ); case "Playlist": - return Fragment$Section$$DefaultSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$DefaultSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$Section$$DefaultSection$items$items$item$$Short - .fromJson(json); + return Fragment$Section$$DefaultSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$Section$$DefaultSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$DefaultSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -33251,86 +33436,106 @@ class Fragment$Section$$DefaultSection$items$items$item extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item on Fragment$Section$$DefaultSection$items$items$item { CopyWith$Fragment$Section$$DefaultSection$items$items$item< - Fragment$Section$$DefaultSection$items$items$item> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item + > + get copyWith => CopyWith$Fragment$Section$$DefaultSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode) - episode, + Fragment$Section$$DefaultSection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Show) - show, + Fragment$Section$$DefaultSection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Season) - season, + Fragment$Section$$DefaultSection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Page) - page, + Fragment$Section$$DefaultSection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Link) - link, + Fragment$Section$$DefaultSection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$DefaultSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Game) - game, + Fragment$Section$$DefaultSection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$DefaultSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Short) - short, + Fragment$Section$$DefaultSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$DefaultSection$items$items$item$$Person) - person, + Fragment$Section$$DefaultSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": return episode( - this as Fragment$Section$$DefaultSection$items$items$item$$Episode); + this as Fragment$Section$$DefaultSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$DefaultSection$items$items$item$$Show); + this as Fragment$Section$$DefaultSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$DefaultSection$items$items$item$$Season); + this as Fragment$Section$$DefaultSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$DefaultSection$items$items$item$$Page); + this as Fragment$Section$$DefaultSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$DefaultSection$items$items$item$$Link); + this as Fragment$Section$$DefaultSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$DefaultSection$items$items$item$$StudyTopic); + return studyTopic( + this as Fragment$Section$$DefaultSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$DefaultSection$items$items$item$$Game); + this as Fragment$Section$$DefaultSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$Section$$DefaultSection$items$items$item$$Playlist); + return playlist( + this as Fragment$Section$$DefaultSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$DefaultSection$items$items$item$$Short); + this as Fragment$Section$$DefaultSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$DefaultSection$items$items$item$$Person); + this as Fragment$Section$$DefaultSection$items$items$item$$Person, + ); default: return orElse(); @@ -33339,28 +33544,29 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$DefaultSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$DefaultSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Short)? - short, + short, _T Function(Fragment$Section$$DefaultSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$DefaultSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$DefaultSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -33368,15 +33574,17 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$DefaultSection$items$items$item$$Show); + this as Fragment$Section$$DefaultSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$Section$$DefaultSection$items$items$item$$Season); + return season( + this as Fragment$Section$$DefaultSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -33384,7 +33592,8 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$DefaultSection$items$items$item$$Page); + this as Fragment$Section$$DefaultSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -33392,15 +33601,18 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$DefaultSection$items$items$item$$Link); + this as Fragment$Section$$DefaultSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$DefaultSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$DefaultSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -33408,15 +33620,17 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$DefaultSection$items$items$item$$Game); + this as Fragment$Section$$DefaultSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$DefaultSection$items$items$item$$Playlist); + return playlist( + this as Fragment$Section$$DefaultSection$items$items$item$$Playlist, + ); } else { return orElse(); } @@ -33424,15 +33638,17 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item case "Short": if (short != null) { return short( - this as Fragment$Section$$DefaultSection$items$items$item$$Short); + this as Fragment$Section$$DefaultSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$Section$$DefaultSection$items$items$item$$Person); + return person( + this as Fragment$Section$$DefaultSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -33444,15 +33660,16 @@ extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item( Fragment$Section$$DefaultSection$items$items$item instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item) then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item; TRes call({String? $__typename}); } @@ -33471,18 +33688,21 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$DefaultSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$DefaultSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item implements CopyWith$Fragment$Section$$DefaultSection$items$items$item { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -33512,7 +33732,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode }); factory Fragment$Section$$DefaultSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -33528,9 +33749,12 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode final l$productionDate = json['productionDate']; return Fragment$Section$$DefaultSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -33543,16 +33767,18 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$DefaultSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$DefaultSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), productionDate: (l$productionDate as String), ); } final List< - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -33573,7 +33799,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode final int? number; final Fragment$Section$$DefaultSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -33582,8 +33808,9 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -33731,29 +33958,33 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Episode on Fragment$Section$$DefaultSection$items$items$item$$Episode { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode< - Fragment$Section$$DefaultSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode( Fragment$Section$$DefaultSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Episode) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -33768,20 +33999,31 @@ abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episo String? productionDate, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode( this._instance, this._then, @@ -33790,7 +34032,9 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode< final Fragment$Section$$DefaultSection$items$items$item$$Episode _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode) _then; + Fragment$Section$$DefaultSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -33808,81 +34052,106 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode< Object? season = _undefined, Object? $__typename = _undefined, Object? productionDate = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$DefaultSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$DefaultSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - productionDate: productionDate == _undefined || productionDate == null - ? _instance.productionDate - : (productionDate as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + productionDate: productionDate == _undefined || productionDate == null + ? _instance.productionDate + : (productionDate as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -33895,16 +34164,17 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episo Fragment$Section$$DefaultSection$items$items$item$$Episode$season? season, String? $__typename, String? productionDate, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors @@ -33916,14 +34186,16 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -33932,7 +34204,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors } final Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -34002,54 +34274,62 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors on Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -34057,53 +34337,61 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$c Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person @@ -34114,7 +34402,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$pe }); factory Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( @@ -34140,10 +34429,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$pe int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -34173,83 +34459,85 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$pe extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person on Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Episode$season @@ -34263,15 +34551,17 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season }); factory Fragment$Section$$DefaultSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -34279,7 +34569,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season final int number; final Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -34299,11 +34589,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -34338,52 +34624,61 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Episode$season on Fragment$Section$$DefaultSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - Fragment$Section$$DefaultSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season( Fragment$Section$$DefaultSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$season) - then, + Fragment$Section$$DefaultSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$DefaultSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$season) _then; + Fragment$Section$$DefaultSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -34391,51 +34686,60 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$s Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$DefaultSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show @@ -34448,7 +34752,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( @@ -34474,10 +34779,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -34507,83 +34809,83 @@ class Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show on Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Show @@ -34600,7 +34902,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show }); factory Fragment$Section$$DefaultSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -34612,8 +34915,9 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -34626,7 +34930,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show final String $__typename; final Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -34700,24 +35004,26 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Show on Fragment$Section$$DefaultSection$items$items$item$$Show { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show< - Fragment$Section$$DefaultSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show( Fragment$Section$$DefaultSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Show) then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show; TRes call({ String? id, @@ -34725,14 +35031,17 @@ abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show( @@ -34743,7 +35052,7 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show< final Fragment$Section$$DefaultSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -34753,38 +35062,45 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show< Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$DefaultSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -34794,15 +35110,16 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode @@ -34815,7 +35132,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( @@ -34841,10 +35159,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -34874,95 +35189,98 @@ class Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Season implements Fragment$ItemSectionItem$item$$Season, Fragment$Section$$DefaultSection$items$items$item { - Fragment$Section$$DefaultSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$DefaultSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$DefaultSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -35001,34 +35319,38 @@ class Fragment$Section$$DefaultSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Season on Fragment$Section$$DefaultSection$items$items$item$$Season { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season< - Fragment$Section$$DefaultSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season( Fragment$Section$$DefaultSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Season( this._instance, this._then, @@ -35037,24 +35359,29 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Season< final Fragment$Section$$DefaultSection$items$items$item$$Season _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Season) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$DefaultSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -35072,7 +35399,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Page }); factory Fragment$Section$$DefaultSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Page( @@ -35098,10 +35426,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -35130,33 +35455,33 @@ class Fragment$Section$$DefaultSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Page on Fragment$Section$$DefaultSection$items$items$item$$Page { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page< - Fragment$Section$$DefaultSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page( Fragment$Section$$DefaultSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Page) then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Page( @@ -35167,38 +35492,35 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Page< final Fragment$Section$$DefaultSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Page { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Link @@ -35212,7 +35534,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Link }); factory Fragment$Section$$DefaultSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Link( @@ -35238,10 +35561,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -35270,33 +35590,33 @@ class Fragment$Section$$DefaultSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Link on Fragment$Section$$DefaultSection$items$items$item$$Link { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link< - Fragment$Section$$DefaultSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link( Fragment$Section$$DefaultSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Link) then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Link( @@ -35307,50 +35627,52 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Link< final Fragment$Section$$DefaultSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Link { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$StudyTopic implements Fragment$ItemSectionItem$item$$StudyTopic, Fragment$Section$$DefaultSection$items$items$item { - Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$DefaultSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$DefaultSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -35390,34 +35712,38 @@ class Fragment$Section$$DefaultSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic on Fragment$Section$$DefaultSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic< - Fragment$Section$$DefaultSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( Fragment$Section$$DefaultSection$items$items$item$$StudyTopic instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$StudyTopic) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( this._instance, this._then, @@ -35426,24 +35752,31 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopi final Fragment$Section$$DefaultSection$items$items$item$$StudyTopic _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$DefaultSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -35461,7 +35794,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Game }); factory Fragment$Section$$DefaultSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Game( @@ -35487,10 +35821,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -35519,33 +35850,33 @@ class Fragment$Section$$DefaultSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Game on Fragment$Section$$DefaultSection$items$items$item$$Game { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game< - Fragment$Section$$DefaultSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game( Fragment$Section$$DefaultSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Game) then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Game( @@ -35556,38 +35887,35 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Game< final Fragment$Section$$DefaultSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Game { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Playlist @@ -35601,7 +35929,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Playlist }); factory Fragment$Section$$DefaultSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Playlist( @@ -35627,10 +35956,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -35659,37 +35985,38 @@ class Fragment$Section$$DefaultSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Playlist on Fragment$Section$$DefaultSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist< - Fragment$Section$$DefaultSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist( Fragment$Section$$DefaultSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist( this._instance, this._then, @@ -35698,37 +36025,37 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist< final Fragment$Section$$DefaultSection$items$items$item$$Playlist _instance; final TRes Function( - Fragment$Section$$DefaultSection$items$items$item$$Playlist) _then; + Fragment$Section$$DefaultSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Short @@ -35742,7 +36069,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Short }); factory Fragment$Section$$DefaultSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Short( @@ -35768,10 +36096,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -35800,37 +36125,38 @@ class Fragment$Section$$DefaultSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Short on Fragment$Section$$DefaultSection$items$items$item$$Short { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short< - Fragment$Section$$DefaultSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short( Fragment$Section$$DefaultSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Short( this._instance, this._then, @@ -35839,37 +36165,35 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Short< final Fragment$Section$$DefaultSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultSection$items$items$item$$Person @@ -35883,7 +36207,8 @@ class Fragment$Section$$DefaultSection$items$items$item$$Person }); factory Fragment$Section$$DefaultSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultSection$items$items$item$$Person( @@ -35909,10 +36234,7 @@ class Fragment$Section$$DefaultSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -35941,37 +36263,38 @@ class Fragment$Section$$DefaultSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$DefaultSection$items$items$item$$Person on Fragment$Section$$DefaultSection$items$items$item$$Person { CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person< - Fragment$Section$$DefaultSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$DefaultSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person( Fragment$Section$$DefaultSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Person( this._instance, this._then, @@ -35980,37 +36303,35 @@ class _CopyWithImpl$Fragment$Section$$DefaultSection$items$items$item$$Person< final Fragment$Section$$DefaultSection$items$items$item$$Person _instance; final TRes Function(Fragment$Section$$DefaultSection$items$items$item$$Person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardSection @@ -36037,9 +36358,11 @@ class Fragment$Section$$CardSection metadata: l$metadata == null ? null : Fragment$Section$$CardSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$CardSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), cardSize: fromJson$Enum$CardSectionSize((l$cardSize as String)), id: (l$id as String), @@ -36152,10 +36475,7 @@ class Fragment$Section$$CardSection extension UtilityExtension$Fragment$Section$$CardSection on Fragment$Section$$CardSection { CopyWith$Fragment$Section$$CardSection - get copyWith => CopyWith$Fragment$Section$$CardSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$CardSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardSection { @@ -36182,10 +36502,7 @@ abstract class CopyWith$Fragment$Section$$CardSection { class _CopyWithImpl$Fragment$Section$$CardSection implements CopyWith$Fragment$Section$$CardSection { - _CopyWithImpl$Fragment$Section$$CardSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$CardSection(this._instance, this._then); final Fragment$Section$$CardSection _instance; @@ -36201,39 +36518,44 @@ class _CopyWithImpl$Fragment$Section$$CardSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$CardSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$CardSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$CardSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - cardSize: cardSize == _undefined || cardSize == null - ? _instance.cardSize - : (cardSize as Enum$CardSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$CardSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$CardSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$CardSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + cardSize: cardSize == _undefined || cardSize == null + ? _instance.cardSize + : (cardSize as Enum$CardSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$CardSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$CardSection$metadata.stub(_then(_instance)) : CopyWith$Fragment$Section$$CardSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$CardSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$CardSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -36251,8 +36573,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardSection$metadata get metadata => CopyWith$Fragment$Section$$CardSection$metadata.stub(_res); @@ -36276,7 +36597,8 @@ class Fragment$Section$$CardSection$metadata }); factory Fragment$Section$$CardSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -36295,7 +36617,8 @@ class Fragment$Section$$CardSection$metadata page: l$page == null ? null : Fragment$Section$$CardSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -36428,11 +36751,10 @@ class Fragment$Section$$CardSection$metadata extension UtilityExtension$Fragment$Section$$CardSection$metadata on Fragment$Section$$CardSection$metadata { CopyWith$Fragment$Section$$CardSection$metadata< - Fragment$Section$$CardSection$metadata> - get copyWith => CopyWith$Fragment$Section$$CardSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$CardSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardSection$metadata { @@ -36481,45 +36803,48 @@ class _CopyWithImpl$Fragment$Section$$CardSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$CardSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$CardSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$CardSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$CardSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$CardSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -36539,8 +36864,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardSection$metadata$page get page => CopyWith$Fragment$Section$$CardSection$metadata$page.stub(_res); @@ -36554,7 +36878,8 @@ class Fragment$Section$$CardSection$metadata$page }); factory Fragment$Section$$CardSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$metadata$page( @@ -36580,10 +36905,7 @@ class Fragment$Section$$CardSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -36612,11 +36934,10 @@ class Fragment$Section$$CardSection$metadata$page extension UtilityExtension$Fragment$Section$$CardSection$metadata$page on Fragment$Section$$CardSection$metadata$page { CopyWith$Fragment$Section$$CardSection$metadata$page< - Fragment$Section$$CardSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$CardSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$CardSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardSection$metadata$page { @@ -36628,10 +36949,7 @@ abstract class CopyWith$Fragment$Section$$CardSection$metadata$page { factory CopyWith$Fragment$Section$$CardSection$metadata$page.stub(TRes res) = _CopyWithStubImpl$Fragment$Section$$CardSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$metadata$page @@ -36647,18 +36965,17 @@ class _CopyWithImpl$Fragment$Section$$CardSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$metadata$page @@ -36667,11 +36984,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items @@ -36684,7 +36997,8 @@ class Fragment$Section$$CardSection$items }); factory Fragment$Section$$CardSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -36693,8 +37007,11 @@ class Fragment$Section$$CardSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$CardSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$CardSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -36779,11 +37096,9 @@ class Fragment$Section$$CardSection$items extension UtilityExtension$Fragment$Section$$CardSection$items on Fragment$Section$$CardSection$items { CopyWith$Fragment$Section$$CardSection$items< - Fragment$Section$$CardSection$items> - get copyWith => CopyWith$Fragment$Section$$CardSection$items( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items + > + get copyWith => CopyWith$Fragment$Section$$CardSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardSection$items { @@ -36802,19 +37117,20 @@ abstract class CopyWith$Fragment$Section$$CardSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardSection$items$items< - Fragment$Section$$CardSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$CardSection$items$items< + Fragment$Section$$CardSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$CardSection$items implements CopyWith$Fragment$Section$$CardSection$items { - _CopyWithImpl$Fragment$Section$$CardSection$items( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$CardSection$items(this._instance, this._then); final Fragment$Section$$CardSection$items _instance; @@ -36827,34 +37143,39 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardSection$items$items< - Fragment$Section$$CardSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$Section$$CardSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$CardSection$items$items< + Fragment$Section$$CardSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$Section$$CardSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items @@ -36868,8 +37189,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -36886,7 +37206,8 @@ class Fragment$Section$$CardSection$items$items }); factory Fragment$Section$$CardSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -36898,7 +37219,8 @@ class Fragment$Section$$CardSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$CardSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -36997,11 +37319,10 @@ class Fragment$Section$$CardSection$items$items extension UtilityExtension$Fragment$Section$$CardSection$items$items on Fragment$Section$$CardSection$items$items { CopyWith$Fragment$Section$$CardSection$items$items< - Fragment$Section$$CardSection$items$items> - get copyWith => CopyWith$Fragment$Section$$CardSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardSection$items$items { @@ -37044,28 +37365,31 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$CardSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + }) => _then( + Fragment$Section$$CardSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$CardSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Fragment$Section$$CardSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$CardSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -37082,8 +37406,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items Fragment$Section$$CardSection$items$items$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardSection$items$items$item get item => CopyWith$Fragment$Section$$CardSection$items$items$item.stub(_res); @@ -37094,52 +37417,64 @@ class Fragment$Section$$CardSection$items$items$item Fragment$Section$$CardSection$items$items$item({required this.$__typename}); factory Fragment$Section$$CardSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": return Fragment$Section$$CardSection$items$items$item$$Episode.fromJson( - json); + json, + ); case "Show": return Fragment$Section$$CardSection$items$items$item$$Show.fromJson( - json); + json, + ); case "Season": return Fragment$Section$$CardSection$items$items$item$$Season.fromJson( - json); + json, + ); case "Page": return Fragment$Section$$CardSection$items$items$item$$Page.fromJson( - json); + json, + ); case "Link": return Fragment$Section$$CardSection$items$items$item$$Link.fromJson( - json); + json, + ); case "StudyTopic": - return Fragment$Section$$CardSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$CardSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": return Fragment$Section$$CardSection$items$items$item$$Game.fromJson( - json); + json, + ); case "Playlist": - return Fragment$Section$$CardSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$CardSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": return Fragment$Section$$CardSection$items$items$item$$Short.fromJson( - json); + json, + ); case "Person": return Fragment$Section$$CardSection$items$items$item$$Person.fromJson( - json); + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -37179,78 +37514,90 @@ class Fragment$Section$$CardSection$items$items$item extension UtilityExtension$Fragment$Section$$CardSection$items$items$item on Fragment$Section$$CardSection$items$items$item { CopyWith$Fragment$Section$$CardSection$items$items$item< - Fragment$Section$$CardSection$items$items$item> - get copyWith => CopyWith$Fragment$Section$$CardSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item(this, (i) => i); _T when<_T>({ required _T Function( - Fragment$Section$$CardSection$items$items$item$$Episode) - episode, + Fragment$Section$$CardSection$items$items$item$$Episode, + ) + episode, required _T Function(Fragment$Section$$CardSection$items$items$item$$Show) - show, + show, required _T Function(Fragment$Section$$CardSection$items$items$item$$Season) - season, + season, required _T Function(Fragment$Section$$CardSection$items$items$item$$Page) - page, + page, required _T Function(Fragment$Section$$CardSection$items$items$item$$Link) - link, + link, required _T Function( - Fragment$Section$$CardSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$CardSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function(Fragment$Section$$CardSection$items$items$item$$Game) - game, + game, required _T Function( - Fragment$Section$$CardSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$CardSection$items$items$item$$Playlist, + ) + playlist, required _T Function(Fragment$Section$$CardSection$items$items$item$$Short) - short, + short, required _T Function(Fragment$Section$$CardSection$items$items$item$$Person) - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": return episode( - this as Fragment$Section$$CardSection$items$items$item$$Episode); + this as Fragment$Section$$CardSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$CardSection$items$items$item$$Show); + this as Fragment$Section$$CardSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$CardSection$items$items$item$$Season); + this as Fragment$Section$$CardSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$CardSection$items$items$item$$Page); + this as Fragment$Section$$CardSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$CardSection$items$items$item$$Link); + this as Fragment$Section$$CardSection$items$items$item$$Link, + ); case "StudyTopic": return studyTopic( - this as Fragment$Section$$CardSection$items$items$item$$StudyTopic); + this as Fragment$Section$$CardSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$CardSection$items$items$item$$Game); + this as Fragment$Section$$CardSection$items$items$item$$Game, + ); case "Playlist": return playlist( - this as Fragment$Section$$CardSection$items$items$item$$Playlist); + this as Fragment$Section$$CardSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$CardSection$items$items$item$$Short); + this as Fragment$Section$$CardSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$CardSection$items$items$item$$Person); + this as Fragment$Section$$CardSection$items$items$item$$Person, + ); default: return orElse(); @@ -37259,16 +37606,16 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$CardSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$CardSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$CardSection$items$items$item$$Season)? season, _T Function(Fragment$Section$$CardSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$CardSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$CardSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$CardSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$CardSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$CardSection$items$items$item$$Short)? short, _T Function(Fragment$Section$$CardSection$items$items$item$$Person)? person, required _T Function() orElse, @@ -37277,7 +37624,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Episode": if (episode != null) { return episode( - this as Fragment$Section$$CardSection$items$items$item$$Episode); + this as Fragment$Section$$CardSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -37285,7 +37633,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$CardSection$items$items$item$$Show); + this as Fragment$Section$$CardSection$items$items$item$$Show, + ); } else { return orElse(); } @@ -37293,7 +37642,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Season": if (season != null) { return season( - this as Fragment$Section$$CardSection$items$items$item$$Season); + this as Fragment$Section$$CardSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -37301,7 +37651,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$CardSection$items$items$item$$Page); + this as Fragment$Section$$CardSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -37309,15 +37660,17 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$CardSection$items$items$item$$Link); + this as Fragment$Section$$CardSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$CardSection$items$items$item$$StudyTopic); + return studyTopic( + this as Fragment$Section$$CardSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -37325,7 +37678,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$CardSection$items$items$item$$Game); + this as Fragment$Section$$CardSection$items$items$item$$Game, + ); } else { return orElse(); } @@ -37333,7 +37687,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Playlist": if (playlist != null) { return playlist( - this as Fragment$Section$$CardSection$items$items$item$$Playlist); + this as Fragment$Section$$CardSection$items$items$item$$Playlist, + ); } else { return orElse(); } @@ -37341,7 +37696,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Short": if (short != null) { return short( - this as Fragment$Section$$CardSection$items$items$item$$Short); + this as Fragment$Section$$CardSection$items$items$item$$Short, + ); } else { return orElse(); } @@ -37349,7 +37705,8 @@ extension UtilityExtension$Fragment$Section$$CardSection$items$items$item case "Person": if (person != null) { return person( - this as Fragment$Section$$CardSection$items$items$item$$Person); + this as Fragment$Section$$CardSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -37367,8 +37724,8 @@ abstract class CopyWith$Fragment$Section$$CardSection$items$items$item { ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item; factory CopyWith$Fragment$Section$$CardSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item; TRes call({String? $__typename}); } @@ -37386,11 +37743,13 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$CardSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$CardSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item @@ -37425,7 +37784,8 @@ class Fragment$Section$$CardSection$items$items$item$$Episode }); factory Fragment$Section$$CardSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -37440,9 +37800,12 @@ class Fragment$Section$$CardSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$CardSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$CardSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -37455,15 +37818,17 @@ class Fragment$Section$$CardSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$CardSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$CardSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$CardSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -37490,8 +37855,9 @@ class Fragment$Section$$CardSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -37630,28 +37996,30 @@ class Fragment$Section$$CardSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Episode on Fragment$Section$$CardSection$items$items$item$$Episode { CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode< - Fragment$Section$$CardSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode( Fragment$Section$$CardSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Episode) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode; TRes call({ List? - contributors, + contributors, String? description, String? id, String? title, @@ -37665,17 +38033,25 @@ abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode< String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - Fragment$Section$$CardSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season - get season; + get season; } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode( @@ -37686,7 +38062,7 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode< final Fragment$Section$$CardSection$items$items$item$$Episode _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Episode) - _then; + _then; static const _undefined = {}; @@ -37703,77 +38079,97 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode< Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$CardSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$CardSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$CardSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - Fragment$Section$$CardSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season - get season { + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ List? - contributors, + contributors, String? description, String? id, String? title, @@ -37785,15 +38181,15 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode< int? number, Fragment$Section$$CardSection$items$items$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season - get season => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season - .stub(_res); + get season => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$CardSection$items$items$item$$Episode$contributors @@ -37807,14 +38203,16 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$CardSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -37823,7 +38221,7 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$contributors } final Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -37893,54 +38291,62 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Episode$contributors on Fragment$Section$$CardSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - Fragment$Section$$CardSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( Fragment$Section$$CardSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$CardSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$CardSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -37948,53 +38354,61 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$cont Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$CardSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person @@ -38007,7 +38421,8 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$contributors$perso }); factory Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( @@ -38033,10 +38448,7 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$contributors$perso int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -38066,83 +38478,85 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$contributors$perso extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person on Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Episode$season @@ -38157,14 +38571,17 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season }); factory Fragment$Section$$CardSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Episode$season( number: (l$number as int), - $show: Fragment$Section$$CardSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + $show: + Fragment$Section$$CardSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -38172,7 +38589,7 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season final int number; final Fragment$Section$$CardSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -38192,11 +38609,7 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -38231,26 +38644,29 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Episode$season on Fragment$Section$$CardSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season< - Fragment$Section$$CardSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season( Fragment$Section$$CardSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$season) - then, + Fragment$Section$$CardSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season; TRes call({ int? number, @@ -38258,24 +38674,30 @@ abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$ String? $__typename, }); CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$season) _then; + Fragment$Section$$CardSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -38283,35 +38705,43 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$seas Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$CardSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$CardSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; @@ -38319,14 +38749,15 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$ int? number, Fragment$Section$$CardSection$items$items$item$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$CardSection$items$items$item$$Episode$season$show @@ -38340,7 +38771,8 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$CardSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Episode$season$show( @@ -38366,10 +38798,7 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -38399,82 +38828,83 @@ class Fragment$Section$$CardSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Episode$season$show on Fragment$Section$$CardSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - Fragment$Section$$CardSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show( Fragment$Section$$CardSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$CardSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$CardSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Show @@ -38492,7 +38922,8 @@ class Fragment$Section$$CardSection$items$items$item$$Show }); factory Fragment$Section$$CardSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -38504,8 +38935,9 @@ class Fragment$Section$$CardSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -38518,7 +38950,7 @@ class Fragment$Section$$CardSection$items$items$item$$Show final String $__typename; final Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -38592,24 +39024,25 @@ class Fragment$Section$$CardSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Show on Fragment$Section$$CardSection$items$items$item$$Show { CopyWith$Fragment$Section$$CardSection$items$items$item$$Show< - Fragment$Section$$CardSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Show + > + get copyWith => CopyWith$Fragment$Section$$CardSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Show( Fragment$Section$$CardSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Show) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show; TRes call({ String? id, @@ -38617,10 +39050,12 @@ abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show @@ -38634,7 +39069,7 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show final Fragment$Section$$CardSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -38644,38 +39079,45 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$CardSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Show { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -38685,15 +39127,16 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode @@ -38707,7 +39150,8 @@ class Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( @@ -38733,10 +39177,7 @@ class Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -38766,80 +39207,81 @@ class Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Season @@ -38847,14 +39289,17 @@ class Fragment$Section$$CardSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$CardItem$item$$Season, Fragment$Section$$CardSection$items$items$item { - Fragment$Section$$CardSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$CardSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$CardSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -38893,24 +39338,26 @@ class Fragment$Section$$CardSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Season on Fragment$Section$$CardSection$items$items$item$$Season { CopyWith$Fragment$Section$$CardSection$items$items$item$$Season< - Fragment$Section$$CardSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Season( Fragment$Section$$CardSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Season) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Season; TRes call({String? $__typename}); } @@ -38926,23 +39373,27 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Season final Fragment$Section$$CardSection$items$items$item$$Season _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Season) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$CardSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$CardSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Season { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -38961,7 +39412,8 @@ class Fragment$Section$$CardSection$items$items$item$$Page }); factory Fragment$Section$$CardSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Page( @@ -38987,10 +39439,7 @@ class Fragment$Section$$CardSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -39019,29 +39468,27 @@ class Fragment$Section$$CardSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Page on Fragment$Section$$CardSection$items$items$item$$Page { CopyWith$Fragment$Section$$CardSection$items$items$item$$Page< - Fragment$Section$$CardSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Page + > + get copyWith => CopyWith$Fragment$Section$$CardSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Page( Fragment$Section$$CardSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Page) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Page @@ -39055,38 +39502,35 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Page final Fragment$Section$$CardSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Page { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Link @@ -39101,7 +39545,8 @@ class Fragment$Section$$CardSection$items$items$item$$Link }); factory Fragment$Section$$CardSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Link( @@ -39127,10 +39572,7 @@ class Fragment$Section$$CardSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -39159,29 +39601,27 @@ class Fragment$Section$$CardSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Link on Fragment$Section$$CardSection$items$items$item$$Link { CopyWith$Fragment$Section$$CardSection$items$items$item$$Link< - Fragment$Section$$CardSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Link + > + get copyWith => CopyWith$Fragment$Section$$CardSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Link( Fragment$Section$$CardSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Link) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Link @@ -39195,36 +39635,35 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Link final Fragment$Section$$CardSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Link { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$StudyTopic @@ -39242,7 +39681,8 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic }); factory Fragment$Section$$CardSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -39255,13 +39695,17 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: - Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - .fromJson((l$lessonsProgress as Map)), + Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( + (l$lessonsProgress as Map), + ), ); } @@ -39274,10 +39718,10 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic final String description; final List - images; + images; final Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - lessonsProgress; + lessonsProgress; Map toJson() { final _resultData = {}; @@ -39367,25 +39811,27 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$StudyTopic on Fragment$Section$$CardSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic< - Fragment$Section$$CardSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic( Fragment$Section$$CardSection$items$items$item$$StudyTopic instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$StudyTopic) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic; TRes call({ String? $__typename, @@ -39393,25 +39839,34 @@ abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTop String? title, String? description, List? - images, + images, Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, + lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images>>) - _fn); + Iterable + Function( + Iterable< + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress; + TRes + > + get lessonsProgress; } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic( this._instance, this._then, @@ -39420,7 +39875,9 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic< final Fragment$Section$$CardSection$items$items$item$$StudyTopic _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$CardSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; @@ -39431,57 +39888,75 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic< Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List< - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images>), - lessonsProgress: lessonsProgress == _undefined || - lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress + }) => _then( + Fragment$Section$$CardSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images + as List< + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images + >), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress as Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress), - )); + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images.map((e) => - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable + Function( + Iterable< + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress { + TRes + > + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -39491,19 +39966,20 @@ class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTop String? title, String? description, List? - images, + images, Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, - }) => - _res; + lessonsProgress, + }) => _res; images(_fn) => _res; CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> - get lessonsProgress => - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - .stub(_res); + TRes + > + get lessonsProgress => + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.stub( + _res, + ); } class Fragment$Section$$CardSection$items$items$item$$Game @@ -39518,7 +39994,8 @@ class Fragment$Section$$CardSection$items$items$item$$Game }); factory Fragment$Section$$CardSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Game( @@ -39544,10 +40021,7 @@ class Fragment$Section$$CardSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -39576,29 +40050,27 @@ class Fragment$Section$$CardSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Game on Fragment$Section$$CardSection$items$items$item$$Game { CopyWith$Fragment$Section$$CardSection$items$items$item$$Game< - Fragment$Section$$CardSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Game + > + get copyWith => CopyWith$Fragment$Section$$CardSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Game( Fragment$Section$$CardSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Game) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Game @@ -39612,38 +40084,35 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Game final Fragment$Section$$CardSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Game { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Playlist @@ -39658,7 +40127,8 @@ class Fragment$Section$$CardSection$items$items$item$$Playlist }); factory Fragment$Section$$CardSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Playlist( @@ -39684,10 +40154,7 @@ class Fragment$Section$$CardSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -39716,37 +40183,38 @@ class Fragment$Section$$CardSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Playlist on Fragment$Section$$CardSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist< - Fragment$Section$$CardSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist( Fragment$Section$$CardSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Playlist( this._instance, this._then, @@ -39755,37 +40223,35 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Playlist< final Fragment$Section$$CardSection$items$items$item$$Playlist _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Playlist) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Short @@ -39800,7 +40266,8 @@ class Fragment$Section$$CardSection$items$items$item$$Short }); factory Fragment$Section$$CardSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Short( @@ -39826,10 +40293,7 @@ class Fragment$Section$$CardSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -39858,29 +40322,28 @@ class Fragment$Section$$CardSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Short on Fragment$Section$$CardSection$items$items$item$$Short { CopyWith$Fragment$Section$$CardSection$items$items$item$$Short< - Fragment$Section$$CardSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Short( Fragment$Section$$CardSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Short) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Short @@ -39894,36 +40357,33 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Short final Fragment$Section$$CardSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Short { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$Person @@ -39938,7 +40398,8 @@ class Fragment$Section$$CardSection$items$items$item$$Person }); factory Fragment$Section$$CardSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardSection$items$items$item$$Person( @@ -39964,10 +40425,7 @@ class Fragment$Section$$CardSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -39996,29 +40454,28 @@ class Fragment$Section$$CardSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$Person on Fragment$Section$$CardSection$items$items$item$$Person { CopyWith$Fragment$Section$$CardSection$items$items$item$$Person< - Fragment$Section$$CardSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Person( Fragment$Section$$CardSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$CardSection$items$items$item$$Person) then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Person @@ -40032,36 +40489,33 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$Person final Fragment$Section$$CardSection$items$items$item$$Person _instance; final TRes Function(Fragment$Section$$CardSection$items$items$item$$Person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$Person { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$ListSection @@ -40086,9 +40540,11 @@ class Fragment$Section$$ListSection metadata: l$metadata == null ? null : Fragment$Section$$ListSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$ListSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -40189,10 +40645,7 @@ class Fragment$Section$$ListSection extension UtilityExtension$Fragment$Section$$ListSection on Fragment$Section$$ListSection { CopyWith$Fragment$Section$$ListSection - get copyWith => CopyWith$Fragment$Section$$ListSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$ListSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$ListSection { @@ -40218,10 +40671,7 @@ abstract class CopyWith$Fragment$Section$$ListSection { class _CopyWithImpl$Fragment$Section$$ListSection implements CopyWith$Fragment$Section$$ListSection { - _CopyWithImpl$Fragment$Section$$ListSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$ListSection(this._instance, this._then); final Fragment$Section$$ListSection _instance; @@ -40236,36 +40686,41 @@ class _CopyWithImpl$Fragment$Section$$ListSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$ListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$ListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$ListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$ListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$ListSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$ListSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$ListSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$ListSection$metadata.stub(_then(_instance)) : CopyWith$Fragment$Section$$ListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$ListSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$ListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -40282,8 +40737,7 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$ListSection$metadata get metadata => CopyWith$Fragment$Section$$ListSection$metadata.stub(_res); @@ -40307,7 +40761,8 @@ class Fragment$Section$$ListSection$metadata }); factory Fragment$Section$$ListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -40326,7 +40781,8 @@ class Fragment$Section$$ListSection$metadata page: l$page == null ? null : Fragment$Section$$ListSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -40459,11 +40915,10 @@ class Fragment$Section$$ListSection$metadata extension UtilityExtension$Fragment$Section$$ListSection$metadata on Fragment$Section$$ListSection$metadata { CopyWith$Fragment$Section$$ListSection$metadata< - Fragment$Section$$ListSection$metadata> - get copyWith => CopyWith$Fragment$Section$$ListSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$ListSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$ListSection$metadata { @@ -40512,45 +40967,48 @@ class _CopyWithImpl$Fragment$Section$$ListSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$ListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$ListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$ListSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$ListSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$ListSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$ListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -40570,8 +41028,7 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$ListSection$metadata$page get page => CopyWith$Fragment$Section$$ListSection$metadata$page.stub(_res); @@ -40585,7 +41042,8 @@ class Fragment$Section$$ListSection$metadata$page }); factory Fragment$Section$$ListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$metadata$page( @@ -40611,10 +41069,7 @@ class Fragment$Section$$ListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -40643,11 +41098,10 @@ class Fragment$Section$$ListSection$metadata$page extension UtilityExtension$Fragment$Section$$ListSection$metadata$page on Fragment$Section$$ListSection$metadata$page { CopyWith$Fragment$Section$$ListSection$metadata$page< - Fragment$Section$$ListSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$ListSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$ListSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$ListSection$metadata$page { @@ -40659,10 +41113,7 @@ abstract class CopyWith$Fragment$Section$$ListSection$metadata$page { factory CopyWith$Fragment$Section$$ListSection$metadata$page.stub(TRes res) = _CopyWithStubImpl$Fragment$Section$$ListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$metadata$page @@ -40678,18 +41129,17 @@ class _CopyWithImpl$Fragment$Section$$ListSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$metadata$page @@ -40698,11 +41148,7 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items @@ -40715,7 +41161,8 @@ class Fragment$Section$$ListSection$items }); factory Fragment$Section$$ListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -40724,8 +41171,11 @@ class Fragment$Section$$ListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$ListSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$ListSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -40810,11 +41260,9 @@ class Fragment$Section$$ListSection$items extension UtilityExtension$Fragment$Section$$ListSection$items on Fragment$Section$$ListSection$items { CopyWith$Fragment$Section$$ListSection$items< - Fragment$Section$$ListSection$items> - get copyWith => CopyWith$Fragment$Section$$ListSection$items( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items + > + get copyWith => CopyWith$Fragment$Section$$ListSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$ListSection$items { @@ -40833,19 +41281,20 @@ abstract class CopyWith$Fragment$Section$$ListSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$ListSection$items$items< - Fragment$Section$$ListSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$ListSection$items$items< + Fragment$Section$$ListSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$ListSection$items implements CopyWith$Fragment$Section$$ListSection$items { - _CopyWithImpl$Fragment$Section$$ListSection$items( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$ListSection$items(this._instance, this._then); final Fragment$Section$$ListSection$items _instance; @@ -40858,34 +41307,39 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$ListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$ListSection$items$items< - Fragment$Section$$ListSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$Section$$ListSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$ListSection$items$items< + Fragment$Section$$ListSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$Section$$ListSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items @@ -40899,8 +41353,7 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -40916,7 +41369,8 @@ class Fragment$Section$$ListSection$items$items }); factory Fragment$Section$$ListSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -40927,7 +41381,8 @@ class Fragment$Section$$ListSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$ListSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -40964,13 +41419,7 @@ class Fragment$Section$$ListSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -41014,11 +41463,10 @@ class Fragment$Section$$ListSection$items$items extension UtilityExtension$Fragment$Section$$ListSection$items$items on Fragment$Section$$ListSection$items$items { CopyWith$Fragment$Section$$ListSection$items$items< - Fragment$Section$$ListSection$items$items> - get copyWith => CopyWith$Fragment$Section$$ListSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$ListSection$items$items { @@ -41059,25 +41507,28 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$ListSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$ListSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$ListSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$ListSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$ListSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -41093,8 +41544,7 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items String? image, Fragment$Section$$ListSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$ListSection$items$items$item get item => CopyWith$Fragment$Section$$ListSection$items$items$item.stub(_res); @@ -41105,52 +41555,64 @@ class Fragment$Section$$ListSection$items$items$item Fragment$Section$$ListSection$items$items$item({required this.$__typename}); factory Fragment$Section$$ListSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": return Fragment$Section$$ListSection$items$items$item$$Episode.fromJson( - json); + json, + ); case "Show": return Fragment$Section$$ListSection$items$items$item$$Show.fromJson( - json); + json, + ); case "Season": return Fragment$Section$$ListSection$items$items$item$$Season.fromJson( - json); + json, + ); case "Page": return Fragment$Section$$ListSection$items$items$item$$Page.fromJson( - json); + json, + ); case "Link": return Fragment$Section$$ListSection$items$items$item$$Link.fromJson( - json); + json, + ); case "StudyTopic": - return Fragment$Section$$ListSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$ListSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": return Fragment$Section$$ListSection$items$items$item$$Game.fromJson( - json); + json, + ); case "Playlist": - return Fragment$Section$$ListSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$ListSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": return Fragment$Section$$ListSection$items$items$item$$Short.fromJson( - json); + json, + ); case "Person": return Fragment$Section$$ListSection$items$items$item$$Person.fromJson( - json); + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -41190,78 +41652,90 @@ class Fragment$Section$$ListSection$items$items$item extension UtilityExtension$Fragment$Section$$ListSection$items$items$item on Fragment$Section$$ListSection$items$items$item { CopyWith$Fragment$Section$$ListSection$items$items$item< - Fragment$Section$$ListSection$items$items$item> - get copyWith => CopyWith$Fragment$Section$$ListSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item(this, (i) => i); _T when<_T>({ required _T Function( - Fragment$Section$$ListSection$items$items$item$$Episode) - episode, + Fragment$Section$$ListSection$items$items$item$$Episode, + ) + episode, required _T Function(Fragment$Section$$ListSection$items$items$item$$Show) - show, + show, required _T Function(Fragment$Section$$ListSection$items$items$item$$Season) - season, + season, required _T Function(Fragment$Section$$ListSection$items$items$item$$Page) - page, + page, required _T Function(Fragment$Section$$ListSection$items$items$item$$Link) - link, + link, required _T Function( - Fragment$Section$$ListSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$ListSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function(Fragment$Section$$ListSection$items$items$item$$Game) - game, + game, required _T Function( - Fragment$Section$$ListSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$ListSection$items$items$item$$Playlist, + ) + playlist, required _T Function(Fragment$Section$$ListSection$items$items$item$$Short) - short, + short, required _T Function(Fragment$Section$$ListSection$items$items$item$$Person) - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": return episode( - this as Fragment$Section$$ListSection$items$items$item$$Episode); + this as Fragment$Section$$ListSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$ListSection$items$items$item$$Show); + this as Fragment$Section$$ListSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$ListSection$items$items$item$$Season); + this as Fragment$Section$$ListSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$ListSection$items$items$item$$Page); + this as Fragment$Section$$ListSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$ListSection$items$items$item$$Link); + this as Fragment$Section$$ListSection$items$items$item$$Link, + ); case "StudyTopic": return studyTopic( - this as Fragment$Section$$ListSection$items$items$item$$StudyTopic); + this as Fragment$Section$$ListSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$ListSection$items$items$item$$Game); + this as Fragment$Section$$ListSection$items$items$item$$Game, + ); case "Playlist": return playlist( - this as Fragment$Section$$ListSection$items$items$item$$Playlist); + this as Fragment$Section$$ListSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$ListSection$items$items$item$$Short); + this as Fragment$Section$$ListSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$ListSection$items$items$item$$Person); + this as Fragment$Section$$ListSection$items$items$item$$Person, + ); default: return orElse(); @@ -41270,16 +41744,16 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$ListSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$ListSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$ListSection$items$items$item$$Season)? season, _T Function(Fragment$Section$$ListSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$ListSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$ListSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$ListSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$ListSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$ListSection$items$items$item$$Short)? short, _T Function(Fragment$Section$$ListSection$items$items$item$$Person)? person, required _T Function() orElse, @@ -41288,7 +41762,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Episode": if (episode != null) { return episode( - this as Fragment$Section$$ListSection$items$items$item$$Episode); + this as Fragment$Section$$ListSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -41296,7 +41771,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$ListSection$items$items$item$$Show); + this as Fragment$Section$$ListSection$items$items$item$$Show, + ); } else { return orElse(); } @@ -41304,7 +41780,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Season": if (season != null) { return season( - this as Fragment$Section$$ListSection$items$items$item$$Season); + this as Fragment$Section$$ListSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -41312,7 +41789,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$ListSection$items$items$item$$Page); + this as Fragment$Section$$ListSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -41320,15 +41798,17 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$ListSection$items$items$item$$Link); + this as Fragment$Section$$ListSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$ListSection$items$items$item$$StudyTopic); + return studyTopic( + this as Fragment$Section$$ListSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -41336,7 +41816,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$ListSection$items$items$item$$Game); + this as Fragment$Section$$ListSection$items$items$item$$Game, + ); } else { return orElse(); } @@ -41344,7 +41825,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Playlist": if (playlist != null) { return playlist( - this as Fragment$Section$$ListSection$items$items$item$$Playlist); + this as Fragment$Section$$ListSection$items$items$item$$Playlist, + ); } else { return orElse(); } @@ -41352,7 +41834,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Short": if (short != null) { return short( - this as Fragment$Section$$ListSection$items$items$item$$Short); + this as Fragment$Section$$ListSection$items$items$item$$Short, + ); } else { return orElse(); } @@ -41360,7 +41843,8 @@ extension UtilityExtension$Fragment$Section$$ListSection$items$items$item case "Person": if (person != null) { return person( - this as Fragment$Section$$ListSection$items$items$item$$Person); + this as Fragment$Section$$ListSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -41378,8 +41862,8 @@ abstract class CopyWith$Fragment$Section$$ListSection$items$items$item { ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item; factory CopyWith$Fragment$Section$$ListSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item; TRes call({String? $__typename}); } @@ -41397,11 +41881,13 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$ListSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$ListSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item @@ -41436,7 +41922,8 @@ class Fragment$Section$$ListSection$items$items$item$$Episode }); factory Fragment$Section$$ListSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -41452,9 +41939,12 @@ class Fragment$Section$$ListSection$items$items$item$$Episode final l$ageRating = json['ageRating']; return Fragment$Section$$ListSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$ListSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$ListSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -41467,16 +41957,18 @@ class Fragment$Section$$ListSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$ListSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$ListSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ageRating: (l$ageRating as String), ); } final List< - Fragment$Section$$ListSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -41505,8 +41997,9 @@ class Fragment$Section$$ListSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -41654,28 +42147,30 @@ class Fragment$Section$$ListSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Episode on Fragment$Section$$ListSection$items$items$item$$Episode { CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode< - Fragment$Section$$ListSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode( Fragment$Section$$ListSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Episode) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode; TRes call({ List? - contributors, + contributors, String? description, String? id, String? title, @@ -41690,17 +42185,25 @@ abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode< String? ageRating, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - Fragment$Section$$ListSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season - get season; + get season; } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode( @@ -41711,7 +42214,7 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode< final Fragment$Section$$ListSection$items$items$item$$Episode _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Episode) - _then; + _then; static const _undefined = {}; @@ -41729,80 +42232,100 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode< Object? season = _undefined, Object? $__typename = _undefined, Object? ageRating = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$ListSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$ListSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$ListSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - Fragment$Section$$ListSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season - get season { + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ List? - contributors, + contributors, String? description, String? id, String? title, @@ -41815,15 +42338,15 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode< Fragment$Section$$ListSection$items$items$item$$Episode$season? season, String? $__typename, String? ageRating, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season - get season => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season - .stub(_res); + get season => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$ListSection$items$items$item$$Episode$contributors @@ -41835,14 +42358,16 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$ListSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -41851,7 +42376,7 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$contributors } final Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -41921,54 +42446,62 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Episode$contributors on Fragment$Section$$ListSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - Fragment$Section$$ListSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( Fragment$Section$$ListSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$ListSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$ListSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$ListSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -41976,53 +42509,61 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$cont Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$ListSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$ListSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person @@ -42033,7 +42574,8 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$contributors$perso }); factory Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( @@ -42059,10 +42601,7 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$contributors$perso int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -42092,83 +42631,85 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$contributors$perso extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person on Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Episode$season @@ -42182,14 +42723,17 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season }); factory Fragment$Section$$ListSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Episode$season( number: (l$number as int), - $show: Fragment$Section$$ListSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + $show: + Fragment$Section$$ListSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -42197,7 +42741,7 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season final int number; final Fragment$Section$$ListSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -42217,11 +42761,7 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -42256,26 +42796,29 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Episode$season on Fragment$Section$$ListSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season< - Fragment$Section$$ListSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season( Fragment$Section$$ListSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$season) - then, + Fragment$Section$$ListSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season; TRes call({ int? number, @@ -42283,24 +42826,30 @@ abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$ String? $__typename, }); CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$ListSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$season) _then; + Fragment$Section$$ListSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -42308,35 +42857,43 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$seas Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$ListSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$ListSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; @@ -42344,14 +42901,15 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$ int? number, Fragment$Section$$ListSection$items$items$item$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$ListSection$items$items$item$$Episode$season$show @@ -42364,7 +42922,8 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$ListSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Episode$season$show( @@ -42390,10 +42949,7 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -42423,82 +42979,83 @@ class Fragment$Section$$ListSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Episode$season$show on Fragment$Section$$ListSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - Fragment$Section$$ListSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show( Fragment$Section$$ListSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$ListSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$ListSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$ListSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$ListSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Show @@ -42515,7 +43072,8 @@ class Fragment$Section$$ListSection$items$items$item$$Show }); factory Fragment$Section$$ListSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -42527,8 +43085,9 @@ class Fragment$Section$$ListSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -42541,7 +43100,7 @@ class Fragment$Section$$ListSection$items$items$item$$Show final String $__typename; final Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -42615,24 +43174,25 @@ class Fragment$Section$$ListSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Show on Fragment$Section$$ListSection$items$items$item$$Show { CopyWith$Fragment$Section$$ListSection$items$items$item$$Show< - Fragment$Section$$ListSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Show + > + get copyWith => CopyWith$Fragment$Section$$ListSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Show( Fragment$Section$$ListSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Show) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show; TRes call({ String? id, @@ -42640,10 +43200,12 @@ abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show @@ -42657,7 +43219,7 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show final Fragment$Section$$ListSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -42667,38 +43229,45 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$ListSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Show { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -42708,15 +43277,16 @@ class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show< int? seasonCount, String? $__typename, Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode @@ -42729,7 +43299,8 @@ class Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( @@ -42755,10 +43326,7 @@ class Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -42788,94 +43356,98 @@ class Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Season implements Fragment$ItemSectionItem$item$$Season, Fragment$Section$$ListSection$items$items$item { - Fragment$Section$$ListSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$ListSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$ListSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -42914,24 +43486,26 @@ class Fragment$Section$$ListSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Season on Fragment$Section$$ListSection$items$items$item$$Season { CopyWith$Fragment$Section$$ListSection$items$items$item$$Season< - Fragment$Section$$ListSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Season( Fragment$Section$$ListSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Season) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Season; TRes call({String? $__typename}); } @@ -42947,23 +43521,27 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Season final Fragment$Section$$ListSection$items$items$item$$Season _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Season) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$ListSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$ListSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Season { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -42981,7 +43559,8 @@ class Fragment$Section$$ListSection$items$items$item$$Page }); factory Fragment$Section$$ListSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Page( @@ -43007,10 +43586,7 @@ class Fragment$Section$$ListSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -43039,29 +43615,27 @@ class Fragment$Section$$ListSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Page on Fragment$Section$$ListSection$items$items$item$$Page { CopyWith$Fragment$Section$$ListSection$items$items$item$$Page< - Fragment$Section$$ListSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Page + > + get copyWith => CopyWith$Fragment$Section$$ListSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Page( Fragment$Section$$ListSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Page) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Page @@ -43075,38 +43649,35 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Page final Fragment$Section$$ListSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Page { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Link @@ -43120,7 +43691,8 @@ class Fragment$Section$$ListSection$items$items$item$$Link }); factory Fragment$Section$$ListSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Link( @@ -43146,10 +43718,7 @@ class Fragment$Section$$ListSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -43178,29 +43747,27 @@ class Fragment$Section$$ListSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Link on Fragment$Section$$ListSection$items$items$item$$Link { CopyWith$Fragment$Section$$ListSection$items$items$item$$Link< - Fragment$Section$$ListSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Link + > + get copyWith => CopyWith$Fragment$Section$$ListSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Link( Fragment$Section$$ListSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Link) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Link @@ -43214,50 +43781,52 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Link final Fragment$Section$$ListSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Link { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$StudyTopic implements Fragment$ItemSectionItem$item$$StudyTopic, Fragment$Section$$ListSection$items$items$item { - Fragment$Section$$ListSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$ListSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$ListSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -43296,34 +43865,38 @@ class Fragment$Section$$ListSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$StudyTopic on Fragment$Section$$ListSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic< - Fragment$Section$$ListSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic( Fragment$Section$$ListSection$items$items$item$$StudyTopic instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$StudyTopic) - then, + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic( this._instance, this._then, @@ -43332,24 +43905,31 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic< final Fragment$Section$$ListSection$items$items$item$$StudyTopic _instance; final TRes Function( - Fragment$Section$$ListSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$ListSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$ListSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$ListSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -43367,7 +43947,8 @@ class Fragment$Section$$ListSection$items$items$item$$Game }); factory Fragment$Section$$ListSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Game( @@ -43393,10 +43974,7 @@ class Fragment$Section$$ListSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -43425,29 +44003,27 @@ class Fragment$Section$$ListSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Game on Fragment$Section$$ListSection$items$items$item$$Game { CopyWith$Fragment$Section$$ListSection$items$items$item$$Game< - Fragment$Section$$ListSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Game + > + get copyWith => CopyWith$Fragment$Section$$ListSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Game( Fragment$Section$$ListSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Game) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Game @@ -43461,38 +44037,35 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Game final Fragment$Section$$ListSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Game { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Playlist @@ -43506,7 +44079,8 @@ class Fragment$Section$$ListSection$items$items$item$$Playlist }); factory Fragment$Section$$ListSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Playlist( @@ -43532,10 +44106,7 @@ class Fragment$Section$$ListSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -43564,37 +44135,38 @@ class Fragment$Section$$ListSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Playlist on Fragment$Section$$ListSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist< - Fragment$Section$$ListSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist( Fragment$Section$$ListSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Playlist( this._instance, this._then, @@ -43603,37 +44175,35 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Playlist< final Fragment$Section$$ListSection$items$items$item$$Playlist _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Playlist) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Short @@ -43647,7 +44217,8 @@ class Fragment$Section$$ListSection$items$items$item$$Short }); factory Fragment$Section$$ListSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Short( @@ -43673,10 +44244,7 @@ class Fragment$Section$$ListSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -43705,29 +44273,28 @@ class Fragment$Section$$ListSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Short on Fragment$Section$$ListSection$items$items$item$$Short { CopyWith$Fragment$Section$$ListSection$items$items$item$$Short< - Fragment$Section$$ListSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Short( Fragment$Section$$ListSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Short) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Short @@ -43741,36 +44308,33 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Short final Fragment$Section$$ListSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Short { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$ListSection$items$items$item$$Person @@ -43784,7 +44348,8 @@ class Fragment$Section$$ListSection$items$items$item$$Person }); factory Fragment$Section$$ListSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$ListSection$items$items$item$$Person( @@ -43810,10 +44375,7 @@ class Fragment$Section$$ListSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -43842,29 +44404,28 @@ class Fragment$Section$$ListSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$ListSection$items$items$item$$Person on Fragment$Section$$ListSection$items$items$item$$Person { CopyWith$Fragment$Section$$ListSection$items$items$item$$Person< - Fragment$Section$$ListSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$ListSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$ListSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$ListSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$ListSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Person( Fragment$Section$$ListSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$ListSection$items$items$item$$Person) then, ) = _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$ListSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Person @@ -43878,36 +44439,33 @@ class _CopyWithImpl$Fragment$Section$$ListSection$items$items$item$$Person final Fragment$Section$$ListSection$items$items$item$$Person _instance; final TRes Function(Fragment$Section$$ListSection$items$items$item$$Person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$ListSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$ListSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$ListSection$items$items$item$$Person { _CopyWithStubImpl$Fragment$Section$$ListSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardListSection @@ -43923,7 +44481,8 @@ class Fragment$Section$$CardListSection }); factory Fragment$Section$$CardListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -43935,9 +44494,11 @@ class Fragment$Section$$CardListSection metadata: l$metadata == null ? null : Fragment$Section$$CardListSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$CardListSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), cardSize: fromJson$Enum$CardSectionSize((l$cardSize as String)), id: (l$id as String), @@ -44050,10 +44611,7 @@ class Fragment$Section$$CardListSection extension UtilityExtension$Fragment$Section$$CardListSection on Fragment$Section$$CardListSection { CopyWith$Fragment$Section$$CardListSection - get copyWith => CopyWith$Fragment$Section$$CardListSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$CardListSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardListSection { @@ -44080,10 +44638,7 @@ abstract class CopyWith$Fragment$Section$$CardListSection { class _CopyWithImpl$Fragment$Section$$CardListSection implements CopyWith$Fragment$Section$$CardListSection { - _CopyWithImpl$Fragment$Section$$CardListSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$CardListSection(this._instance, this._then); final Fragment$Section$$CardListSection _instance; @@ -44099,40 +44654,46 @@ class _CopyWithImpl$Fragment$Section$$CardListSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$CardListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$CardListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$CardListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - cardSize: cardSize == _undefined || cardSize == null - ? _instance.cardSize - : (cardSize as Enum$CardSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$CardListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$CardListSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$CardListSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + cardSize: cardSize == _undefined || cardSize == null + ? _instance.cardSize + : (cardSize as Enum$CardSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$CardListSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$CardListSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$CardListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$CardListSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$CardListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -44150,8 +44711,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardListSection$metadata get metadata => CopyWith$Fragment$Section$$CardListSection$metadata.stub(_res); @@ -44175,7 +44735,8 @@ class Fragment$Section$$CardListSection$metadata }); factory Fragment$Section$$CardListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -44194,7 +44755,8 @@ class Fragment$Section$$CardListSection$metadata page: l$page == null ? null : Fragment$Section$$CardListSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -44327,11 +44889,10 @@ class Fragment$Section$$CardListSection$metadata extension UtilityExtension$Fragment$Section$$CardListSection$metadata on Fragment$Section$$CardListSection$metadata { CopyWith$Fragment$Section$$CardListSection$metadata< - Fragment$Section$$CardListSection$metadata> - get copyWith => CopyWith$Fragment$Section$$CardListSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardListSection$metadata { @@ -44380,45 +44941,48 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$CardListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$CardListSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$CardListSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$CardListSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$CardListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -44438,8 +45002,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardListSection$metadata$page get page => CopyWith$Fragment$Section$$CardListSection$metadata$page.stub(_res); @@ -44453,7 +45016,8 @@ class Fragment$Section$$CardListSection$metadata$page }); factory Fragment$Section$$CardListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$metadata$page( @@ -44479,10 +45043,7 @@ class Fragment$Section$$CardListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -44511,11 +45072,10 @@ class Fragment$Section$$CardListSection$metadata$page extension UtilityExtension$Fragment$Section$$CardListSection$metadata$page on Fragment$Section$$CardListSection$metadata$page { CopyWith$Fragment$Section$$CardListSection$metadata$page< - Fragment$Section$$CardListSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$CardListSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardListSection$metadata$page { @@ -44525,13 +45085,10 @@ abstract class CopyWith$Fragment$Section$$CardListSection$metadata$page { ) = _CopyWithImpl$Fragment$Section$$CardListSection$metadata$page; factory CopyWith$Fragment$Section$$CardListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$metadata$page @@ -44547,18 +45104,17 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$metadata$page @@ -44567,11 +45123,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items @@ -44584,7 +45136,8 @@ class Fragment$Section$$CardListSection$items }); factory Fragment$Section$$CardListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -44593,8 +45146,11 @@ class Fragment$Section$$CardListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$CardListSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$CardListSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -44679,11 +45235,10 @@ class Fragment$Section$$CardListSection$items extension UtilityExtension$Fragment$Section$$CardListSection$items on Fragment$Section$$CardListSection$items { CopyWith$Fragment$Section$$CardListSection$items< - Fragment$Section$$CardListSection$items> - get copyWith => CopyWith$Fragment$Section$$CardListSection$items( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardListSection$items { @@ -44702,11 +45257,15 @@ abstract class CopyWith$Fragment$Section$$CardListSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardListSection$items$items< - Fragment$Section$$CardListSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$CardListSection$items$items< + Fragment$Section$$CardListSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$CardListSection$items @@ -44727,34 +45286,40 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardListSection$items$items< - Fragment$Section$$CardListSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Fragment$Section$$CardListSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$CardListSection$items$items< + Fragment$Section$$CardListSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$CardListSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items @@ -44768,8 +45333,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -44786,7 +45350,8 @@ class Fragment$Section$$CardListSection$items$items }); factory Fragment$Section$$CardListSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -44798,7 +45363,8 @@ class Fragment$Section$$CardListSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$CardListSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -44897,11 +45463,10 @@ class Fragment$Section$$CardListSection$items$items extension UtilityExtension$Fragment$Section$$CardListSection$items$items on Fragment$Section$$CardListSection$items$items { CopyWith$Fragment$Section$$CardListSection$items$items< - Fragment$Section$$CardListSection$items$items> - get copyWith => CopyWith$Fragment$Section$$CardListSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items { @@ -44911,8 +45476,8 @@ abstract class CopyWith$Fragment$Section$$CardListSection$items$items { ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items; factory CopyWith$Fragment$Section$$CardListSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items; TRes call({ String? id, @@ -44945,28 +45510,31 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$CardListSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + }) => _then( + Fragment$Section$$CardListSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$CardListSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Fragment$Section$$CardListSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$CardListSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -44983,8 +45551,7 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items Fragment$Section$$CardListSection$items$items$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardListSection$items$items$item get item => CopyWith$Fragment$Section$$CardListSection$items$items$item.stub(_res); @@ -44992,56 +45559,69 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items class Fragment$Section$$CardListSection$items$items$item implements Fragment$ItemSectionItem$item, Fragment$CardItem$item { - Fragment$Section$$CardListSection$items$items$item( - {required this.$__typename}); + Fragment$Section$$CardListSection$items$items$item({ + required this.$__typename, + }); factory Fragment$Section$$CardListSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$CardListSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Fragment$Section$$CardListSection$items$items$item$$Show - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Fragment$Section$$CardListSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Fragment$Section$$CardListSection$items$items$item$$Page - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Fragment$Section$$CardListSection$items$items$item$$Link - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Fragment$Section$$CardListSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Fragment$Section$$CardListSection$items$items$item$$Game - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Fragment$Section$$CardListSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$Section$$CardListSection$items$items$item$$Short - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$Section$$CardListSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$CardListSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -45081,86 +45661,107 @@ class Fragment$Section$$CardListSection$items$items$item extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item on Fragment$Section$$CardListSection$items$items$item { CopyWith$Fragment$Section$$CardListSection$items$items$item< - Fragment$Section$$CardListSection$items$items$item> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item + > + get copyWith => CopyWith$Fragment$Section$$CardListSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Episode) - episode, + Fragment$Section$$CardListSection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Show) - show, + Fragment$Section$$CardListSection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Season) - season, + Fragment$Section$$CardListSection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Page) - page, + Fragment$Section$$CardListSection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Link) - link, + Fragment$Section$$CardListSection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$CardListSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Game) - game, + Fragment$Section$$CardListSection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$CardListSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Short) - short, + Fragment$Section$$CardListSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$CardListSection$items$items$item$$Person) - person, + Fragment$Section$$CardListSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Fragment$Section$$CardListSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$CardListSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$CardListSection$items$items$item$$Show); + this as Fragment$Section$$CardListSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$CardListSection$items$items$item$$Season); + this as Fragment$Section$$CardListSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$CardListSection$items$items$item$$Page); + this as Fragment$Section$$CardListSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$CardListSection$items$items$item$$Link); + this as Fragment$Section$$CardListSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$CardListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$CardListSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$CardListSection$items$items$item$$Game); + this as Fragment$Section$$CardListSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$Section$$CardListSection$items$items$item$$Playlist); + return playlist( + this as Fragment$Section$$CardListSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$CardListSection$items$items$item$$Short); + this as Fragment$Section$$CardListSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$CardListSection$items$items$item$$Person); + this as Fragment$Section$$CardListSection$items$items$item$$Person, + ); default: return orElse(); @@ -45169,28 +45770,29 @@ extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$CardListSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$CardListSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$CardListSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$CardListSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$CardListSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$CardListSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$CardListSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$CardListSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$CardListSection$items$items$item$$Short)? - short, + short, _T Function(Fragment$Section$$CardListSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$CardListSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$CardListSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -45198,15 +45800,17 @@ extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$CardListSection$items$items$item$$Show); + this as Fragment$Section$$CardListSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$Section$$CardListSection$items$items$item$$Season); + return season( + this as Fragment$Section$$CardListSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -45214,7 +45818,8 @@ extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$CardListSection$items$items$item$$Page); + this as Fragment$Section$$CardListSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -45222,15 +45827,18 @@ extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$CardListSection$items$items$item$$Link); + this as Fragment$Section$$CardListSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$CardListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$CardListSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -45238,31 +45846,36 @@ extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$CardListSection$items$items$item$$Game); + this as Fragment$Section$$CardListSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$CardListSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$CardListSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Fragment$Section$$CardListSection$items$items$item$$Short); + return short( + this as Fragment$Section$$CardListSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$Section$$CardListSection$items$items$item$$Person); + return person( + this as Fragment$Section$$CardListSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -45274,15 +45887,16 @@ extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item( Fragment$Section$$CardListSection$items$items$item instance, TRes Function(Fragment$Section$$CardListSection$items$items$item) then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item; factory CopyWith$Fragment$Section$$CardListSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item; TRes call({String? $__typename}); } @@ -45301,18 +45915,21 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$CardListSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$CardListSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item implements CopyWith$Fragment$Section$$CardListSection$items$items$item { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -45342,7 +45959,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode }); factory Fragment$Section$$CardListSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -45357,9 +45975,12 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -45372,15 +45993,17 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$CardListSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$CardListSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -45401,15 +46024,16 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode final int? number; final Fragment$Section$$CardListSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -45548,29 +46172,33 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Episode on Fragment$Section$$CardListSection$items$items$item$$Episode { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode< - Fragment$Section$$CardListSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode( Fragment$Section$$CardListSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Episode) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -45584,20 +46212,31 @@ abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Epis String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode( this._instance, this._then, @@ -45606,7 +46245,9 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode< final Fragment$Section$$CardListSection$items$items$item$$Episode _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode) _then; + Fragment$Section$$CardListSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -45623,78 +46264,103 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode< Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$CardListSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -45706,16 +46372,17 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Epis int? number, Fragment$Section$$CardListSection$items$items$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors @@ -45729,14 +46396,16 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$CardListSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -45745,7 +46414,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors } final Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -45815,54 +46484,62 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors on Fragment$Section$$CardListSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( Fragment$Section$$CardListSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -45870,53 +46547,61 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person @@ -45929,7 +46614,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$p }); factory Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( @@ -45955,10 +46641,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$p int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -45986,85 +46669,88 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$p } extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person - on Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person { + on + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Episode$season @@ -46079,15 +46765,17 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season }); factory Fragment$Section$$CardListSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$CardListSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$CardListSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -46095,7 +46783,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season final int number; final Fragment$Section$$CardListSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -46115,11 +46803,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -46154,52 +46838,61 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Episode$season on Fragment$Section$$CardListSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - Fragment$Section$$CardListSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season( Fragment$Section$$CardListSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$season) - then, + Fragment$Section$$CardListSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$CardListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$season) _then; + Fragment$Section$$CardListSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -46207,51 +46900,60 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$CardListSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$CardListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$CardListSection$items$items$item$$Episode$season$show @@ -46265,7 +46967,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$CardListSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( @@ -46291,10 +46994,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -46324,83 +47024,83 @@ class Fragment$Section$$CardListSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show on Fragment$Section$$CardListSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - Fragment$Section$$CardListSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( Fragment$Section$$CardListSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$CardListSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$CardListSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Show @@ -46418,7 +47118,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Show }); factory Fragment$Section$$CardListSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -46430,8 +47131,9 @@ class Fragment$Section$$CardListSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -46444,7 +47146,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Show final String $__typename; final Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -46518,25 +47220,27 @@ class Fragment$Section$$CardListSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Show on Fragment$Section$$CardListSection$items$items$item$$Show { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show< - Fragment$Section$$CardListSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show( Fragment$Section$$CardListSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show; TRes call({ String? id, @@ -46544,17 +47248,21 @@ abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show int? seasonCount, String? $__typename, Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show( this._instance, this._then, @@ -46563,7 +47271,7 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show< final Fragment$Section$$CardListSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$CardListSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -46573,39 +47281,47 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show< Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -46615,15 +47331,16 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show int? seasonCount, String? $__typename, Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode @@ -46637,7 +47354,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( @@ -46663,10 +47381,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -46696,81 +47411,81 @@ class Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Season @@ -46778,14 +47493,17 @@ class Fragment$Section$$CardListSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$CardItem$item$$Season, Fragment$Section$$CardListSection$items$items$item { - Fragment$Section$$CardListSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$CardListSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$CardListSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -46824,34 +47542,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Season on Fragment$Section$$CardListSection$items$items$item$$Season { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season< - Fragment$Section$$CardListSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season( Fragment$Section$$CardListSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Season( this._instance, this._then, @@ -46860,24 +47582,31 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Season< final Fragment$Section$$CardListSection$items$items$item$$Season _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Season) _then; + Fragment$Section$$CardListSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$CardListSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$CardListSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -46896,7 +47625,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Page }); factory Fragment$Section$$CardListSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Page( @@ -46922,10 +47652,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -46954,37 +47681,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Page on Fragment$Section$$CardListSection$items$items$item$$Page { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page< - Fragment$Section$$CardListSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page( Fragment$Section$$CardListSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Page( this._instance, this._then, @@ -46993,39 +47721,37 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Page< final Fragment$Section$$CardListSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$CardListSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Link @@ -47040,7 +47766,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Link }); factory Fragment$Section$$CardListSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Link( @@ -47066,10 +47793,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -47098,37 +47822,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Link on Fragment$Section$$CardListSection$items$items$item$$Link { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link< - Fragment$Section$$CardListSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link( Fragment$Section$$CardListSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Link( this._instance, this._then, @@ -47137,37 +47862,37 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Link< final Fragment$Section$$CardListSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$CardListSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$StudyTopic @@ -47185,7 +47910,8 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic }); factory Fragment$Section$$CardListSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -47198,13 +47924,17 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - .fromJson((l$lessonsProgress as Map)), + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( + (l$lessonsProgress as Map), + ), ); } @@ -47217,11 +47947,12 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic final String description; final List< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images> - images; + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + > + images; final Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - lessonsProgress; + lessonsProgress; Map toJson() { final _resultData = {}; @@ -47312,26 +48043,29 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$StudyTopic on Fragment$Section$$CardListSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic( Fragment$Section$$CardListSection$items$items$item$$StudyTopic instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic) - then, + Fragment$Section$$CardListSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic; TRes call({ String? $__typename, @@ -47339,35 +48073,48 @@ abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Stud String? title, String? description, List? - images, + images, Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, + lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images>>) - _fn); + Iterable< + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress; + TRes + > + get lessonsProgress; } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$CardListSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; @@ -47378,57 +48125,77 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTop Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images>), - lessonsProgress: lessonsProgress == _undefined || - lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images + as List< + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + >), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress as Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress), - )); + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images.map((e) => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress { + TRes + > + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -47438,19 +48205,20 @@ class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Stud String? title, String? description, List? - images, + images, Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, - }) => - _res; + lessonsProgress, + }) => _res; images(_fn) => _res; CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> - get lessonsProgress => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - .stub(_res); + TRes + > + get lessonsProgress => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.stub( + _res, + ); } class Fragment$Section$$CardListSection$items$items$item$$Game @@ -47465,7 +48233,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Game }); factory Fragment$Section$$CardListSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Game( @@ -47491,10 +48260,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -47523,37 +48289,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Game on Fragment$Section$$CardListSection$items$items$item$$Game { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game< - Fragment$Section$$CardListSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game( Fragment$Section$$CardListSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Game( this._instance, this._then, @@ -47562,39 +48329,37 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Game< final Fragment$Section$$CardListSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$CardListSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Playlist @@ -47609,7 +48374,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Playlist }); factory Fragment$Section$$CardListSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Playlist( @@ -47635,10 +48401,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -47668,37 +48431,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Playlist on Fragment$Section$$CardListSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist< - Fragment$Section$$CardListSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist( Fragment$Section$$CardListSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist( this._instance, this._then, @@ -47707,37 +48471,37 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist final Fragment$Section$$CardListSection$items$items$item$$Playlist _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Playlist) _then; + Fragment$Section$$CardListSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Short @@ -47752,7 +48516,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Short }); factory Fragment$Section$$CardListSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Short( @@ -47778,10 +48543,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -47810,37 +48572,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Short on Fragment$Section$$CardListSection$items$items$item$$Short { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short< - Fragment$Section$$CardListSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short( Fragment$Section$$CardListSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Short( this._instance, this._then, @@ -47849,37 +48612,35 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Short< final Fragment$Section$$CardListSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$CardListSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$Person @@ -47894,7 +48655,8 @@ class Fragment$Section$$CardListSection$items$items$item$$Person }); factory Fragment$Section$$CardListSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$CardListSection$items$items$item$$Person( @@ -47920,10 +48682,7 @@ class Fragment$Section$$CardListSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -47952,37 +48711,38 @@ class Fragment$Section$$CardListSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$Person on Fragment$Section$$CardListSection$items$items$item$$Person { CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person< - Fragment$Section$$CardListSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person( Fragment$Section$$CardListSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$CardListSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Person( this._instance, this._then, @@ -47991,37 +48751,37 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$Person< final Fragment$Section$$CardListSection$items$items$item$$Person _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$Person) _then; + Fragment$Section$$CardListSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardListSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$CardListSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection @@ -48040,7 +48800,8 @@ class Fragment$Section$$DefaultGridSection }); factory Fragment$Section$$DefaultGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -48052,9 +48813,11 @@ class Fragment$Section$$DefaultGridSection metadata: l$metadata == null ? null : Fragment$Section$$DefaultGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$DefaultGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -48167,11 +48930,9 @@ class Fragment$Section$$DefaultGridSection extension UtilityExtension$Fragment$Section$$DefaultGridSection on Fragment$Section$$DefaultGridSection { CopyWith$Fragment$Section$$DefaultGridSection< - Fragment$Section$$DefaultGridSection> - get copyWith => CopyWith$Fragment$Section$$DefaultGridSection( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection + > + get copyWith => CopyWith$Fragment$Section$$DefaultGridSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultGridSection { @@ -48217,40 +48978,46 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$DefaultGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$DefaultGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$DefaultGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$DefaultGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$DefaultGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$DefaultGridSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$DefaultGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$DefaultGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$DefaultGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$DefaultGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -48268,8 +49035,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultGridSection$metadata get metadata => CopyWith$Fragment$Section$$DefaultGridSection$metadata.stub(_res); @@ -48293,7 +49059,8 @@ class Fragment$Section$$DefaultGridSection$metadata }); factory Fragment$Section$$DefaultGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -48312,7 +49079,8 @@ class Fragment$Section$$DefaultGridSection$metadata page: l$page == null ? null : Fragment$Section$$DefaultGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -48445,11 +49213,10 @@ class Fragment$Section$$DefaultGridSection$metadata extension UtilityExtension$Fragment$Section$$DefaultGridSection$metadata on Fragment$Section$$DefaultGridSection$metadata { CopyWith$Fragment$Section$$DefaultGridSection$metadata< - Fragment$Section$$DefaultGridSection$metadata> - get copyWith => CopyWith$Fragment$Section$$DefaultGridSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$metadata { @@ -48459,8 +49226,8 @@ abstract class CopyWith$Fragment$Section$$DefaultGridSection$metadata { ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$metadata; factory CopyWith$Fragment$Section$$DefaultGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata; TRes call({ bool? continueWatching, @@ -48499,45 +49266,48 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$DefaultGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$DefaultGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultGridSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$DefaultGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$DefaultGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -48557,8 +49327,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultGridSection$metadata$page get page => CopyWith$Fragment$Section$$DefaultGridSection$metadata$page.stub(_res); @@ -48572,7 +49341,8 @@ class Fragment$Section$$DefaultGridSection$metadata$page }); factory Fragment$Section$$DefaultGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$metadata$page( @@ -48598,10 +49368,7 @@ class Fragment$Section$$DefaultGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -48630,29 +49397,27 @@ class Fragment$Section$$DefaultGridSection$metadata$page extension UtilityExtension$Fragment$Section$$DefaultGridSection$metadata$page on Fragment$Section$$DefaultGridSection$metadata$page { CopyWith$Fragment$Section$$DefaultGridSection$metadata$page< - Fragment$Section$$DefaultGridSection$metadata$page> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$metadata$page + > + get copyWith => CopyWith$Fragment$Section$$DefaultGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$metadata$page( Fragment$Section$$DefaultGridSection$metadata$page instance, TRes Function(Fragment$Section$$DefaultGridSection$metadata$page) then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$metadata$page; factory CopyWith$Fragment$Section$$DefaultGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$metadata$page @@ -48669,33 +49434,29 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata$page implements CopyWith$Fragment$Section$$DefaultGridSection$metadata$page { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items @@ -48710,7 +49471,8 @@ class Fragment$Section$$DefaultGridSection$items }); factory Fragment$Section$$DefaultGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -48719,8 +49481,11 @@ class Fragment$Section$$DefaultGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$DefaultGridSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$DefaultGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -48805,11 +49570,10 @@ class Fragment$Section$$DefaultGridSection$items extension UtilityExtension$Fragment$Section$$DefaultGridSection$items on Fragment$Section$$DefaultGridSection$items { CopyWith$Fragment$Section$$DefaultGridSection$items< - Fragment$Section$$DefaultGridSection$items> - get copyWith => CopyWith$Fragment$Section$$DefaultGridSection$items( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items { @@ -48828,11 +49592,15 @@ abstract class CopyWith$Fragment$Section$$DefaultGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultGridSection$items$items< - Fragment$Section$$DefaultGridSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$DefaultGridSection$items$items< + Fragment$Section$$DefaultGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items @@ -48853,34 +49621,42 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultGridSection$items$items< - Fragment$Section$$DefaultGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Fragment$Section$$DefaultGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$DefaultGridSection$items$items< + Fragment$Section$$DefaultGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$Section$$DefaultGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items @@ -48894,8 +49670,7 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -48911,7 +49686,8 @@ class Fragment$Section$$DefaultGridSection$items$items }); factory Fragment$Section$$DefaultGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -48922,7 +49698,8 @@ class Fragment$Section$$DefaultGridSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$DefaultGridSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -48959,13 +49736,7 @@ class Fragment$Section$$DefaultGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -49009,11 +49780,10 @@ class Fragment$Section$$DefaultGridSection$items$items extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items on Fragment$Section$$DefaultGridSection$items$items { CopyWith$Fragment$Section$$DefaultGridSection$items$items< - Fragment$Section$$DefaultGridSection$items$items> - get copyWith => CopyWith$Fragment$Section$$DefaultGridSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items { @@ -49023,8 +49793,8 @@ abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items { ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items; TRes call({ String? id, @@ -49055,26 +49825,29 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$DefaultGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$DefaultGridSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$DefaultGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -49090,67 +49863,78 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items String? image, Fragment$Section$$DefaultGridSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultGridSection$items$items$item - get item => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item.stub( - _res); + get item => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item.stub(_res); } class Fragment$Section$$DefaultGridSection$items$items$item implements Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Fragment$Section$$DefaultGridSection$items$items$item( - {required this.$__typename}); + Fragment$Section$$DefaultGridSection$items$items$item({ + required this.$__typename, + }); factory Fragment$Section$$DefaultGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$DefaultGridSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Fragment$Section$$DefaultGridSection$items$items$item$$Show - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Fragment$Section$$DefaultGridSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Fragment$Section$$DefaultGridSection$items$items$item$$Page - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Fragment$Section$$DefaultGridSection$items$items$item$$Link - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Fragment$Section$$DefaultGridSection$items$items$item$$Game - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Fragment$Section$$DefaultGridSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$Section$$DefaultGridSection$items$items$item$$Short - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$Section$$DefaultGridSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$DefaultGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -49190,86 +49974,110 @@ class Fragment$Section$$DefaultGridSection$items$items$item extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item on Fragment$Section$$DefaultGridSection$items$items$item { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item< - Fragment$Section$$DefaultGridSection$items$items$item> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode) - episode, + Fragment$Section$$DefaultGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Show) - show, + Fragment$Section$$DefaultGridSection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Season) - season, + Fragment$Section$$DefaultGridSection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Page) - page, + Fragment$Section$$DefaultGridSection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Link) - link, + Fragment$Section$$DefaultGridSection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Game) - game, + Fragment$Section$$DefaultGridSection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$DefaultGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Short) - short, + Fragment$Section$$DefaultGridSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Person) - person, + Fragment$Section$$DefaultGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Episode); + return episode( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Show); + return show( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Season); + return season( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Page); + return page( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Link); + return link( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Game); + return game( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Short); + return short( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Person); + return person( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -49278,106 +50086,124 @@ extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Show)? - show, + show, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Page)? - page, + page, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Link)? - link, + link, _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic)? - studyTopic, + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Game)? - game, + game, _T Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Playlist)? - playlist, + Fragment$Section$$DefaultGridSection$items$items$item$$Playlist, + )? + playlist, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Short)? - short, + short, _T Function(Fragment$Section$$DefaultGridSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Episode); + return episode( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Show); + return show( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Season); + return season( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Page); + return page( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Link); + return link( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Game); + return game( + this as Fragment$Section$$DefaultGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Short); + return short( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$Section$$DefaultGridSection$items$items$item$$Person); + return person( + this + as Fragment$Section$$DefaultGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -49389,15 +50215,16 @@ extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item( Fragment$Section$$DefaultGridSection$items$items$item instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item) then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item; TRes call({String? $__typename}); } @@ -49413,23 +50240,27 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item final Fragment$Section$$DefaultGridSection$items$items$item _instance; final TRes Function(Fragment$Section$$DefaultGridSection$items$items$item) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$DefaultGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$DefaultGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -49459,7 +50290,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -49474,9 +50306,12 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -49489,15 +50324,17 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -49518,15 +50355,16 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode final int? number; final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -49666,30 +50504,35 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Episode on Fragment$Section$$DefaultGridSection$items$items$item$$Episode { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode( Fragment$Section$$DefaultGridSection$items$items$item$$Episode instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -49700,34 +50543,47 @@ abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$E String? publishDate, int? number, Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -49744,78 +50600,103 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episo Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -49826,18 +50707,19 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$E String? publishDate, int? number, Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors @@ -49851,14 +50733,16 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributor }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -49867,7 +50751,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributor } final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -49937,54 +50821,62 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributor extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors on Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -49992,53 +50884,61 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episo Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person @@ -50051,7 +50951,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributor }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( @@ -50077,10 +50978,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributor int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -50108,85 +51006,88 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributor } extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person - on Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person { + on + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season @@ -50201,15 +51102,17 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -50217,7 +51120,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season final int number; final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -50237,11 +51140,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -50276,54 +51175,62 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season on Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season) - _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -50331,52 +51238,60 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episo Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show @@ -50390,7 +51305,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( @@ -50416,10 +51332,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -50449,83 +51362,85 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show on Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Show @@ -50543,7 +51458,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -50555,8 +51471,9 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -50569,7 +51486,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show final String $__typename; final Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -50643,25 +51560,27 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Show on Fragment$Section$$DefaultGridSection$items$items$item$$Show { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show< - Fragment$Section$$DefaultGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show( Fragment$Section$$DefaultGridSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show; TRes call({ String? id, @@ -50669,17 +51588,21 @@ abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$S int? seasonCount, String? $__typename, Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show( this._instance, this._then, @@ -50688,7 +51611,9 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show< final Fragment$Section$$DefaultGridSection$items$items$item$$Show _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Show) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -50698,39 +51623,47 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show< Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -50740,15 +51673,16 @@ class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$S int? seasonCount, String? $__typename, Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode @@ -50762,7 +51696,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( @@ -50788,10 +51723,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -50821,81 +51753,83 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Season @@ -50903,14 +51837,17 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Fragment$Section$$DefaultGridSection$items$items$item { - Fragment$Section$$DefaultGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$DefaultGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -50950,34 +51887,38 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Season on Fragment$Section$$DefaultGridSection$items$items$item$$Season { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season< - Fragment$Section$$DefaultGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season( Fragment$Section$$DefaultGridSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season( this._instance, this._then, @@ -50986,24 +51927,31 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Seaso final Fragment$Section$$DefaultGridSection$items$items$item$$Season _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Season) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -51022,7 +51970,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Page }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Page( @@ -51048,10 +51997,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -51080,37 +52026,38 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Page on Fragment$Section$$DefaultGridSection$items$items$item$$Page { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page< - Fragment$Section$$DefaultGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page( Fragment$Section$$DefaultGridSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page( this._instance, this._then, @@ -51119,39 +52066,39 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page< final Fragment$Section$$DefaultGridSection$items$items$item$$Page _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Page) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Link @@ -51166,7 +52113,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Link }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Link( @@ -51192,10 +52140,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -51224,37 +52169,38 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Link on Fragment$Section$$DefaultGridSection$items$items$item$$Link { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link< - Fragment$Section$$DefaultGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link( Fragment$Section$$DefaultGridSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link( this._instance, this._then, @@ -51263,37 +52209,39 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link< final Fragment$Section$$DefaultGridSection$items$items$item$$Link _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Link) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic @@ -51301,14 +52249,17 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Fragment$Section$$DefaultGridSection$items$items$item { - Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -51348,62 +52299,74 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic on Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic< - Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -51422,7 +52385,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Game }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Game( @@ -51448,10 +52412,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -51480,37 +52441,38 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Game on Fragment$Section$$DefaultGridSection$items$items$item$$Game { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game< - Fragment$Section$$DefaultGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game( Fragment$Section$$DefaultGridSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game( this._instance, this._then, @@ -51519,39 +52481,39 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game< final Fragment$Section$$DefaultGridSection$items$items$item$$Game _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Game) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Playlist @@ -51566,7 +52528,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Playlist }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( @@ -51592,10 +52555,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -51625,78 +52585,80 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist on Fragment$Section$$DefaultGridSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist< - Fragment$Section$$DefaultGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( Fragment$Section$$DefaultGridSection$items$items$item$$Playlist instance, TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Playlist) - then, + Fragment$Section$$DefaultGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Fragment$Section$$DefaultGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Playlist) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Short @@ -51711,7 +52673,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Short }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Short( @@ -51737,10 +52700,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -51770,37 +52730,38 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Short on Fragment$Section$$DefaultGridSection$items$items$item$$Short { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short< - Fragment$Section$$DefaultGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short( Fragment$Section$$DefaultGridSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short( this._instance, this._then, @@ -51809,37 +52770,37 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short final Fragment$Section$$DefaultGridSection$items$items$item$$Short _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Short) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$DefaultGridSection$items$items$item$$Person @@ -51854,7 +52815,8 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Person }); factory Fragment$Section$$DefaultGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$DefaultGridSection$items$items$item$$Person( @@ -51880,10 +52842,7 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -51913,37 +52872,38 @@ class Fragment$Section$$DefaultGridSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$DefaultGridSection$items$items$item$$Person on Fragment$Section$$DefaultGridSection$items$items$item$$Person { CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person< - Fragment$Section$$DefaultGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$DefaultGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person( Fragment$Section$$DefaultGridSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$DefaultGridSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person( this._instance, this._then, @@ -51952,37 +52912,37 @@ class _CopyWithImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Perso final Fragment$Section$$DefaultGridSection$items$items$item$$Person _instance; final TRes Function( - Fragment$Section$$DefaultGridSection$items$items$item$$Person) _then; + Fragment$Section$$DefaultGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$DefaultGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$DefaultGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$DefaultGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection @@ -52001,7 +52961,8 @@ class Fragment$Section$$PosterGridSection }); factory Fragment$Section$$PosterGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -52013,9 +52974,11 @@ class Fragment$Section$$PosterGridSection metadata: l$metadata == null ? null : Fragment$Section$$PosterGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$PosterGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -52128,11 +53091,9 @@ class Fragment$Section$$PosterGridSection extension UtilityExtension$Fragment$Section$$PosterGridSection on Fragment$Section$$PosterGridSection { CopyWith$Fragment$Section$$PosterGridSection< - Fragment$Section$$PosterGridSection> - get copyWith => CopyWith$Fragment$Section$$PosterGridSection( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection + > + get copyWith => CopyWith$Fragment$Section$$PosterGridSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterGridSection { @@ -52159,10 +53120,7 @@ abstract class CopyWith$Fragment$Section$$PosterGridSection { class _CopyWithImpl$Fragment$Section$$PosterGridSection implements CopyWith$Fragment$Section$$PosterGridSection { - _CopyWithImpl$Fragment$Section$$PosterGridSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$PosterGridSection(this._instance, this._then); final Fragment$Section$$PosterGridSection _instance; @@ -52178,40 +53136,46 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$PosterGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$PosterGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$PosterGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$PosterGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$PosterGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$PosterGridSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$PosterGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$PosterGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$PosterGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$PosterGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -52229,8 +53193,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterGridSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterGridSection$metadata get metadata => CopyWith$Fragment$Section$$PosterGridSection$metadata.stub(_res); @@ -52254,7 +53217,8 @@ class Fragment$Section$$PosterGridSection$metadata }); factory Fragment$Section$$PosterGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -52273,7 +53237,8 @@ class Fragment$Section$$PosterGridSection$metadata page: l$page == null ? null : Fragment$Section$$PosterGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -52406,11 +53371,10 @@ class Fragment$Section$$PosterGridSection$metadata extension UtilityExtension$Fragment$Section$$PosterGridSection$metadata on Fragment$Section$$PosterGridSection$metadata { CopyWith$Fragment$Section$$PosterGridSection$metadata< - Fragment$Section$$PosterGridSection$metadata> - get copyWith => CopyWith$Fragment$Section$$PosterGridSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterGridSection$metadata { @@ -52459,45 +53423,48 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$PosterGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$PosterGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterGridSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$PosterGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$PosterGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -52517,8 +53484,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterGridSection$metadata$page get page => CopyWith$Fragment$Section$$PosterGridSection$metadata$page.stub(_res); @@ -52532,7 +53498,8 @@ class Fragment$Section$$PosterGridSection$metadata$page }); factory Fragment$Section$$PosterGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$metadata$page( @@ -52558,10 +53525,7 @@ class Fragment$Section$$PosterGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -52590,29 +53554,27 @@ class Fragment$Section$$PosterGridSection$metadata$page extension UtilityExtension$Fragment$Section$$PosterGridSection$metadata$page on Fragment$Section$$PosterGridSection$metadata$page { CopyWith$Fragment$Section$$PosterGridSection$metadata$page< - Fragment$Section$$PosterGridSection$metadata$page> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$metadata$page + > + get copyWith => CopyWith$Fragment$Section$$PosterGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$metadata$page( Fragment$Section$$PosterGridSection$metadata$page instance, TRes Function(Fragment$Section$$PosterGridSection$metadata$page) then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$metadata$page; factory CopyWith$Fragment$Section$$PosterGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$metadata$page @@ -52629,33 +53591,29 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$metadata$page implements CopyWith$Fragment$Section$$PosterGridSection$metadata$page { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items @@ -52670,7 +53628,8 @@ class Fragment$Section$$PosterGridSection$items }); factory Fragment$Section$$PosterGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -52679,8 +53638,11 @@ class Fragment$Section$$PosterGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$PosterGridSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$PosterGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -52765,11 +53727,10 @@ class Fragment$Section$$PosterGridSection$items extension UtilityExtension$Fragment$Section$$PosterGridSection$items on Fragment$Section$$PosterGridSection$items { CopyWith$Fragment$Section$$PosterGridSection$items< - Fragment$Section$$PosterGridSection$items> - get copyWith => CopyWith$Fragment$Section$$PosterGridSection$items( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items { @@ -52788,11 +53749,15 @@ abstract class CopyWith$Fragment$Section$$PosterGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterGridSection$items$items< - Fragment$Section$$PosterGridSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$PosterGridSection$items$items< + Fragment$Section$$PosterGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items @@ -52813,34 +53778,42 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterGridSection$items$items< - Fragment$Section$$PosterGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Fragment$Section$$PosterGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$PosterGridSection$items$items< + Fragment$Section$$PosterGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$Section$$PosterGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items @@ -52854,8 +53827,7 @@ class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -52871,7 +53843,8 @@ class Fragment$Section$$PosterGridSection$items$items }); factory Fragment$Section$$PosterGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -52882,7 +53855,8 @@ class Fragment$Section$$PosterGridSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$PosterGridSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -52919,13 +53893,7 @@ class Fragment$Section$$PosterGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -52969,11 +53937,10 @@ class Fragment$Section$$PosterGridSection$items$items extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items on Fragment$Section$$PosterGridSection$items$items { CopyWith$Fragment$Section$$PosterGridSection$items$items< - Fragment$Section$$PosterGridSection$items$items> - get copyWith => CopyWith$Fragment$Section$$PosterGridSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items { @@ -52983,8 +53950,8 @@ abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items { ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items; factory CopyWith$Fragment$Section$$PosterGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items; TRes call({ String? id, @@ -53015,25 +53982,28 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$PosterGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$PosterGridSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterGridSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$PosterGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -53049,67 +54019,78 @@ class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items String? image, Fragment$Section$$PosterGridSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterGridSection$items$items$item - get item => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item.stub( - _res); + get item => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item.stub(_res); } class Fragment$Section$$PosterGridSection$items$items$item implements Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Fragment$Section$$PosterGridSection$items$items$item( - {required this.$__typename}); + Fragment$Section$$PosterGridSection$items$items$item({ + required this.$__typename, + }); factory Fragment$Section$$PosterGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$PosterGridSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Fragment$Section$$PosterGridSection$items$items$item$$Show - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Fragment$Section$$PosterGridSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Fragment$Section$$PosterGridSection$items$items$item$$Page - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Fragment$Section$$PosterGridSection$items$items$item$$Link - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Fragment$Section$$PosterGridSection$items$items$item$$Game - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Fragment$Section$$PosterGridSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$Section$$PosterGridSection$items$items$item$$Short - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$Section$$PosterGridSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$PosterGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -53149,86 +54130,108 @@ class Fragment$Section$$PosterGridSection$items$items$item extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item on Fragment$Section$$PosterGridSection$items$items$item { CopyWith$Fragment$Section$$PosterGridSection$items$items$item< - Fragment$Section$$PosterGridSection$items$items$item> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item + > + get copyWith => CopyWith$Fragment$Section$$PosterGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode) - episode, + Fragment$Section$$PosterGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Show) - show, + Fragment$Section$$PosterGridSection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Season) - season, + Fragment$Section$$PosterGridSection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Page) - page, + Fragment$Section$$PosterGridSection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Link) - link, + Fragment$Section$$PosterGridSection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Game) - game, + Fragment$Section$$PosterGridSection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$PosterGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Short) - short, + Fragment$Section$$PosterGridSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$Person) - person, + Fragment$Section$$PosterGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Fragment$Section$$PosterGridSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$PosterGridSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$PosterGridSection$items$items$item$$Show); + this as Fragment$Section$$PosterGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Fragment$Section$$PosterGridSection$items$items$item$$Season); + return season( + this as Fragment$Section$$PosterGridSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$PosterGridSection$items$items$item$$Page); + this as Fragment$Section$$PosterGridSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$PosterGridSection$items$items$item$$Link); + this as Fragment$Section$$PosterGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$PosterGridSection$items$items$item$$Game); + this as Fragment$Section$$PosterGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$Section$$PosterGridSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$PosterGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Fragment$Section$$PosterGridSection$items$items$item$$Short); + return short( + this as Fragment$Section$$PosterGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Fragment$Section$$PosterGridSection$items$items$item$$Person); + return person( + this as Fragment$Section$$PosterGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -53237,105 +54240,121 @@ extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Show)? - show, + show, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Page)? - page, + page, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Link)? - link, + link, _T Function( - Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic)? - studyTopic, + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Game)? - game, + game, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Short)? - short, + short, _T Function(Fragment$Section$$PosterGridSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$PosterGridSection$items$items$item$$Episode); + return episode( + this + as Fragment$Section$$PosterGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Fragment$Section$$PosterGridSection$items$items$item$$Show); + return show( + this as Fragment$Section$$PosterGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$Section$$PosterGridSection$items$items$item$$Season); + return season( + this + as Fragment$Section$$PosterGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Fragment$Section$$PosterGridSection$items$items$item$$Page); + return page( + this as Fragment$Section$$PosterGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Fragment$Section$$PosterGridSection$items$items$item$$Link); + return link( + this as Fragment$Section$$PosterGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Fragment$Section$$PosterGridSection$items$items$item$$Game); + return game( + this as Fragment$Section$$PosterGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$PosterGridSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$PosterGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Fragment$Section$$PosterGridSection$items$items$item$$Short); + return short( + this as Fragment$Section$$PosterGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$Section$$PosterGridSection$items$items$item$$Person); + return person( + this + as Fragment$Section$$PosterGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -53347,15 +54366,16 @@ extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item( Fragment$Section$$PosterGridSection$items$items$item instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item) then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item; TRes call({String? $__typename}); } @@ -53371,23 +54391,27 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item final Fragment$Section$$PosterGridSection$items$items$item _instance; final TRes Function(Fragment$Section$$PosterGridSection$items$items$item) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$PosterGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$PosterGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -53417,7 +54441,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode }); factory Fragment$Section$$PosterGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -53432,9 +54457,12 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -53447,15 +54475,17 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$PosterGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$PosterGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -53476,15 +54506,16 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode final int? number; final Fragment$Section$$PosterGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -53624,29 +54655,33 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Episode on Fragment$Section$$PosterGridSection$items$items$item$$Episode { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode< - Fragment$Section$$PosterGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode( Fragment$Section$$PosterGridSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Episode) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -53657,24 +54692,35 @@ abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Ep String? publishDate, int? number, Fragment$Section$$PosterGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode( this._instance, this._then, @@ -53683,7 +54729,9 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episod final Fragment$Section$$PosterGridSection$items$items$item$$Episode _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -53700,78 +54748,103 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episod Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$PosterGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -53782,18 +54855,19 @@ class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Ep String? publishDate, int? number, Fragment$Section$$PosterGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors @@ -53807,14 +54881,16 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -53823,7 +54899,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors } final Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -53893,54 +54969,62 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors on Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -53948,53 +55032,61 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episod Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person @@ -54007,7 +55099,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( @@ -54033,10 +55126,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -54064,85 +55154,88 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors } extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person - on Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person { + on + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season @@ -54157,15 +55250,17 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season }); factory Fragment$Section$$PosterGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -54173,7 +55268,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season final int number; final Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -54193,11 +55288,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -54232,54 +55323,62 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season on Fragment$Section$$PosterGridSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( Fragment$Section$$PosterGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season) - then, + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season) - _then; + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -54287,52 +55386,60 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episod Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show @@ -54346,7 +55453,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( @@ -54372,10 +55480,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -54405,83 +55510,85 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show on Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Show @@ -54499,7 +55606,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show }); factory Fragment$Section$$PosterGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -54511,8 +55619,9 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -54525,7 +55634,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show final String $__typename; final Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -54599,25 +55708,27 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Show on Fragment$Section$$PosterGridSection$items$items$item$$Show { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show< - Fragment$Section$$PosterGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show( Fragment$Section$$PosterGridSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show; TRes call({ String? id, @@ -54625,17 +55736,21 @@ abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Sh int? seasonCount, String? $__typename, Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show( this._instance, this._then, @@ -54644,7 +55759,9 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show< final Fragment$Section$$PosterGridSection$items$items$item$$Show _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Show) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -54654,39 +55771,47 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show< Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -54696,15 +55821,16 @@ class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Sh int? seasonCount, String? $__typename, Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode @@ -54718,7 +55844,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( @@ -54744,10 +55871,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -54777,81 +55901,83 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Season @@ -54859,14 +55985,17 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Fragment$Section$$PosterGridSection$items$items$item { - Fragment$Section$$PosterGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$PosterGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$PosterGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -54906,34 +56035,38 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Season on Fragment$Section$$PosterGridSection$items$items$item$$Season { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season< - Fragment$Section$$PosterGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season( Fragment$Section$$PosterGridSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season( this._instance, this._then, @@ -54942,24 +56075,31 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season final Fragment$Section$$PosterGridSection$items$items$item$$Season _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Season) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -54978,7 +56118,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Page }); factory Fragment$Section$$PosterGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Page( @@ -55004,10 +56145,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -55036,37 +56174,38 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Page on Fragment$Section$$PosterGridSection$items$items$item$$Page { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page< - Fragment$Section$$PosterGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page( Fragment$Section$$PosterGridSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page( this._instance, this._then, @@ -55075,39 +56214,39 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page< final Fragment$Section$$PosterGridSection$items$items$item$$Page _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Page) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Link @@ -55122,7 +56261,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Link }); factory Fragment$Section$$PosterGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Link( @@ -55148,10 +56288,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -55180,37 +56317,38 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Link on Fragment$Section$$PosterGridSection$items$items$item$$Link { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link< - Fragment$Section$$PosterGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link( Fragment$Section$$PosterGridSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link( this._instance, this._then, @@ -55219,37 +56357,39 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link< final Fragment$Section$$PosterGridSection$items$items$item$$Link _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Link) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic @@ -55257,14 +56397,17 @@ class Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Fragment$Section$$PosterGridSection$items$items$item { - Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -55304,62 +56447,74 @@ class Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic on Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic< - Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic) - then, + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -55378,7 +56533,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Game }); factory Fragment$Section$$PosterGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Game( @@ -55404,10 +56560,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -55436,37 +56589,38 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Game on Fragment$Section$$PosterGridSection$items$items$item$$Game { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game< - Fragment$Section$$PosterGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game( Fragment$Section$$PosterGridSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game( this._instance, this._then, @@ -55475,39 +56629,39 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game< final Fragment$Section$$PosterGridSection$items$items$item$$Game _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Game) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Playlist @@ -55522,7 +56676,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Playlist }); factory Fragment$Section$$PosterGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Playlist( @@ -55548,10 +56703,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -55581,78 +56733,80 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Playlist on Fragment$Section$$PosterGridSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist< - Fragment$Section$$PosterGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist( Fragment$Section$$PosterGridSection$items$items$item$$Playlist instance, TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Playlist) - then, + Fragment$Section$$PosterGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Fragment$Section$$PosterGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Playlist) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Short @@ -55667,7 +56821,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Short }); factory Fragment$Section$$PosterGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Short( @@ -55693,10 +56848,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -55725,37 +56877,38 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Short on Fragment$Section$$PosterGridSection$items$items$item$$Short { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short< - Fragment$Section$$PosterGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short( Fragment$Section$$PosterGridSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short( this._instance, this._then, @@ -55764,37 +56917,37 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short< final Fragment$Section$$PosterGridSection$items$items$item$$Short _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Short) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$PosterGridSection$items$items$item$$Person @@ -55809,7 +56962,8 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Person }); factory Fragment$Section$$PosterGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$PosterGridSection$items$items$item$$Person( @@ -55835,10 +56989,7 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -55868,37 +57019,38 @@ class Fragment$Section$$PosterGridSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$PosterGridSection$items$items$item$$Person on Fragment$Section$$PosterGridSection$items$items$item$$Person { CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person< - Fragment$Section$$PosterGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$PosterGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person( Fragment$Section$$PosterGridSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$PosterGridSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person( this._instance, this._then, @@ -55907,37 +57059,37 @@ class _CopyWithImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person final Fragment$Section$$PosterGridSection$items$items$item$$Person _instance; final TRes Function( - Fragment$Section$$PosterGridSection$items$items$item$$Person) _then; + Fragment$Section$$PosterGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$PosterGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$PosterGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$PosterGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection @@ -55956,7 +57108,8 @@ class Fragment$Section$$IconGridSection }); factory Fragment$Section$$IconGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -55968,9 +57121,11 @@ class Fragment$Section$$IconGridSection metadata: l$metadata == null ? null : Fragment$Section$$IconGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$IconGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -56083,10 +57238,7 @@ class Fragment$Section$$IconGridSection extension UtilityExtension$Fragment$Section$$IconGridSection on Fragment$Section$$IconGridSection { CopyWith$Fragment$Section$$IconGridSection - get copyWith => CopyWith$Fragment$Section$$IconGridSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$IconGridSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconGridSection { @@ -56113,10 +57265,7 @@ abstract class CopyWith$Fragment$Section$$IconGridSection { class _CopyWithImpl$Fragment$Section$$IconGridSection implements CopyWith$Fragment$Section$$IconGridSection { - _CopyWithImpl$Fragment$Section$$IconGridSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$IconGridSection(this._instance, this._then); final Fragment$Section$$IconGridSection _instance; @@ -56132,40 +57281,46 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$IconGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$IconGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$IconGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$IconGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$IconGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$IconGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$IconGridSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$IconGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$IconGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$IconGridSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$IconGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -56183,8 +57338,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconGridSection$metadata get metadata => CopyWith$Fragment$Section$$IconGridSection$metadata.stub(_res); @@ -56208,7 +57362,8 @@ class Fragment$Section$$IconGridSection$metadata }); factory Fragment$Section$$IconGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -56227,7 +57382,8 @@ class Fragment$Section$$IconGridSection$metadata page: l$page == null ? null : Fragment$Section$$IconGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -56360,11 +57516,10 @@ class Fragment$Section$$IconGridSection$metadata extension UtilityExtension$Fragment$Section$$IconGridSection$metadata on Fragment$Section$$IconGridSection$metadata { CopyWith$Fragment$Section$$IconGridSection$metadata< - Fragment$Section$$IconGridSection$metadata> - get copyWith => CopyWith$Fragment$Section$$IconGridSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconGridSection$metadata { @@ -56413,45 +57568,48 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$IconGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$IconGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$IconGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$IconGridSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$IconGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$IconGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -56471,8 +57629,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconGridSection$metadata$page get page => CopyWith$Fragment$Section$$IconGridSection$metadata$page.stub(_res); @@ -56486,7 +57643,8 @@ class Fragment$Section$$IconGridSection$metadata$page }); factory Fragment$Section$$IconGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$metadata$page( @@ -56512,10 +57670,7 @@ class Fragment$Section$$IconGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -56544,11 +57699,10 @@ class Fragment$Section$$IconGridSection$metadata$page extension UtilityExtension$Fragment$Section$$IconGridSection$metadata$page on Fragment$Section$$IconGridSection$metadata$page { CopyWith$Fragment$Section$$IconGridSection$metadata$page< - Fragment$Section$$IconGridSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$IconGridSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconGridSection$metadata$page { @@ -56558,13 +57712,10 @@ abstract class CopyWith$Fragment$Section$$IconGridSection$metadata$page { ) = _CopyWithImpl$Fragment$Section$$IconGridSection$metadata$page; factory CopyWith$Fragment$Section$$IconGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$metadata$page @@ -56580,18 +57731,17 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$metadata$page @@ -56600,11 +57750,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items @@ -56619,7 +57765,8 @@ class Fragment$Section$$IconGridSection$items }); factory Fragment$Section$$IconGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -56628,8 +57775,11 @@ class Fragment$Section$$IconGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => Fragment$Section$$IconGridSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Fragment$Section$$IconGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -56714,11 +57864,10 @@ class Fragment$Section$$IconGridSection$items extension UtilityExtension$Fragment$Section$$IconGridSection$items on Fragment$Section$$IconGridSection$items { CopyWith$Fragment$Section$$IconGridSection$items< - Fragment$Section$$IconGridSection$items> - get copyWith => CopyWith$Fragment$Section$$IconGridSection$items( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconGridSection$items { @@ -56737,11 +57886,15 @@ abstract class CopyWith$Fragment$Section$$IconGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$IconGridSection$items$items< - Fragment$Section$$IconGridSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$IconGridSection$items$items< + Fragment$Section$$IconGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items @@ -56762,34 +57915,40 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$IconGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$IconGridSection$items$items< - Fragment$Section$$IconGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Fragment$Section$$IconGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$Section$$IconGridSection$items$items< + Fragment$Section$$IconGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Fragment$Section$$IconGridSection$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items @@ -56803,8 +57962,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -56820,7 +57978,8 @@ class Fragment$Section$$IconGridSection$items$items }); factory Fragment$Section$$IconGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -56831,7 +57990,8 @@ class Fragment$Section$$IconGridSection$items$items title: (l$title as String), image: (l$image as String?), item: Fragment$Section$$IconGridSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -56868,13 +58028,7 @@ class Fragment$Section$$IconGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -56918,11 +58072,10 @@ class Fragment$Section$$IconGridSection$items$items extension UtilityExtension$Fragment$Section$$IconGridSection$items$items on Fragment$Section$$IconGridSection$items$items { CopyWith$Fragment$Section$$IconGridSection$items$items< - Fragment$Section$$IconGridSection$items$items> - get copyWith => CopyWith$Fragment$Section$$IconGridSection$items$items( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items { @@ -56932,8 +58085,8 @@ abstract class CopyWith$Fragment$Section$$IconGridSection$items$items { ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items; factory CopyWith$Fragment$Section$$IconGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items; TRes call({ String? id, @@ -56964,25 +58117,28 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Section$$IconGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$IconGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Section$$IconGridSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$IconGridSection$items$items$item get item { final local$item = _instance.item; return CopyWith$Fragment$Section$$IconGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -56998,8 +58154,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items String? image, Fragment$Section$$IconGridSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconGridSection$items$items$item get item => CopyWith$Fragment$Section$$IconGridSection$items$items$item.stub(_res); @@ -57007,56 +58162,69 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items class Fragment$Section$$IconGridSection$items$items$item implements Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Fragment$Section$$IconGridSection$items$items$item( - {required this.$__typename}); + Fragment$Section$$IconGridSection$items$items$item({ + required this.$__typename, + }); factory Fragment$Section$$IconGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Fragment$Section$$IconGridSection$items$items$item$$Episode - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Fragment$Section$$IconGridSection$items$items$item$$Show - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Fragment$Section$$IconGridSection$items$items$item$$Season - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Fragment$Section$$IconGridSection$items$items$item$$Page - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Fragment$Section$$IconGridSection$items$items$item$$Link - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Fragment$Section$$IconGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Fragment$Section$$IconGridSection$items$items$item$$Game - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Fragment$Section$$IconGridSection$items$items$item$$Playlist - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Fragment$Section$$IconGridSection$items$items$item$$Short - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Fragment$Section$$IconGridSection$items$items$item$$Person - .fromJson(json); + return Fragment$Section$$IconGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -57096,86 +58264,107 @@ class Fragment$Section$$IconGridSection$items$items$item extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item on Fragment$Section$$IconGridSection$items$items$item { CopyWith$Fragment$Section$$IconGridSection$items$items$item< - Fragment$Section$$IconGridSection$items$items$item> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item + > + get copyWith => CopyWith$Fragment$Section$$IconGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode) - episode, + Fragment$Section$$IconGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Show) - show, + Fragment$Section$$IconGridSection$items$items$item$$Show, + ) + show, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Season) - season, + Fragment$Section$$IconGridSection$items$items$item$$Season, + ) + season, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Page) - page, + Fragment$Section$$IconGridSection$items$items$item$$Page, + ) + page, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Link) - link, + Fragment$Section$$IconGridSection$items$items$item$$Link, + ) + link, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$StudyTopic) - studyTopic, + Fragment$Section$$IconGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Game) - game, + Fragment$Section$$IconGridSection$items$items$item$$Game, + ) + game, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Playlist) - playlist, + Fragment$Section$$IconGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Short) - short, + Fragment$Section$$IconGridSection$items$items$item$$Short, + ) + short, required _T Function( - Fragment$Section$$IconGridSection$items$items$item$$Person) - person, + Fragment$Section$$IconGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Fragment$Section$$IconGridSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$IconGridSection$items$items$item$$Episode, + ); case "Show": return show( - this as Fragment$Section$$IconGridSection$items$items$item$$Show); + this as Fragment$Section$$IconGridSection$items$items$item$$Show, + ); case "Season": return season( - this as Fragment$Section$$IconGridSection$items$items$item$$Season); + this as Fragment$Section$$IconGridSection$items$items$item$$Season, + ); case "Page": return page( - this as Fragment$Section$$IconGridSection$items$items$item$$Page); + this as Fragment$Section$$IconGridSection$items$items$item$$Page, + ); case "Link": return link( - this as Fragment$Section$$IconGridSection$items$items$item$$Link); + this as Fragment$Section$$IconGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Fragment$Section$$IconGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$IconGridSection$items$items$item$$StudyTopic, + ); case "Game": return game( - this as Fragment$Section$$IconGridSection$items$items$item$$Game); + this as Fragment$Section$$IconGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Fragment$Section$$IconGridSection$items$items$item$$Playlist); + return playlist( + this as Fragment$Section$$IconGridSection$items$items$item$$Playlist, + ); case "Short": return short( - this as Fragment$Section$$IconGridSection$items$items$item$$Short); + this as Fragment$Section$$IconGridSection$items$items$item$$Short, + ); case "Person": return person( - this as Fragment$Section$$IconGridSection$items$items$item$$Person); + this as Fragment$Section$$IconGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -57184,28 +58373,29 @@ extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item _T maybeWhen<_T>({ _T Function(Fragment$Section$$IconGridSection$items$items$item$$Episode)? - episode, + episode, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Show)? show, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Season)? - season, + season, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Page)? page, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Link)? link, _T Function(Fragment$Section$$IconGridSection$items$items$item$$StudyTopic)? - studyTopic, + studyTopic, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Game)? game, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Playlist)? - playlist, + playlist, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Short)? - short, + short, _T Function(Fragment$Section$$IconGridSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Fragment$Section$$IconGridSection$items$items$item$$Episode); + return episode( + this as Fragment$Section$$IconGridSection$items$items$item$$Episode, + ); } else { return orElse(); } @@ -57213,15 +58403,17 @@ extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item case "Show": if (show != null) { return show( - this as Fragment$Section$$IconGridSection$items$items$item$$Show); + this as Fragment$Section$$IconGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Fragment$Section$$IconGridSection$items$items$item$$Season); + return season( + this as Fragment$Section$$IconGridSection$items$items$item$$Season, + ); } else { return orElse(); } @@ -57229,7 +58421,8 @@ extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item case "Page": if (page != null) { return page( - this as Fragment$Section$$IconGridSection$items$items$item$$Page); + this as Fragment$Section$$IconGridSection$items$items$item$$Page, + ); } else { return orElse(); } @@ -57237,15 +58430,18 @@ extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item case "Link": if (link != null) { return link( - this as Fragment$Section$$IconGridSection$items$items$item$$Link); + this as Fragment$Section$$IconGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Fragment$Section$$IconGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Fragment$Section$$IconGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } @@ -57253,31 +58449,36 @@ extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item case "Game": if (game != null) { return game( - this as Fragment$Section$$IconGridSection$items$items$item$$Game); + this as Fragment$Section$$IconGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Fragment$Section$$IconGridSection$items$items$item$$Playlist); + return playlist( + this + as Fragment$Section$$IconGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Fragment$Section$$IconGridSection$items$items$item$$Short); + return short( + this as Fragment$Section$$IconGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Fragment$Section$$IconGridSection$items$items$item$$Person); + return person( + this as Fragment$Section$$IconGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -57289,15 +58490,16 @@ extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item( Fragment$Section$$IconGridSection$items$items$item instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item) then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item; TRes call({String? $__typename}); } @@ -57316,18 +58518,21 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$IconGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$IconGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item implements CopyWith$Fragment$Section$$IconGridSection$items$items$item { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -57357,7 +58562,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode }); factory Fragment$Section$$IconGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -57372,9 +58578,12 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -57387,15 +58596,17 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Fragment$Section$$IconGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Fragment$Section$$IconGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors> - contributors; + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -57416,15 +58627,16 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode final int? number; final Fragment$Section$$IconGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -57563,29 +58775,33 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Episode on Fragment$Section$$IconGridSection$items$items$item$$Episode { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode< - Fragment$Section$$IconGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode( Fragment$Section$$IconGridSection$items$items$item$$Episode instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Episode) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -57599,20 +58815,31 @@ abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Epis String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode( this._instance, this._then, @@ -57621,7 +58848,9 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode< final Fragment$Section$$IconGridSection$items$items$item$$Episode _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode) _then; + Fragment$Section$$IconGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -57638,78 +58867,103 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode< Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Fragment$Section$$IconGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Section$$IconGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -57721,16 +58975,17 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Epis int? number, Fragment$Section$$IconGridSection$items$items$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors @@ -57744,14 +58999,16 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors }); factory Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( person: - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -57760,7 +59017,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors } final Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -57830,54 +59087,62 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors on Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors) - then, + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors; TRes call({ Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors) - _then; + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -57885,53 +59150,61 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person @@ -57944,7 +59217,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$p }); factory Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( @@ -57970,10 +59244,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$p int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -58001,85 +59272,88 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$p } extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person - on Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person { + on + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person) - then, + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person) - _then; + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Episode$season @@ -58094,15 +59368,17 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season }); factory Fragment$Section$$IconGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -58110,7 +59386,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season final int number; final Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -58130,11 +59406,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -58169,52 +59441,61 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Episode$season on Fragment$Section$$IconGridSection$items$items$item$$Episode$season { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - Fragment$Section$$IconGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season( Fragment$Section$$IconGridSection$items$items$item$$Episode$season instance, TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$season) - then, + Fragment$Section$$IconGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season; TRes call({ int? number, Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Fragment$Section$$IconGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$season) _then; + Fragment$Section$$IconGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -58222,51 +59503,60 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Fragment$Section$$IconGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show @@ -58280,7 +59570,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show }); factory Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( @@ -58306,10 +59597,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -58339,83 +59627,83 @@ class Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show on Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show) - then, + Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show) - _then; + Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Show @@ -58433,7 +59721,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show }); factory Fragment$Section$$IconGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -58445,8 +59734,9 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -58459,7 +59749,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show final String $__typename; final Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -58533,25 +59823,27 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Show on Fragment$Section$$IconGridSection$items$items$item$$Show { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show< - Fragment$Section$$IconGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show( Fragment$Section$$IconGridSection$items$items$item$$Show instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show; TRes call({ String? id, @@ -58559,17 +59851,21 @@ abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show int? seasonCount, String? $__typename, Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show( this._instance, this._then, @@ -58578,7 +59874,7 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show< final Fragment$Section$$IconGridSection$items$items$item$$Show _instance; final TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Show) - _then; + _then; static const _undefined = {}; @@ -58588,39 +59884,47 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show< Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Fragment$Section$$IconGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -58630,15 +59934,16 @@ class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show int? seasonCount, String? $__typename, Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode @@ -58652,7 +59957,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode }); factory Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( @@ -58678,10 +59984,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -58711,81 +60014,81 @@ class Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode on Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode) - then, + Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode) - _then; + Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Season @@ -58793,14 +60096,17 @@ class Fragment$Section$$IconGridSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Fragment$Section$$IconGridSection$items$items$item { - Fragment$Section$$IconGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Fragment$Section$$IconGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Fragment$Section$$IconGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -58839,34 +60145,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Season extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Season on Fragment$Section$$IconGridSection$items$items$item$$Season { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season< - Fragment$Section$$IconGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season( Fragment$Section$$IconGridSection$items$items$item$$Season instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Season) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Season; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Season( this._instance, this._then, @@ -58875,24 +60185,31 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Season< final Fragment$Section$$IconGridSection$items$items$item$$Season _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Season) _then; + Fragment$Section$$IconGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$IconGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -58911,7 +60228,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Page }); factory Fragment$Section$$IconGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Page( @@ -58937,10 +60255,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -58969,37 +60284,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Page extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Page on Fragment$Section$$IconGridSection$items$items$item$$Page { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page< - Fragment$Section$$IconGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page( Fragment$Section$$IconGridSection$items$items$item$$Page instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Page; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Page( this._instance, this._then, @@ -59008,39 +60324,37 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Page< final Fragment$Section$$IconGridSection$items$items$item$$Page _instance; final TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Link @@ -59055,7 +60369,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Link }); factory Fragment$Section$$IconGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Link( @@ -59081,10 +60396,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -59113,37 +60425,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Link extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Link on Fragment$Section$$IconGridSection$items$items$item$$Link { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link< - Fragment$Section$$IconGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link( Fragment$Section$$IconGridSection$items$items$item$$Link instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Link; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Link( this._instance, this._then, @@ -59152,37 +60465,37 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Link< final Fragment$Section$$IconGridSection$items$items$item$$Link _instance; final TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Link) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$StudyTopic @@ -59190,14 +60503,17 @@ class Fragment$Section$$IconGridSection$items$items$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Fragment$Section$$IconGridSection$items$items$item { - Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Fragment$Section$$IconGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Fragment$Section$$IconGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -59237,62 +60553,74 @@ class Fragment$Section$$IconGridSection$items$items$item$$StudyTopic extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic on Fragment$Section$$IconGridSection$items$items$item$$StudyTopic { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic< - Fragment$Section$$IconGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( Fragment$Section$$IconGridSection$items$items$item$$StudyTopic instance, TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$StudyTopic) - then, + Fragment$Section$$IconGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Fragment$Section$$IconGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$StudyTopic) _then; + Fragment$Section$$IconGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -59311,7 +60639,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Game }); factory Fragment$Section$$IconGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Game( @@ -59337,10 +60666,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -59369,37 +60695,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Game extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Game on Fragment$Section$$IconGridSection$items$items$item$$Game { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game< - Fragment$Section$$IconGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game( Fragment$Section$$IconGridSection$items$items$item$$Game instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Game; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Game( this._instance, this._then, @@ -59408,39 +60735,37 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Game< final Fragment$Section$$IconGridSection$items$items$item$$Game _instance; final TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Game) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Playlist @@ -59455,7 +60780,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Playlist }); factory Fragment$Section$$IconGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Playlist( @@ -59481,10 +60807,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -59514,37 +60837,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Playlist extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Playlist on Fragment$Section$$IconGridSection$items$items$item$$Playlist { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist< - Fragment$Section$$IconGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist( Fragment$Section$$IconGridSection$items$items$item$$Playlist instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Playlist) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist( this._instance, this._then, @@ -59553,37 +60877,37 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist final Fragment$Section$$IconGridSection$items$items$item$$Playlist _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Playlist) _then; + Fragment$Section$$IconGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Short @@ -59598,7 +60922,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Short }); factory Fragment$Section$$IconGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Short( @@ -59624,10 +60949,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -59656,37 +60978,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Short extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Short on Fragment$Section$$IconGridSection$items$items$item$$Short { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short< - Fragment$Section$$IconGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short( Fragment$Section$$IconGridSection$items$items$item$$Short instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Short; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Short( this._instance, this._then, @@ -59695,37 +61018,35 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Short< final Fragment$Section$$IconGridSection$items$items$item$$Short _instance; final TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Short) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$IconGridSection$items$items$item$$Person @@ -59740,7 +61061,8 @@ class Fragment$Section$$IconGridSection$items$items$item$$Person }); factory Fragment$Section$$IconGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$Section$$IconGridSection$items$items$item$$Person( @@ -59766,10 +61088,7 @@ class Fragment$Section$$IconGridSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -59798,37 +61117,38 @@ class Fragment$Section$$IconGridSection$items$items$item$$Person extension UtilityExtension$Fragment$Section$$IconGridSection$items$items$item$$Person on Fragment$Section$$IconGridSection$items$items$item$$Person { CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person< - Fragment$Section$$IconGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Fragment$Section$$IconGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person( Fragment$Section$$IconGridSection$items$items$item$$Person instance, TRes Function(Fragment$Section$$IconGridSection$items$items$item$$Person) - then, + then, ) = _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Person; factory CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Person( this._instance, this._then, @@ -59837,37 +61157,37 @@ class _CopyWithImpl$Fragment$Section$$IconGridSection$items$items$item$$Person< final Fragment$Section$$IconGridSection$items$items$item$$Person _instance; final TRes Function( - Fragment$Section$$IconGridSection$items$items$item$$Person) _then; + Fragment$Section$$IconGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Fragment$Section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$IconGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$Section$$IconSection @@ -59892,9 +61212,11 @@ class Fragment$Section$$IconSection metadata: l$metadata == null ? null : Fragment$Section$$IconSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$IconSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -59995,10 +61317,7 @@ class Fragment$Section$$IconSection extension UtilityExtension$Fragment$Section$$IconSection on Fragment$Section$$IconSection { CopyWith$Fragment$Section$$IconSection - get copyWith => CopyWith$Fragment$Section$$IconSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$IconSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconSection { @@ -60024,10 +61343,7 @@ abstract class CopyWith$Fragment$Section$$IconSection { class _CopyWithImpl$Fragment$Section$$IconSection implements CopyWith$Fragment$Section$$IconSection { - _CopyWithImpl$Fragment$Section$$IconSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$IconSection(this._instance, this._then); final Fragment$Section$$IconSection _instance; @@ -60042,36 +61358,41 @@ class _CopyWithImpl$Fragment$Section$$IconSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$IconSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$IconSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$IconSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$IconSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$IconSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$IconSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$IconSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$IconSection$metadata.stub(_then(_instance)) : CopyWith$Fragment$Section$$IconSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$IconSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$IconSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -60088,8 +61409,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconSection$metadata get metadata => CopyWith$Fragment$Section$$IconSection$metadata.stub(_res); @@ -60113,7 +61433,8 @@ class Fragment$Section$$IconSection$metadata }); factory Fragment$Section$$IconSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -60132,7 +61453,8 @@ class Fragment$Section$$IconSection$metadata page: l$page == null ? null : Fragment$Section$$IconSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -60265,11 +61587,10 @@ class Fragment$Section$$IconSection$metadata extension UtilityExtension$Fragment$Section$$IconSection$metadata on Fragment$Section$$IconSection$metadata { CopyWith$Fragment$Section$$IconSection$metadata< - Fragment$Section$$IconSection$metadata> - get copyWith => CopyWith$Fragment$Section$$IconSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$IconSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$IconSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconSection$metadata { @@ -60318,45 +61639,48 @@ class _CopyWithImpl$Fragment$Section$$IconSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$IconSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$IconSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$IconSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$IconSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$IconSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$IconSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -60376,8 +61700,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$IconSection$metadata$page get page => CopyWith$Fragment$Section$$IconSection$metadata$page.stub(_res); @@ -60391,7 +61714,8 @@ class Fragment$Section$$IconSection$metadata$page }); factory Fragment$Section$$IconSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$IconSection$metadata$page( @@ -60417,10 +61741,7 @@ class Fragment$Section$$IconSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -60449,11 +61770,10 @@ class Fragment$Section$$IconSection$metadata$page extension UtilityExtension$Fragment$Section$$IconSection$metadata$page on Fragment$Section$$IconSection$metadata$page { CopyWith$Fragment$Section$$IconSection$metadata$page< - Fragment$Section$$IconSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$IconSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$IconSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$IconSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconSection$metadata$page { @@ -60465,10 +61785,7 @@ abstract class CopyWith$Fragment$Section$$IconSection$metadata$page { factory CopyWith$Fragment$Section$$IconSection$metadata$page.stub(TRes res) = _CopyWithStubImpl$Fragment$Section$$IconSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$IconSection$metadata$page @@ -60484,18 +61801,17 @@ class _CopyWithImpl$Fragment$Section$$IconSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$IconSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$IconSection$metadata$page @@ -60504,11 +61820,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$IconSection$items @@ -60521,7 +61833,8 @@ class Fragment$Section$$IconSection$items }); factory Fragment$Section$$IconSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -60530,8 +61843,10 @@ class Fragment$Section$$IconSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -60616,11 +61931,9 @@ class Fragment$Section$$IconSection$items extension UtilityExtension$Fragment$Section$$IconSection$items on Fragment$Section$$IconSection$items { CopyWith$Fragment$Section$$IconSection$items< - Fragment$Section$$IconSection$items> - get copyWith => CopyWith$Fragment$Section$$IconSection$items( - this, - (i) => i, - ); + Fragment$Section$$IconSection$items + > + get copyWith => CopyWith$Fragment$Section$$IconSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$IconSection$items { @@ -60639,18 +61952,16 @@ abstract class CopyWith$Fragment$Section$$IconSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$IconSection$items implements CopyWith$Fragment$Section$$IconSection$items { - _CopyWithImpl$Fragment$Section$$IconSection$items( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$IconSection$items(this._instance, this._then); final Fragment$Section$$IconSection$items _instance; @@ -60663,34 +61974,35 @@ class _CopyWithImpl$Fragment$Section$$IconSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$IconSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$IconSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$IconSection$items @@ -60704,8 +62016,7 @@ class _CopyWithStubImpl$Fragment$Section$$IconSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -60732,9 +62043,11 @@ class Fragment$Section$$LabelSection metadata: l$metadata == null ? null : Fragment$Section$$LabelSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$LabelSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -60835,10 +62148,7 @@ class Fragment$Section$$LabelSection extension UtilityExtension$Fragment$Section$$LabelSection on Fragment$Section$$LabelSection { CopyWith$Fragment$Section$$LabelSection - get copyWith => CopyWith$Fragment$Section$$LabelSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$LabelSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$LabelSection { @@ -60864,10 +62174,7 @@ abstract class CopyWith$Fragment$Section$$LabelSection { class _CopyWithImpl$Fragment$Section$$LabelSection implements CopyWith$Fragment$Section$$LabelSection { - _CopyWithImpl$Fragment$Section$$LabelSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$LabelSection(this._instance, this._then); final Fragment$Section$$LabelSection _instance; @@ -60882,37 +62189,43 @@ class _CopyWithImpl$Fragment$Section$$LabelSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$LabelSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$LabelSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$LabelSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$LabelSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$LabelSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$LabelSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$LabelSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$LabelSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$LabelSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$LabelSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$LabelSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -60929,8 +62242,7 @@ class _CopyWithStubImpl$Fragment$Section$$LabelSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$LabelSection$metadata get metadata => CopyWith$Fragment$Section$$LabelSection$metadata.stub(_res); @@ -60954,7 +62266,8 @@ class Fragment$Section$$LabelSection$metadata }); factory Fragment$Section$$LabelSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -60973,7 +62286,8 @@ class Fragment$Section$$LabelSection$metadata page: l$page == null ? null : Fragment$Section$$LabelSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -61106,11 +62420,10 @@ class Fragment$Section$$LabelSection$metadata extension UtilityExtension$Fragment$Section$$LabelSection$metadata on Fragment$Section$$LabelSection$metadata { CopyWith$Fragment$Section$$LabelSection$metadata< - Fragment$Section$$LabelSection$metadata> - get copyWith => CopyWith$Fragment$Section$$LabelSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$LabelSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$LabelSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$LabelSection$metadata { @@ -61159,45 +62472,48 @@ class _CopyWithImpl$Fragment$Section$$LabelSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$LabelSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$LabelSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$LabelSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$LabelSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$LabelSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$LabelSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$LabelSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -61217,8 +62533,7 @@ class _CopyWithStubImpl$Fragment$Section$$LabelSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$LabelSection$metadata$page get page => CopyWith$Fragment$Section$$LabelSection$metadata$page.stub(_res); @@ -61232,7 +62547,8 @@ class Fragment$Section$$LabelSection$metadata$page }); factory Fragment$Section$$LabelSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$LabelSection$metadata$page( @@ -61258,10 +62574,7 @@ class Fragment$Section$$LabelSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -61290,11 +62603,10 @@ class Fragment$Section$$LabelSection$metadata$page extension UtilityExtension$Fragment$Section$$LabelSection$metadata$page on Fragment$Section$$LabelSection$metadata$page { CopyWith$Fragment$Section$$LabelSection$metadata$page< - Fragment$Section$$LabelSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$LabelSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$LabelSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$LabelSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$LabelSection$metadata$page { @@ -61306,10 +62618,7 @@ abstract class CopyWith$Fragment$Section$$LabelSection$metadata$page { factory CopyWith$Fragment$Section$$LabelSection$metadata$page.stub(TRes res) = _CopyWithStubImpl$Fragment$Section$$LabelSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$LabelSection$metadata$page @@ -61325,18 +62634,17 @@ class _CopyWithImpl$Fragment$Section$$LabelSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$LabelSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$LabelSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$LabelSection$metadata$page @@ -61345,11 +62653,7 @@ class _CopyWithStubImpl$Fragment$Section$$LabelSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$LabelSection$items @@ -61362,7 +62666,8 @@ class Fragment$Section$$LabelSection$items }); factory Fragment$Section$$LabelSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -61371,8 +62676,10 @@ class Fragment$Section$$LabelSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -61457,11 +62764,9 @@ class Fragment$Section$$LabelSection$items extension UtilityExtension$Fragment$Section$$LabelSection$items on Fragment$Section$$LabelSection$items { CopyWith$Fragment$Section$$LabelSection$items< - Fragment$Section$$LabelSection$items> - get copyWith => CopyWith$Fragment$Section$$LabelSection$items( - this, - (i) => i, - ); + Fragment$Section$$LabelSection$items + > + get copyWith => CopyWith$Fragment$Section$$LabelSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$LabelSection$items { @@ -61480,10 +62785,11 @@ abstract class CopyWith$Fragment$Section$$LabelSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$LabelSection$items @@ -61504,34 +62810,35 @@ class _CopyWithImpl$Fragment$Section$$LabelSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$LabelSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$LabelSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$LabelSection$items @@ -61545,8 +62852,7 @@ class _CopyWithStubImpl$Fragment$Section$$LabelSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -61573,9 +62879,11 @@ class Fragment$Section$$AvatarSection metadata: l$metadata == null ? null : Fragment$Section$$AvatarSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Fragment$Section$$AvatarSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -61676,10 +62984,7 @@ class Fragment$Section$$AvatarSection extension UtilityExtension$Fragment$Section$$AvatarSection on Fragment$Section$$AvatarSection { CopyWith$Fragment$Section$$AvatarSection - get copyWith => CopyWith$Fragment$Section$$AvatarSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$AvatarSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$AvatarSection { @@ -61705,10 +63010,7 @@ abstract class CopyWith$Fragment$Section$$AvatarSection { class _CopyWithImpl$Fragment$Section$$AvatarSection implements CopyWith$Fragment$Section$$AvatarSection { - _CopyWithImpl$Fragment$Section$$AvatarSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$AvatarSection(this._instance, this._then); final Fragment$Section$$AvatarSection _instance; @@ -61723,37 +63025,43 @@ class _CopyWithImpl$Fragment$Section$$AvatarSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$AvatarSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Fragment$Section$$AvatarSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Fragment$Section$$AvatarSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$AvatarSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Fragment$Section$$AvatarSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Fragment$Section$$AvatarSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Fragment$Section$$AvatarSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Fragment$Section$$AvatarSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$AvatarSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Fragment$Section$$AvatarSection$items get items { final local$items = _instance.items; return CopyWith$Fragment$Section$$AvatarSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -61770,8 +63078,7 @@ class _CopyWithStubImpl$Fragment$Section$$AvatarSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$AvatarSection$metadata get metadata => CopyWith$Fragment$Section$$AvatarSection$metadata.stub(_res); @@ -61795,7 +63102,8 @@ class Fragment$Section$$AvatarSection$metadata }); factory Fragment$Section$$AvatarSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -61814,7 +63122,8 @@ class Fragment$Section$$AvatarSection$metadata page: l$page == null ? null : Fragment$Section$$AvatarSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -61947,11 +63256,10 @@ class Fragment$Section$$AvatarSection$metadata extension UtilityExtension$Fragment$Section$$AvatarSection$metadata on Fragment$Section$$AvatarSection$metadata { CopyWith$Fragment$Section$$AvatarSection$metadata< - Fragment$Section$$AvatarSection$metadata> - get copyWith => CopyWith$Fragment$Section$$AvatarSection$metadata( - this, - (i) => i, - ); + Fragment$Section$$AvatarSection$metadata + > + get copyWith => + CopyWith$Fragment$Section$$AvatarSection$metadata(this, (i) => i); } abstract class CopyWith$Fragment$Section$$AvatarSection$metadata { @@ -62000,45 +63308,48 @@ class _CopyWithImpl$Fragment$Section$$AvatarSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$AvatarSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Fragment$Section$$AvatarSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$AvatarSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Fragment$Section$$AvatarSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$AvatarSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Fragment$Section$$AvatarSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Section$$AvatarSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -62058,8 +63369,7 @@ class _CopyWithStubImpl$Fragment$Section$$AvatarSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$AvatarSection$metadata$page get page => CopyWith$Fragment$Section$$AvatarSection$metadata$page.stub(_res); @@ -62073,7 +63383,8 @@ class Fragment$Section$$AvatarSection$metadata$page }); factory Fragment$Section$$AvatarSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Fragment$Section$$AvatarSection$metadata$page( @@ -62099,10 +63410,7 @@ class Fragment$Section$$AvatarSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -62131,11 +63439,10 @@ class Fragment$Section$$AvatarSection$metadata$page extension UtilityExtension$Fragment$Section$$AvatarSection$metadata$page on Fragment$Section$$AvatarSection$metadata$page { CopyWith$Fragment$Section$$AvatarSection$metadata$page< - Fragment$Section$$AvatarSection$metadata$page> - get copyWith => CopyWith$Fragment$Section$$AvatarSection$metadata$page( - this, - (i) => i, - ); + Fragment$Section$$AvatarSection$metadata$page + > + get copyWith => + CopyWith$Fragment$Section$$AvatarSection$metadata$page(this, (i) => i); } abstract class CopyWith$Fragment$Section$$AvatarSection$metadata$page { @@ -62145,13 +63452,10 @@ abstract class CopyWith$Fragment$Section$$AvatarSection$metadata$page { ) = _CopyWithImpl$Fragment$Section$$AvatarSection$metadata$page; factory CopyWith$Fragment$Section$$AvatarSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$AvatarSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$AvatarSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$AvatarSection$metadata$page @@ -62167,18 +63471,17 @@ class _CopyWithImpl$Fragment$Section$$AvatarSection$metadata$page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$AvatarSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Section$$AvatarSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$AvatarSection$metadata$page @@ -62187,11 +63490,7 @@ class _CopyWithStubImpl$Fragment$Section$$AvatarSection$metadata$page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Section$$AvatarSection$items @@ -62204,7 +63503,8 @@ class Fragment$Section$$AvatarSection$items }); factory Fragment$Section$$AvatarSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -62213,8 +63513,10 @@ class Fragment$Section$$AvatarSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -62299,11 +63601,10 @@ class Fragment$Section$$AvatarSection$items extension UtilityExtension$Fragment$Section$$AvatarSection$items on Fragment$Section$$AvatarSection$items { CopyWith$Fragment$Section$$AvatarSection$items< - Fragment$Section$$AvatarSection$items> - get copyWith => CopyWith$Fragment$Section$$AvatarSection$items( - this, - (i) => i, - ); + Fragment$Section$$AvatarSection$items + > + get copyWith => + CopyWith$Fragment$Section$$AvatarSection$items(this, (i) => i); } abstract class CopyWith$Fragment$Section$$AvatarSection$items { @@ -62322,10 +63623,11 @@ abstract class CopyWith$Fragment$Section$$AvatarSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$AvatarSection$items @@ -62346,34 +63648,35 @@ class _CopyWithImpl$Fragment$Section$$AvatarSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$AvatarSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$AvatarSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$AvatarSection$items @@ -62387,8 +63690,7 @@ class _CopyWithStubImpl$Fragment$Section$$AvatarSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -62541,10 +63843,7 @@ class Fragment$Section$$WebSection implements Fragment$Section { extension UtilityExtension$Fragment$Section$$WebSection on Fragment$Section$$WebSection { CopyWith$Fragment$Section$$WebSection - get copyWith => CopyWith$Fragment$Section$$WebSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$WebSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$WebSection { @@ -62570,10 +63869,7 @@ abstract class CopyWith$Fragment$Section$$WebSection { class _CopyWithImpl$Fragment$Section$$WebSection implements CopyWith$Fragment$Section$$WebSection { - _CopyWithImpl$Fragment$Section$$WebSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$WebSection(this._instance, this._then); final Fragment$Section$$WebSection _instance; @@ -62590,25 +63886,26 @@ class _CopyWithImpl$Fragment$Section$$WebSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$WebSection( - authentication: authentication == _undefined || authentication == null - ? _instance.authentication - : (authentication as bool), - widthRatio: widthRatio == _undefined || widthRatio == null - ? _instance.widthRatio - : (widthRatio as double), - height: height == _undefined ? _instance.height : (height as int?), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$WebSection( + authentication: authentication == _undefined || authentication == null + ? _instance.authentication + : (authentication as bool), + widthRatio: widthRatio == _undefined || widthRatio == null + ? _instance.widthRatio + : (widthRatio as double), + height: height == _undefined ? _instance.height : (height as int?), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$WebSection @@ -62626,8 +63923,7 @@ class _CopyWithStubImpl$Fragment$Section$$WebSection String? id, String? title, String? description, - }) => - _res; + }) => _res; } class Fragment$Section$$MessageSection implements Fragment$Section { @@ -62648,8 +63944,11 @@ class Fragment$Section$$MessageSection implements Fragment$Section { return Fragment$Section$$MessageSection( id: (l$id as String), messages: (l$messages as List?) - ?.map((e) => Fragment$Section$$MessageSection$messages.fromJson( - (e as Map))) + ?.map( + (e) => Fragment$Section$$MessageSection$messages.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), title: (l$title as String?), @@ -62750,10 +64049,7 @@ class Fragment$Section$$MessageSection implements Fragment$Section { extension UtilityExtension$Fragment$Section$$MessageSection on Fragment$Section$$MessageSection { CopyWith$Fragment$Section$$MessageSection - get copyWith => CopyWith$Fragment$Section$$MessageSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Section$$MessageSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$MessageSection { @@ -62773,19 +64069,20 @@ abstract class CopyWith$Fragment$Section$$MessageSection { String? description, }); TRes messages( - Iterable? Function( - Iterable< - CopyWith$Fragment$Section$$MessageSection$messages< - Fragment$Section$$MessageSection$messages>>?) - _fn); + Iterable? Function( + Iterable< + CopyWith$Fragment$Section$$MessageSection$messages< + Fragment$Section$$MessageSection$messages + > + >?, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Section$$MessageSection implements CopyWith$Fragment$Section$$MessageSection { - _CopyWithImpl$Fragment$Section$$MessageSection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Section$$MessageSection(this._instance, this._then); final Fragment$Section$$MessageSection _instance; @@ -62799,33 +64096,38 @@ class _CopyWithImpl$Fragment$Section$$MessageSection Object? $__typename = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$MessageSection( - id: id == _undefined || id == null ? _instance.id : (id as String), - messages: messages == _undefined - ? _instance.messages - : (messages as List?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$MessageSection( + id: id == _undefined || id == null ? _instance.id : (id as String), + messages: messages == _undefined + ? _instance.messages + : (messages as List?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); TRes messages( - Iterable? Function( - Iterable< - CopyWith$Fragment$Section$$MessageSection$messages< - Fragment$Section$$MessageSection$messages>>?) - _fn) => - call( - messages: _fn(_instance.messages - ?.map((e) => CopyWith$Fragment$Section$$MessageSection$messages( - e, - (i) => i, - )))?.toList()); + Iterable? Function( + Iterable< + CopyWith$Fragment$Section$$MessageSection$messages< + Fragment$Section$$MessageSection$messages + > + >?, + ) + _fn, + ) => call( + messages: _fn( + _instance.messages?.map( + (e) => CopyWith$Fragment$Section$$MessageSection$messages(e, (i) => i), + ), + )?.toList(), + ); } class _CopyWithStubImpl$Fragment$Section$$MessageSection @@ -62840,8 +64142,7 @@ class _CopyWithStubImpl$Fragment$Section$$MessageSection String? $__typename, String? title, String? description, - }) => - _res; + }) => _res; messages(_fn) => _res; } @@ -62854,14 +64155,16 @@ class Fragment$Section$$MessageSection$messages { }); factory Fragment$Section$$MessageSection$messages.fromJson( - Map json) { + Map json, + ) { final l$content = json['content']; final l$style = json['style']; final l$$__typename = json['__typename']; return Fragment$Section$$MessageSection$messages( content: (l$content as String), style: Fragment$Section$$MessageSection$messages$style.fromJson( - (l$style as Map)), + (l$style as Map), + ), $__typename: (l$$__typename as String), ); } @@ -62888,11 +64191,7 @@ class Fragment$Section$$MessageSection$messages { final l$content = content; final l$style = style; final l$$__typename = $__typename; - return Object.hashAll([ - l$content, - l$style, - l$$__typename, - ]); + return Object.hashAll([l$content, l$style, l$$__typename]); } @override @@ -62926,11 +64225,10 @@ class Fragment$Section$$MessageSection$messages { extension UtilityExtension$Fragment$Section$$MessageSection$messages on Fragment$Section$$MessageSection$messages { CopyWith$Fragment$Section$$MessageSection$messages< - Fragment$Section$$MessageSection$messages> - get copyWith => CopyWith$Fragment$Section$$MessageSection$messages( - this, - (i) => i, - ); + Fragment$Section$$MessageSection$messages + > + get copyWith => + CopyWith$Fragment$Section$$MessageSection$messages(this, (i) => i); } abstract class CopyWith$Fragment$Section$$MessageSection$messages { @@ -62967,23 +64265,26 @@ class _CopyWithImpl$Fragment$Section$$MessageSection$messages Object? content = _undefined, Object? style = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$MessageSection$messages( - content: content == _undefined || content == null - ? _instance.content - : (content as String), - style: style == _undefined || style == null - ? _instance.style - : (style as Fragment$Section$$MessageSection$messages$style), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$MessageSection$messages( + content: content == _undefined || content == null + ? _instance.content + : (content as String), + style: style == _undefined || style == null + ? _instance.style + : (style as Fragment$Section$$MessageSection$messages$style), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Section$$MessageSection$messages$style get style { final local$style = _instance.style; return CopyWith$Fragment$Section$$MessageSection$messages$style( - local$style, (e) => call(style: e)); + local$style, + (e) => call(style: e), + ); } } @@ -62997,8 +64298,7 @@ class _CopyWithStubImpl$Fragment$Section$$MessageSection$messages String? content, Fragment$Section$$MessageSection$messages$style? style, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Section$$MessageSection$messages$style get style => CopyWith$Fragment$Section$$MessageSection$messages$style.stub(_res); @@ -63013,7 +64313,8 @@ class Fragment$Section$$MessageSection$messages$style { }); factory Fragment$Section$$MessageSection$messages$style.fromJson( - Map json) { + Map json, + ) { final l$text = json['text']; final l$background = json['background']; final l$border = json['border']; @@ -63053,12 +64354,7 @@ class Fragment$Section$$MessageSection$messages$style { final l$background = background; final l$border = border; final l$$__typename = $__typename; - return Object.hashAll([ - l$text, - l$background, - l$border, - l$$__typename, - ]); + return Object.hashAll([l$text, l$background, l$border, l$$__typename]); } @override @@ -63097,11 +64393,10 @@ class Fragment$Section$$MessageSection$messages$style { extension UtilityExtension$Fragment$Section$$MessageSection$messages$style on Fragment$Section$$MessageSection$messages$style { CopyWith$Fragment$Section$$MessageSection$messages$style< - Fragment$Section$$MessageSection$messages$style> - get copyWith => CopyWith$Fragment$Section$$MessageSection$messages$style( - this, - (i) => i, - ); + Fragment$Section$$MessageSection$messages$style + > + get copyWith => + CopyWith$Fragment$Section$$MessageSection$messages$style(this, (i) => i); } abstract class CopyWith$Fragment$Section$$MessageSection$messages$style { @@ -63111,8 +64406,8 @@ abstract class CopyWith$Fragment$Section$$MessageSection$messages$style { ) = _CopyWithImpl$Fragment$Section$$MessageSection$messages$style; factory CopyWith$Fragment$Section$$MessageSection$messages$style.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$MessageSection$messages$style; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$MessageSection$messages$style; TRes call({ String? text, @@ -63140,21 +64435,22 @@ class _CopyWithImpl$Fragment$Section$$MessageSection$messages$style Object? background = _undefined, Object? border = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$MessageSection$messages$style( - text: text == _undefined || text == null - ? _instance.text - : (text as String), - background: background == _undefined || background == null - ? _instance.background - : (background as String), - border: border == _undefined || border == null - ? _instance.border - : (border as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$MessageSection$messages$style( + text: text == _undefined || text == null + ? _instance.text + : (text as String), + background: background == _undefined || background == null + ? _instance.background + : (background as String), + border: border == _undefined || border == null + ? _instance.border + : (border as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$MessageSection$messages$style @@ -63168,8 +64464,7 @@ class _CopyWithStubImpl$Fragment$Section$$MessageSection$messages$style String? background, String? border, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images @@ -63181,7 +64476,8 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images }); factory Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -63214,11 +64510,7 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -63253,51 +64545,53 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images on Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images { CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images - instance, + instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images) - then, + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images) - _then; + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images, + ) + _then; static const _undefined = {}; @@ -63305,35 +64599,33 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTop Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$images( - this._res); + this._res, + ); TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress @@ -63345,7 +64637,8 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProg }); factory Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -63378,11 +64671,7 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProg final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -63417,51 +64706,53 @@ class Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProg extension UtilityExtension$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress on Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress { CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress + > + get copyWith => + CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - instance, + instance, TRes Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress) - then, + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; factory CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( this._instance, this._then, ); final Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - _instance; + _instance; final TRes Function( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress) - _then; + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress, + ) + _then; static const _undefined = {}; @@ -63469,37 +64760,35 @@ class _CopyWithImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTop Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$StudyTopic$images @@ -63511,7 +64800,8 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic$images }); factory Fragment$Section$$CardSection$items$items$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -63544,11 +64834,7 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic$images final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -63583,49 +64869,52 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic$images extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images on Fragment$Section$$CardSection$items$items$item$$StudyTopic$images { CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( Fragment$Section$$CardSection$items$items$item$$StudyTopic$images instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images) - then, + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$StudyTopic$images - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$StudyTopic$images) _then; + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images, + ) + _then; static const _undefined = {}; @@ -63633,34 +64922,33 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$i Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$images( - this._res); + this._res, + ); TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress @@ -63672,7 +64960,8 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress }); factory Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -63705,11 +64994,7 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -63744,51 +65029,53 @@ class Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress extension UtilityExtension$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress on Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress { CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress + > + get copyWith => + CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - instance, + instance, TRes Function( - Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress) - then, + Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress, + ) + then, ) = _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; factory CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( this._instance, this._then, ); final Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - _instance; + _instance; final TRes Function( - Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress) - _then; + Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress, + ) + _then; static const _undefined = {}; @@ -63796,37 +65083,35 @@ class _CopyWithImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$l Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then( - Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithStubImpl$Fragment$Section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Fragment$Section$$PageDetailsSection implements Fragment$Section { @@ -63838,7 +65123,8 @@ class Fragment$Section$$PageDetailsSection implements Fragment$Section { }); factory Fragment$Section$$PageDetailsSection.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$description = json['description']; final l$$__typename = json['__typename']; @@ -63878,12 +65164,7 @@ class Fragment$Section$$PageDetailsSection implements Fragment$Section { final l$description = description; final l$$__typename = $__typename; final l$id = id; - return Object.hashAll([ - l$title, - l$description, - l$$__typename, - l$id, - ]); + return Object.hashAll([l$title, l$description, l$$__typename, l$id]); } @override @@ -63922,11 +65203,9 @@ class Fragment$Section$$PageDetailsSection implements Fragment$Section { extension UtilityExtension$Fragment$Section$$PageDetailsSection on Fragment$Section$$PageDetailsSection { CopyWith$Fragment$Section$$PageDetailsSection< - Fragment$Section$$PageDetailsSection> - get copyWith => CopyWith$Fragment$Section$$PageDetailsSection( - this, - (i) => i, - ); + Fragment$Section$$PageDetailsSection + > + get copyWith => CopyWith$Fragment$Section$$PageDetailsSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$PageDetailsSection { @@ -63964,17 +65243,18 @@ class _CopyWithImpl$Fragment$Section$$PageDetailsSection Object? description = _undefined, Object? $__typename = _undefined, Object? id = _undefined, - }) => - _then(Fragment$Section$$PageDetailsSection( - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - )); + }) => _then( + Fragment$Section$$PageDetailsSection( + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$PageDetailsSection @@ -63983,12 +65263,7 @@ class _CopyWithStubImpl$Fragment$Section$$PageDetailsSection TRes _res; - call({ - String? title, - String? description, - String? $__typename, - String? id, - }) => + call({String? title, String? description, String? $__typename, String? id}) => _res; } @@ -64002,7 +65277,8 @@ class Fragment$Section$$AchievementSection implements Fragment$Section { }); factory Fragment$Section$$AchievementSection.fromJson( - Map json) { + Map json, + ) { final l$source = json['source']; final l$$__typename = json['__typename']; final l$id = json['id']; @@ -64099,11 +65375,9 @@ class Fragment$Section$$AchievementSection implements Fragment$Section { extension UtilityExtension$Fragment$Section$$AchievementSection on Fragment$Section$$AchievementSection { CopyWith$Fragment$Section$$AchievementSection< - Fragment$Section$$AchievementSection> - get copyWith => CopyWith$Fragment$Section$$AchievementSection( - this, - (i) => i, - ); + Fragment$Section$$AchievementSection + > + get copyWith => CopyWith$Fragment$Section$$AchievementSection(this, (i) => i); } abstract class CopyWith$Fragment$Section$$AchievementSection { @@ -64143,20 +65417,21 @@ class _CopyWithImpl$Fragment$Section$$AchievementSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$Section$$AchievementSection( - source: source == _undefined || source == null - ? _instance.source - : (source as Enum$AchievementsSource), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$Section$$AchievementSection( + source: source == _undefined || source == null + ? _instance.source + : (source as Enum$AchievementsSource), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Fragment$Section$$AchievementSection @@ -64171,8 +65446,7 @@ class _CopyWithStubImpl$Fragment$Section$$AchievementSection String? id, String? title, String? description, - }) => - _res; + }) => _res; } class Fragment$CardItem implements Fragment$ItemSectionItem { @@ -64293,10 +65567,7 @@ class Fragment$CardItem implements Fragment$ItemSectionItem { extension UtilityExtension$Fragment$CardItem on Fragment$CardItem { CopyWith$Fragment$CardItem get copyWith => - CopyWith$Fragment$CardItem( - this, - (i) => i, - ); + CopyWith$Fragment$CardItem(this, (i) => i); } abstract class CopyWith$Fragment$CardItem { @@ -64321,10 +65592,7 @@ abstract class CopyWith$Fragment$CardItem { class _CopyWithImpl$Fragment$CardItem implements CopyWith$Fragment$CardItem { - _CopyWithImpl$Fragment$CardItem( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem(this._instance, this._then); final Fragment$CardItem _instance; @@ -64339,23 +65607,24 @@ class _CopyWithImpl$Fragment$CardItem Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Fragment$CardItem( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$CardItem$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + }) => _then( + Fragment$CardItem( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$CardItem$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Fragment$CardItem$item get item { final local$item = _instance.item; @@ -64376,8 +65645,7 @@ class _CopyWithStubImpl$Fragment$CardItem Fragment$CardItem$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Fragment$CardItem$item get item => CopyWith$Fragment$CardItem$item.stub(_res); @@ -64386,129 +65654,145 @@ class _CopyWithStubImpl$Fragment$CardItem const fragmentDefinitionCardItem = FragmentDefinitionNode( name: NameNode(value: 'CardItem'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'SectionItem'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'SectionItem'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'ItemSectionItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'StudyTopic'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'images'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'style'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'ItemSectionItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'StudyTopic'), + isNonNull: false, ), - ]), - ), - FieldNode( - name: NameNode(value: 'progress'), - alias: NameNode(value: 'lessonsProgress'), - arguments: [], + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'completed'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'total'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'images'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'style'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: NameNode(value: 'lessonsProgress'), + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'completed'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'total'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -64517,57 +65801,51 @@ const fragmentDefinitionCardItem = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentCardItem = DocumentNode( + definitions: [ + fragmentDefinitionCardItem, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentCardItem = DocumentNode(definitions: [ - fragmentDefinitionCardItem, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$CardItem on graphql.GraphQLClient { void writeFragment$CardItem({ required Fragment$CardItem data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'CardItem', - document: documentNodeFragmentCardItem, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'CardItem', + document: documentNodeFragmentCardItem, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$CardItem? readFragment$CardItem({ required Map idFields, @@ -64662,10 +65940,7 @@ class Fragment$CardItem$item implements Fragment$ItemSectionItem$item { extension UtilityExtension$Fragment$CardItem$item on Fragment$CardItem$item { CopyWith$Fragment$CardItem$item get copyWith => - CopyWith$Fragment$CardItem$item( - this, - (i) => i, - ); + CopyWith$Fragment$CardItem$item(this, (i) => i); _T when<_T>({ required _T Function(Fragment$CardItem$item$$Episode) episode, @@ -64820,10 +66095,7 @@ abstract class CopyWith$Fragment$CardItem$item { class _CopyWithImpl$Fragment$CardItem$item implements CopyWith$Fragment$CardItem$item { - _CopyWithImpl$Fragment$CardItem$item( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item(this._instance, this._then); final Fragment$CardItem$item _instance; @@ -64831,10 +66103,13 @@ class _CopyWithImpl$Fragment$CardItem$item static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => _then(Fragment$CardItem$item( + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$CardItem$item( $__typename: $__typename == _undefined || $__typename == null ? _instance.$__typename - : ($__typename as String))); + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item @@ -64882,8 +66157,11 @@ class Fragment$CardItem$item$$Episode final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Episode( contributors: (l$contributors as List) - .map((e) => Fragment$CardItem$item$$Episode$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$CardItem$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -64897,7 +66175,8 @@ class Fragment$CardItem$item$$Episode season: l$season == null ? null : Fragment$CardItem$item$$Episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -64929,8 +66208,9 @@ class Fragment$CardItem$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -65069,10 +66349,7 @@ class Fragment$CardItem$item$$Episode extension UtilityExtension$Fragment$CardItem$item$$Episode on Fragment$CardItem$item$$Episode { CopyWith$Fragment$CardItem$item$$Episode - get copyWith => CopyWith$Fragment$CardItem$item$$Episode( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Episode { @@ -65099,20 +66376,21 @@ abstract class CopyWith$Fragment$CardItem$item$$Episode { String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$CardItem$item$$Episode$contributors< - Fragment$CardItem$item$$Episode$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$CardItem$item$$Episode$contributors< + Fragment$CardItem$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Fragment$CardItem$item$$Episode$season get season; } class _CopyWithImpl$Fragment$CardItem$item$$Episode implements CopyWith$Fragment$CardItem$item$$Episode { - _CopyWithImpl$Fragment$CardItem$item$$Episode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Episode(this._instance, this._then); final Fragment$CardItem$item$$Episode _instance; @@ -65133,59 +66411,68 @@ class _CopyWithImpl$Fragment$CardItem$item$$Episode Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors + }) => _then( + Fragment$CardItem$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$CardItem$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$CardItem$item$$Episode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$CardItem$item$$Episode$contributors< - Fragment$CardItem$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors - .map((e) => CopyWith$Fragment$CardItem$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$CardItem$item$$Episode$contributors< + Fragment$CardItem$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Fragment$CardItem$item$$Episode$contributors(e, (i) => i), + ), + ).toList(), + ); CopyWith$Fragment$CardItem$item$$Episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$CardItem$item$$Episode$season.stub(_then(_instance)) : CopyWith$Fragment$CardItem$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -65208,8 +66495,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Episode int? number, Fragment$CardItem$item$$Episode$season? season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; @@ -65226,13 +66512,15 @@ class Fragment$CardItem$item$$Episode$contributors }); factory Fragment$CardItem$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Episode$contributors( person: Fragment$CardItem$item$$Episode$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -65309,11 +66597,10 @@ class Fragment$CardItem$item$$Episode$contributors extension UtilityExtension$Fragment$CardItem$item$$Episode$contributors on Fragment$CardItem$item$$Episode$contributors { CopyWith$Fragment$CardItem$item$$Episode$contributors< - Fragment$CardItem$item$$Episode$contributors> - get copyWith => CopyWith$Fragment$CardItem$item$$Episode$contributors( - this, - (i) => i, - ); + Fragment$CardItem$item$$Episode$contributors + > + get copyWith => + CopyWith$Fragment$CardItem$item$$Episode$contributors(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Episode$contributors { @@ -65350,25 +66637,28 @@ class _CopyWithImpl$Fragment$CardItem$item$$Episode$contributors Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person as Fragment$CardItem$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CardItem$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$CardItem$item$$Episode$contributors$person), + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CardItem$item$$Episode$contributors$person - get person { + get person { final local$person = _instance.person; return CopyWith$Fragment$CardItem$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -65382,13 +66672,11 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Episode$contributors Fragment$CardItem$item$$Episode$contributors$person? person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$CardItem$item$$Episode$contributors$person - get person => - CopyWith$Fragment$CardItem$item$$Episode$contributors$person.stub( - _res); + get person => + CopyWith$Fragment$CardItem$item$$Episode$contributors$person.stub(_res); } class Fragment$CardItem$item$$Episode$contributors$person @@ -65399,7 +66687,8 @@ class Fragment$CardItem$item$$Episode$contributors$person }); factory Fragment$CardItem$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Episode$contributors$person( @@ -65425,10 +66714,7 @@ class Fragment$CardItem$item$$Episode$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -65457,29 +66743,27 @@ class Fragment$CardItem$item$$Episode$contributors$person extension UtilityExtension$Fragment$CardItem$item$$Episode$contributors$person on Fragment$CardItem$item$$Episode$contributors$person { CopyWith$Fragment$CardItem$item$$Episode$contributors$person< - Fragment$CardItem$item$$Episode$contributors$person> - get copyWith => - CopyWith$Fragment$CardItem$item$$Episode$contributors$person( - this, - (i) => i, - ); + Fragment$CardItem$item$$Episode$contributors$person + > + get copyWith => CopyWith$Fragment$CardItem$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CardItem$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Fragment$CardItem$item$$Episode$contributors$person( Fragment$CardItem$item$$Episode$contributors$person instance, TRes Function(Fragment$CardItem$item$$Episode$contributors$person) then, ) = _CopyWithImpl$Fragment$CardItem$item$$Episode$contributors$person; factory CopyWith$Fragment$CardItem$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CardItem$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Fragment$CardItem$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Episode$contributors$person @@ -65493,38 +66777,35 @@ class _CopyWithImpl$Fragment$CardItem$item$$Episode$contributors$person final Fragment$CardItem$item$$Episode$contributors$person _instance; final TRes Function(Fragment$CardItem$item$$Episode$contributors$person) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Fragment$CardItem$item$$Episode$contributors$person { _CopyWithStubImpl$Fragment$CardItem$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Fragment$CardItem$item$$Episode$season @@ -65538,14 +66819,16 @@ class Fragment$CardItem$item$$Episode$season }); factory Fragment$CardItem$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Episode$season( number: (l$number as int), $show: Fragment$CardItem$item$$Episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -65572,11 +66855,7 @@ class Fragment$CardItem$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -65610,11 +66889,10 @@ class Fragment$CardItem$item$$Episode$season extension UtilityExtension$Fragment$CardItem$item$$Episode$season on Fragment$CardItem$item$$Episode$season { CopyWith$Fragment$CardItem$item$$Episode$season< - Fragment$CardItem$item$$Episode$season> - get copyWith => CopyWith$Fragment$CardItem$item$$Episode$season( - this, - (i) => i, - ); + Fragment$CardItem$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$CardItem$item$$Episode$season(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Episode$season { @@ -65651,23 +66929,26 @@ class _CopyWithImpl$Fragment$CardItem$item$$Episode$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$CardItem$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CardItem$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$CardItem$item$$Episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$CardItem$item$$Episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$CardItem$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -65681,8 +66962,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Episode$season int? number, Fragment$CardItem$item$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$CardItem$item$$Episode$season$show get $show => CopyWith$Fragment$CardItem$item$$Episode$season$show.stub(_res); @@ -65698,7 +66978,8 @@ class Fragment$CardItem$item$$Episode$season$show }); factory Fragment$CardItem$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Episode$season$show( @@ -65724,10 +67005,7 @@ class Fragment$CardItem$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -65756,11 +67034,10 @@ class Fragment$CardItem$item$$Episode$season$show extension UtilityExtension$Fragment$CardItem$item$$Episode$season$show on Fragment$CardItem$item$$Episode$season$show { CopyWith$Fragment$CardItem$item$$Episode$season$show< - Fragment$CardItem$item$$Episode$season$show> - get copyWith => CopyWith$Fragment$CardItem$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$CardItem$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$CardItem$item$$Episode$season$show(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Episode$season$show { @@ -65772,10 +67049,7 @@ abstract class CopyWith$Fragment$CardItem$item$$Episode$season$show { factory CopyWith$Fragment$CardItem$item$$Episode$season$show.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Episode$season$show @@ -65791,18 +67065,17 @@ class _CopyWithImpl$Fragment$CardItem$item$$Episode$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Episode$season$show @@ -65811,11 +67084,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Episode$season$show TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$CardItem$item$$Show @@ -65843,7 +67112,8 @@ class Fragment$CardItem$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: Fragment$CardItem$item$$Show$defaultEpisode.fromJson( - (l$defaultEpisode as Map)), + (l$defaultEpisode as Map), + ), ); } @@ -65929,10 +67199,7 @@ class Fragment$CardItem$item$$Show extension UtilityExtension$Fragment$CardItem$item$$Show on Fragment$CardItem$item$$Show { CopyWith$Fragment$CardItem$item$$Show - get copyWith => CopyWith$Fragment$CardItem$item$$Show( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Show(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Show { @@ -65956,10 +67223,7 @@ abstract class CopyWith$Fragment$CardItem$item$$Show { class _CopyWithImpl$Fragment$CardItem$item$$Show implements CopyWith$Fragment$CardItem$item$$Show { - _CopyWithImpl$Fragment$CardItem$item$$Show( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Show(this._instance, this._then); final Fragment$CardItem$item$$Show _instance; @@ -65973,28 +67237,31 @@ class _CopyWithImpl$Fragment$CardItem$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Fragment$CardItem$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode as Fragment$CardItem$item$$Show$defaultEpisode), - )); + }) => _then( + Fragment$CardItem$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Fragment$CardItem$item$$Show$defaultEpisode), + ), + ); CopyWith$Fragment$CardItem$item$$Show$defaultEpisode - get defaultEpisode { + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Fragment$CardItem$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } @@ -66010,12 +67277,11 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Show int? seasonCount, String? $__typename, Fragment$CardItem$item$$Show$defaultEpisode? defaultEpisode, - }) => - _res; + }) => _res; CopyWith$Fragment$CardItem$item$$Show$defaultEpisode - get defaultEpisode => - CopyWith$Fragment$CardItem$item$$Show$defaultEpisode.stub(_res); + get defaultEpisode => + CopyWith$Fragment$CardItem$item$$Show$defaultEpisode.stub(_res); } class Fragment$CardItem$item$$Show$defaultEpisode @@ -66028,7 +67294,8 @@ class Fragment$CardItem$item$$Show$defaultEpisode }); factory Fragment$CardItem$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Show$defaultEpisode( @@ -66054,10 +67321,7 @@ class Fragment$CardItem$item$$Show$defaultEpisode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -66086,11 +67350,10 @@ class Fragment$CardItem$item$$Show$defaultEpisode extension UtilityExtension$Fragment$CardItem$item$$Show$defaultEpisode on Fragment$CardItem$item$$Show$defaultEpisode { CopyWith$Fragment$CardItem$item$$Show$defaultEpisode< - Fragment$CardItem$item$$Show$defaultEpisode> - get copyWith => CopyWith$Fragment$CardItem$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Fragment$CardItem$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Fragment$CardItem$item$$Show$defaultEpisode(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Show$defaultEpisode { @@ -66102,10 +67365,7 @@ abstract class CopyWith$Fragment$CardItem$item$$Show$defaultEpisode { factory CopyWith$Fragment$CardItem$item$$Show$defaultEpisode.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Show$defaultEpisode @@ -66121,16 +67381,15 @@ class _CopyWithImpl$Fragment$CardItem$item$$Show$defaultEpisode static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Show$defaultEpisode @@ -66139,11 +67398,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Show$defaultEpisode TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$CardItem$item$$Season @@ -66153,7 +67408,8 @@ class Fragment$CardItem$item$$Season factory Fragment$CardItem$item$$Season.fromJson(Map json) { final l$$__typename = json['__typename']; return Fragment$CardItem$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -66192,10 +67448,7 @@ class Fragment$CardItem$item$$Season extension UtilityExtension$Fragment$CardItem$item$$Season on Fragment$CardItem$item$$Season { CopyWith$Fragment$CardItem$item$$Season - get copyWith => CopyWith$Fragment$CardItem$item$$Season( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Season(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Season { @@ -66212,10 +67465,7 @@ abstract class CopyWith$Fragment$CardItem$item$$Season { class _CopyWithImpl$Fragment$CardItem$item$$Season implements CopyWith$Fragment$CardItem$item$$Season { - _CopyWithImpl$Fragment$CardItem$item$$Season( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Season(this._instance, this._then); final Fragment$CardItem$item$$Season _instance; @@ -66223,11 +67473,13 @@ class _CopyWithImpl$Fragment$CardItem$item$$Season static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Fragment$CardItem$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Fragment$CardItem$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Season @@ -66244,10 +67496,7 @@ class Fragment$CardItem$item$$Page Fragment$ItemSectionItem$item$$Page, Fragment$NavigatablePage, Fragment$CardItem$item { - Fragment$CardItem$item$$Page({ - required this.code, - this.$__typename = 'Page', - }); + Fragment$CardItem$item$$Page({required this.code, this.$__typename = 'Page'}); factory Fragment$CardItem$item$$Page.fromJson(Map json) { final l$code = json['code']; @@ -66275,10 +67524,7 @@ class Fragment$CardItem$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -66307,10 +67553,7 @@ class Fragment$CardItem$item$$Page extension UtilityExtension$Fragment$CardItem$item$$Page on Fragment$CardItem$item$$Page { CopyWith$Fragment$CardItem$item$$Page - get copyWith => CopyWith$Fragment$CardItem$item$$Page( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Page(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Page { @@ -66322,18 +67565,12 @@ abstract class CopyWith$Fragment$CardItem$item$$Page { factory CopyWith$Fragment$CardItem$item$$Page.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Page implements CopyWith$Fragment$CardItem$item$$Page { - _CopyWithImpl$Fragment$CardItem$item$$Page( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Page(this._instance, this._then); final Fragment$CardItem$item$$Page _instance; @@ -66341,18 +67578,17 @@ class _CopyWithImpl$Fragment$CardItem$item$$Page static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Page @@ -66361,11 +67597,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Page TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$CardItem$item$$Link @@ -66373,10 +67605,7 @@ class Fragment$CardItem$item$$Link Fragment$ItemSectionItem$item$$Link, Fragment$NavigatableLink, Fragment$CardItem$item { - Fragment$CardItem$item$$Link({ - required this.url, - this.$__typename = 'Link', - }); + Fragment$CardItem$item$$Link({required this.url, this.$__typename = 'Link'}); factory Fragment$CardItem$item$$Link.fromJson(Map json) { final l$url = json['url']; @@ -66404,10 +67633,7 @@ class Fragment$CardItem$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -66436,10 +67662,7 @@ class Fragment$CardItem$item$$Link extension UtilityExtension$Fragment$CardItem$item$$Link on Fragment$CardItem$item$$Link { CopyWith$Fragment$CardItem$item$$Link - get copyWith => CopyWith$Fragment$CardItem$item$$Link( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Link(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Link { @@ -66451,18 +67674,12 @@ abstract class CopyWith$Fragment$CardItem$item$$Link { factory CopyWith$Fragment$CardItem$item$$Link.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Link implements CopyWith$Fragment$CardItem$item$$Link { - _CopyWithImpl$Fragment$CardItem$item$$Link( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Link(this._instance, this._then); final Fragment$CardItem$item$$Link _instance; @@ -66470,16 +67687,17 @@ class _CopyWithImpl$Fragment$CardItem$item$$Link static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Link @@ -66488,11 +67706,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Link TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Fragment$CardItem$item$$StudyTopic @@ -66509,7 +67723,8 @@ class Fragment$CardItem$item$$StudyTopic }); factory Fragment$CardItem$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -66522,12 +67737,16 @@ class Fragment$CardItem$item$$StudyTopic title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => Fragment$CardItem$item$$StudyTopic$images.fromJson( - (e as Map))) + .map( + (e) => Fragment$CardItem$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: Fragment$CardItem$item$$StudyTopic$lessonsProgress.fromJson( - (l$lessonsProgress as Map)), + (l$lessonsProgress as Map), + ), ); } @@ -66631,11 +67850,9 @@ class Fragment$CardItem$item$$StudyTopic extension UtilityExtension$Fragment$CardItem$item$$StudyTopic on Fragment$CardItem$item$$StudyTopic { CopyWith$Fragment$CardItem$item$$StudyTopic< - Fragment$CardItem$item$$StudyTopic> - get copyWith => CopyWith$Fragment$CardItem$item$$StudyTopic( - this, - (i) => i, - ); + Fragment$CardItem$item$$StudyTopic + > + get copyWith => CopyWith$Fragment$CardItem$item$$StudyTopic(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$StudyTopic { @@ -66656,21 +67873,22 @@ abstract class CopyWith$Fragment$CardItem$item$$StudyTopic { Fragment$CardItem$item$$StudyTopic$lessonsProgress? lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Fragment$CardItem$item$$StudyTopic$images< - Fragment$CardItem$item$$StudyTopic$images>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$CardItem$item$$StudyTopic$images< + Fragment$CardItem$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress - get lessonsProgress; + get lessonsProgress; } class _CopyWithImpl$Fragment$CardItem$item$$StudyTopic implements CopyWith$Fragment$CardItem$item$$StudyTopic { - _CopyWithImpl$Fragment$CardItem$item$$StudyTopic( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$StudyTopic(this._instance, this._then); final Fragment$CardItem$item$$StudyTopic _instance; @@ -66685,46 +67903,52 @@ class _CopyWithImpl$Fragment$CardItem$item$$StudyTopic Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then(Fragment$CardItem$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List), - lessonsProgress: - lessonsProgress == _undefined || lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress - as Fragment$CardItem$item$$StudyTopic$lessonsProgress), - )); + }) => _then( + Fragment$CardItem$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images as List), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress + as Fragment$CardItem$item$$StudyTopic$lessonsProgress), + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Fragment$CardItem$item$$StudyTopic$images< - Fragment$CardItem$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images - .map((e) => CopyWith$Fragment$CardItem$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$CardItem$item$$StudyTopic$images< + Fragment$CardItem$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => CopyWith$Fragment$CardItem$item$$StudyTopic$images(e, (i) => i), + ), + ).toList(), + ); CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress - get lessonsProgress { + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } @@ -66741,15 +67965,13 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic String? description, List? images, Fragment$CardItem$item$$StudyTopic$lessonsProgress? lessonsProgress, - }) => - _res; + }) => _res; images(_fn) => _res; CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress - get lessonsProgress => - CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress.stub( - _res); + get lessonsProgress => + CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress.stub(_res); } class Fragment$CardItem$item$$Game @@ -66757,10 +67979,7 @@ class Fragment$CardItem$item$$Game Fragment$ItemSectionItem$item$$Game, Fragment$NavigatableGame, Fragment$CardItem$item { - Fragment$CardItem$item$$Game({ - required this.uuid, - this.$__typename = 'Game', - }); + Fragment$CardItem$item$$Game({required this.uuid, this.$__typename = 'Game'}); factory Fragment$CardItem$item$$Game.fromJson(Map json) { final l$uuid = json['uuid']; @@ -66788,10 +68007,7 @@ class Fragment$CardItem$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -66820,10 +68036,7 @@ class Fragment$CardItem$item$$Game extension UtilityExtension$Fragment$CardItem$item$$Game on Fragment$CardItem$item$$Game { CopyWith$Fragment$CardItem$item$$Game - get copyWith => CopyWith$Fragment$CardItem$item$$Game( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Game(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Game { @@ -66835,18 +68048,12 @@ abstract class CopyWith$Fragment$CardItem$item$$Game { factory CopyWith$Fragment$CardItem$item$$Game.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Game implements CopyWith$Fragment$CardItem$item$$Game { - _CopyWithImpl$Fragment$CardItem$item$$Game( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Game(this._instance, this._then); final Fragment$CardItem$item$$Game _instance; @@ -66854,18 +68061,17 @@ class _CopyWithImpl$Fragment$CardItem$item$$Game static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Game @@ -66874,11 +68080,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Game TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Fragment$CardItem$item$$Playlist @@ -66917,10 +68119,7 @@ class Fragment$CardItem$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -66949,10 +68148,7 @@ class Fragment$CardItem$item$$Playlist extension UtilityExtension$Fragment$CardItem$item$$Playlist on Fragment$CardItem$item$$Playlist { CopyWith$Fragment$CardItem$item$$Playlist - get copyWith => CopyWith$Fragment$CardItem$item$$Playlist( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Playlist(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Playlist { @@ -66964,18 +68160,12 @@ abstract class CopyWith$Fragment$CardItem$item$$Playlist { factory CopyWith$Fragment$CardItem$item$$Playlist.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Playlist implements CopyWith$Fragment$CardItem$item$$Playlist { - _CopyWithImpl$Fragment$CardItem$item$$Playlist( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Playlist(this._instance, this._then); final Fragment$CardItem$item$$Playlist _instance; @@ -66983,16 +68173,15 @@ class _CopyWithImpl$Fragment$CardItem$item$$Playlist static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Playlist @@ -67001,11 +68190,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Playlist TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$CardItem$item$$Short @@ -67013,10 +68198,7 @@ class Fragment$CardItem$item$$Short Fragment$ItemSectionItem$item$$Short, Fragment$NavigatableShort, Fragment$CardItem$item { - Fragment$CardItem$item$$Short({ - required this.id, - this.$__typename = 'Short', - }); + Fragment$CardItem$item$$Short({required this.id, this.$__typename = 'Short'}); factory Fragment$CardItem$item$$Short.fromJson(Map json) { final l$id = json['id']; @@ -67044,10 +68226,7 @@ class Fragment$CardItem$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -67076,10 +68255,7 @@ class Fragment$CardItem$item$$Short extension UtilityExtension$Fragment$CardItem$item$$Short on Fragment$CardItem$item$$Short { CopyWith$Fragment$CardItem$item$$Short - get copyWith => CopyWith$Fragment$CardItem$item$$Short( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Short(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Short { @@ -67091,18 +68267,12 @@ abstract class CopyWith$Fragment$CardItem$item$$Short { factory CopyWith$Fragment$CardItem$item$$Short.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Short implements CopyWith$Fragment$CardItem$item$$Short { - _CopyWithImpl$Fragment$CardItem$item$$Short( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Short(this._instance, this._then); final Fragment$CardItem$item$$Short _instance; @@ -67110,16 +68280,15 @@ class _CopyWithImpl$Fragment$CardItem$item$$Short static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Short @@ -67128,11 +68297,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Short TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$CardItem$item$$Person @@ -67171,10 +68336,7 @@ class Fragment$CardItem$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -67203,10 +68365,7 @@ class Fragment$CardItem$item$$Person extension UtilityExtension$Fragment$CardItem$item$$Person on Fragment$CardItem$item$$Person { CopyWith$Fragment$CardItem$item$$Person - get copyWith => CopyWith$Fragment$CardItem$item$$Person( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$CardItem$item$$Person(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$Person { @@ -67218,18 +68377,12 @@ abstract class CopyWith$Fragment$CardItem$item$$Person { factory CopyWith$Fragment$CardItem$item$$Person.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$Person implements CopyWith$Fragment$CardItem$item$$Person { - _CopyWithImpl$Fragment$CardItem$item$$Person( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$CardItem$item$$Person(this._instance, this._then); final Fragment$CardItem$item$$Person _instance; @@ -67237,16 +68390,15 @@ class _CopyWithImpl$Fragment$CardItem$item$$Person static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$CardItem$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$Person @@ -67255,11 +68407,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$Person TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Fragment$CardItem$item$$StudyTopic$images { @@ -67270,7 +68418,8 @@ class Fragment$CardItem$item$$StudyTopic$images { }); factory Fragment$CardItem$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -67303,11 +68452,7 @@ class Fragment$CardItem$item$$StudyTopic$images { final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -67341,11 +68486,10 @@ class Fragment$CardItem$item$$StudyTopic$images { extension UtilityExtension$Fragment$CardItem$item$$StudyTopic$images on Fragment$CardItem$item$$StudyTopic$images { CopyWith$Fragment$CardItem$item$$StudyTopic$images< - Fragment$CardItem$item$$StudyTopic$images> - get copyWith => CopyWith$Fragment$CardItem$item$$StudyTopic$images( - this, - (i) => i, - ); + Fragment$CardItem$item$$StudyTopic$images + > + get copyWith => + CopyWith$Fragment$CardItem$item$$StudyTopic$images(this, (i) => i); } abstract class CopyWith$Fragment$CardItem$item$$StudyTopic$images { @@ -67357,11 +68501,7 @@ abstract class CopyWith$Fragment$CardItem$item$$StudyTopic$images { factory CopyWith$Fragment$CardItem$item$$StudyTopic$images.stub(TRes res) = _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$StudyTopic$images @@ -67381,16 +68521,17 @@ class _CopyWithImpl$Fragment$CardItem$item$$StudyTopic$images Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CardItem$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$images @@ -67399,12 +68540,7 @@ class _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$images TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Fragment$CardItem$item$$StudyTopic$lessonsProgress { @@ -67415,7 +68551,8 @@ class Fragment$CardItem$item$$StudyTopic$lessonsProgress { }); factory Fragment$CardItem$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -67448,11 +68585,7 @@ class Fragment$CardItem$item$$StudyTopic$lessonsProgress { final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -67486,30 +68619,27 @@ class Fragment$CardItem$item$$StudyTopic$lessonsProgress { extension UtilityExtension$Fragment$CardItem$item$$StudyTopic$lessonsProgress on Fragment$CardItem$item$$StudyTopic$lessonsProgress { CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress< - Fragment$CardItem$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Fragment$CardItem$item$$StudyTopic$lessonsProgress + > + get copyWith => CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress( Fragment$CardItem$item$$StudyTopic$lessonsProgress instance, TRes Function(Fragment$CardItem$item$$StudyTopic$lessonsProgress) then, ) = _CopyWithImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress; factory CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress @@ -67530,34 +68660,31 @@ class _CopyWithImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$CardItem$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$CardItem$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress implements CopyWith$Fragment$CardItem$item$$StudyTopic$lessonsProgress { _CopyWithStubImpl$Fragment$CardItem$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Variables$Query$Page { @@ -67565,12 +68692,11 @@ class Variables$Query$Page { required String code, int? first, int? offset, - }) => - Variables$Query$Page._({ - r'code': code, - if (first != null) r'first': first, - if (offset != null) r'offset': offset, - }); + }) => Variables$Query$Page._({ + r'code': code, + if (first != null) r'first': first, + if (offset != null) r'offset': offset, + }); Variables$Query$Page._(this._$data); @@ -67613,10 +68739,7 @@ class Variables$Query$Page { } CopyWith$Variables$Query$Page get copyWith => - CopyWith$Variables$Query$Page( - this, - (i) => i, - ); + CopyWith$Variables$Query$Page(this, (i) => i); @override bool operator ==(Object other) { @@ -67672,19 +68795,12 @@ abstract class CopyWith$Variables$Query$Page { factory CopyWith$Variables$Query$Page.stub(TRes res) = _CopyWithStubImpl$Variables$Query$Page; - TRes call({ - String? code, - int? first, - int? offset, - }); + TRes call({String? code, int? first, int? offset}); } class _CopyWithImpl$Variables$Query$Page implements CopyWith$Variables$Query$Page { - _CopyWithImpl$Variables$Query$Page( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$Page(this._instance, this._then); final Variables$Query$Page _instance; @@ -67696,13 +68812,14 @@ class _CopyWithImpl$Variables$Query$Page Object? code = _undefined, Object? first = _undefined, Object? offset = _undefined, - }) => - _then(Variables$Query$Page._({ - ..._instance._$data, - if (code != _undefined && code != null) 'code': (code as String), - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + }) => _then( + Variables$Query$Page._({ + ..._instance._$data, + if (code != _undefined && code != null) 'code': (code as String), + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Query$Page @@ -67711,19 +68828,11 @@ class _CopyWithStubImpl$Variables$Query$Page TRes _res; - call({ - String? code, - int? first, - int? offset, - }) => - _res; + call({String? code, int? first, int? offset}) => _res; } class Query$Page { - Query$Page({ - required this.page, - this.$__typename = 'QueryRoot', - }); + Query$Page({required this.page, this.$__typename = 'QueryRoot'}); factory Query$Page.fromJson(Map json) { final l$page = json['page']; @@ -67751,10 +68860,7 @@ class Query$Page { int get hashCode { final l$page = page; final l$$__typename = $__typename; - return Object.hashAll([ - l$page, - l$$__typename, - ]); + return Object.hashAll([l$page, l$$__typename]); } @override @@ -67780,10 +68886,8 @@ class Query$Page { } extension UtilityExtension$Query$Page on Query$Page { - CopyWith$Query$Page get copyWith => CopyWith$Query$Page( - this, - (i) => i, - ); + CopyWith$Query$Page get copyWith => + CopyWith$Query$Page(this, (i) => i); } abstract class CopyWith$Query$Page { @@ -67794,18 +68898,12 @@ abstract class CopyWith$Query$Page { factory CopyWith$Query$Page.stub(TRes res) = _CopyWithStubImpl$Query$Page; - TRes call({ - Query$Page$page? page, - String? $__typename, - }); + TRes call({Query$Page$page? page, String? $__typename}); CopyWith$Query$Page$page get page; } class _CopyWithImpl$Query$Page implements CopyWith$Query$Page { - _CopyWithImpl$Query$Page( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Page(this._instance, this._then); final Query$Page _instance; @@ -67813,18 +68911,17 @@ class _CopyWithImpl$Query$Page implements CopyWith$Query$Page { static const _undefined = {}; - TRes call({ - Object? page = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$Page( - page: page == _undefined || page == null - ? _instance.page - : (page as Query$Page$page), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? page = _undefined, Object? $__typename = _undefined}) => + _then( + Query$Page( + page: page == _undefined || page == null + ? _instance.page + : (page as Query$Page$page), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$Page$page get page { final local$page = _instance.page; @@ -67837,114 +68934,118 @@ class _CopyWithStubImpl$Query$Page implements CopyWith$Query$Page { TRes _res; - call({ - Query$Page$page? page, - String? $__typename, - }) => - _res; + call({Query$Page$page? page, String? $__typename}) => _res; CopyWith$Query$Page$page get page => CopyWith$Query$Page$page.stub(_res); } -const documentNodeQueryPage = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'Page'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'code')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, +const documentNodeQueryPage = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'Page'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'code')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'offset')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'offset')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'page'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'code'), - value: VariableNode(name: NameNode(value: 'code')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'sections'), + name: NameNode(value: 'page'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '30'), - ) + name: NameNode(value: 'code'), + value: VariableNode(name: NameNode(value: 'code')), + ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Section'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'sections'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '30'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Section'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -67953,33 +69054,26 @@ const documentNodeQueryPage = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionSection, - fragmentDefinitionItemSection, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, - fragmentDefinitionGridSection, - fragmentDefinitionGridSectionItem, - fragmentDefinitionCardItem, -]); + ), + fragmentDefinitionSection, + fragmentDefinitionItemSection, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + fragmentDefinitionGridSection, + fragmentDefinitionGridSectionItem, + fragmentDefinitionCardItem, + ], +); Query$Page _parserFn$Query$Page(Map data) => Query$Page.fromJson(data); typedef OnQueryComplete$Query$Page = FutureOr Function( @@ -68000,36 +69094,36 @@ class Options$Query$Page extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$Page? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$Page(data), - ), - onError: onError, - document: documentNodeQueryPage, - parserFn: _parserFn$Query$Page, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$Page(data), + ), + onError: onError, + document: documentNodeQueryPage, + parserFn: _parserFn$Query$Page, + ); final OnQueryComplete$Query$Page? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$Page extends graphql.WatchQueryOptions { @@ -68047,20 +69141,20 @@ class WatchOptions$Query$Page extends graphql.WatchQueryOptions { bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryPage, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$Page, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryPage, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$Page, + ); } class FetchMoreOptions$Query$Page extends graphql.FetchMoreOptions { @@ -68068,34 +69162,33 @@ class FetchMoreOptions$Query$Page extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$Page variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryPage, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryPage, + ); } extension ClientExtension$Query$Page on graphql.GraphQLClient { Future> query$Page( - Options$Query$Page options) async => - await this.query(options); + Options$Query$Page options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$Page( - WatchOptions$Query$Page options) => - this.watchQuery(options); + WatchOptions$Query$Page options, + ) => this.watchQuery(options); void writeQuery$Page({ required Query$Page data, required Variables$Query$Page variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryPage), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryPage), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$Page? readQuery$Page({ required Variables$Query$Page variables, @@ -68113,22 +69206,18 @@ extension ClientExtension$Query$Page on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$Page( - Options$Query$Page options) => - graphql_flutter.useQuery(options); + Options$Query$Page options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$Page( - WatchOptions$Query$Page options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$Page options, +) => graphql_flutter.useWatchQuery(options); class Query$Page$Widget extends graphql_flutter.Query { Query$Page$Widget({ widgets.Key? key, required Options$Query$Page options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$Page$page { @@ -68148,7 +69237,8 @@ class Query$Page$page { code: (l$code as String), title: (l$title as String), sections: Query$Page$page$sections.fromJson( - (l$sections as Map)), + (l$sections as Map), + ), $__typename: (l$$__typename as String), ); } @@ -68180,12 +69270,7 @@ class Query$Page$page { final l$title = title; final l$sections = sections; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$title, - l$sections, - l$$__typename, - ]); + return Object.hashAll([l$code, l$title, l$sections, l$$__typename]); } @override @@ -68222,10 +69307,7 @@ class Query$Page$page { extension UtilityExtension$Query$Page$page on Query$Page$page { CopyWith$Query$Page$page get copyWith => - CopyWith$Query$Page$page( - this, - (i) => i, - ); + CopyWith$Query$Page$page(this, (i) => i); } abstract class CopyWith$Query$Page$page { @@ -68248,10 +69330,7 @@ abstract class CopyWith$Query$Page$page { class _CopyWithImpl$Query$Page$page implements CopyWith$Query$Page$page { - _CopyWithImpl$Query$Page$page( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Page$page(this._instance, this._then); final Query$Page$page _instance; @@ -68264,26 +69343,29 @@ class _CopyWithImpl$Query$Page$page Object? title = _undefined, Object? sections = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$Page$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - sections: sections == _undefined || sections == null - ? _instance.sections - : (sections as Query$Page$page$sections), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$Page$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + sections: sections == _undefined || sections == null + ? _instance.sections + : (sections as Query$Page$page$sections), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$Page$page$sections get sections { final local$sections = _instance.sections; return CopyWith$Query$Page$page$sections( - local$sections, (e) => call(sections: e)); + local$sections, + (e) => call(sections: e), + ); } } @@ -68298,8 +69380,7 @@ class _CopyWithStubImpl$Query$Page$page String? title, Query$Page$page$sections? sections, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$Page$page$sections get sections => CopyWith$Query$Page$page$sections.stub(_res); @@ -68378,10 +69459,7 @@ class Query$Page$page$sections { extension UtilityExtension$Query$Page$page$sections on Query$Page$page$sections { CopyWith$Query$Page$page$sections get copyWith => - CopyWith$Query$Page$page$sections( - this, - (i) => i, - ); + CopyWith$Query$Page$page$sections(this, (i) => i); } abstract class CopyWith$Query$Page$page$sections { @@ -68393,22 +69471,18 @@ abstract class CopyWith$Query$Page$page$sections { factory CopyWith$Query$Page$page$sections.stub(TRes res) = _CopyWithStubImpl$Query$Page$page$sections; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$Page$page$sections implements CopyWith$Query$Page$page$sections { - _CopyWithImpl$Query$Page$page$sections( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Page$page$sections(this._instance, this._then); final Query$Page$page$sections _instance; @@ -68416,28 +69490,28 @@ class _CopyWithImpl$Query$Page$page$sections static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$Page$page$sections( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$Page$page$sections( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$Section( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$Section(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$Page$page$sections @@ -68446,11 +69520,7 @@ class _CopyWithStubImpl$Query$Page$page$sections TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/persons.graphql.dart b/bccm_core/lib/src/features/graphql/queries/persons.graphql.dart index 72dde0b..8843356 100644 --- a/bccm_core/lib/src/features/graphql/queries/persons.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/persons.graphql.dart @@ -1,9 +1,12 @@ import 'dart:async'; + import 'episode.graphql.dart'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; + import 'page.graphql.dart'; class Fragment$Contribution { @@ -18,10 +21,12 @@ class Fragment$Contribution { final l$item = json['item']; final l$$__typename = json['__typename']; return Fragment$Contribution( - type: - Fragment$Contribution$type.fromJson((l$type as Map)), - item: - Fragment$Contribution$item.fromJson((l$item as Map)), + type: Fragment$Contribution$type.fromJson( + (l$type as Map), + ), + item: Fragment$Contribution$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -48,11 +53,7 @@ class Fragment$Contribution { final l$type = type; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$type, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$type, l$item, l$$__typename]); } @override @@ -84,10 +85,7 @@ class Fragment$Contribution { extension UtilityExtension$Fragment$Contribution on Fragment$Contribution { CopyWith$Fragment$Contribution get copyWith => - CopyWith$Fragment$Contribution( - this, - (i) => i, - ); + CopyWith$Fragment$Contribution(this, (i) => i); } abstract class CopyWith$Fragment$Contribution { @@ -110,10 +108,7 @@ abstract class CopyWith$Fragment$Contribution { class _CopyWithImpl$Fragment$Contribution implements CopyWith$Fragment$Contribution { - _CopyWithImpl$Fragment$Contribution( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Contribution(this._instance, this._then); final Fragment$Contribution _instance; @@ -125,29 +120,34 @@ class _CopyWithImpl$Fragment$Contribution Object? type = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution( - type: type == _undefined || type == null - ? _instance.type - : (type as Fragment$Contribution$type), - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Contribution$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Contribution( + type: type == _undefined || type == null + ? _instance.type + : (type as Fragment$Contribution$type), + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Contribution$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Contribution$type get type { final local$type = _instance.type; return CopyWith$Fragment$Contribution$type( - local$type, (e) => call(type: e)); + local$type, + (e) => call(type: e), + ); } CopyWith$Fragment$Contribution$item get item { final local$item = _instance.item; return CopyWith$Fragment$Contribution$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -161,8 +161,7 @@ class _CopyWithStubImpl$Fragment$Contribution Fragment$Contribution$type? type, Fragment$Contribution$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Contribution$type get type => CopyWith$Fragment$Contribution$type.stub(_res); @@ -174,69 +173,20 @@ class _CopyWithStubImpl$Fragment$Contribution const fragmentDefinitionContribution = FragmentDefinitionNode( name: NameNode(value: 'Contribution'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Contribution'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Contribution'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'type'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'ContributionItemId'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableChapter'), - directives: [], - ), - FragmentSpreadNode( - name: NameNode(value: 'NavigatableEpisode'), - directives: [], - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'CollectionItem'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'type'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'code'), alias: null, arguments: [], directives: [], @@ -249,112 +199,185 @@ const fragmentDefinitionContribution = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Chapter'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], + ), + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'ContributionItemId'), directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatableChapter'), directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], + FragmentSpreadNode( + name: NameNode(value: 'NavigatableEpisode'), directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'CollectionItem'), + isNonNull: false, + ), + ), directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeListEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Chapter'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], + ), directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episode'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeListEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeListEpisode'), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeListEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -363,53 +386,47 @@ const fragmentDefinitionContribution = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentContribution = DocumentNode( + definitions: [ + fragmentDefinitionContribution, + fragmentDefinitionContributionItemId, + fragmentDefinitionNavigatableChapter, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionEpisodeListEpisode, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], ); -const documentNodeFragmentContribution = DocumentNode(definitions: [ - fragmentDefinitionContribution, - fragmentDefinitionContributionItemId, - fragmentDefinitionNavigatableChapter, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionEpisodeListEpisode, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); extension ClientExtension$Fragment$Contribution on graphql.GraphQLClient { void writeFragment$Contribution({ required Fragment$Contribution data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Contribution', - document: documentNodeFragmentContribution, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Contribution', + document: documentNodeFragmentContribution, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Contribution? readFragment$Contribution({ required Map idFields, @@ -461,10 +478,7 @@ class Fragment$Contribution$type { int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -493,10 +507,7 @@ class Fragment$Contribution$type { extension UtilityExtension$Fragment$Contribution$type on Fragment$Contribution$type { CopyWith$Fragment$Contribution$type - get copyWith => CopyWith$Fragment$Contribution$type( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Contribution$type(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$type { @@ -508,18 +519,12 @@ abstract class CopyWith$Fragment$Contribution$type { factory CopyWith$Fragment$Contribution$type.stub(TRes res) = _CopyWithStubImpl$Fragment$Contribution$type; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Fragment$Contribution$type implements CopyWith$Fragment$Contribution$type { - _CopyWithImpl$Fragment$Contribution$type( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Contribution$type(this._instance, this._then); final Fragment$Contribution$type _instance; @@ -527,18 +532,17 @@ class _CopyWithImpl$Fragment$Contribution$type static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$type( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Contribution$type( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Contribution$type @@ -547,11 +551,7 @@ class _CopyWithStubImpl$Fragment$Contribution$type TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Fragment$Contribution$item { @@ -568,7 +568,8 @@ class Fragment$Contribution$item { default: final l$$__typename = json['__typename']; return Fragment$Contribution$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -608,10 +609,7 @@ class Fragment$Contribution$item { extension UtilityExtension$Fragment$Contribution$item on Fragment$Contribution$item { CopyWith$Fragment$Contribution$item - get copyWith => CopyWith$Fragment$Contribution$item( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Contribution$item(this, (i) => i); _T when<_T>({ required _T Function(Fragment$Contribution$item$$Episode) episode, @@ -670,10 +668,7 @@ abstract class CopyWith$Fragment$Contribution$item { class _CopyWithImpl$Fragment$Contribution$item implements CopyWith$Fragment$Contribution$item { - _CopyWithImpl$Fragment$Contribution$item( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Contribution$item(this._instance, this._then); final Fragment$Contribution$item _instance; @@ -682,10 +677,12 @@ class _CopyWithImpl$Fragment$Contribution$item static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Fragment$Contribution$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Fragment$Contribution$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Contribution$item @@ -721,7 +718,8 @@ class Fragment$Contribution$item$$Episode }); factory Fragment$Contribution$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -745,12 +743,14 @@ class Fragment$Contribution$item$$Episode duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$Contribution$item$$Episode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$Contribution$item$$Episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), ); } @@ -913,11 +913,9 @@ class Fragment$Contribution$item$$Episode extension UtilityExtension$Fragment$Contribution$item$$Episode on Fragment$Contribution$item$$Episode { CopyWith$Fragment$Contribution$item$$Episode< - Fragment$Contribution$item$$Episode> - get copyWith => CopyWith$Fragment$Contribution$item$$Episode( - this, - (i) => i, - ); + Fragment$Contribution$item$$Episode + > + get copyWith => CopyWith$Fragment$Contribution$item$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$item$$Episode { @@ -949,10 +947,7 @@ abstract class CopyWith$Fragment$Contribution$item$$Episode { class _CopyWithImpl$Fragment$Contribution$item$$Episode implements CopyWith$Fragment$Contribution$item$$Episode { - _CopyWithImpl$Fragment$Contribution$item$$Episode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Contribution$item$$Episode(this._instance, this._then); final Fragment$Contribution$item$$Episode _instance; @@ -973,52 +968,59 @@ class _CopyWithImpl$Fragment$Contribution$item$$Episode Object? lessons = _undefined, Object? progress = _undefined, Object? season = _undefined, - }) => - _then(Fragment$Contribution$item$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$Contribution$item$$Episode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$Contribution$item$$Episode$season?), - )); + }) => _then( + Fragment$Contribution$item$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$Contribution$item$$Episode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Contribution$item$$Episode$season?), + ), + ); CopyWith$Fragment$Contribution$item$$Episode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$Contribution$item$$Episode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$Contribution$item$$Episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$Contribution$item$$Episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Contribution$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -1041,8 +1043,7 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Episode Fragment$Contribution$item$$Episode$lessons? lessons, int? progress, Fragment$Contribution$item$$Episode$season? season, - }) => - _res; + }) => _res; CopyWith$Fragment$Contribution$item$$Episode$lessons get lessons => CopyWith$Fragment$Contribution$item$$Episode$lessons.stub(_res); @@ -1067,7 +1068,8 @@ class Fragment$Contribution$item$$Chapter }); factory Fragment$Contribution$item$$Chapter.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -1085,7 +1087,8 @@ class Fragment$Contribution$item$$Chapter episode: l$episode == null ? null : Fragment$Contribution$item$$Chapter$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), ); } @@ -1193,11 +1196,9 @@ class Fragment$Contribution$item$$Chapter extension UtilityExtension$Fragment$Contribution$item$$Chapter on Fragment$Contribution$item$$Chapter { CopyWith$Fragment$Contribution$item$$Chapter< - Fragment$Contribution$item$$Chapter> - get copyWith => CopyWith$Fragment$Contribution$item$$Chapter( - this, - (i) => i, - ); + Fragment$Contribution$item$$Chapter + > + get copyWith => CopyWith$Fragment$Contribution$item$$Chapter(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$item$$Chapter { @@ -1223,10 +1224,7 @@ abstract class CopyWith$Fragment$Contribution$item$$Chapter { class _CopyWithImpl$Fragment$Contribution$item$$Chapter implements CopyWith$Fragment$Contribution$item$$Chapter { - _CopyWithImpl$Fragment$Contribution$item$$Chapter( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Contribution$item$$Chapter(this._instance, this._then); final Fragment$Contribution$item$$Chapter _instance; @@ -1242,34 +1240,38 @@ class _CopyWithImpl$Fragment$Contribution$item$$Chapter Object? image = _undefined, Object? duration = _undefined, Object? episode = _undefined, - }) => - _then(Fragment$Contribution$item$$Chapter( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - start: start == _undefined || start == null - ? _instance.start - : (start as int), - image: image == _undefined ? _instance.image : (image as String?), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - episode: episode == _undefined - ? _instance.episode - : (episode as Fragment$Contribution$item$$Chapter$episode?), - )); + }) => _then( + Fragment$Contribution$item$$Chapter( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + start: start == _undefined || start == null + ? _instance.start + : (start as int), + image: image == _undefined ? _instance.image : (image as String?), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + episode: episode == _undefined + ? _instance.episode + : (episode as Fragment$Contribution$item$$Chapter$episode?), + ), + ); CopyWith$Fragment$Contribution$item$$Chapter$episode get episode { final local$episode = _instance.episode; return local$episode == null ? CopyWith$Fragment$Contribution$item$$Chapter$episode.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Contribution$item$$Chapter$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -1287,8 +1289,7 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Chapter String? image, int? duration, Fragment$Contribution$item$$Chapter$episode? episode, - }) => - _res; + }) => _res; CopyWith$Fragment$Contribution$item$$Chapter$episode get episode => CopyWith$Fragment$Contribution$item$$Chapter$episode.stub(_res); @@ -1316,7 +1317,8 @@ class Fragment$Contribution$item$$Chapter$episode }); factory Fragment$Contribution$item$$Chapter$episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$image = json['image']; final l$number = json['number']; @@ -1339,12 +1341,14 @@ class Fragment$Contribution$item$$Chapter$episode duration: (l$duration as int), locked: (l$locked as bool), lessons: Fragment$Contribution$item$$Chapter$episode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), progress: (l$progress as int?), season: l$season == null ? null : Fragment$Contribution$item$$Chapter$episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1508,11 +1512,10 @@ class Fragment$Contribution$item$$Chapter$episode extension UtilityExtension$Fragment$Contribution$item$$Chapter$episode on Fragment$Contribution$item$$Chapter$episode { CopyWith$Fragment$Contribution$item$$Chapter$episode< - Fragment$Contribution$item$$Chapter$episode> - get copyWith => CopyWith$Fragment$Contribution$item$$Chapter$episode( - this, - (i) => i, - ); + Fragment$Contribution$item$$Chapter$episode + > + get copyWith => + CopyWith$Fragment$Contribution$item$$Chapter$episode(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$item$$Chapter$episode { @@ -1539,7 +1542,7 @@ abstract class CopyWith$Fragment$Contribution$item$$Chapter$episode { String? $__typename, }); CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons - get lessons; + get lessons; CopyWith$Fragment$Contribution$item$$Chapter$episode$season get season; } @@ -1569,53 +1572,60 @@ class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode Object? progress = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$item$$Chapter$episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - image: image == _undefined ? _instance.image : (image as String?), - number: number == _undefined ? _instance.number : (number as int?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$Contribution$item$$Chapter$episode$lessons), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - season: season == _undefined - ? _instance.season - : (season as Fragment$Contribution$item$$Chapter$episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Contribution$item$$Chapter$episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + image: image == _undefined ? _instance.image : (image as String?), + number: number == _undefined ? _instance.number : (number as int?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$Contribution$item$$Chapter$episode$lessons), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + season: season == _undefined + ? _instance.season + : (season as Fragment$Contribution$item$$Chapter$episode$season?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons - get lessons { + get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Fragment$Contribution$item$$Chapter$episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Fragment$Contribution$item$$Chapter$episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Fragment$Contribution$item$$Chapter$episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -1638,18 +1648,15 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode int? progress, Fragment$Contribution$item$$Chapter$episode$season? season, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons - get lessons => - CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons.stub( - _res); + get lessons => + CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons.stub(_res); CopyWith$Fragment$Contribution$item$$Chapter$episode$season - get season => - CopyWith$Fragment$Contribution$item$$Chapter$episode$season.stub( - _res); + get season => + CopyWith$Fragment$Contribution$item$$Chapter$episode$season.stub(_res); } class Fragment$Contribution$item$$Chapter$episode$lessons @@ -1662,7 +1669,8 @@ class Fragment$Contribution$item$$Chapter$episode$lessons }); factory Fragment$Contribution$item$$Chapter$episode$lessons.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$$__typename = json['__typename']; return Fragment$Contribution$item$$Chapter$episode$lessons( @@ -1688,10 +1696,7 @@ class Fragment$Contribution$item$$Chapter$episode$lessons int get hashCode { final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$total, - l$$__typename, - ]); + return Object.hashAll([l$total, l$$__typename]); } @override @@ -1720,29 +1725,27 @@ class Fragment$Contribution$item$$Chapter$episode$lessons extension UtilityExtension$Fragment$Contribution$item$$Chapter$episode$lessons on Fragment$Contribution$item$$Chapter$episode$lessons { CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons< - Fragment$Contribution$item$$Chapter$episode$lessons> - get copyWith => - CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons( - this, - (i) => i, - ); + Fragment$Contribution$item$$Chapter$episode$lessons + > + get copyWith => CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons< - TRes> { + TRes +> { factory CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons( Fragment$Contribution$item$$Chapter$episode$lessons instance, TRes Function(Fragment$Contribution$item$$Chapter$episode$lessons) then, ) = _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$lessons; factory CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$lessons; + TRes res, + ) = _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$lessons; - TRes call({ - int? total, - String? $__typename, - }); + TRes call({int? total, String? $__typename}); } class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$lessons @@ -1756,38 +1759,35 @@ class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$lessons final Fragment$Contribution$item$$Chapter$episode$lessons _instance; final TRes Function(Fragment$Contribution$item$$Chapter$episode$lessons) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? total = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$item$$Chapter$episode$lessons( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? total = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Contribution$item$$Chapter$episode$lessons( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$lessons< - TRes> + TRes +> implements CopyWith$Fragment$Contribution$item$$Chapter$episode$lessons { _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$lessons( - this._res); + this._res, + ); TRes _res; - call({ - int? total, - String? $__typename, - }) => - _res; + call({int? total, String? $__typename}) => _res; } class Fragment$Contribution$item$$Chapter$episode$season @@ -1803,7 +1803,8 @@ class Fragment$Contribution$item$$Chapter$episode$season }); factory Fragment$Contribution$item$$Chapter$episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; @@ -1811,7 +1812,8 @@ class Fragment$Contribution$item$$Chapter$episode$season return Fragment$Contribution$item$$Chapter$episode$season( number: (l$number as int), $show: Fragment$Contribution$item$$Chapter$episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), title: (l$title as String), ); @@ -1844,12 +1846,7 @@ class Fragment$Contribution$item$$Chapter$episode$season final l$$show = $show; final l$$__typename = $__typename; final l$title = title; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - l$title, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename, l$title]); } @override @@ -1888,24 +1885,25 @@ class Fragment$Contribution$item$$Chapter$episode$season extension UtilityExtension$Fragment$Contribution$item$$Chapter$episode$season on Fragment$Contribution$item$$Chapter$episode$season { CopyWith$Fragment$Contribution$item$$Chapter$episode$season< - Fragment$Contribution$item$$Chapter$episode$season> - get copyWith => - CopyWith$Fragment$Contribution$item$$Chapter$episode$season( - this, - (i) => i, - ); + Fragment$Contribution$item$$Chapter$episode$season + > + get copyWith => CopyWith$Fragment$Contribution$item$$Chapter$episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Contribution$item$$Chapter$episode$season< - TRes> { + TRes +> { factory CopyWith$Fragment$Contribution$item$$Chapter$episode$season( Fragment$Contribution$item$$Chapter$episode$season instance, TRes Function(Fragment$Contribution$item$$Chapter$episode$season) then, ) = _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season; factory CopyWith$Fragment$Contribution$item$$Chapter$episode$season.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season; + TRes res, + ) = _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season; TRes call({ int? number, @@ -1914,7 +1912,7 @@ abstract class CopyWith$Fragment$Contribution$item$$Chapter$episode$season< String? title, }); CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show - get $show; + get $show; } class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season @@ -1936,28 +1934,30 @@ class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season Object? $show = _undefined, Object? $__typename = _undefined, Object? title = _undefined, - }) => - _then(Fragment$Contribution$item$$Chapter$episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show - as Fragment$Contribution$item$$Chapter$episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - )); + }) => _then( + Fragment$Contribution$item$$Chapter$episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Contribution$item$$Chapter$episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + ), + ); CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show - get $show { + get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -1965,7 +1965,8 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season implements CopyWith$Fragment$Contribution$item$$Chapter$episode$season { _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season( - this._res); + this._res, + ); TRes _res; @@ -1974,13 +1975,13 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season Fragment$Contribution$item$$Chapter$episode$season$show? $show, String? $__typename, String? title, - }) => - _res; + }) => _res; CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show - get $show => - CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show.stub( - _res); + get $show => + CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show.stub( + _res, + ); } class Fragment$Contribution$item$$Chapter$episode$season$show @@ -1994,7 +1995,8 @@ class Fragment$Contribution$item$$Chapter$episode$season$show }); factory Fragment$Contribution$item$$Chapter$episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Contribution$item$$Chapter$episode$season$show( @@ -2020,10 +2022,7 @@ class Fragment$Contribution$item$$Chapter$episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -2052,33 +2051,33 @@ class Fragment$Contribution$item$$Chapter$episode$season$show extension UtilityExtension$Fragment$Contribution$item$$Chapter$episode$season$show on Fragment$Contribution$item$$Chapter$episode$season$show { CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show< - Fragment$Contribution$item$$Chapter$episode$season$show> - get copyWith => - CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show( - this, - (i) => i, - ); + Fragment$Contribution$item$$Chapter$episode$season$show + > + get copyWith => + CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show< - TRes> { + TRes +> { factory CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show( Fragment$Contribution$item$$Chapter$episode$season$show instance, TRes Function(Fragment$Contribution$item$$Chapter$episode$season$show) then, ) = _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season$show; factory CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show { _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season$show( @@ -2089,38 +2088,35 @@ class _CopyWithImpl$Fragment$Contribution$item$$Chapter$episode$season$show< final Fragment$Contribution$item$$Chapter$episode$season$show _instance; final TRes Function(Fragment$Contribution$item$$Chapter$episode$season$show) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$item$$Chapter$episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Contribution$item$$Chapter$episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season$show< - TRes> + TRes +> implements CopyWith$Fragment$Contribution$item$$Chapter$episode$season$show { _CopyWithStubImpl$Fragment$Contribution$item$$Chapter$episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$Contribution$item$$Episode$lessons @@ -2133,7 +2129,8 @@ class Fragment$Contribution$item$$Episode$lessons }); factory Fragment$Contribution$item$$Episode$lessons.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$$__typename = json['__typename']; return Fragment$Contribution$item$$Episode$lessons( @@ -2159,10 +2156,7 @@ class Fragment$Contribution$item$$Episode$lessons int get hashCode { final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$total, - l$$__typename, - ]); + return Object.hashAll([l$total, l$$__typename]); } @override @@ -2191,11 +2185,10 @@ class Fragment$Contribution$item$$Episode$lessons extension UtilityExtension$Fragment$Contribution$item$$Episode$lessons on Fragment$Contribution$item$$Episode$lessons { CopyWith$Fragment$Contribution$item$$Episode$lessons< - Fragment$Contribution$item$$Episode$lessons> - get copyWith => CopyWith$Fragment$Contribution$item$$Episode$lessons( - this, - (i) => i, - ); + Fragment$Contribution$item$$Episode$lessons + > + get copyWith => + CopyWith$Fragment$Contribution$item$$Episode$lessons(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$item$$Episode$lessons { @@ -2207,10 +2200,7 @@ abstract class CopyWith$Fragment$Contribution$item$$Episode$lessons { factory CopyWith$Fragment$Contribution$item$$Episode$lessons.stub(TRes res) = _CopyWithStubImpl$Fragment$Contribution$item$$Episode$lessons; - TRes call({ - int? total, - String? $__typename, - }); + TRes call({int? total, String? $__typename}); } class _CopyWithImpl$Fragment$Contribution$item$$Episode$lessons @@ -2226,18 +2216,17 @@ class _CopyWithImpl$Fragment$Contribution$item$$Episode$lessons static const _undefined = {}; - TRes call({ - Object? total = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$item$$Episode$lessons( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? total = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Contribution$item$$Episode$lessons( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Contribution$item$$Episode$lessons @@ -2246,11 +2235,7 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Episode$lessons TRes _res; - call({ - int? total, - String? $__typename, - }) => - _res; + call({int? total, String? $__typename}) => _res; } class Fragment$Contribution$item$$Episode$season @@ -2265,14 +2250,16 @@ class Fragment$Contribution$item$$Episode$season }); factory Fragment$Contribution$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Fragment$Contribution$item$$Episode$season( number: (l$number as int), $show: Fragment$Contribution$item$$Episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2299,11 +2286,7 @@ class Fragment$Contribution$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -2337,11 +2320,10 @@ class Fragment$Contribution$item$$Episode$season extension UtilityExtension$Fragment$Contribution$item$$Episode$season on Fragment$Contribution$item$$Episode$season { CopyWith$Fragment$Contribution$item$$Episode$season< - Fragment$Contribution$item$$Episode$season> - get copyWith => CopyWith$Fragment$Contribution$item$$Episode$season( - this, - (i) => i, - ); + Fragment$Contribution$item$$Episode$season + > + get copyWith => + CopyWith$Fragment$Contribution$item$$Episode$season(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$item$$Episode$season { @@ -2378,23 +2360,26 @@ class _CopyWithImpl$Fragment$Contribution$item$$Episode$season Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$Contribution$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Contribution$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$Contribution$item$$Episode$season$show), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Contribution$item$$Episode$season$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$Contribution$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -2408,8 +2393,7 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Episode$season int? number, Fragment$Contribution$item$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Contribution$item$$Episode$season$show get $show => CopyWith$Fragment$Contribution$item$$Episode$season$show.stub(_res); @@ -2426,7 +2410,8 @@ class Fragment$Contribution$item$$Episode$season$show }); factory Fragment$Contribution$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Fragment$Contribution$item$$Episode$season$show( @@ -2452,10 +2437,7 @@ class Fragment$Contribution$item$$Episode$season$show int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -2484,11 +2466,10 @@ class Fragment$Contribution$item$$Episode$season$show extension UtilityExtension$Fragment$Contribution$item$$Episode$season$show on Fragment$Contribution$item$$Episode$season$show { CopyWith$Fragment$Contribution$item$$Episode$season$show< - Fragment$Contribution$item$$Episode$season$show> - get copyWith => CopyWith$Fragment$Contribution$item$$Episode$season$show( - this, - (i) => i, - ); + Fragment$Contribution$item$$Episode$season$show + > + get copyWith => + CopyWith$Fragment$Contribution$item$$Episode$season$show(this, (i) => i); } abstract class CopyWith$Fragment$Contribution$item$$Episode$season$show { @@ -2498,13 +2479,10 @@ abstract class CopyWith$Fragment$Contribution$item$$Episode$season$show { ) = _CopyWithImpl$Fragment$Contribution$item$$Episode$season$show; factory CopyWith$Fragment$Contribution$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$Contribution$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$Contribution$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Contribution$item$$Episode$season$show @@ -2520,18 +2498,17 @@ class _CopyWithImpl$Fragment$Contribution$item$$Episode$season$show static const _undefined = {}; - TRes call({ - Object? title = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Contribution$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? title = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Contribution$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Contribution$item$$Episode$season$show @@ -2540,45 +2517,38 @@ class _CopyWithStubImpl$Fragment$Contribution$item$$Episode$season$show TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Fragment$ContributionItemId { - Fragment$ContributionItemId({ - required this.id, - required this.$__typename, - }); + Fragment$ContributionItemId({required this.id, required this.$__typename}); factory Fragment$ContributionItemId.fromJson(Map json) { switch (json["__typename"] as String) { - case "Playlist": - return Fragment$ContributionItemId$$Playlist.fromJson(json); + case "Episode": + return Fragment$ContributionItemId$$Episode.fromJson(json); + + case "Chapter": + return Fragment$ContributionItemId$$Chapter.fromJson(json); case "Game": return Fragment$ContributionItemId$$Game.fromJson(json); + case "Playlist": + return Fragment$ContributionItemId$$Playlist.fromJson(json); + case "Season": return Fragment$ContributionItemId$$Season.fromJson(json); - case "StudyTopic": - return Fragment$ContributionItemId$$StudyTopic.fromJson(json); - case "Short": return Fragment$ContributionItemId$$Short.fromJson(json); - case "Episode": - return Fragment$ContributionItemId$$Episode.fromJson(json); - - case "Chapter": - return Fragment$ContributionItemId$$Chapter.fromJson(json); - case "Show": return Fragment$ContributionItemId$$Show.fromJson(json); + case "StudyTopic": + return Fragment$ContributionItemId$$StudyTopic.fromJson(json); + default: final l$id = json['id']; final l$$__typename = json['__typename']; @@ -2606,10 +2576,7 @@ class Fragment$ContributionItemId { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2638,67 +2605,71 @@ class Fragment$ContributionItemId { extension UtilityExtension$Fragment$ContributionItemId on Fragment$ContributionItemId { CopyWith$Fragment$ContributionItemId - get copyWith => CopyWith$Fragment$ContributionItemId( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$ContributionItemId(this, (i) => i); _T when<_T>({ - required _T Function(Fragment$ContributionItemId$$Playlist) playlist, + required _T Function(Fragment$ContributionItemId$$Episode) episode, + required _T Function(Fragment$ContributionItemId$$Chapter) chapter, required _T Function(Fragment$ContributionItemId$$Game) game, + required _T Function(Fragment$ContributionItemId$$Playlist) playlist, required _T Function(Fragment$ContributionItemId$$Season) season, - required _T Function(Fragment$ContributionItemId$$StudyTopic) studyTopic, required _T Function(Fragment$ContributionItemId$$Short) short, - required _T Function(Fragment$ContributionItemId$$Episode) episode, - required _T Function(Fragment$ContributionItemId$$Chapter) chapter, required _T Function(Fragment$ContributionItemId$$Show) show, + required _T Function(Fragment$ContributionItemId$$StudyTopic) studyTopic, required _T Function() orElse, }) { switch ($__typename) { - case "Playlist": - return playlist(this as Fragment$ContributionItemId$$Playlist); + case "Episode": + return episode(this as Fragment$ContributionItemId$$Episode); + + case "Chapter": + return chapter(this as Fragment$ContributionItemId$$Chapter); case "Game": return game(this as Fragment$ContributionItemId$$Game); + case "Playlist": + return playlist(this as Fragment$ContributionItemId$$Playlist); + case "Season": return season(this as Fragment$ContributionItemId$$Season); - case "StudyTopic": - return studyTopic(this as Fragment$ContributionItemId$$StudyTopic); - case "Short": return short(this as Fragment$ContributionItemId$$Short); - case "Episode": - return episode(this as Fragment$ContributionItemId$$Episode); - - case "Chapter": - return chapter(this as Fragment$ContributionItemId$$Chapter); - case "Show": return show(this as Fragment$ContributionItemId$$Show); + case "StudyTopic": + return studyTopic(this as Fragment$ContributionItemId$$StudyTopic); + default: return orElse(); } } _T maybeWhen<_T>({ - _T Function(Fragment$ContributionItemId$$Playlist)? playlist, + _T Function(Fragment$ContributionItemId$$Episode)? episode, + _T Function(Fragment$ContributionItemId$$Chapter)? chapter, _T Function(Fragment$ContributionItemId$$Game)? game, + _T Function(Fragment$ContributionItemId$$Playlist)? playlist, _T Function(Fragment$ContributionItemId$$Season)? season, - _T Function(Fragment$ContributionItemId$$StudyTopic)? studyTopic, _T Function(Fragment$ContributionItemId$$Short)? short, - _T Function(Fragment$ContributionItemId$$Episode)? episode, - _T Function(Fragment$ContributionItemId$$Chapter)? chapter, _T Function(Fragment$ContributionItemId$$Show)? show, + _T Function(Fragment$ContributionItemId$$StudyTopic)? studyTopic, required _T Function() orElse, }) { switch ($__typename) { - case "Playlist": - if (playlist != null) { - return playlist(this as Fragment$ContributionItemId$$Playlist); + case "Episode": + if (episode != null) { + return episode(this as Fragment$ContributionItemId$$Episode); + } else { + return orElse(); + } + + case "Chapter": + if (chapter != null) { + return chapter(this as Fragment$ContributionItemId$$Chapter); } else { return orElse(); } @@ -2710,16 +2681,16 @@ extension UtilityExtension$Fragment$ContributionItemId return orElse(); } - case "Season": - if (season != null) { - return season(this as Fragment$ContributionItemId$$Season); + case "Playlist": + if (playlist != null) { + return playlist(this as Fragment$ContributionItemId$$Playlist); } else { return orElse(); } - case "StudyTopic": - if (studyTopic != null) { - return studyTopic(this as Fragment$ContributionItemId$$StudyTopic); + case "Season": + if (season != null) { + return season(this as Fragment$ContributionItemId$$Season); } else { return orElse(); } @@ -2731,23 +2702,16 @@ extension UtilityExtension$Fragment$ContributionItemId return orElse(); } - case "Episode": - if (episode != null) { - return episode(this as Fragment$ContributionItemId$$Episode); - } else { - return orElse(); - } - - case "Chapter": - if (chapter != null) { - return chapter(this as Fragment$ContributionItemId$$Chapter); + case "Show": + if (show != null) { + return show(this as Fragment$ContributionItemId$$Show); } else { return orElse(); } - case "Show": - if (show != null) { - return show(this as Fragment$ContributionItemId$$Show); + case "StudyTopic": + if (studyTopic != null) { + return studyTopic(this as Fragment$ContributionItemId$$StudyTopic); } else { return orElse(); } @@ -2767,18 +2731,12 @@ abstract class CopyWith$Fragment$ContributionItemId { factory CopyWith$Fragment$ContributionItemId.stub(TRes res) = _CopyWithStubImpl$Fragment$ContributionItemId; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Fragment$ContributionItemId implements CopyWith$Fragment$ContributionItemId { - _CopyWithImpl$Fragment$ContributionItemId( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$ContributionItemId(this._instance, this._then); final Fragment$ContributionItemId _instance; @@ -2786,16 +2744,15 @@ class _CopyWithImpl$Fragment$ContributionItemId static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$ContributionItemId @@ -2804,59 +2761,57 @@ class _CopyWithStubImpl$Fragment$ContributionItemId TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } const fragmentDefinitionContributionItemId = FragmentDefinitionNode( name: NameNode(value: 'ContributionItemId'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'CollectionItem'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + on: NamedTypeNode( + name: NameNode(value: 'CollectionItem'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentContributionItemId = DocumentNode( + definitions: [fragmentDefinitionContributionItemId], ); -const documentNodeFragmentContributionItemId = DocumentNode(definitions: [ - fragmentDefinitionContributionItemId, -]); extension ClientExtension$Fragment$ContributionItemId on graphql.GraphQLClient { void writeFragment$ContributionItemId({ required Fragment$ContributionItemId data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'ContributionItemId', - document: documentNodeFragmentContributionItemId, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'ContributionItemId', + document: documentNodeFragmentContributionItemId, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$ContributionItemId? readFragment$ContributionItemId({ required Map idFields, @@ -2876,18 +2831,19 @@ extension ClientExtension$Fragment$ContributionItemId on graphql.GraphQLClient { } } -class Fragment$ContributionItemId$$Playlist +class Fragment$ContributionItemId$$Episode implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Playlist({ + Fragment$ContributionItemId$$Episode({ required this.id, - this.$__typename = 'Playlist', + this.$__typename = 'Episode', }); - factory Fragment$ContributionItemId$$Playlist.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Episode.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Playlist( + return Fragment$ContributionItemId$$Episode( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -2910,10 +2866,7 @@ class Fragment$ContributionItemId$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2921,7 +2874,7 @@ class Fragment$ContributionItemId$$Playlist if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Playlist || + if (other is! Fragment$ContributionItemId$$Episode || runtimeType != other.runtimeType) { return false; } @@ -2939,80 +2892,72 @@ class Fragment$ContributionItemId$$Playlist } } -extension UtilityExtension$Fragment$ContributionItemId$$Playlist - on Fragment$ContributionItemId$$Playlist { - CopyWith$Fragment$ContributionItemId$$Playlist< - Fragment$ContributionItemId$$Playlist> - get copyWith => CopyWith$Fragment$ContributionItemId$$Playlist( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Episode + on Fragment$ContributionItemId$$Episode { + CopyWith$Fragment$ContributionItemId$$Episode< + Fragment$ContributionItemId$$Episode + > + get copyWith => CopyWith$Fragment$ContributionItemId$$Episode(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Playlist { - factory CopyWith$Fragment$ContributionItemId$$Playlist( - Fragment$ContributionItemId$$Playlist instance, - TRes Function(Fragment$ContributionItemId$$Playlist) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Playlist; +abstract class CopyWith$Fragment$ContributionItemId$$Episode { + factory CopyWith$Fragment$ContributionItemId$$Episode( + Fragment$ContributionItemId$$Episode instance, + TRes Function(Fragment$ContributionItemId$$Episode) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Episode; - factory CopyWith$Fragment$ContributionItemId$$Playlist.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Playlist; + factory CopyWith$Fragment$ContributionItemId$$Episode.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Episode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Playlist - implements CopyWith$Fragment$ContributionItemId$$Playlist { - _CopyWithImpl$Fragment$ContributionItemId$$Playlist( +class _CopyWithImpl$Fragment$ContributionItemId$$Episode + implements CopyWith$Fragment$ContributionItemId$$Episode { + _CopyWithImpl$Fragment$ContributionItemId$$Episode( this._instance, this._then, ); - final Fragment$ContributionItemId$$Playlist _instance; + final Fragment$ContributionItemId$$Episode _instance; - final TRes Function(Fragment$ContributionItemId$$Playlist) _then; + final TRes Function(Fragment$ContributionItemId$$Episode) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Playlist - implements CopyWith$Fragment$ContributionItemId$$Playlist { - _CopyWithStubImpl$Fragment$ContributionItemId$$Playlist(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Episode + implements CopyWith$Fragment$ContributionItemId$$Episode { + _CopyWithStubImpl$Fragment$ContributionItemId$$Episode(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$Game implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Game({ +class Fragment$ContributionItemId$$Chapter + implements Fragment$ContributionItemId { + Fragment$ContributionItemId$$Chapter({ required this.id, - this.$__typename = 'Game', + this.$__typename = 'Chapter', }); - factory Fragment$ContributionItemId$$Game.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Chapter.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Game( + return Fragment$ContributionItemId$$Chapter( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3035,10 +2980,7 @@ class Fragment$ContributionItemId$$Game implements Fragment$ContributionItemId { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3046,7 +2988,7 @@ class Fragment$ContributionItemId$$Game implements Fragment$ContributionItemId { if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Game || + if (other is! Fragment$ContributionItemId$$Chapter || runtimeType != other.runtimeType) { return false; } @@ -3064,80 +3006,71 @@ class Fragment$ContributionItemId$$Game implements Fragment$ContributionItemId { } } -extension UtilityExtension$Fragment$ContributionItemId$$Game - on Fragment$ContributionItemId$$Game { - CopyWith$Fragment$ContributionItemId$$Game - get copyWith => CopyWith$Fragment$ContributionItemId$$Game( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Chapter + on Fragment$ContributionItemId$$Chapter { + CopyWith$Fragment$ContributionItemId$$Chapter< + Fragment$ContributionItemId$$Chapter + > + get copyWith => CopyWith$Fragment$ContributionItemId$$Chapter(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Game { - factory CopyWith$Fragment$ContributionItemId$$Game( - Fragment$ContributionItemId$$Game instance, - TRes Function(Fragment$ContributionItemId$$Game) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Game; +abstract class CopyWith$Fragment$ContributionItemId$$Chapter { + factory CopyWith$Fragment$ContributionItemId$$Chapter( + Fragment$ContributionItemId$$Chapter instance, + TRes Function(Fragment$ContributionItemId$$Chapter) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Chapter; - factory CopyWith$Fragment$ContributionItemId$$Game.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Game; + factory CopyWith$Fragment$ContributionItemId$$Chapter.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Chapter; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Game - implements CopyWith$Fragment$ContributionItemId$$Game { - _CopyWithImpl$Fragment$ContributionItemId$$Game( +class _CopyWithImpl$Fragment$ContributionItemId$$Chapter + implements CopyWith$Fragment$ContributionItemId$$Chapter { + _CopyWithImpl$Fragment$ContributionItemId$$Chapter( this._instance, this._then, ); - final Fragment$ContributionItemId$$Game _instance; + final Fragment$ContributionItemId$$Chapter _instance; - final TRes Function(Fragment$ContributionItemId$$Game) _then; + final TRes Function(Fragment$ContributionItemId$$Chapter) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Game( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Chapter( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Game - implements CopyWith$Fragment$ContributionItemId$$Game { - _CopyWithStubImpl$Fragment$ContributionItemId$$Game(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Chapter + implements CopyWith$Fragment$ContributionItemId$$Chapter { + _CopyWithStubImpl$Fragment$ContributionItemId$$Chapter(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$Season - implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Season({ +class Fragment$ContributionItemId$$Game implements Fragment$ContributionItemId { + Fragment$ContributionItemId$$Game({ required this.id, - this.$__typename = 'Season', + this.$__typename = 'Game', }); - factory Fragment$ContributionItemId$$Season.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Game.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Season( + return Fragment$ContributionItemId$$Game( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3160,10 +3093,7 @@ class Fragment$ContributionItemId$$Season int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3171,7 +3101,7 @@ class Fragment$ContributionItemId$$Season if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Season || + if (other is! Fragment$ContributionItemId$$Game || runtimeType != other.runtimeType) { return false; } @@ -3189,81 +3119,67 @@ class Fragment$ContributionItemId$$Season } } -extension UtilityExtension$Fragment$ContributionItemId$$Season - on Fragment$ContributionItemId$$Season { - CopyWith$Fragment$ContributionItemId$$Season< - Fragment$ContributionItemId$$Season> - get copyWith => CopyWith$Fragment$ContributionItemId$$Season( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Game + on Fragment$ContributionItemId$$Game { + CopyWith$Fragment$ContributionItemId$$Game + get copyWith => CopyWith$Fragment$ContributionItemId$$Game(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Season { - factory CopyWith$Fragment$ContributionItemId$$Season( - Fragment$ContributionItemId$$Season instance, - TRes Function(Fragment$ContributionItemId$$Season) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Season; +abstract class CopyWith$Fragment$ContributionItemId$$Game { + factory CopyWith$Fragment$ContributionItemId$$Game( + Fragment$ContributionItemId$$Game instance, + TRes Function(Fragment$ContributionItemId$$Game) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Game; - factory CopyWith$Fragment$ContributionItemId$$Season.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Season; + factory CopyWith$Fragment$ContributionItemId$$Game.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Game; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Season - implements CopyWith$Fragment$ContributionItemId$$Season { - _CopyWithImpl$Fragment$ContributionItemId$$Season( - this._instance, - this._then, - ); +class _CopyWithImpl$Fragment$ContributionItemId$$Game + implements CopyWith$Fragment$ContributionItemId$$Game { + _CopyWithImpl$Fragment$ContributionItemId$$Game(this._instance, this._then); - final Fragment$ContributionItemId$$Season _instance; + final Fragment$ContributionItemId$$Game _instance; - final TRes Function(Fragment$ContributionItemId$$Season) _then; + final TRes Function(Fragment$ContributionItemId$$Game) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Season( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Game( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Season - implements CopyWith$Fragment$ContributionItemId$$Season { - _CopyWithStubImpl$Fragment$ContributionItemId$$Season(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Game + implements CopyWith$Fragment$ContributionItemId$$Game { + _CopyWithStubImpl$Fragment$ContributionItemId$$Game(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$StudyTopic +class Fragment$ContributionItemId$$Playlist implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$StudyTopic({ + Fragment$ContributionItemId$$Playlist({ required this.id, - this.$__typename = 'StudyTopic', + this.$__typename = 'Playlist', }); - factory Fragment$ContributionItemId$$StudyTopic.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Playlist.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$StudyTopic( + return Fragment$ContributionItemId$$Playlist( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3286,10 +3202,7 @@ class Fragment$ContributionItemId$$StudyTopic int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3297,7 +3210,7 @@ class Fragment$ContributionItemId$$StudyTopic if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$StudyTopic || + if (other is! Fragment$ContributionItemId$$Playlist || runtimeType != other.runtimeType) { return false; } @@ -3315,81 +3228,73 @@ class Fragment$ContributionItemId$$StudyTopic } } -extension UtilityExtension$Fragment$ContributionItemId$$StudyTopic - on Fragment$ContributionItemId$$StudyTopic { - CopyWith$Fragment$ContributionItemId$$StudyTopic< - Fragment$ContributionItemId$$StudyTopic> - get copyWith => CopyWith$Fragment$ContributionItemId$$StudyTopic( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Playlist + on Fragment$ContributionItemId$$Playlist { + CopyWith$Fragment$ContributionItemId$$Playlist< + Fragment$ContributionItemId$$Playlist + > + get copyWith => + CopyWith$Fragment$ContributionItemId$$Playlist(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$StudyTopic { - factory CopyWith$Fragment$ContributionItemId$$StudyTopic( - Fragment$ContributionItemId$$StudyTopic instance, - TRes Function(Fragment$ContributionItemId$$StudyTopic) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$StudyTopic; +abstract class CopyWith$Fragment$ContributionItemId$$Playlist { + factory CopyWith$Fragment$ContributionItemId$$Playlist( + Fragment$ContributionItemId$$Playlist instance, + TRes Function(Fragment$ContributionItemId$$Playlist) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Playlist; - factory CopyWith$Fragment$ContributionItemId$$StudyTopic.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$StudyTopic; + factory CopyWith$Fragment$ContributionItemId$$Playlist.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$StudyTopic - implements CopyWith$Fragment$ContributionItemId$$StudyTopic { - _CopyWithImpl$Fragment$ContributionItemId$$StudyTopic( +class _CopyWithImpl$Fragment$ContributionItemId$$Playlist + implements CopyWith$Fragment$ContributionItemId$$Playlist { + _CopyWithImpl$Fragment$ContributionItemId$$Playlist( this._instance, this._then, ); - final Fragment$ContributionItemId$$StudyTopic _instance; + final Fragment$ContributionItemId$$Playlist _instance; - final TRes Function(Fragment$ContributionItemId$$StudyTopic) _then; + final TRes Function(Fragment$ContributionItemId$$Playlist) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$StudyTopic( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$StudyTopic - implements CopyWith$Fragment$ContributionItemId$$StudyTopic { - _CopyWithStubImpl$Fragment$ContributionItemId$$StudyTopic(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Playlist + implements CopyWith$Fragment$ContributionItemId$$Playlist { + _CopyWithStubImpl$Fragment$ContributionItemId$$Playlist(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$Short +class Fragment$ContributionItemId$$Season implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Short({ + Fragment$ContributionItemId$$Season({ required this.id, - this.$__typename = 'Short', + this.$__typename = 'Season', }); - factory Fragment$ContributionItemId$$Short.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Season.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Short( + return Fragment$ContributionItemId$$Season( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3412,10 +3317,7 @@ class Fragment$ContributionItemId$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3423,7 +3325,7 @@ class Fragment$ContributionItemId$$Short if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Short || + if (other is! Fragment$ContributionItemId$$Season || runtimeType != other.runtimeType) { return false; } @@ -3441,81 +3343,69 @@ class Fragment$ContributionItemId$$Short } } -extension UtilityExtension$Fragment$ContributionItemId$$Short - on Fragment$ContributionItemId$$Short { - CopyWith$Fragment$ContributionItemId$$Short< - Fragment$ContributionItemId$$Short> - get copyWith => CopyWith$Fragment$ContributionItemId$$Short( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Season + on Fragment$ContributionItemId$$Season { + CopyWith$Fragment$ContributionItemId$$Season< + Fragment$ContributionItemId$$Season + > + get copyWith => CopyWith$Fragment$ContributionItemId$$Season(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Short { - factory CopyWith$Fragment$ContributionItemId$$Short( - Fragment$ContributionItemId$$Short instance, - TRes Function(Fragment$ContributionItemId$$Short) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Short; +abstract class CopyWith$Fragment$ContributionItemId$$Season { + factory CopyWith$Fragment$ContributionItemId$$Season( + Fragment$ContributionItemId$$Season instance, + TRes Function(Fragment$ContributionItemId$$Season) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Season; - factory CopyWith$Fragment$ContributionItemId$$Short.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Short; + factory CopyWith$Fragment$ContributionItemId$$Season.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Season; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Short - implements CopyWith$Fragment$ContributionItemId$$Short { - _CopyWithImpl$Fragment$ContributionItemId$$Short( - this._instance, - this._then, - ); +class _CopyWithImpl$Fragment$ContributionItemId$$Season + implements CopyWith$Fragment$ContributionItemId$$Season { + _CopyWithImpl$Fragment$ContributionItemId$$Season(this._instance, this._then); - final Fragment$ContributionItemId$$Short _instance; + final Fragment$ContributionItemId$$Season _instance; - final TRes Function(Fragment$ContributionItemId$$Short) _then; + final TRes Function(Fragment$ContributionItemId$$Season) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Season( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Short - implements CopyWith$Fragment$ContributionItemId$$Short { - _CopyWithStubImpl$Fragment$ContributionItemId$$Short(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Season + implements CopyWith$Fragment$ContributionItemId$$Season { + _CopyWithStubImpl$Fragment$ContributionItemId$$Season(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$Episode +class Fragment$ContributionItemId$$Short implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Episode({ + Fragment$ContributionItemId$$Short({ required this.id, - this.$__typename = 'Episode', + this.$__typename = 'Short', }); - factory Fragment$ContributionItemId$$Episode.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Short.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Episode( + return Fragment$ContributionItemId$$Short( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3538,10 +3428,7 @@ class Fragment$ContributionItemId$$Episode int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3549,7 +3436,7 @@ class Fragment$ContributionItemId$$Episode if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Episode || + if (other is! Fragment$ContributionItemId$$Short || runtimeType != other.runtimeType) { return false; } @@ -3567,81 +3454,68 @@ class Fragment$ContributionItemId$$Episode } } -extension UtilityExtension$Fragment$ContributionItemId$$Episode - on Fragment$ContributionItemId$$Episode { - CopyWith$Fragment$ContributionItemId$$Episode< - Fragment$ContributionItemId$$Episode> - get copyWith => CopyWith$Fragment$ContributionItemId$$Episode( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Short + on Fragment$ContributionItemId$$Short { + CopyWith$Fragment$ContributionItemId$$Short< + Fragment$ContributionItemId$$Short + > + get copyWith => CopyWith$Fragment$ContributionItemId$$Short(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Episode { - factory CopyWith$Fragment$ContributionItemId$$Episode( - Fragment$ContributionItemId$$Episode instance, - TRes Function(Fragment$ContributionItemId$$Episode) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Episode; +abstract class CopyWith$Fragment$ContributionItemId$$Short { + factory CopyWith$Fragment$ContributionItemId$$Short( + Fragment$ContributionItemId$$Short instance, + TRes Function(Fragment$ContributionItemId$$Short) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Short; - factory CopyWith$Fragment$ContributionItemId$$Episode.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Episode; + factory CopyWith$Fragment$ContributionItemId$$Short.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Episode - implements CopyWith$Fragment$ContributionItemId$$Episode { - _CopyWithImpl$Fragment$ContributionItemId$$Episode( - this._instance, - this._then, - ); +class _CopyWithImpl$Fragment$ContributionItemId$$Short + implements CopyWith$Fragment$ContributionItemId$$Short { + _CopyWithImpl$Fragment$ContributionItemId$$Short(this._instance, this._then); - final Fragment$ContributionItemId$$Episode _instance; + final Fragment$ContributionItemId$$Short _instance; - final TRes Function(Fragment$ContributionItemId$$Episode) _then; + final TRes Function(Fragment$ContributionItemId$$Short) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Episode - implements CopyWith$Fragment$ContributionItemId$$Episode { - _CopyWithStubImpl$Fragment$ContributionItemId$$Episode(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Short + implements CopyWith$Fragment$ContributionItemId$$Short { + _CopyWithStubImpl$Fragment$ContributionItemId$$Short(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$Chapter - implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Chapter({ +class Fragment$ContributionItemId$$Show implements Fragment$ContributionItemId { + Fragment$ContributionItemId$$Show({ required this.id, - this.$__typename = 'Chapter', + this.$__typename = 'Show', }); - factory Fragment$ContributionItemId$$Chapter.fromJson( - Map json) { + factory Fragment$ContributionItemId$$Show.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Chapter( + return Fragment$ContributionItemId$$Show( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3664,10 +3538,7 @@ class Fragment$ContributionItemId$$Chapter int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3675,7 +3546,7 @@ class Fragment$ContributionItemId$$Chapter if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Chapter || + if (other is! Fragment$ContributionItemId$$Show || runtimeType != other.runtimeType) { return false; } @@ -3693,80 +3564,67 @@ class Fragment$ContributionItemId$$Chapter } } -extension UtilityExtension$Fragment$ContributionItemId$$Chapter - on Fragment$ContributionItemId$$Chapter { - CopyWith$Fragment$ContributionItemId$$Chapter< - Fragment$ContributionItemId$$Chapter> - get copyWith => CopyWith$Fragment$ContributionItemId$$Chapter( - this, - (i) => i, - ); +extension UtilityExtension$Fragment$ContributionItemId$$Show + on Fragment$ContributionItemId$$Show { + CopyWith$Fragment$ContributionItemId$$Show + get copyWith => CopyWith$Fragment$ContributionItemId$$Show(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Chapter { - factory CopyWith$Fragment$ContributionItemId$$Chapter( - Fragment$ContributionItemId$$Chapter instance, - TRes Function(Fragment$ContributionItemId$$Chapter) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Chapter; +abstract class CopyWith$Fragment$ContributionItemId$$Show { + factory CopyWith$Fragment$ContributionItemId$$Show( + Fragment$ContributionItemId$$Show instance, + TRes Function(Fragment$ContributionItemId$$Show) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$Show; - factory CopyWith$Fragment$ContributionItemId$$Chapter.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Chapter; + factory CopyWith$Fragment$ContributionItemId$$Show.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$Show; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Chapter - implements CopyWith$Fragment$ContributionItemId$$Chapter { - _CopyWithImpl$Fragment$ContributionItemId$$Chapter( - this._instance, - this._then, - ); +class _CopyWithImpl$Fragment$ContributionItemId$$Show + implements CopyWith$Fragment$ContributionItemId$$Show { + _CopyWithImpl$Fragment$ContributionItemId$$Show(this._instance, this._then); - final Fragment$ContributionItemId$$Chapter _instance; + final Fragment$ContributionItemId$$Show _instance; - final TRes Function(Fragment$ContributionItemId$$Chapter) _then; + final TRes Function(Fragment$ContributionItemId$$Show) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Chapter( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Chapter - implements CopyWith$Fragment$ContributionItemId$$Chapter { - _CopyWithStubImpl$Fragment$ContributionItemId$$Chapter(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$Show + implements CopyWith$Fragment$ContributionItemId$$Show { + _CopyWithStubImpl$Fragment$ContributionItemId$$Show(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } -class Fragment$ContributionItemId$$Show implements Fragment$ContributionItemId { - Fragment$ContributionItemId$$Show({ +class Fragment$ContributionItemId$$StudyTopic + implements Fragment$ContributionItemId { + Fragment$ContributionItemId$$StudyTopic({ required this.id, - this.$__typename = 'Show', + this.$__typename = 'StudyTopic', }); - factory Fragment$ContributionItemId$$Show.fromJson( - Map json) { + factory Fragment$ContributionItemId$$StudyTopic.fromJson( + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; - return Fragment$ContributionItemId$$Show( + return Fragment$ContributionItemId$$StudyTopic( id: (l$id as String), $__typename: (l$$__typename as String), ); @@ -3789,10 +3647,7 @@ class Fragment$ContributionItemId$$Show implements Fragment$ContributionItemId { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -3800,7 +3655,7 @@ class Fragment$ContributionItemId$$Show implements Fragment$ContributionItemId { if (identical(this, other)) { return true; } - if (other is! Fragment$ContributionItemId$$Show || + if (other is! Fragment$ContributionItemId$$StudyTopic || runtimeType != other.runtimeType) { return false; } @@ -3817,74 +3672,64 @@ class Fragment$ContributionItemId$$Show implements Fragment$ContributionItemId { return true; } } - -extension UtilityExtension$Fragment$ContributionItemId$$Show - on Fragment$ContributionItemId$$Show { - CopyWith$Fragment$ContributionItemId$$Show - get copyWith => CopyWith$Fragment$ContributionItemId$$Show( - this, - (i) => i, - ); + +extension UtilityExtension$Fragment$ContributionItemId$$StudyTopic + on Fragment$ContributionItemId$$StudyTopic { + CopyWith$Fragment$ContributionItemId$$StudyTopic< + Fragment$ContributionItemId$$StudyTopic + > + get copyWith => + CopyWith$Fragment$ContributionItemId$$StudyTopic(this, (i) => i); } -abstract class CopyWith$Fragment$ContributionItemId$$Show { - factory CopyWith$Fragment$ContributionItemId$$Show( - Fragment$ContributionItemId$$Show instance, - TRes Function(Fragment$ContributionItemId$$Show) then, - ) = _CopyWithImpl$Fragment$ContributionItemId$$Show; +abstract class CopyWith$Fragment$ContributionItemId$$StudyTopic { + factory CopyWith$Fragment$ContributionItemId$$StudyTopic( + Fragment$ContributionItemId$$StudyTopic instance, + TRes Function(Fragment$ContributionItemId$$StudyTopic) then, + ) = _CopyWithImpl$Fragment$ContributionItemId$$StudyTopic; - factory CopyWith$Fragment$ContributionItemId$$Show.stub(TRes res) = - _CopyWithStubImpl$Fragment$ContributionItemId$$Show; + factory CopyWith$Fragment$ContributionItemId$$StudyTopic.stub(TRes res) = + _CopyWithStubImpl$Fragment$ContributionItemId$$StudyTopic; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } -class _CopyWithImpl$Fragment$ContributionItemId$$Show - implements CopyWith$Fragment$ContributionItemId$$Show { - _CopyWithImpl$Fragment$ContributionItemId$$Show( +class _CopyWithImpl$Fragment$ContributionItemId$$StudyTopic + implements CopyWith$Fragment$ContributionItemId$$StudyTopic { + _CopyWithImpl$Fragment$ContributionItemId$$StudyTopic( this._instance, this._then, ); - final Fragment$ContributionItemId$$Show _instance; + final Fragment$ContributionItemId$$StudyTopic _instance; - final TRes Function(Fragment$ContributionItemId$$Show) _then; + final TRes Function(Fragment$ContributionItemId$$StudyTopic) _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$ContributionItemId$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$ContributionItemId$$StudyTopic( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Fragment$ContributionItemId$$Show - implements CopyWith$Fragment$ContributionItemId$$Show { - _CopyWithStubImpl$Fragment$ContributionItemId$$Show(this._res); +class _CopyWithStubImpl$Fragment$ContributionItemId$$StudyTopic + implements CopyWith$Fragment$ContributionItemId$$StudyTopic { + _CopyWithStubImpl$Fragment$ContributionItemId$$StudyTopic(this._res); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Variables$Query$GetPerson { factory Variables$Query$GetPerson({required String id}) => - Variables$Query$GetPerson._({ - r'id': id, - }); + Variables$Query$GetPerson._({r'id': id}); Variables$Query$GetPerson._(this._$data); @@ -3907,10 +3752,7 @@ class Variables$Query$GetPerson { } CopyWith$Variables$Query$GetPerson get copyWith => - CopyWith$Variables$Query$GetPerson( - this, - (i) => i, - ); + CopyWith$Variables$Query$GetPerson(this, (i) => i); @override bool operator ==(Object other) { @@ -3950,10 +3792,7 @@ abstract class CopyWith$Variables$Query$GetPerson { class _CopyWithImpl$Variables$Query$GetPerson implements CopyWith$Variables$Query$GetPerson { - _CopyWithImpl$Variables$Query$GetPerson( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetPerson(this._instance, this._then); final Variables$Query$GetPerson _instance; @@ -3961,10 +3800,12 @@ class _CopyWithImpl$Variables$Query$GetPerson static const _undefined = {}; - TRes call({Object? id = _undefined}) => _then(Variables$Query$GetPerson._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetPerson._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetPerson @@ -3977,17 +3818,15 @@ class _CopyWithStubImpl$Variables$Query$GetPerson } class Query$GetPerson { - Query$GetPerson({ - required this.person, - this.$__typename = 'QueryRoot', - }); + Query$GetPerson({required this.person, this.$__typename = 'QueryRoot'}); factory Query$GetPerson.fromJson(Map json) { final l$person = json['person']; final l$$__typename = json['__typename']; return Query$GetPerson( - person: - Query$GetPerson$person.fromJson((l$person as Map)), + person: Query$GetPerson$person.fromJson( + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -4009,10 +3848,7 @@ class Query$GetPerson { int get hashCode { final l$person = person; final l$$__typename = $__typename; - return Object.hashAll([ - l$person, - l$$__typename, - ]); + return Object.hashAll([l$person, l$$__typename]); } @override @@ -4039,10 +3875,7 @@ class Query$GetPerson { extension UtilityExtension$Query$GetPerson on Query$GetPerson { CopyWith$Query$GetPerson get copyWith => - CopyWith$Query$GetPerson( - this, - (i) => i, - ); + CopyWith$Query$GetPerson(this, (i) => i); } abstract class CopyWith$Query$GetPerson { @@ -4054,19 +3887,13 @@ abstract class CopyWith$Query$GetPerson { factory CopyWith$Query$GetPerson.stub(TRes res) = _CopyWithStubImpl$Query$GetPerson; - TRes call({ - Query$GetPerson$person? person, - String? $__typename, - }); + TRes call({Query$GetPerson$person? person, String? $__typename}); CopyWith$Query$GetPerson$person get person; } class _CopyWithImpl$Query$GetPerson implements CopyWith$Query$GetPerson { - _CopyWithImpl$Query$GetPerson( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPerson(this._instance, this._then); final Query$GetPerson _instance; @@ -4074,23 +3901,24 @@ class _CopyWithImpl$Query$GetPerson static const _undefined = {}; - TRes call({ - Object? person = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetPerson( - person: person == _undefined || person == null - ? _instance.person - : (person as Query$GetPerson$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? person = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetPerson( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetPerson$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPerson$person get person { final local$person = _instance.person; return CopyWith$Query$GetPerson$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -4100,115 +3928,125 @@ class _CopyWithStubImpl$Query$GetPerson TRes _res; - call({ - Query$GetPerson$person? person, - String? $__typename, - }) => - _res; + call({Query$GetPerson$person? person, String? $__typename}) => _res; CopyWith$Query$GetPerson$person get person => CopyWith$Query$GetPerson$person.stub(_res); } -const documentNodeQueryGetPerson = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetPerson'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetPerson = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetPerson'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'person'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'contributionContentTypes'), + name: NameNode(value: 'person'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'type'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'contributionContentTypes'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'type'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'code'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: 'count'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -4217,18 +4055,11 @@ const documentNodeQueryGetPerson = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$GetPerson _parserFn$Query$GetPerson(Map data) => Query$GetPerson.fromJson(data); typedef OnQueryComplete$Query$GetPerson = FutureOr Function( @@ -4249,36 +4080,36 @@ class Options$Query$GetPerson extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$GetPerson? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetPerson(data), - ), - onError: onError, - document: documentNodeQueryGetPerson, - parserFn: _parserFn$Query$GetPerson, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetPerson(data), + ), + onError: onError, + document: documentNodeQueryGetPerson, + parserFn: _parserFn$Query$GetPerson, + ); final OnQueryComplete$Query$GetPerson? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetPerson @@ -4297,20 +4128,20 @@ class WatchOptions$Query$GetPerson bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetPerson, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetPerson, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetPerson, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetPerson, + ); } class FetchMoreOptions$Query$GetPerson extends graphql.FetchMoreOptions { @@ -4318,34 +4149,33 @@ class FetchMoreOptions$Query$GetPerson extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetPerson variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetPerson, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetPerson, + ); } extension ClientExtension$Query$GetPerson on graphql.GraphQLClient { Future> query$GetPerson( - Options$Query$GetPerson options) async => - await this.query(options); + Options$Query$GetPerson options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetPerson( - WatchOptions$Query$GetPerson options) => - this.watchQuery(options); + WatchOptions$Query$GetPerson options, + ) => this.watchQuery(options); void writeQuery$GetPerson({ required Query$GetPerson data, required Variables$Query$GetPerson variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetPerson), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetPerson), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetPerson? readQuery$GetPerson({ required Variables$Query$GetPerson variables, @@ -4363,22 +4193,18 @@ extension ClientExtension$Query$GetPerson on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetPerson( - Options$Query$GetPerson options) => - graphql_flutter.useQuery(options); + Options$Query$GetPerson options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetPerson( - WatchOptions$Query$GetPerson options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetPerson options, +) => graphql_flutter.useWatchQuery(options); class Query$GetPerson$Widget extends graphql_flutter.Query { Query$GetPerson$Widget({ widgets.Key? key, required Options$Query$GetPerson options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetPerson$person { @@ -4401,8 +4227,11 @@ class Query$GetPerson$person { name: (l$name as String), image: (l$image as String?), contributionContentTypes: (l$contributionContentTypes as List) - .map((e) => Query$GetPerson$person$contributionContentTypes.fromJson( - (e as Map))) + .map( + (e) => Query$GetPerson$person$contributionContentTypes.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -4415,7 +4244,7 @@ class Query$GetPerson$person { final String? image; final List - contributionContentTypes; + contributionContentTypes; final String $__typename; @@ -4428,8 +4257,9 @@ class Query$GetPerson$person { final l$image = image; _resultData['image'] = l$image; final l$contributionContentTypes = contributionContentTypes; - _resultData['contributionContentTypes'] = - l$contributionContentTypes.map((e) => e.toJson()).toList(); + _resultData['contributionContentTypes'] = l$contributionContentTypes + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; @@ -4500,10 +4330,7 @@ class Query$GetPerson$person { extension UtilityExtension$Query$GetPerson$person on Query$GetPerson$person { CopyWith$Query$GetPerson$person get copyWith => - CopyWith$Query$GetPerson$person( - this, - (i) => i, - ); + CopyWith$Query$GetPerson$person(this, (i) => i); } abstract class CopyWith$Query$GetPerson$person { @@ -4520,23 +4347,24 @@ abstract class CopyWith$Query$GetPerson$person { String? name, String? image, List? - contributionContentTypes, + contributionContentTypes, String? $__typename, }); TRes contributionContentTypes( - Iterable Function( - Iterable< - CopyWith$Query$GetPerson$person$contributionContentTypes< - Query$GetPerson$person$contributionContentTypes>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetPerson$person$contributionContentTypes< + Query$GetPerson$person$contributionContentTypes + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetPerson$person implements CopyWith$Query$GetPerson$person { - _CopyWithImpl$Query$GetPerson$person( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPerson$person(this._instance, this._then); final Query$GetPerson$person _instance; @@ -4550,35 +4378,44 @@ class _CopyWithImpl$Query$GetPerson$person Object? image = _undefined, Object? contributionContentTypes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPerson$person( - id: id == _undefined || id == null ? _instance.id : (id as String), - name: name == _undefined || name == null - ? _instance.name - : (name as String), - image: image == _undefined ? _instance.image : (image as String?), - contributionContentTypes: contributionContentTypes == _undefined || - contributionContentTypes == null - ? _instance.contributionContentTypes - : (contributionContentTypes + }) => _then( + Query$GetPerson$person( + id: id == _undefined || id == null ? _instance.id : (id as String), + name: name == _undefined || name == null + ? _instance.name + : (name as String), + image: image == _undefined ? _instance.image : (image as String?), + contributionContentTypes: + contributionContentTypes == _undefined || + contributionContentTypes == null + ? _instance.contributionContentTypes + : (contributionContentTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributionContentTypes( - Iterable Function( - Iterable< - CopyWith$Query$GetPerson$person$contributionContentTypes< - Query$GetPerson$person$contributionContentTypes>>) - _fn) => - call( - contributionContentTypes: _fn(_instance.contributionContentTypes.map( - (e) => CopyWith$Query$GetPerson$person$contributionContentTypes( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetPerson$person$contributionContentTypes< + Query$GetPerson$person$contributionContentTypes + > + >, + ) + _fn, + ) => call( + contributionContentTypes: _fn( + _instance.contributionContentTypes.map( + (e) => CopyWith$Query$GetPerson$person$contributionContentTypes( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetPerson$person @@ -4592,10 +4429,9 @@ class _CopyWithStubImpl$Query$GetPerson$person String? name, String? image, List? - contributionContentTypes, + contributionContentTypes, String? $__typename, - }) => - _res; + }) => _res; contributionContentTypes(_fn) => _res; } @@ -4608,13 +4444,15 @@ class Query$GetPerson$person$contributionContentTypes { }); factory Query$GetPerson$person$contributionContentTypes.fromJson( - Map json) { + Map json, + ) { final l$type = json['type']; final l$count = json['count']; final l$$__typename = json['__typename']; return Query$GetPerson$person$contributionContentTypes( type: Query$GetPerson$person$contributionContentTypes$type.fromJson( - (l$type as Map)), + (l$type as Map), + ), count: (l$count as int), $__typename: (l$$__typename as String), ); @@ -4642,11 +4480,7 @@ class Query$GetPerson$person$contributionContentTypes { final l$type = type; final l$count = count; final l$$__typename = $__typename; - return Object.hashAll([ - l$type, - l$count, - l$$__typename, - ]); + return Object.hashAll([l$type, l$count, l$$__typename]); } @override @@ -4680,11 +4514,10 @@ class Query$GetPerson$person$contributionContentTypes { extension UtilityExtension$Query$GetPerson$person$contributionContentTypes on Query$GetPerson$person$contributionContentTypes { CopyWith$Query$GetPerson$person$contributionContentTypes< - Query$GetPerson$person$contributionContentTypes> - get copyWith => CopyWith$Query$GetPerson$person$contributionContentTypes( - this, - (i) => i, - ); + Query$GetPerson$person$contributionContentTypes + > + get copyWith => + CopyWith$Query$GetPerson$person$contributionContentTypes(this, (i) => i); } abstract class CopyWith$Query$GetPerson$person$contributionContentTypes { @@ -4694,8 +4527,8 @@ abstract class CopyWith$Query$GetPerson$person$contributionContentTypes { ) = _CopyWithImpl$Query$GetPerson$person$contributionContentTypes; factory CopyWith$Query$GetPerson$person$contributionContentTypes.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes; + TRes res, + ) = _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes; TRes call({ Query$GetPerson$person$contributionContentTypes$type? type, @@ -4722,23 +4555,26 @@ class _CopyWithImpl$Query$GetPerson$person$contributionContentTypes Object? type = _undefined, Object? count = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPerson$person$contributionContentTypes( - type: type == _undefined || type == null - ? _instance.type - : (type as Query$GetPerson$person$contributionContentTypes$type), - count: count == _undefined || count == null - ? _instance.count - : (count as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPerson$person$contributionContentTypes( + type: type == _undefined || type == null + ? _instance.type + : (type as Query$GetPerson$person$contributionContentTypes$type), + count: count == _undefined || count == null + ? _instance.count + : (count as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPerson$person$contributionContentTypes$type get type { final local$type = _instance.type; return CopyWith$Query$GetPerson$person$contributionContentTypes$type( - local$type, (e) => call(type: e)); + local$type, + (e) => call(type: e), + ); } } @@ -4752,13 +4588,11 @@ class _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes Query$GetPerson$person$contributionContentTypes$type? type, int? count, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetPerson$person$contributionContentTypes$type - get type => - CopyWith$Query$GetPerson$person$contributionContentTypes$type.stub( - _res); + get type => + CopyWith$Query$GetPerson$person$contributionContentTypes$type.stub(_res); } class Query$GetPerson$person$contributionContentTypes$type { @@ -4769,7 +4603,8 @@ class Query$GetPerson$person$contributionContentTypes$type { }); factory Query$GetPerson$person$contributionContentTypes$type.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -4802,11 +4637,7 @@ class Query$GetPerson$person$contributionContentTypes$type { final l$code = code; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$code, l$title, l$$__typename]); } @override @@ -4840,30 +4671,27 @@ class Query$GetPerson$person$contributionContentTypes$type { extension UtilityExtension$Query$GetPerson$person$contributionContentTypes$type on Query$GetPerson$person$contributionContentTypes$type { CopyWith$Query$GetPerson$person$contributionContentTypes$type< - Query$GetPerson$person$contributionContentTypes$type> - get copyWith => - CopyWith$Query$GetPerson$person$contributionContentTypes$type( - this, - (i) => i, - ); + Query$GetPerson$person$contributionContentTypes$type + > + get copyWith => CopyWith$Query$GetPerson$person$contributionContentTypes$type( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPerson$person$contributionContentTypes$type< - TRes> { + TRes +> { factory CopyWith$Query$GetPerson$person$contributionContentTypes$type( Query$GetPerson$person$contributionContentTypes$type instance, TRes Function(Query$GetPerson$person$contributionContentTypes$type) then, ) = _CopyWithImpl$Query$GetPerson$person$contributionContentTypes$type; factory CopyWith$Query$GetPerson$person$contributionContentTypes$type.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes$type; + TRes res, + ) = _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes$type; - TRes call({ - String? code, - String? title, - String? $__typename, - }); + TRes call({String? code, String? title, String? $__typename}); } class _CopyWithImpl$Query$GetPerson$person$contributionContentTypes$type @@ -4877,7 +4705,7 @@ class _CopyWithImpl$Query$GetPerson$person$contributionContentTypes$type final Query$GetPerson$person$contributionContentTypes$type _instance; final TRes Function(Query$GetPerson$person$contributionContentTypes$type) - _then; + _then; static const _undefined = {}; @@ -4885,51 +4713,49 @@ class _CopyWithImpl$Query$GetPerson$person$contributionContentTypes$type Object? code = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPerson$person$contributionContentTypes$type( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPerson$person$contributionContentTypes$type( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes$type< - TRes> + TRes +> implements CopyWith$Query$GetPerson$person$contributionContentTypes$type { _CopyWithStubImpl$Query$GetPerson$person$contributionContentTypes$type( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? title, - String? $__typename, - }) => - _res; + call({String? code, String? title, String? $__typename}) => _res; } class Variables$Query$GetRandomContribution { factory Variables$Query$GetRandomContribution({ required String id, List? contentTypes, - }) => - Variables$Query$GetRandomContribution._({ - r'id': id, - if (contentTypes != null) r'contentTypes': contentTypes, - }); + }) => Variables$Query$GetRandomContribution._({ + r'id': id, + if (contentTypes != null) r'contentTypes': contentTypes, + }); Variables$Query$GetRandomContribution._(this._$data); factory Variables$Query$GetRandomContribution.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -4960,11 +4786,10 @@ class Variables$Query$GetRandomContribution { } CopyWith$Variables$Query$GetRandomContribution< - Variables$Query$GetRandomContribution> - get copyWith => CopyWith$Variables$Query$GetRandomContribution( - this, - (i) => i, - ); + Variables$Query$GetRandomContribution + > + get copyWith => + CopyWith$Variables$Query$GetRandomContribution(this, (i) => i); @override bool operator ==(Object other) { @@ -5011,8 +4836,8 @@ class Variables$Query$GetRandomContribution { l$id, _$data.containsKey('contentTypes') ? l$contentTypes == null - ? null - : Object.hashAll(l$contentTypes.map((v) => v)) + ? null + : Object.hashAll(l$contentTypes.map((v) => v)) : const {}, ]); } @@ -5027,10 +4852,7 @@ abstract class CopyWith$Variables$Query$GetRandomContribution { factory CopyWith$Variables$Query$GetRandomContribution.stub(TRes res) = _CopyWithStubImpl$Variables$Query$GetRandomContribution; - TRes call({ - String? id, - List? contentTypes, - }); + TRes call({String? id, List? contentTypes}); } class _CopyWithImpl$Variables$Query$GetRandomContribution @@ -5046,16 +4868,15 @@ class _CopyWithImpl$Variables$Query$GetRandomContribution static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? contentTypes = _undefined, - }) => - _then(Variables$Query$GetRandomContribution._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (contentTypes != _undefined) - 'contentTypes': (contentTypes as List?), - })); + TRes call({Object? id = _undefined, Object? contentTypes = _undefined}) => + _then( + Variables$Query$GetRandomContribution._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (contentTypes != _undefined) + 'contentTypes': (contentTypes as List?), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetRandomContribution @@ -5064,11 +4885,7 @@ class _CopyWithStubImpl$Variables$Query$GetRandomContribution TRes _res; - call({ - String? id, - List? contentTypes, - }) => - _res; + call({String? id, List? contentTypes}) => _res; } class Query$GetRandomContribution { @@ -5082,7 +4899,8 @@ class Query$GetRandomContribution { final l$$__typename = json['__typename']; return Query$GetRandomContribution( person: Query$GetRandomContribution$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -5104,10 +4922,7 @@ class Query$GetRandomContribution { int get hashCode { final l$person = person; final l$$__typename = $__typename; - return Object.hashAll([ - l$person, - l$$__typename, - ]); + return Object.hashAll([l$person, l$$__typename]); } @override @@ -5136,10 +4951,7 @@ class Query$GetRandomContribution { extension UtilityExtension$Query$GetRandomContribution on Query$GetRandomContribution { CopyWith$Query$GetRandomContribution - get copyWith => CopyWith$Query$GetRandomContribution( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetRandomContribution(this, (i) => i); } abstract class CopyWith$Query$GetRandomContribution { @@ -5151,19 +4963,13 @@ abstract class CopyWith$Query$GetRandomContribution { factory CopyWith$Query$GetRandomContribution.stub(TRes res) = _CopyWithStubImpl$Query$GetRandomContribution; - TRes call({ - Query$GetRandomContribution$person? person, - String? $__typename, - }); + TRes call({Query$GetRandomContribution$person? person, String? $__typename}); CopyWith$Query$GetRandomContribution$person get person; } -class _CopyWithImpl$Query$GetRandomContribution - implements CopyWith$Query$GetRandomContribution { - _CopyWithImpl$Query$GetRandomContribution( - this._instance, - this._then, - ); +class _CopyWithImpl$Query$GetRandomContribution + implements CopyWith$Query$GetRandomContribution { + _CopyWithImpl$Query$GetRandomContribution(this._instance, this._then); final Query$GetRandomContribution _instance; @@ -5171,23 +4977,24 @@ class _CopyWithImpl$Query$GetRandomContribution static const _undefined = {}; - TRes call({ - Object? person = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetRandomContribution( - person: person == _undefined || person == null - ? _instance.person - : (person as Query$GetRandomContribution$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? person = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetRandomContribution( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetRandomContribution$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetRandomContribution$person get person { final local$person = _instance.person; return CopyWith$Query$GetRandomContribution$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -5197,102 +5004,115 @@ class _CopyWithStubImpl$Query$GetRandomContribution TRes _res; - call({ - Query$GetRandomContribution$person? person, - String? $__typename, - }) => + call({Query$GetRandomContribution$person? person, String? $__typename}) => _res; CopyWith$Query$GetRandomContribution$person get person => CopyWith$Query$GetRandomContribution$person.stub(_res); } -const documentNodeQueryGetRandomContribution = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetRandomContribution'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetRandomContribution = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetRandomContribution'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'contentTypes')), - type: ListTypeNode( - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'contentTypes')), + type: ListTypeNode( + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: true, + ), + isNonNull: false, ), - isNonNull: false, + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'person'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'contributions'), + name: NameNode(value: 'person'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'shuffle'), - value: BooleanValueNode(value: true), - ), - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '1'), - ), - ArgumentNode( - name: NameNode(value: 'contentTypes'), - value: VariableNode(name: NameNode(value: 'contentTypes')), + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Contribution'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'contributions'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'shuffle'), + value: BooleanValueNode(value: true), + ), + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '1'), + ), + ArgumentNode( + name: NameNode(value: 'contentTypes'), + value: VariableNode( + name: NameNode(value: 'contentTypes'), + ), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Contribution'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -5301,28 +5121,21 @@ const documentNodeQueryGetRandomContribution = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionContribution, - fragmentDefinitionContributionItemId, - fragmentDefinitionNavigatableChapter, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionEpisodeListEpisode, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); + ), + fragmentDefinitionContribution, + fragmentDefinitionContributionItemId, + fragmentDefinitionNavigatableChapter, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionEpisodeListEpisode, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], +); Query$GetRandomContribution _parserFn$Query$GetRandomContribution( - Map data) => - Query$GetRandomContribution.fromJson(data); + Map data, +) => Query$GetRandomContribution.fromJson(data); typedef OnQueryComplete$Query$GetRandomContribution = FutureOr Function( Map?, Query$GetRandomContribution?, @@ -5342,38 +5155,38 @@ class Options$Query$GetRandomContribution graphql.Context? context, OnQueryComplete$Query$GetRandomContribution? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetRandomContribution(data), - ), - onError: onError, - document: documentNodeQueryGetRandomContribution, - parserFn: _parserFn$Query$GetRandomContribution, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$GetRandomContribution(data), + ), + onError: onError, + document: documentNodeQueryGetRandomContribution, + parserFn: _parserFn$Query$GetRandomContribution, + ); final OnQueryComplete$Query$GetRandomContribution? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetRandomContribution @@ -5392,20 +5205,20 @@ class WatchOptions$Query$GetRandomContribution bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetRandomContribution, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetRandomContribution, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetRandomContribution, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetRandomContribution, + ); } class FetchMoreOptions$Query$GetRandomContribution @@ -5414,37 +5227,37 @@ class FetchMoreOptions$Query$GetRandomContribution required graphql.UpdateQuery updateQuery, required Variables$Query$GetRandomContribution variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetRandomContribution, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetRandomContribution, + ); } extension ClientExtension$Query$GetRandomContribution on graphql.GraphQLClient { Future> - query$GetRandomContribution( - Options$Query$GetRandomContribution options) async => - await this.query(options); + query$GetRandomContribution( + Options$Query$GetRandomContribution options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$GetRandomContribution( - WatchOptions$Query$GetRandomContribution options) => - this.watchQuery(options); + watchQuery$GetRandomContribution( + WatchOptions$Query$GetRandomContribution options, + ) => this.watchQuery(options); void writeQuery$GetRandomContribution({ required Query$GetRandomContribution data, required Variables$Query$GetRandomContribution variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryGetRandomContribution), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetRandomContribution, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetRandomContribution? readQuery$GetRandomContribution({ required Variables$Query$GetRandomContribution variables, @@ -5452,8 +5265,9 @@ extension ClientExtension$Query$GetRandomContribution on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetRandomContribution), + operation: graphql.Operation( + document: documentNodeQueryGetRandomContribution, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -5463,13 +5277,12 @@ extension ClientExtension$Query$GetRandomContribution on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$GetRandomContribution( - Options$Query$GetRandomContribution options) => - graphql_flutter.useQuery(options); +useQuery$GetRandomContribution(Options$Query$GetRandomContribution options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetRandomContribution( - WatchOptions$Query$GetRandomContribution options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetRandomContribution( + WatchOptions$Query$GetRandomContribution options, +) => graphql_flutter.useWatchQuery(options); class Query$GetRandomContribution$Widget extends graphql_flutter.Query { @@ -5477,11 +5290,7 @@ class Query$GetRandomContribution$Widget widgets.Key? key, required Options$Query$GetRandomContribution options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetRandomContribution$person { @@ -5491,12 +5300,14 @@ class Query$GetRandomContribution$person { }); factory Query$GetRandomContribution$person.fromJson( - Map json) { + Map json, + ) { final l$contributions = json['contributions']; final l$$__typename = json['__typename']; return Query$GetRandomContribution$person( contributions: Query$GetRandomContribution$person$contributions.fromJson( - (l$contributions as Map)), + (l$contributions as Map), + ), $__typename: (l$$__typename as String), ); } @@ -5518,10 +5329,7 @@ class Query$GetRandomContribution$person { int get hashCode { final l$contributions = contributions; final l$$__typename = $__typename; - return Object.hashAll([ - l$contributions, - l$$__typename, - ]); + return Object.hashAll([l$contributions, l$$__typename]); } @override @@ -5550,11 +5358,9 @@ class Query$GetRandomContribution$person { extension UtilityExtension$Query$GetRandomContribution$person on Query$GetRandomContribution$person { CopyWith$Query$GetRandomContribution$person< - Query$GetRandomContribution$person> - get copyWith => CopyWith$Query$GetRandomContribution$person( - this, - (i) => i, - ); + Query$GetRandomContribution$person + > + get copyWith => CopyWith$Query$GetRandomContribution$person(this, (i) => i); } abstract class CopyWith$Query$GetRandomContribution$person { @@ -5571,15 +5377,12 @@ abstract class CopyWith$Query$GetRandomContribution$person { String? $__typename, }); CopyWith$Query$GetRandomContribution$person$contributions - get contributions; + get contributions; } class _CopyWithImpl$Query$GetRandomContribution$person implements CopyWith$Query$GetRandomContribution$person { - _CopyWithImpl$Query$GetRandomContribution$person( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetRandomContribution$person(this._instance, this._then); final Query$GetRandomContribution$person _instance; @@ -5590,22 +5393,24 @@ class _CopyWithImpl$Query$GetRandomContribution$person TRes call({ Object? contributions = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetRandomContribution$person( - contributions: contributions == _undefined || contributions == null - ? _instance.contributions - : (contributions - as Query$GetRandomContribution$person$contributions), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetRandomContribution$person( + contributions: contributions == _undefined || contributions == null + ? _instance.contributions + : (contributions as Query$GetRandomContribution$person$contributions), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetRandomContribution$person$contributions - get contributions { + get contributions { final local$contributions = _instance.contributions; return CopyWith$Query$GetRandomContribution$person$contributions( - local$contributions, (e) => call(contributions: e)); + local$contributions, + (e) => call(contributions: e), + ); } } @@ -5618,12 +5423,11 @@ class _CopyWithStubImpl$Query$GetRandomContribution$person call({ Query$GetRandomContribution$person$contributions? contributions, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetRandomContribution$person$contributions - get contributions => - CopyWith$Query$GetRandomContribution$person$contributions.stub(_res); + get contributions => + CopyWith$Query$GetRandomContribution$person$contributions.stub(_res); } class Query$GetRandomContribution$person$contributions { @@ -5633,13 +5437,15 @@ class Query$GetRandomContribution$person$contributions { }); factory Query$GetRandomContribution$person$contributions.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetRandomContribution$person$contributions( items: (l$items as List) - .map((e) => - Fragment$Contribution.fromJson((e as Map))) + .map( + (e) => Fragment$Contribution.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -5701,11 +5507,10 @@ class Query$GetRandomContribution$person$contributions { extension UtilityExtension$Query$GetRandomContribution$person$contributions on Query$GetRandomContribution$person$contributions { CopyWith$Query$GetRandomContribution$person$contributions< - Query$GetRandomContribution$person$contributions> - get copyWith => CopyWith$Query$GetRandomContribution$person$contributions( - this, - (i) => i, - ); + Query$GetRandomContribution$person$contributions + > + get copyWith => + CopyWith$Query$GetRandomContribution$person$contributions(this, (i) => i); } abstract class CopyWith$Query$GetRandomContribution$person$contributions { @@ -5715,17 +5520,16 @@ abstract class CopyWith$Query$GetRandomContribution$person$contributions { ) = _CopyWithImpl$Query$GetRandomContribution$person$contributions; factory CopyWith$Query$GetRandomContribution$person$contributions.stub( - TRes res) = - _CopyWithStubImpl$Query$GetRandomContribution$person$contributions; + TRes res, + ) = _CopyWithStubImpl$Query$GetRandomContribution$person$contributions; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetRandomContribution$person$contributions @@ -5741,29 +5545,28 @@ class _CopyWithImpl$Query$GetRandomContribution$person$contributions static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetRandomContribution$person$contributions( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetRandomContribution$person$contributions( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Contribution>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$Contribution( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$Contribution(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetRandomContribution$person$contributions @@ -5772,11 +5575,7 @@ class _CopyWithStubImpl$Query$GetRandomContribution$person$contributions TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -5788,14 +5587,13 @@ class Variables$Query$GetContributions { int? offset, bool? shuffle, List? contentTypes, - }) => - Variables$Query$GetContributions._({ - r'id': id, - if (first != null) r'first': first, - if (offset != null) r'offset': offset, - if (shuffle != null) r'shuffle': shuffle, - if (contentTypes != null) r'contentTypes': contentTypes, - }); + }) => Variables$Query$GetContributions._({ + r'id': id, + if (first != null) r'first': first, + if (offset != null) r'offset': offset, + if (shuffle != null) r'shuffle': shuffle, + if (contentTypes != null) r'contentTypes': contentTypes, + }); Variables$Query$GetContributions._(this._$data); @@ -5860,10 +5658,7 @@ class Variables$Query$GetContributions { } CopyWith$Variables$Query$GetContributions - get copyWith => CopyWith$Variables$Query$GetContributions( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetContributions(this, (i) => i); @override bool operator ==(Object other) { @@ -5940,8 +5735,8 @@ class Variables$Query$GetContributions { _$data.containsKey('shuffle') ? l$shuffle : const {}, _$data.containsKey('contentTypes') ? l$contentTypes == null - ? null - : Object.hashAll(l$contentTypes.map((v) => v)) + ? null + : Object.hashAll(l$contentTypes.map((v) => v)) : const {}, ]); } @@ -5967,10 +5762,7 @@ abstract class CopyWith$Variables$Query$GetContributions { class _CopyWithImpl$Variables$Query$GetContributions implements CopyWith$Variables$Query$GetContributions { - _CopyWithImpl$Variables$Query$GetContributions( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetContributions(this._instance, this._then); final Variables$Query$GetContributions _instance; @@ -5984,16 +5776,17 @@ class _CopyWithImpl$Variables$Query$GetContributions Object? offset = _undefined, Object? shuffle = _undefined, Object? contentTypes = _undefined, - }) => - _then(Variables$Query$GetContributions._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - if (shuffle != _undefined) 'shuffle': (shuffle as bool?), - if (contentTypes != _undefined) - 'contentTypes': (contentTypes as List?), - })); + }) => _then( + Variables$Query$GetContributions._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + if (shuffle != _undefined) 'shuffle': (shuffle as bool?), + if (contentTypes != _undefined) + 'contentTypes': (contentTypes as List?), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetContributions @@ -6008,8 +5801,7 @@ class _CopyWithStubImpl$Variables$Query$GetContributions int? offset, bool? shuffle, List? contentTypes, - }) => - _res; + }) => _res; } class Query$GetContributions { @@ -6023,7 +5815,8 @@ class Query$GetContributions { final l$$__typename = json['__typename']; return Query$GetContributions( person: Query$GetContributions$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -6045,10 +5838,7 @@ class Query$GetContributions { int get hashCode { final l$person = person; final l$$__typename = $__typename; - return Object.hashAll([ - l$person, - l$$__typename, - ]); + return Object.hashAll([l$person, l$$__typename]); } @override @@ -6075,10 +5865,7 @@ class Query$GetContributions { extension UtilityExtension$Query$GetContributions on Query$GetContributions { CopyWith$Query$GetContributions get copyWith => - CopyWith$Query$GetContributions( - this, - (i) => i, - ); + CopyWith$Query$GetContributions(this, (i) => i); } abstract class CopyWith$Query$GetContributions { @@ -6090,19 +5877,13 @@ abstract class CopyWith$Query$GetContributions { factory CopyWith$Query$GetContributions.stub(TRes res) = _CopyWithStubImpl$Query$GetContributions; - TRes call({ - Query$GetContributions$person? person, - String? $__typename, - }); + TRes call({Query$GetContributions$person? person, String? $__typename}); CopyWith$Query$GetContributions$person get person; } class _CopyWithImpl$Query$GetContributions implements CopyWith$Query$GetContributions { - _CopyWithImpl$Query$GetContributions( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetContributions(this._instance, this._then); final Query$GetContributions _instance; @@ -6110,23 +5891,24 @@ class _CopyWithImpl$Query$GetContributions static const _undefined = {}; - TRes call({ - Object? person = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetContributions( - person: person == _undefined || person == null - ? _instance.person - : (person as Query$GetContributions$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? person = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetContributions( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetContributions$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetContributions$person get person { final local$person = _instance.person; return CopyWith$Query$GetContributions$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -6136,154 +5918,160 @@ class _CopyWithStubImpl$Query$GetContributions TRes _res; - call({ - Query$GetContributions$person? person, - String? $__typename, - }) => - _res; + call({Query$GetContributions$person? person, String? $__typename}) => _res; CopyWith$Query$GetContributions$person get person => CopyWith$Query$GetContributions$person.stub(_res); } -const documentNodeQueryGetContributions = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetContributions'), - 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: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, +const documentNodeQueryGetContributions = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetContributions'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'offset')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'shuffle')), - type: NamedTypeNode( - name: NameNode(value: 'Boolean'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'offset')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'contentTypes')), - type: ListTypeNode( + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'shuffle')), type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, + name: NameNode(value: 'Boolean'), + isNonNull: false, + ), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'contentTypes')), + type: ListTypeNode( + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: true, + ), + isNonNull: false, ), - isNonNull: false, + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'person'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'contributions'), + name: NameNode(value: 'person'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ArgumentNode( - name: NameNode(value: 'shuffle'), - value: VariableNode(name: NameNode(value: 'shuffle')), - ), - ArgumentNode( - name: NameNode(value: 'contentTypes'), - value: VariableNode(name: NameNode(value: 'contentTypes')), + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'total'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'first'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'offset'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Contribution'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'contributions'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), + ), + ArgumentNode( + name: NameNode(value: 'shuffle'), + value: VariableNode(name: NameNode(value: 'shuffle')), + ), + ArgumentNode( + name: NameNode(value: 'contentTypes'), + value: VariableNode( + name: NameNode(value: 'contentTypes'), + ), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'total'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'first'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'offset'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Contribution'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -6292,28 +6080,21 @@ const documentNodeQueryGetContributions = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionContribution, - fragmentDefinitionContributionItemId, - fragmentDefinitionNavigatableChapter, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionEpisodeListEpisode, - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); + ), + fragmentDefinitionContribution, + fragmentDefinitionContributionItemId, + fragmentDefinitionNavigatableChapter, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionEpisodeListEpisode, + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], +); Query$GetContributions _parserFn$Query$GetContributions( - Map data) => - Query$GetContributions.fromJson(data); + Map data, +) => Query$GetContributions.fromJson(data); typedef OnQueryComplete$Query$GetContributions = FutureOr Function( Map?, Query$GetContributions?, @@ -6333,38 +6114,36 @@ class Options$Query$GetContributions graphql.Context? context, OnQueryComplete$Query$GetContributions? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetContributions(data), - ), - onError: onError, - document: documentNodeQueryGetContributions, - parserFn: _parserFn$Query$GetContributions, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetContributions(data), + ), + onError: onError, + document: documentNodeQueryGetContributions, + parserFn: _parserFn$Query$GetContributions, + ); final OnQueryComplete$Query$GetContributions? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetContributions @@ -6383,20 +6162,20 @@ class WatchOptions$Query$GetContributions bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetContributions, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetContributions, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetContributions, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetContributions, + ); } class FetchMoreOptions$Query$GetContributions extends graphql.FetchMoreOptions { @@ -6404,35 +6183,33 @@ class FetchMoreOptions$Query$GetContributions extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetContributions variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetContributions, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetContributions, + ); } extension ClientExtension$Query$GetContributions on graphql.GraphQLClient { Future> query$GetContributions( - Options$Query$GetContributions options) async => - await this.query(options); + Options$Query$GetContributions options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetContributions( - WatchOptions$Query$GetContributions options) => - this.watchQuery(options); + WatchOptions$Query$GetContributions options, + ) => this.watchQuery(options); void writeQuery$GetContributions({ required Query$GetContributions data, required Variables$Query$GetContributions variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetContributions), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetContributions), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetContributions? readQuery$GetContributions({ required Variables$Query$GetContributions variables, @@ -6440,8 +6217,9 @@ extension ClientExtension$Query$GetContributions on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetContributions), + operation: graphql.Operation( + document: documentNodeQueryGetContributions, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -6451,11 +6229,11 @@ extension ClientExtension$Query$GetContributions on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$GetContributions(Options$Query$GetContributions options) => - graphql_flutter.useQuery(options); +useQuery$GetContributions(Options$Query$GetContributions options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetContributions( - WatchOptions$Query$GetContributions options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetContributions options, +) => graphql_flutter.useWatchQuery(options); class Query$GetContributions$Widget extends graphql_flutter.Query { @@ -6463,11 +6241,7 @@ class Query$GetContributions$Widget widgets.Key? key, required Options$Query$GetContributions options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetContributions$person { @@ -6481,7 +6255,8 @@ class Query$GetContributions$person { final l$$__typename = json['__typename']; return Query$GetContributions$person( contributions: Query$GetContributions$person$contributions.fromJson( - (l$contributions as Map)), + (l$contributions as Map), + ), $__typename: (l$$__typename as String), ); } @@ -6503,10 +6278,7 @@ class Query$GetContributions$person { int get hashCode { final l$contributions = contributions; final l$$__typename = $__typename; - return Object.hashAll([ - l$contributions, - l$$__typename, - ]); + return Object.hashAll([l$contributions, l$$__typename]); } @override @@ -6535,10 +6307,7 @@ class Query$GetContributions$person { extension UtilityExtension$Query$GetContributions$person on Query$GetContributions$person { CopyWith$Query$GetContributions$person - get copyWith => CopyWith$Query$GetContributions$person( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetContributions$person(this, (i) => i); } abstract class CopyWith$Query$GetContributions$person { @@ -6559,10 +6328,7 @@ abstract class CopyWith$Query$GetContributions$person { class _CopyWithImpl$Query$GetContributions$person implements CopyWith$Query$GetContributions$person { - _CopyWithImpl$Query$GetContributions$person( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetContributions$person(this._instance, this._then); final Query$GetContributions$person _instance; @@ -6573,20 +6339,23 @@ class _CopyWithImpl$Query$GetContributions$person TRes call({ Object? contributions = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetContributions$person( - contributions: contributions == _undefined || contributions == null - ? _instance.contributions - : (contributions as Query$GetContributions$person$contributions), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetContributions$person( + contributions: contributions == _undefined || contributions == null + ? _instance.contributions + : (contributions as Query$GetContributions$person$contributions), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetContributions$person$contributions get contributions { final local$contributions = _instance.contributions; return CopyWith$Query$GetContributions$person$contributions( - local$contributions, (e) => call(contributions: e)); + local$contributions, + (e) => call(contributions: e), + ); } } @@ -6599,12 +6368,11 @@ class _CopyWithStubImpl$Query$GetContributions$person call({ Query$GetContributions$person$contributions? contributions, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetContributions$person$contributions - get contributions => - CopyWith$Query$GetContributions$person$contributions.stub(_res); + get contributions => + CopyWith$Query$GetContributions$person$contributions.stub(_res); } class Query$GetContributions$person$contributions { @@ -6617,7 +6385,8 @@ class Query$GetContributions$person$contributions { }); factory Query$GetContributions$person$contributions.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$first = json['first']; final l$offset = json['offset']; @@ -6628,8 +6397,9 @@ class Query$GetContributions$person$contributions { first: (l$first as int), offset: (l$offset as int), items: (l$items as List) - .map((e) => - Fragment$Contribution.fromJson((e as Map))) + .map( + (e) => Fragment$Contribution.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -6725,11 +6495,10 @@ class Query$GetContributions$person$contributions { extension UtilityExtension$Query$GetContributions$person$contributions on Query$GetContributions$person$contributions { CopyWith$Query$GetContributions$person$contributions< - Query$GetContributions$person$contributions> - get copyWith => CopyWith$Query$GetContributions$person$contributions( - this, - (i) => i, - ); + Query$GetContributions$person$contributions + > + get copyWith => + CopyWith$Query$GetContributions$person$contributions(this, (i) => i); } abstract class CopyWith$Query$GetContributions$person$contributions { @@ -6749,9 +6518,11 @@ abstract class CopyWith$Query$GetContributions$person$contributions { String? $__typename, }); TRes items( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetContributions$person$contributions @@ -6773,35 +6544,36 @@ class _CopyWithImpl$Query$GetContributions$person$contributions Object? offset = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetContributions$person$contributions( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetContributions$person$contributions( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$Contribution>) - _fn) => - call( - items: _fn(_instance.items.map((e) => CopyWith$Fragment$Contribution( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$Contribution(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetContributions$person$contributions @@ -6816,8 +6588,7 @@ class _CopyWithStubImpl$Query$GetContributions$person$contributions int? offset, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/playlists.graphql.dart b/bccm_core/lib/src/features/graphql/queries/playlists.graphql.dart index 55a6c6e..c9ce3ef 100644 --- a/bccm_core/lib/src/features/graphql/queries/playlists.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/playlists.graphql.dart @@ -1,6 +1,9 @@ import '../schema/persons.graphql.dart'; + import 'dart:async'; + import 'episode.graphql.dart'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -31,10 +34,14 @@ class Fragment$PlaylistSong { title: (l$title as String), urls: (l$urls as List).map((e) => (e as String)).toList(), collection: Fragment$PlaylistSong$collection.fromJson( - (l$collection as Map)), + (l$collection as Map), + ), contributors: (l$contributors as List) - .map((e) => Fragment$PlaylistSong$contributors.fromJson( - (e as Map))) + .map( + (e) => Fragment$PlaylistSong$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -67,8 +74,9 @@ class Fragment$PlaylistSong { final l$collection = collection; _resultData['collection'] = l$collection.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; @@ -157,10 +165,7 @@ class Fragment$PlaylistSong { extension UtilityExtension$Fragment$PlaylistSong on Fragment$PlaylistSong { CopyWith$Fragment$PlaylistSong get copyWith => - CopyWith$Fragment$PlaylistSong( - this, - (i) => i, - ); + CopyWith$Fragment$PlaylistSong(this, (i) => i); } abstract class CopyWith$Fragment$PlaylistSong { @@ -183,19 +188,20 @@ abstract class CopyWith$Fragment$PlaylistSong { }); CopyWith$Fragment$PlaylistSong$collection get collection; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$PlaylistSong$contributors< - Fragment$PlaylistSong$contributors>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$PlaylistSong$contributors< + Fragment$PlaylistSong$contributors + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$PlaylistSong implements CopyWith$Fragment$PlaylistSong { - _CopyWithImpl$Fragment$PlaylistSong( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlaylistSong(this._instance, this._then); final Fragment$PlaylistSong _instance; @@ -211,45 +217,52 @@ class _CopyWithImpl$Fragment$PlaylistSong Object? collection = _undefined, Object? contributors = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlaylistSong( - id: id == _undefined || id == null ? _instance.id : (id as String), - key: key == _undefined || key == null ? _instance.key : (key as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - urls: urls == _undefined || urls == null - ? _instance.urls - : (urls as List), - collection: collection == _undefined || collection == null - ? _instance.collection - : (collection as Fragment$PlaylistSong$collection), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlaylistSong( + id: id == _undefined || id == null ? _instance.id : (id as String), + key: key == _undefined || key == null ? _instance.key : (key as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + urls: urls == _undefined || urls == null + ? _instance.urls + : (urls as List), + collection: collection == _undefined || collection == null + ? _instance.collection + : (collection as Fragment$PlaylistSong$collection), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$PlaylistSong$collection get collection { final local$collection = _instance.collection; return CopyWith$Fragment$PlaylistSong$collection( - local$collection, (e) => call(collection: e)); + local$collection, + (e) => call(collection: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Fragment$PlaylistSong$contributors< - Fragment$PlaylistSong$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors - .map((e) => CopyWith$Fragment$PlaylistSong$contributors( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$PlaylistSong$contributors< + Fragment$PlaylistSong$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => CopyWith$Fragment$PlaylistSong$contributors(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$PlaylistSong @@ -266,8 +279,7 @@ class _CopyWithStubImpl$Fragment$PlaylistSong Fragment$PlaylistSong$collection? collection, List? contributors, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$PlaylistSong$collection get collection => CopyWith$Fragment$PlaylistSong$collection.stub(_res); @@ -278,88 +290,46 @@ class _CopyWithStubImpl$Fragment$PlaylistSong const fragmentDefinitionPlaylistSong = FragmentDefinitionNode( name: NameNode(value: 'PlaylistSong'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Song'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Song'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'key'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'urls'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'collection'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'code'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FieldNode( - name: NameNode(value: 'contributors'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'contributionTypes'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'person'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'key'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'urls'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'collection'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'id'), alias: null, @@ -368,7 +338,7 @@ const fragmentDefinitionPlaylistSong = FragmentDefinitionNode( selectionSet: null, ), FieldNode( - name: NameNode(value: 'name'), + name: NameNode(value: 'code'), alias: null, arguments: [], directives: [], @@ -381,47 +351,94 @@ const fragmentDefinitionPlaylistSong = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), + ], ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'contributors'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'contributionTypes'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'person'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentPlaylistSong = DocumentNode( + definitions: [fragmentDefinitionPlaylistSong], ); -const documentNodeFragmentPlaylistSong = DocumentNode(definitions: [ - fragmentDefinitionPlaylistSong, -]); extension ClientExtension$Fragment$PlaylistSong on graphql.GraphQLClient { void writeFragment$PlaylistSong({ required Fragment$PlaylistSong data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'PlaylistSong', - document: documentNodeFragmentPlaylistSong, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'PlaylistSong', + document: documentNodeFragmentPlaylistSong, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$PlaylistSong? readFragment$PlaylistSong({ required Map idFields, @@ -481,11 +498,7 @@ class Fragment$PlaylistSong$collection { final l$id = id; final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$code, - l$$__typename, - ]); + return Object.hashAll([l$id, l$code, l$$__typename]); } @override @@ -519,10 +532,7 @@ class Fragment$PlaylistSong$collection { extension UtilityExtension$Fragment$PlaylistSong$collection on Fragment$PlaylistSong$collection { CopyWith$Fragment$PlaylistSong$collection - get copyWith => CopyWith$Fragment$PlaylistSong$collection( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$PlaylistSong$collection(this, (i) => i); } abstract class CopyWith$Fragment$PlaylistSong$collection { @@ -534,19 +544,12 @@ abstract class CopyWith$Fragment$PlaylistSong$collection { factory CopyWith$Fragment$PlaylistSong$collection.stub(TRes res) = _CopyWithStubImpl$Fragment$PlaylistSong$collection; - TRes call({ - String? id, - String? code, - String? $__typename, - }); + TRes call({String? id, String? code, String? $__typename}); } class _CopyWithImpl$Fragment$PlaylistSong$collection implements CopyWith$Fragment$PlaylistSong$collection { - _CopyWithImpl$Fragment$PlaylistSong$collection( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlaylistSong$collection(this._instance, this._then); final Fragment$PlaylistSong$collection _instance; @@ -558,16 +561,17 @@ class _CopyWithImpl$Fragment$PlaylistSong$collection Object? id = _undefined, Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlaylistSong$collection( - id: id == _undefined || id == null ? _instance.id : (id as String), - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlaylistSong$collection( + id: id == _undefined || id == null ? _instance.id : (id as String), + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlaylistSong$collection @@ -576,12 +580,7 @@ class _CopyWithStubImpl$Fragment$PlaylistSong$collection TRes _res; - call({ - String? id, - String? code, - String? $__typename, - }) => - _res; + call({String? id, String? code, String? $__typename}) => _res; } class Fragment$PlaylistSong$contributors { @@ -592,7 +591,8 @@ class Fragment$PlaylistSong$contributors { }); factory Fragment$PlaylistSong$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -601,7 +601,8 @@ class Fragment$PlaylistSong$contributors { .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), person: Fragment$PlaylistSong$contributors$person.fromJson( - (l$person as Map)), + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -675,11 +676,9 @@ class Fragment$PlaylistSong$contributors { extension UtilityExtension$Fragment$PlaylistSong$contributors on Fragment$PlaylistSong$contributors { CopyWith$Fragment$PlaylistSong$contributors< - Fragment$PlaylistSong$contributors> - get copyWith => CopyWith$Fragment$PlaylistSong$contributors( - this, - (i) => i, - ); + Fragment$PlaylistSong$contributors + > + get copyWith => CopyWith$Fragment$PlaylistSong$contributors(this, (i) => i); } abstract class CopyWith$Fragment$PlaylistSong$contributors { @@ -701,10 +700,7 @@ abstract class CopyWith$Fragment$PlaylistSong$contributors { class _CopyWithImpl$Fragment$PlaylistSong$contributors implements CopyWith$Fragment$PlaylistSong$contributors { - _CopyWithImpl$Fragment$PlaylistSong$contributors( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlaylistSong$contributors(this._instance, this._then); final Fragment$PlaylistSong$contributors _instance; @@ -716,24 +712,27 @@ class _CopyWithImpl$Fragment$PlaylistSong$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlaylistSong$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person as Fragment$PlaylistSong$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlaylistSong$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Fragment$PlaylistSong$contributors$person), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$PlaylistSong$contributors$person get person { final local$person = _instance.person; return CopyWith$Fragment$PlaylistSong$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } @@ -747,8 +746,7 @@ class _CopyWithStubImpl$Fragment$PlaylistSong$contributors List? contributionTypes, Fragment$PlaylistSong$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$PlaylistSong$contributors$person get person => CopyWith$Fragment$PlaylistSong$contributors$person.stub(_res); @@ -762,7 +760,8 @@ class Fragment$PlaylistSong$contributors$person { }); factory Fragment$PlaylistSong$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$name = json['name']; final l$$__typename = json['__typename']; @@ -795,11 +794,7 @@ class Fragment$PlaylistSong$contributors$person { final l$id = id; final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$name, - l$$__typename, - ]); + return Object.hashAll([l$id, l$name, l$$__typename]); } @override @@ -833,11 +828,10 @@ class Fragment$PlaylistSong$contributors$person { extension UtilityExtension$Fragment$PlaylistSong$contributors$person on Fragment$PlaylistSong$contributors$person { CopyWith$Fragment$PlaylistSong$contributors$person< - Fragment$PlaylistSong$contributors$person> - get copyWith => CopyWith$Fragment$PlaylistSong$contributors$person( - this, - (i) => i, - ); + Fragment$PlaylistSong$contributors$person + > + get copyWith => + CopyWith$Fragment$PlaylistSong$contributors$person(this, (i) => i); } abstract class CopyWith$Fragment$PlaylistSong$contributors$person { @@ -849,11 +843,7 @@ abstract class CopyWith$Fragment$PlaylistSong$contributors$person { factory CopyWith$Fragment$PlaylistSong$contributors$person.stub(TRes res) = _CopyWithStubImpl$Fragment$PlaylistSong$contributors$person; - TRes call({ - String? id, - String? name, - String? $__typename, - }); + TRes call({String? id, String? name, String? $__typename}); } class _CopyWithImpl$Fragment$PlaylistSong$contributors$person @@ -873,16 +863,17 @@ class _CopyWithImpl$Fragment$PlaylistSong$contributors$person Object? id = _undefined, Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlaylistSong$contributors$person( - id: id == _undefined || id == null ? _instance.id : (id as String), - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlaylistSong$contributors$person( + id: id == _undefined || id == null ? _instance.id : (id as String), + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$PlaylistSong$contributors$person @@ -891,12 +882,7 @@ class _CopyWithStubImpl$Fragment$PlaylistSong$contributors$person TRes _res; - call({ - String? id, - String? name, - String? $__typename, - }) => - _res; + call({String? id, String? name, String? $__typename}) => _res; } class Variables$Query$GetPlaylist { @@ -904,12 +890,11 @@ class Variables$Query$GetPlaylist { required String id, int? first, String? cursor, - }) => - Variables$Query$GetPlaylist._({ - r'id': id, - if (first != null) r'first': first, - if (cursor != null) r'cursor': cursor, - }); + }) => Variables$Query$GetPlaylist._({ + r'id': id, + if (first != null) r'first': first, + if (cursor != null) r'cursor': cursor, + }); Variables$Query$GetPlaylist._(this._$data); @@ -952,10 +937,7 @@ class Variables$Query$GetPlaylist { } CopyWith$Variables$Query$GetPlaylist - get copyWith => CopyWith$Variables$Query$GetPlaylist( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetPlaylist(this, (i) => i); @override bool operator ==(Object other) { @@ -1012,19 +994,12 @@ abstract class CopyWith$Variables$Query$GetPlaylist { factory CopyWith$Variables$Query$GetPlaylist.stub(TRes res) = _CopyWithStubImpl$Variables$Query$GetPlaylist; - TRes call({ - String? id, - int? first, - String? cursor, - }); + TRes call({String? id, int? first, String? cursor}); } class _CopyWithImpl$Variables$Query$GetPlaylist implements CopyWith$Variables$Query$GetPlaylist { - _CopyWithImpl$Variables$Query$GetPlaylist( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetPlaylist(this._instance, this._then); final Variables$Query$GetPlaylist _instance; @@ -1036,13 +1011,14 @@ class _CopyWithImpl$Variables$Query$GetPlaylist Object? id = _undefined, Object? first = _undefined, Object? cursor = _undefined, - }) => - _then(Variables$Query$GetPlaylist._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (first != _undefined) 'first': (first as int?), - if (cursor != _undefined) 'cursor': (cursor as String?), - })); + }) => _then( + Variables$Query$GetPlaylist._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (first != _undefined) 'first': (first as int?), + if (cursor != _undefined) 'cursor': (cursor as String?), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetPlaylist @@ -1051,26 +1027,19 @@ class _CopyWithStubImpl$Variables$Query$GetPlaylist TRes _res; - call({ - String? id, - int? first, - String? cursor, - }) => - _res; + call({String? id, int? first, String? cursor}) => _res; } class Query$GetPlaylist { - Query$GetPlaylist({ - required this.playlist, - this.$__typename = 'QueryRoot', - }); + Query$GetPlaylist({required this.playlist, this.$__typename = 'QueryRoot'}); factory Query$GetPlaylist.fromJson(Map json) { final l$playlist = json['playlist']; final l$$__typename = json['__typename']; return Query$GetPlaylist( playlist: Query$GetPlaylist$playlist.fromJson( - (l$playlist as Map)), + (l$playlist as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1092,10 +1061,7 @@ class Query$GetPlaylist { int get hashCode { final l$playlist = playlist; final l$$__typename = $__typename; - return Object.hashAll([ - l$playlist, - l$$__typename, - ]); + return Object.hashAll([l$playlist, l$$__typename]); } @override @@ -1122,10 +1088,7 @@ class Query$GetPlaylist { extension UtilityExtension$Query$GetPlaylist on Query$GetPlaylist { CopyWith$Query$GetPlaylist get copyWith => - CopyWith$Query$GetPlaylist( - this, - (i) => i, - ); + CopyWith$Query$GetPlaylist(this, (i) => i); } abstract class CopyWith$Query$GetPlaylist { @@ -1137,19 +1100,13 @@ abstract class CopyWith$Query$GetPlaylist { factory CopyWith$Query$GetPlaylist.stub(TRes res) = _CopyWithStubImpl$Query$GetPlaylist; - TRes call({ - Query$GetPlaylist$playlist? playlist, - String? $__typename, - }); + TRes call({Query$GetPlaylist$playlist? playlist, String? $__typename}); CopyWith$Query$GetPlaylist$playlist get playlist; } class _CopyWithImpl$Query$GetPlaylist implements CopyWith$Query$GetPlaylist { - _CopyWithImpl$Query$GetPlaylist( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPlaylist(this._instance, this._then); final Query$GetPlaylist _instance; @@ -1160,20 +1117,23 @@ class _CopyWithImpl$Query$GetPlaylist TRes call({ Object? playlist = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist( - playlist: playlist == _undefined || playlist == null - ? _instance.playlist - : (playlist as Query$GetPlaylist$playlist), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylist( + playlist: playlist == _undefined || playlist == null + ? _instance.playlist + : (playlist as Query$GetPlaylist$playlist), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPlaylist$playlist get playlist { final local$playlist = _instance.playlist; return CopyWith$Query$GetPlaylist$playlist( - local$playlist, (e) => call(playlist: e)); + local$playlist, + (e) => call(playlist: e), + ); } } @@ -1183,248 +1143,267 @@ class _CopyWithStubImpl$Query$GetPlaylist TRes _res; - call({ - Query$GetPlaylist$playlist? playlist, - String? $__typename, - }) => - _res; + call({Query$GetPlaylist$playlist? playlist, String? $__typename}) => _res; CopyWith$Query$GetPlaylist$playlist get playlist => CopyWith$Query$GetPlaylist$playlist.stub(_res); } -const documentNodeQueryGetPlaylist = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetPlaylist'), - 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: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, +const documentNodeQueryGetPlaylist = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetPlaylist'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'cursor')), - type: NamedTypeNode( - name: NameNode(value: 'Cursor'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'playlist'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'cursor')), + type: NamedTypeNode( + name: NameNode(value: 'Cursor'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'cursor'), - value: VariableNode(name: NameNode(value: 'cursor')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'total'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'first'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'nextCursor'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'hasNext'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'items'), - 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: 'Episode'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'PlayableMediaItem'), - directives: [], - ), - FieldNode( - name: NameNode(value: 'copyrightHolder'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'playlist'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'cursor'), + value: VariableNode(name: NameNode(value: 'cursor')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'songs'), + name: NameNode(value: 'total'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'PlaylistSong'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: null, ), FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'first'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Short'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'nextCursor'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'hasNext'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: 'songs'), + name: NameNode(value: 'items'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'PlaylistSong'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'PlayableMediaItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'copyrightHolder'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'songs'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'PlaylistSong'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Short'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'songs'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'PlaylistSong'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1433,18 +1412,18 @@ const documentNodeQueryGetPlaylist = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1453,21 +1432,14 @@ const documentNodeQueryGetPlaylist = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionPlayableMediaItem, - fragmentDefinitionBasicStream, - fragmentDefinitionPlaylistSong, -]); + ), + fragmentDefinitionPlayableMediaItem, + fragmentDefinitionBasicStream, + fragmentDefinitionPlaylistSong, + ], +); Query$GetPlaylist _parserFn$Query$GetPlaylist(Map data) => Query$GetPlaylist.fromJson(data); typedef OnQueryComplete$Query$GetPlaylist = FutureOr Function( @@ -1489,36 +1461,36 @@ class Options$Query$GetPlaylist graphql.Context? context, OnQueryComplete$Query$GetPlaylist? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetPlaylist(data), - ), - onError: onError, - document: documentNodeQueryGetPlaylist, - parserFn: _parserFn$Query$GetPlaylist, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetPlaylist(data), + ), + onError: onError, + document: documentNodeQueryGetPlaylist, + parserFn: _parserFn$Query$GetPlaylist, + ); final OnQueryComplete$Query$GetPlaylist? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetPlaylist @@ -1537,20 +1509,20 @@ class WatchOptions$Query$GetPlaylist bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetPlaylist, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetPlaylist, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetPlaylist, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetPlaylist, + ); } class FetchMoreOptions$Query$GetPlaylist extends graphql.FetchMoreOptions { @@ -1558,34 +1530,33 @@ class FetchMoreOptions$Query$GetPlaylist extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetPlaylist variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetPlaylist, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetPlaylist, + ); } extension ClientExtension$Query$GetPlaylist on graphql.GraphQLClient { Future> query$GetPlaylist( - Options$Query$GetPlaylist options) async => - await this.query(options); + Options$Query$GetPlaylist options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetPlaylist( - WatchOptions$Query$GetPlaylist options) => - this.watchQuery(options); + WatchOptions$Query$GetPlaylist options, + ) => this.watchQuery(options); void writeQuery$GetPlaylist({ required Query$GetPlaylist data, required Variables$Query$GetPlaylist variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetPlaylist), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetPlaylist), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetPlaylist? readQuery$GetPlaylist({ required Variables$Query$GetPlaylist variables, @@ -1603,11 +1574,11 @@ extension ClientExtension$Query$GetPlaylist on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetPlaylist( - Options$Query$GetPlaylist options) => - graphql_flutter.useQuery(options); + Options$Query$GetPlaylist options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetPlaylist( - WatchOptions$Query$GetPlaylist options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetPlaylist options, +) => graphql_flutter.useWatchQuery(options); class Query$GetPlaylist$Widget extends graphql_flutter.Query { @@ -1615,11 +1586,7 @@ class Query$GetPlaylist$Widget widgets.Key? key, required Options$Query$GetPlaylist options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetPlaylist$playlist { @@ -1645,7 +1612,8 @@ class Query$GetPlaylist$playlist { description: (l$description as String?), image: (l$image as String?), items: Query$GetPlaylist$playlist$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1743,10 +1711,7 @@ class Query$GetPlaylist$playlist { extension UtilityExtension$Query$GetPlaylist$playlist on Query$GetPlaylist$playlist { CopyWith$Query$GetPlaylist$playlist - get copyWith => CopyWith$Query$GetPlaylist$playlist( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetPlaylist$playlist(this, (i) => i); } abstract class CopyWith$Query$GetPlaylist$playlist { @@ -1771,10 +1736,7 @@ abstract class CopyWith$Query$GetPlaylist$playlist { class _CopyWithImpl$Query$GetPlaylist$playlist implements CopyWith$Query$GetPlaylist$playlist { - _CopyWithImpl$Query$GetPlaylist$playlist( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPlaylist$playlist(this._instance, this._then); final Query$GetPlaylist$playlist _instance; @@ -1789,28 +1751,31 @@ class _CopyWithImpl$Query$GetPlaylist$playlist Object? image = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - image: image == _undefined ? _instance.image : (image as String?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetPlaylist$playlist$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylist$playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + image: image == _undefined ? _instance.image : (image as String?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetPlaylist$playlist$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPlaylist$playlist$items get items { final local$items = _instance.items; return CopyWith$Query$GetPlaylist$playlist$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -1827,8 +1792,7 @@ class _CopyWithStubImpl$Query$GetPlaylist$playlist String? image, Query$GetPlaylist$playlist$items? items, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetPlaylist$playlist$items get items => CopyWith$Query$GetPlaylist$playlist$items.stub(_res); @@ -1857,8 +1821,11 @@ class Query$GetPlaylist$playlist$items { nextCursor: (l$nextCursor as String), hasNext: (l$hasNext as bool), items: (l$items as List) - .map((e) => Query$GetPlaylist$playlist$items$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetPlaylist$playlist$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1964,10 +1931,7 @@ class Query$GetPlaylist$playlist$items { extension UtilityExtension$Query$GetPlaylist$playlist$items on Query$GetPlaylist$playlist$items { CopyWith$Query$GetPlaylist$playlist$items - get copyWith => CopyWith$Query$GetPlaylist$playlist$items( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetPlaylist$playlist$items(this, (i) => i); } abstract class CopyWith$Query$GetPlaylist$playlist$items { @@ -1988,19 +1952,20 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetPlaylist$playlist$items$items< - Query$GetPlaylist$playlist$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetPlaylist$playlist$items$items< + Query$GetPlaylist$playlist$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetPlaylist$playlist$items implements CopyWith$Query$GetPlaylist$playlist$items { - _CopyWithImpl$Query$GetPlaylist$playlist$items( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetPlaylist$playlist$items(this._instance, this._then); final Query$GetPlaylist$playlist$items _instance; @@ -2015,40 +1980,45 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items Object? hasNext = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - nextCursor: nextCursor == _undefined || nextCursor == null - ? _instance.nextCursor - : (nextCursor as String), - hasNext: hasNext == _undefined || hasNext == null - ? _instance.hasNext - : (hasNext as bool), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylist$playlist$items( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + nextCursor: nextCursor == _undefined || nextCursor == null + ? _instance.nextCursor + : (nextCursor as String), + hasNext: hasNext == _undefined || hasNext == null + ? _instance.hasNext + : (hasNext as bool), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetPlaylist$playlist$items$items< - Query$GetPlaylist$playlist$items$items>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Query$GetPlaylist$playlist$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetPlaylist$playlist$items$items< + Query$GetPlaylist$playlist$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetPlaylist$playlist$items$items(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items @@ -2064,8 +2034,7 @@ class _CopyWithStubImpl$Query$GetPlaylist$playlist$items bool? hasNext, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -2074,7 +2043,8 @@ class Query$GetPlaylist$playlist$items$items { Query$GetPlaylist$playlist$items$items({required this.$__typename}); factory Query$GetPlaylist$playlist$items$items.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": return Query$GetPlaylist$playlist$items$items$$Episode.fromJson(json); @@ -2085,7 +2055,8 @@ class Query$GetPlaylist$playlist$items$items { default: final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -2125,15 +2096,14 @@ class Query$GetPlaylist$playlist$items$items { extension UtilityExtension$Query$GetPlaylist$playlist$items$items on Query$GetPlaylist$playlist$items$items { CopyWith$Query$GetPlaylist$playlist$items$items< - Query$GetPlaylist$playlist$items$items> - get copyWith => CopyWith$Query$GetPlaylist$playlist$items$items( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items(this, (i) => i); _T when<_T>({ required _T Function(Query$GetPlaylist$playlist$items$items$$Episode) - episode, + episode, required _T Function(Query$GetPlaylist$playlist$items$items$$Short) short, required _T Function() orElse, }) { @@ -2158,7 +2128,8 @@ extension UtilityExtension$Query$GetPlaylist$playlist$items$items case "Episode": if (episode != null) { return episode( - this as Query$GetPlaylist$playlist$items$items$$Episode); + this as Query$GetPlaylist$playlist$items$items$$Episode, + ); } else { return orElse(); } @@ -2201,11 +2172,13 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetPlaylist$playlist$items$items( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetPlaylist$playlist$items$items( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items @@ -2238,7 +2211,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode }); factory Query$GetPlaylist$playlist$items$items$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$streams = json['streams']; final l$title = json['title']; @@ -2256,7 +2230,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), originalTitle: (l$originalTitle as String), @@ -2265,25 +2240,32 @@ class Query$GetPlaylist$playlist$items$items$$Episode context: l$context == null ? null : Query$GetPlaylist$playlist$items$items$$Episode$context.fromJson( - (l$context as Map)), + (l$context as Map), + ), duration: (l$duration as int), season: l$season == null ? null : Query$GetPlaylist$playlist$items$items$$Episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), contributors: (l$contributors as List) - .map((e) => - Query$GetPlaylist$playlist$items$items$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetPlaylist$playlist$items$items$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), copyrightHolder: l$copyrightHolder == null ? null - : Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - .fromJson((l$copyrightHolder as Map)), + : Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder.fromJson( + (l$copyrightHolder as Map), + ), songs: (l$songs as List) - .map((e) => - Fragment$PlaylistSong.fromJson((e as Map))) + .map( + (e) => Fragment$PlaylistSong.fromJson((e as Map)), + ) .toList(), ); } @@ -2307,12 +2289,12 @@ class Query$GetPlaylist$playlist$items$items$$Episode final Query$GetPlaylist$playlist$items$items$$Episode$season? season; final List - contributors; + contributors; final String $__typename; final Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder? - copyrightHolder; + copyrightHolder; final List songs; @@ -2337,8 +2319,9 @@ class Query$GetPlaylist$playlist$items$items$$Episode final l$season = season; _resultData['season'] = l$season?.toJson(); final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; final l$copyrightHolder = copyrightHolder; @@ -2482,11 +2465,10 @@ class Query$GetPlaylist$playlist$items$items$$Episode extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode on Query$GetPlaylist$playlist$items$items$$Episode { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode< - Query$GetPlaylist$playlist$items$items$$Episode> - get copyWith => CopyWith$Query$GetPlaylist$playlist$items$items$$Episode( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode(this, (i) => i); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode { @@ -2496,8 +2478,8 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode { ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode; TRes call({ String? id, @@ -2510,32 +2492,41 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode { int? duration, Query$GetPlaylist$playlist$items$items$$Episode$season? season, List? - contributors, + contributors, String? $__typename, Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder? - copyrightHolder, + copyrightHolder, List? songs, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context - get context; + get context; CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season - get season; + get season; TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - Query$GetPlaylist$playlist$items$items$$Episode$contributors>>) - _fn); + Iterable + Function( + Iterable< + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< + Query$GetPlaylist$playlist$items$items$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - get copyrightHolder; + get copyrightHolder; TRes songs( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode @@ -2565,113 +2556,133 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode Object? $__typename = _undefined, Object? copyrightHolder = _undefined, Object? songs = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - originalTitle: originalTitle == _undefined || originalTitle == null - ? _instance.originalTitle - : (originalTitle as String), - image: image == _undefined ? _instance.image : (image as String?), - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - context: context == _undefined - ? _instance.context - : (context + }) => _then( + Query$GetPlaylist$playlist$items$items$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + originalTitle: originalTitle == _undefined || originalTitle == null + ? _instance.originalTitle + : (originalTitle as String), + image: image == _undefined ? _instance.image : (image as String?), + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + context: context == _undefined + ? _instance.context + : (context as Query$GetPlaylist$playlist$items$items$$Episode$context?), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - season: season == _undefined - ? _instance.season - : (season - as Query$GetPlaylist$playlist$items$items$$Episode$season?), - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetPlaylist$playlist$items$items$$Episode$contributors>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - copyrightHolder: copyrightHolder == _undefined - ? _instance.copyrightHolder - : (copyrightHolder + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + season: season == _undefined + ? _instance.season + : (season as Query$GetPlaylist$playlist$items$items$$Episode$season?), + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetPlaylist$playlist$items$items$$Episode$contributors + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + copyrightHolder: copyrightHolder == _undefined + ? _instance.copyrightHolder + : (copyrightHolder as Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder?), - songs: songs == _undefined || songs == null - ? _instance.songs - : (songs as List), - )); + songs: songs == _undefined || songs == null + ? _instance.songs + : (songs as List), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context - get context { + get context { final local$context = _instance.context; return local$context == null ? CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context( - local$context, (e) => call(context: e)); + local$context, + (e) => call(context: e), + ); } CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season - get season { + get season { final local$season = _instance.season; return local$season == null ? CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - Query$GetPlaylist$playlist$items$items$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable + Function( + Iterable< + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< + Query$GetPlaylist$playlist$items$items$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - get copyrightHolder { + get copyrightHolder { final local$copyrightHolder = _instance.copyrightHolder; return local$copyrightHolder == null - ? CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - .stub(_then(_instance)) + ? CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder.stub( + _then(_instance), + ) : CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( - local$copyrightHolder, (e) => call(copyrightHolder: e)); + local$copyrightHolder, + (e) => call(copyrightHolder: e), + ); } TRes songs( - Iterable Function( - Iterable< - CopyWith$Fragment$PlaylistSong>) - _fn) => - call( - songs: _fn(_instance.songs.map((e) => CopyWith$Fragment$PlaylistSong( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + songs: _fn( + _instance.songs.map((e) => CopyWith$Fragment$PlaylistSong(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode @@ -2691,60 +2702,68 @@ class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode int? duration, Query$GetPlaylist$playlist$items$items$$Episode$season? season, List? - contributors, + contributors, String? $__typename, Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder? - copyrightHolder, + copyrightHolder, List? songs, - }) => - _res; + }) => _res; streams(_fn) => _res; CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context - get context => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context.stub( - _res); + get context => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context.stub( + _res, + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season - get season => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season.stub( - _res); + get season => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season.stub( + _res, + ); contributors(_fn) => _res; CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - get copyrightHolder => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - .stub(_res); + get copyrightHolder => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder.stub( + _res, + ); songs(_fn) => _res; } class Query$GetPlaylist$playlist$items$items$$Episode$context implements Fragment$PlayableMediaItem$$Episode$context { - Query$GetPlaylist$playlist$items$items$$Episode$context( - {required this.$__typename}); + Query$GetPlaylist$playlist$items$items$$Episode$context({ + required this.$__typename, + }); factory Query$GetPlaylist$playlist$items$items$$Episode$context.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "ContextCollection": - return Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection - .fromJson(json); + return Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection.fromJson( + json, + ); case "Season": - return Query$GetPlaylist$playlist$items$items$$Episode$context$$Season - .fromJson(json); + return Query$GetPlaylist$playlist$items$items$$Episode$context$$Season.fromJson( + json, + ); case "Playlist": - return Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist - .fromJson(json); + return Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items$$Episode$context( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -2784,37 +2803,47 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$context on Query$GetPlaylist$playlist$items$items$$Episode$context { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context< - Query$GetPlaylist$playlist$items$items$$Episode$context> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$context + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection) - contextCollection, + Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection, + ) + contextCollection, required _T Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Season) - season, + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season, + ) + season, required _T Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist) - playlist, + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist, + ) + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": - return contextCollection(this - as Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection); + return contextCollection( + this + as Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection, + ); case "Season": - return season(this - as Query$GetPlaylist$playlist$items$items$$Episode$context$$Season); + return season( + this + as Query$GetPlaylist$playlist$items$items$$Episode$context$$Season, + ); case "Playlist": - return playlist(this - as Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist); + return playlist( + this + as Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist, + ); default: return orElse(); @@ -2823,37 +2852,46 @@ extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$conte _T maybeWhen<_T>({ _T Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection)? - contextCollection, + Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection, + )? + contextCollection, _T Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Season)? - season, + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season, + )? + season, _T Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist)? - playlist, + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist, + )? + playlist, required _T Function() orElse, }) { switch ($__typename) { case "ContextCollection": if (contextCollection != null) { - return contextCollection(this - as Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection); + return contextCollection( + this + as Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetPlaylist$playlist$items$items$$Episode$context$$Season); + return season( + this + as Query$GetPlaylist$playlist$items$items$$Episode$context$$Season, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist); + return playlist( + this + as Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist, + ); } else { return orElse(); } @@ -2865,21 +2903,23 @@ extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$conte } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context( Query$GetPlaylist$playlist$items$items$$Episode$context instance, TRes Function(Query$GetPlaylist$playlist$items$items$$Episode$context) then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context( @@ -2890,23 +2930,27 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context< final Query$GetPlaylist$playlist$items$items$$Episode$context _instance; final TRes Function(Query$GetPlaylist$playlist$items$items$$Episode$context) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$context( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$context( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context( - this._res); + this._res, + ); TRes _res; @@ -2923,7 +2967,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection }); factory Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( @@ -2949,10 +2994,7 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2982,95 +3024,100 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection on Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection< - Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection - instance, + instance, TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection) - then, + Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection, + ) + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( this._instance, this._then, ); final Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection - _instance; + _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection) - _then; + Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$ContextCollection( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetPlaylist$playlist$items$items$$Episode$context$$Season implements Fragment$PlayableMediaItem$$Episode$context$$Season, Query$GetPlaylist$playlist$items$items$$Episode$context { - Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( - {this.$__typename = 'Season'}); + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season({ + this.$__typename = 'Season', + }); factory Query$GetPlaylist$playlist$items$items$$Episode$context$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -3110,62 +3157,74 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context$$Season extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season on Query$GetPlaylist$playlist$items$items$$Episode$context$$Season { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season< - Query$GetPlaylist$playlist$items$items$$Episode$context$$Season> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( Query$GetPlaylist$playlist$items$items$$Episode$context$$Season instance, TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Season) - then, + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season, + ) + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( this._instance, this._then, ); final Query$GetPlaylist$playlist$items$items$$Episode$context$$Season - _instance; + _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Season) _then; + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Season( - this._res); + this._res, + ); TRes _res; @@ -3176,14 +3235,17 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist implements Fragment$PlayableMediaItem$$Episode$context$$Playlist, Query$GetPlaylist$playlist$items$items$$Episode$context { - Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( - {this.$__typename = 'Playlist'}); + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist({ + this.$__typename = 'Playlist', + }); factory Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -3223,62 +3285,74 @@ class Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist on Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist< - Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist instance, TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist) - then, + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( this._instance, this._then, ); final Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist - _instance; + _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist) _then; + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$context$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -3295,7 +3369,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season }); factory Query$GetPlaylist$playlist$items$items$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$show = json['show']; @@ -3305,7 +3380,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season title: (l$title as String), $show: Query$GetPlaylist$playlist$items$items$$Episode$season$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3337,12 +3413,7 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season final l$title = title; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$show, l$$__typename]); } @override @@ -3381,24 +3452,26 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$season on Query$GetPlaylist$playlist$items$items$$Episode$season { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season< - Query$GetPlaylist$playlist$items$items$$Episode$season> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$season + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season( Query$GetPlaylist$playlist$items$items$$Episode$season instance, TRes Function(Query$GetPlaylist$playlist$items$items$$Episode$season) then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season; TRes call({ String? id, @@ -3407,7 +3480,7 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season< String? $__typename, }); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show - get $show; + get $show; } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season @@ -3421,7 +3494,7 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season final Query$GetPlaylist$playlist$items$items$$Episode$season _instance; final TRes Function(Query$GetPlaylist$playlist$items$items$$Episode$season) - _then; + _then; static const _undefined = {}; @@ -3430,35 +3503,40 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season Object? title = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetPlaylist$playlist$items$items$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show - get $show { + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season( - this._res); + this._res, + ); TRes _res; @@ -3467,13 +3545,13 @@ class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season< String? title, Query$GetPlaylist$playlist$items$items$$Episode$season$show? $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show - get $show => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show - .stub(_res); + get $show => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show.stub( + _res, + ); } class Query$GetPlaylist$playlist$items$items$$Episode$season$show @@ -3485,7 +3563,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season$show }); factory Query$GetPlaylist$playlist$items$items$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -3518,11 +3597,7 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season$show final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -3556,38 +3631,38 @@ class Query$GetPlaylist$playlist$items$items$$Episode$season$show extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$season$show on Query$GetPlaylist$playlist$items$items$$Episode$season$show { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show< - Query$GetPlaylist$playlist$items$items$$Episode$season$show> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show( Query$GetPlaylist$playlist$items$items$$Episode$season$show instance, TRes Function(Query$GetPlaylist$playlist$items$items$$Episode$season$show) - then, + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show( this._instance, this._then, @@ -3596,7 +3671,9 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show< final Query$GetPlaylist$playlist$items$items$$Episode$season$show _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$season$show) _then; + Query$GetPlaylist$playlist$items$items$$Episode$season$show, + ) + _then; static const _undefined = {}; @@ -3604,34 +3681,33 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show< Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$season$show( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$season$show( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Query$GetPlaylist$playlist$items$items$$Episode$contributors @@ -3643,7 +3719,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors }); factory Query$GetPlaylist$playlist$items$items$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$contributionTypes = json['contributionTypes']; final l$person = json['person']; final l$$__typename = json['__typename']; @@ -3652,8 +3729,9 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), person: - Query$GetPlaylist$playlist$items$items$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetPlaylist$playlist$items$items$$Episode$contributors$person.fromJson( + (l$person as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3661,7 +3739,7 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors final List contributionTypes; final Query$GetPlaylist$playlist$items$items$$Episode$contributors$person - person; + person; final String $__typename; @@ -3729,25 +3807,27 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$contributors on Query$GetPlaylist$playlist$items$items$$Episode$contributors { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - Query$GetPlaylist$playlist$items$items$$Episode$contributors> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors( Query$GetPlaylist$playlist$items$items$$Episode$contributors instance, TRes Function(Query$GetPlaylist$playlist$items$items$$Episode$contributors) - then, + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors; TRes call({ List? contributionTypes, @@ -3755,14 +3835,18 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contribu String? $__typename, }); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors( this._instance, this._then, @@ -3771,7 +3855,9 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors final Query$GetPlaylist$playlist$items$items$$Episode$contributors _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$contributors) _then; + Query$GetPlaylist$playlist$items$items$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -3779,36 +3865,44 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors Object? contributionTypes = _undefined, Object? person = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$contributors( - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetPlaylist$playlist$items$items$$Episode$contributors( + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetPlaylist$playlist$items$items$$Episode$contributors$person), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors( - this._res); + this._res, + ); TRes _res; @@ -3816,14 +3910,15 @@ class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contribu List? contributionTypes, Query$GetPlaylist$playlist$items$items$$Episode$contributors$person? person, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person.stub( + _res, + ); } class Query$GetPlaylist$playlist$items$items$$Episode$contributors$person @@ -3834,7 +3929,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors$person }); factory Query$GetPlaylist$playlist$items$items$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( @@ -3860,10 +3956,7 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors$person int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -3893,82 +3986,83 @@ class Query$GetPlaylist$playlist$items$items$$Episode$contributors$person extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person on Query$GetPlaylist$playlist$items$items$$Episode$contributors$person { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - Query$GetPlaylist$playlist$items$items$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( Query$GetPlaylist$playlist$items$items$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$contributors$person) - then, + Query$GetPlaylist$playlist$items$items$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( this._instance, this._then, ); final Query$GetPlaylist$playlist$items$items$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$contributors$person) - _then; + Query$GetPlaylist$playlist$items$items$$Episode$contributors$person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder { @@ -3978,7 +4072,8 @@ class Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder { }); factory Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( @@ -4004,10 +4099,7 @@ class Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder { int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -4037,80 +4129,82 @@ class Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder { extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder on Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder { CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder< - Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder> - get copyWith => - CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder< - TRes> { + TRes +> { factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder instance, TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder) - then, + Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder, + ) + then, ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder< - TRes> { + TRes + > { _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( this._instance, this._then, ); final Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder - _instance; + _instance; final TRes Function( - Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder) _then; + Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder, + ) + _then; static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? name = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder< - TRes> + TRes +> implements CopyWith$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Episode$copyrightHolder( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetPlaylist$playlist$items$items$$Short @@ -4123,7 +4217,8 @@ class Query$GetPlaylist$playlist$items$items$$Short }); factory Query$GetPlaylist$playlist$items$items$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$songs = json['songs']; @@ -4132,8 +4227,9 @@ class Query$GetPlaylist$playlist$items$items$$Short id: (l$id as String), title: (l$title as String), songs: (l$songs as List) - .map((e) => - Fragment$PlaylistSong.fromJson((e as Map))) + .map( + (e) => Fragment$PlaylistSong.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -4217,11 +4313,10 @@ class Query$GetPlaylist$playlist$items$items$$Short extension UtilityExtension$Query$GetPlaylist$playlist$items$items$$Short on Query$GetPlaylist$playlist$items$items$$Short { CopyWith$Query$GetPlaylist$playlist$items$items$$Short< - Query$GetPlaylist$playlist$items$items$$Short> - get copyWith => CopyWith$Query$GetPlaylist$playlist$items$items$$Short( - this, - (i) => i, - ); + Query$GetPlaylist$playlist$items$items$$Short + > + get copyWith => + CopyWith$Query$GetPlaylist$playlist$items$items$$Short(this, (i) => i); } abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Short { @@ -4231,8 +4326,8 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Short { ) = _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Short; factory CopyWith$Query$GetPlaylist$playlist$items$items$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Short; TRes call({ String? id, @@ -4241,9 +4336,11 @@ abstract class CopyWith$Query$GetPlaylist$playlist$items$items$$Short { String? $__typename, }); TRes songs( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Short @@ -4264,30 +4361,31 @@ class _CopyWithImpl$Query$GetPlaylist$playlist$items$items$$Short Object? title = _undefined, Object? songs = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetPlaylist$playlist$items$items$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - songs: songs == _undefined || songs == null - ? _instance.songs - : (songs as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetPlaylist$playlist$items$items$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + songs: songs == _undefined || songs == null + ? _instance.songs + : (songs as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes songs( - Iterable Function( - Iterable< - CopyWith$Fragment$PlaylistSong>) - _fn) => - call( - songs: _fn(_instance.songs.map((e) => CopyWith$Fragment$PlaylistSong( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + songs: _fn( + _instance.songs.map((e) => CopyWith$Fragment$PlaylistSong(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Short @@ -4301,8 +4399,7 @@ class _CopyWithStubImpl$Query$GetPlaylist$playlist$items$items$$Short String? title, List? songs, String? $__typename, - }) => - _res; + }) => _res; songs(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/progress.graphql.dart b/bccm_core/lib/src/features/graphql/queries/progress.graphql.dart index 1d39094..694903f 100644 --- a/bccm_core/lib/src/features/graphql/queries/progress.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/progress.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -9,17 +10,17 @@ class Variables$Mutation$setEpisodeProgress { required String id, int? duration, int? progress, - }) => - Variables$Mutation$setEpisodeProgress._({ - r'id': id, - if (duration != null) r'duration': duration, - if (progress != null) r'progress': progress, - }); + }) => Variables$Mutation$setEpisodeProgress._({ + r'id': id, + if (duration != null) r'duration': duration, + if (progress != null) r'progress': progress, + }); Variables$Mutation$setEpisodeProgress._(this._$data); factory Variables$Mutation$setEpisodeProgress.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -58,11 +59,10 @@ class Variables$Mutation$setEpisodeProgress { } CopyWith$Variables$Mutation$setEpisodeProgress< - Variables$Mutation$setEpisodeProgress> - get copyWith => CopyWith$Variables$Mutation$setEpisodeProgress( - this, - (i) => i, - ); + Variables$Mutation$setEpisodeProgress + > + get copyWith => + CopyWith$Variables$Mutation$setEpisodeProgress(this, (i) => i); @override bool operator ==(Object other) { @@ -121,11 +121,7 @@ abstract class CopyWith$Variables$Mutation$setEpisodeProgress { factory CopyWith$Variables$Mutation$setEpisodeProgress.stub(TRes res) = _CopyWithStubImpl$Variables$Mutation$setEpisodeProgress; - TRes call({ - String? id, - int? duration, - int? progress, - }); + TRes call({String? id, int? duration, int? progress}); } class _CopyWithImpl$Variables$Mutation$setEpisodeProgress @@ -145,13 +141,14 @@ class _CopyWithImpl$Variables$Mutation$setEpisodeProgress Object? id = _undefined, Object? duration = _undefined, Object? progress = _undefined, - }) => - _then(Variables$Mutation$setEpisodeProgress._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (duration != _undefined) 'duration': (duration as int?), - if (progress != _undefined) 'progress': (progress as int?), - })); + }) => _then( + Variables$Mutation$setEpisodeProgress._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (duration != _undefined) 'duration': (duration as int?), + if (progress != _undefined) 'progress': (progress as int?), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$setEpisodeProgress @@ -160,12 +157,7 @@ class _CopyWithStubImpl$Variables$Mutation$setEpisodeProgress TRes _res; - call({ - String? id, - int? duration, - int? progress, - }) => - _res; + call({String? id, int? duration, int? progress}) => _res; } class Mutation$setEpisodeProgress { @@ -180,7 +172,8 @@ class Mutation$setEpisodeProgress { return Mutation$setEpisodeProgress( setEpisodeProgress: Mutation$setEpisodeProgress$setEpisodeProgress.fromJson( - (l$setEpisodeProgress as Map)), + (l$setEpisodeProgress as Map), + ), $__typename: (l$$__typename as String), ); } @@ -202,10 +195,7 @@ class Mutation$setEpisodeProgress { int get hashCode { final l$setEpisodeProgress = setEpisodeProgress; final l$$__typename = $__typename; - return Object.hashAll([ - l$setEpisodeProgress, - l$$__typename, - ]); + return Object.hashAll([l$setEpisodeProgress, l$$__typename]); } @override @@ -234,10 +224,7 @@ class Mutation$setEpisodeProgress { extension UtilityExtension$Mutation$setEpisodeProgress on Mutation$setEpisodeProgress { CopyWith$Mutation$setEpisodeProgress - get copyWith => CopyWith$Mutation$setEpisodeProgress( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$setEpisodeProgress(this, (i) => i); } abstract class CopyWith$Mutation$setEpisodeProgress { @@ -254,15 +241,12 @@ abstract class CopyWith$Mutation$setEpisodeProgress { String? $__typename, }); CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress - get setEpisodeProgress; + get setEpisodeProgress; } class _CopyWithImpl$Mutation$setEpisodeProgress implements CopyWith$Mutation$setEpisodeProgress { - _CopyWithImpl$Mutation$setEpisodeProgress( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$setEpisodeProgress(this._instance, this._then); final Mutation$setEpisodeProgress _instance; @@ -273,23 +257,26 @@ class _CopyWithImpl$Mutation$setEpisodeProgress TRes call({ Object? setEpisodeProgress = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$setEpisodeProgress( - setEpisodeProgress: - setEpisodeProgress == _undefined || setEpisodeProgress == null - ? _instance.setEpisodeProgress - : (setEpisodeProgress - as Mutation$setEpisodeProgress$setEpisodeProgress), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$setEpisodeProgress( + setEpisodeProgress: + setEpisodeProgress == _undefined || setEpisodeProgress == null + ? _instance.setEpisodeProgress + : (setEpisodeProgress + as Mutation$setEpisodeProgress$setEpisodeProgress), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress - get setEpisodeProgress { + get setEpisodeProgress { final local$setEpisodeProgress = _instance.setEpisodeProgress; return CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress( - local$setEpisodeProgress, (e) => call(setEpisodeProgress: e)); + local$setEpisodeProgress, + (e) => call(setEpisodeProgress: e), + ); } } @@ -302,109 +289,105 @@ class _CopyWithStubImpl$Mutation$setEpisodeProgress call({ Mutation$setEpisodeProgress$setEpisodeProgress? setEpisodeProgress, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress - get setEpisodeProgress => - CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress.stub(_res); + get setEpisodeProgress => + CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress.stub(_res); } -const documentNodeMutationsetEpisodeProgress = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'setEpisodeProgress'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeMutationsetEpisodeProgress = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'setEpisodeProgress'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'duration')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'duration')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'progress')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'progress')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'setEpisodeProgress'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ), - ArgumentNode( - name: NameNode(value: 'duration'), - value: VariableNode(name: NameNode(value: 'duration')), - ), - ArgumentNode( - name: NameNode(value: 'progress'), - value: VariableNode(name: NameNode(value: 'progress')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'setEpisodeProgress'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ArgumentNode( + name: NameNode(value: 'duration'), + value: VariableNode(name: NameNode(value: 'duration')), + ), + ArgumentNode( + name: NameNode(value: 'progress'), + value: VariableNode(name: NameNode(value: 'progress')), + ), + ], directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( - name: NameNode(value: 'progress'), + name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Mutation$setEpisodeProgress _parserFn$Mutation$setEpisodeProgress( - Map data) => - Mutation$setEpisodeProgress.fromJson(data); -typedef OnMutationCompleted$Mutation$setEpisodeProgress = FutureOr - Function( - Map?, - Mutation$setEpisodeProgress?, + ), + ], ); +Mutation$setEpisodeProgress _parserFn$Mutation$setEpisodeProgress( + Map data, +) => Mutation$setEpisodeProgress.fromJson(data); +typedef OnMutationCompleted$Mutation$setEpisodeProgress = + FutureOr Function( + Map?, + Mutation$setEpisodeProgress?, + ); class Options$Mutation$setEpisodeProgress extends graphql.MutationOptions { @@ -420,38 +403,38 @@ class Options$Mutation$setEpisodeProgress OnMutationCompleted$Mutation$setEpisodeProgress? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$setEpisodeProgress(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsetEpisodeProgress, - parserFn: _parserFn$Mutation$setEpisodeProgress, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$setEpisodeProgress(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsetEpisodeProgress, + parserFn: _parserFn$Mutation$setEpisodeProgress, + ); final OnMutationCompleted$Mutation$setEpisodeProgress? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$setEpisodeProgress @@ -470,63 +453,62 @@ class WatchOptions$Mutation$setEpisodeProgress bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationsetEpisodeProgress, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$setEpisodeProgress, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationsetEpisodeProgress, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$setEpisodeProgress, + ); } extension ClientExtension$Mutation$setEpisodeProgress on graphql.GraphQLClient { Future> - mutate$setEpisodeProgress( - Options$Mutation$setEpisodeProgress options) async => - await this.mutate(options); + mutate$setEpisodeProgress( + Options$Mutation$setEpisodeProgress options, + ) async => await this.mutate(options); graphql.ObservableQuery - watchMutation$setEpisodeProgress( - WatchOptions$Mutation$setEpisodeProgress options) => - this.watchMutation(options); + watchMutation$setEpisodeProgress( + WatchOptions$Mutation$setEpisodeProgress options, + ) => this.watchMutation(options); } class Mutation$setEpisodeProgress$HookResult { - Mutation$setEpisodeProgress$HookResult( - this.runMutation, - this.result, - ); + Mutation$setEpisodeProgress$HookResult(this.runMutation, this.result); final RunMutation$Mutation$setEpisodeProgress runMutation; final graphql.QueryResult result; } -Mutation$setEpisodeProgress$HookResult useMutation$setEpisodeProgress( - [WidgetOptions$Mutation$setEpisodeProgress? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$setEpisodeProgress()); +Mutation$setEpisodeProgress$HookResult useMutation$setEpisodeProgress([ + WidgetOptions$Mutation$setEpisodeProgress? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$setEpisodeProgress(), + ); return Mutation$setEpisodeProgress$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$setEpisodeProgress( - WatchOptions$Mutation$setEpisodeProgress options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$setEpisodeProgress( + WatchOptions$Mutation$setEpisodeProgress options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$setEpisodeProgress extends graphql.MutationOptions { @@ -541,45 +523,45 @@ class WidgetOptions$Mutation$setEpisodeProgress OnMutationCompleted$Mutation$setEpisodeProgress? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$setEpisodeProgress(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsetEpisodeProgress, - parserFn: _parserFn$Mutation$setEpisodeProgress, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$setEpisodeProgress(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsetEpisodeProgress, + parserFn: _parserFn$Mutation$setEpisodeProgress, + ); final OnMutationCompleted$Mutation$setEpisodeProgress? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } -typedef RunMutation$Mutation$setEpisodeProgress - = graphql.MultiSourceResult Function( - Variables$Mutation$setEpisodeProgress, { - Object? optimisticResult, - Mutation$setEpisodeProgress? typedOptimisticResult, -}); +typedef RunMutation$Mutation$setEpisodeProgress = + graphql.MultiSourceResult Function( + Variables$Mutation$setEpisodeProgress, { + Object? optimisticResult, + Mutation$setEpisodeProgress? typedOptimisticResult, + }); typedef Builder$Mutation$setEpisodeProgress = widgets.Widget Function( RunMutation$Mutation$setEpisodeProgress, graphql.QueryResult?, @@ -592,26 +574,17 @@ class Mutation$setEpisodeProgress$Widget WidgetOptions$Mutation$setEpisodeProgress? options, required Builder$Mutation$setEpisodeProgress builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$setEpisodeProgress(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$setEpisodeProgress(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$setEpisodeProgress$setEpisodeProgress { @@ -622,7 +595,8 @@ class Mutation$setEpisodeProgress$setEpisodeProgress { }); factory Mutation$setEpisodeProgress$setEpisodeProgress.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$duration = json['duration']; final l$progress = json['progress']; @@ -655,11 +629,7 @@ class Mutation$setEpisodeProgress$setEpisodeProgress { final l$$__typename = $__typename; final l$duration = duration; final l$progress = progress; - return Object.hashAll([ - l$$__typename, - l$duration, - l$progress, - ]); + return Object.hashAll([l$$__typename, l$duration, l$progress]); } @override @@ -693,11 +663,10 @@ class Mutation$setEpisodeProgress$setEpisodeProgress { extension UtilityExtension$Mutation$setEpisodeProgress$setEpisodeProgress on Mutation$setEpisodeProgress$setEpisodeProgress { CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress< - Mutation$setEpisodeProgress$setEpisodeProgress> - get copyWith => CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress( - this, - (i) => i, - ); + Mutation$setEpisodeProgress$setEpisodeProgress + > + get copyWith => + CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress(this, (i) => i); } abstract class CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress { @@ -707,14 +676,10 @@ abstract class CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress { ) = _CopyWithImpl$Mutation$setEpisodeProgress$setEpisodeProgress; factory CopyWith$Mutation$setEpisodeProgress$setEpisodeProgress.stub( - TRes res) = - _CopyWithStubImpl$Mutation$setEpisodeProgress$setEpisodeProgress; + TRes res, + ) = _CopyWithStubImpl$Mutation$setEpisodeProgress$setEpisodeProgress; - TRes call({ - String? $__typename, - int? duration, - int? progress, - }); + TRes call({String? $__typename, int? duration, int? progress}); } class _CopyWithImpl$Mutation$setEpisodeProgress$setEpisodeProgress @@ -734,17 +699,19 @@ class _CopyWithImpl$Mutation$setEpisodeProgress$setEpisodeProgress Object? $__typename = _undefined, Object? duration = _undefined, Object? progress = _undefined, - }) => - _then(Mutation$setEpisodeProgress$setEpisodeProgress( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - )); + }) => _then( + Mutation$setEpisodeProgress$setEpisodeProgress( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + ), + ); } class _CopyWithStubImpl$Mutation$setEpisodeProgress$setEpisodeProgress @@ -753,10 +720,5 @@ class _CopyWithStubImpl$Mutation$setEpisodeProgress$setEpisodeProgress TRes _res; - call({ - String? $__typename, - int? duration, - int? progress, - }) => - _res; + call({String? $__typename, int? duration, int? progress}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/prompts.graphql.dart b/bccm_core/lib/src/features/graphql/queries/prompts.graphql.dart index 22f1cce..fc21507 100644 --- a/bccm_core/lib/src/features/graphql/queries/prompts.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/prompts.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -128,10 +129,7 @@ class Fragment$Prompt { extension UtilityExtension$Fragment$Prompt on Fragment$Prompt { CopyWith$Fragment$Prompt get copyWith => - CopyWith$Fragment$Prompt( - this, - (i) => i, - ); + CopyWith$Fragment$Prompt(this, (i) => i); _T when<_T>({ required _T Function(Fragment$Prompt$$SurveyPrompt) surveyPrompt, @@ -185,10 +183,7 @@ abstract class CopyWith$Fragment$Prompt { class _CopyWithImpl$Fragment$Prompt implements CopyWith$Fragment$Prompt { - _CopyWithImpl$Fragment$Prompt( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Prompt(this._instance, this._then); final Fragment$Prompt _instance; @@ -203,23 +198,24 @@ class _CopyWithImpl$Fragment$Prompt Object? from = _undefined, Object? to = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Prompt( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - secondaryTitle: secondaryTitle == _undefined - ? _instance.secondaryTitle - : (secondaryTitle as String?), - from: from == _undefined || from == null - ? _instance.from - : (from as String), - to: to == _undefined || to == null ? _instance.to : (to as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Prompt( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + secondaryTitle: secondaryTitle == _undefined + ? _instance.secondaryTitle + : (secondaryTitle as String?), + from: from == _undefined || from == null + ? _instance.from + : (from as String), + to: to == _undefined || to == null ? _instance.to : (to as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Prompt @@ -235,71 +231,82 @@ class _CopyWithStubImpl$Fragment$Prompt String? from, String? to, String? $__typename, - }) => - _res; + }) => _res; } const fragmentDefinitionPrompt = FragmentDefinitionNode( name: NameNode(value: 'Prompt'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Prompt'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Prompt'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'secondaryTitle'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'from'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'to'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'secondaryTitle'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'from'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'to'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'SurveyPrompt'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'survey'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Survey'), + name: NameNode(value: 'SurveyPrompt'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'survey'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Survey'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -308,49 +315,43 @@ const fragmentDefinitionPrompt = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentPrompt = DocumentNode( + definitions: [ + fragmentDefinitionPrompt, + fragmentDefinitionSurvey, + fragmentDefinitionSurveyQuestion, + ], ); -const documentNodeFragmentPrompt = DocumentNode(definitions: [ - fragmentDefinitionPrompt, - fragmentDefinitionSurvey, - fragmentDefinitionSurveyQuestion, -]); extension ClientExtension$Fragment$Prompt on graphql.GraphQLClient { void writeFragment$Prompt({ required Fragment$Prompt data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Prompt', - document: documentNodeFragmentPrompt, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Prompt', + document: documentNodeFragmentPrompt, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Prompt? readFragment$Prompt({ required Map idFields, @@ -504,10 +505,7 @@ class Fragment$Prompt$$SurveyPrompt implements Fragment$Prompt { extension UtilityExtension$Fragment$Prompt$$SurveyPrompt on Fragment$Prompt$$SurveyPrompt { CopyWith$Fragment$Prompt$$SurveyPrompt - get copyWith => CopyWith$Fragment$Prompt$$SurveyPrompt( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Prompt$$SurveyPrompt(this, (i) => i); } abstract class CopyWith$Fragment$Prompt$$SurveyPrompt { @@ -533,10 +531,7 @@ abstract class CopyWith$Fragment$Prompt$$SurveyPrompt { class _CopyWithImpl$Fragment$Prompt$$SurveyPrompt implements CopyWith$Fragment$Prompt$$SurveyPrompt { - _CopyWithImpl$Fragment$Prompt$$SurveyPrompt( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Prompt$$SurveyPrompt(this._instance, this._then); final Fragment$Prompt$$SurveyPrompt _instance; @@ -552,26 +547,27 @@ class _CopyWithImpl$Fragment$Prompt$$SurveyPrompt Object? secondaryTitle = _undefined, Object? from = _undefined, Object? to = _undefined, - }) => - _then(Fragment$Prompt$$SurveyPrompt( - survey: survey == _undefined || survey == null - ? _instance.survey - : (survey as Fragment$Survey), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - secondaryTitle: secondaryTitle == _undefined - ? _instance.secondaryTitle - : (secondaryTitle as String?), - from: from == _undefined || from == null - ? _instance.from - : (from as String), - to: to == _undefined || to == null ? _instance.to : (to as String), - )); + }) => _then( + Fragment$Prompt$$SurveyPrompt( + survey: survey == _undefined || survey == null + ? _instance.survey + : (survey as Fragment$Survey), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + secondaryTitle: secondaryTitle == _undefined + ? _instance.secondaryTitle + : (secondaryTitle as String?), + from: from == _undefined || from == null + ? _instance.from + : (from as String), + to: to == _undefined || to == null ? _instance.to : (to as String), + ), + ); CopyWith$Fragment$Survey get survey { final local$survey = _instance.survey; @@ -593,8 +589,7 @@ class _CopyWithStubImpl$Fragment$Prompt$$SurveyPrompt String? secondaryTitle, String? from, String? to, - }) => - _res; + }) => _res; CopyWith$Fragment$Survey get survey => CopyWith$Fragment$Survey.stub(_res); @@ -620,7 +615,8 @@ class Fragment$Survey { title: (l$title as String), description: (l$description as String?), questions: Fragment$Survey$questions.fromJson( - (l$questions as Map)), + (l$questions as Map), + ), $__typename: (l$$__typename as String), ); } @@ -705,10 +701,7 @@ class Fragment$Survey { extension UtilityExtension$Fragment$Survey on Fragment$Survey { CopyWith$Fragment$Survey get copyWith => - CopyWith$Fragment$Survey( - this, - (i) => i, - ); + CopyWith$Fragment$Survey(this, (i) => i); } abstract class CopyWith$Fragment$Survey { @@ -732,10 +725,7 @@ abstract class CopyWith$Fragment$Survey { class _CopyWithImpl$Fragment$Survey implements CopyWith$Fragment$Survey { - _CopyWithImpl$Fragment$Survey( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Survey(this._instance, this._then); final Fragment$Survey _instance; @@ -749,27 +739,30 @@ class _CopyWithImpl$Fragment$Survey Object? description = _undefined, Object? questions = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Survey( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - questions: questions == _undefined || questions == null - ? _instance.questions - : (questions as Fragment$Survey$questions), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Survey( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + questions: questions == _undefined || questions == null + ? _instance.questions + : (questions as Fragment$Survey$questions), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Survey$questions get questions { final local$questions = _instance.questions; return CopyWith$Fragment$Survey$questions( - local$questions, (e) => call(questions: e)); + local$questions, + (e) => call(questions: e), + ); } } @@ -785,8 +778,7 @@ class _CopyWithStubImpl$Fragment$Survey String? description, Fragment$Survey$questions? questions, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Survey$questions get questions => CopyWith$Fragment$Survey$questions.stub(_res); @@ -795,48 +787,59 @@ class _CopyWithStubImpl$Fragment$Survey const fragmentDefinitionSurvey = FragmentDefinitionNode( name: NameNode(value: 'Survey'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Survey'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Survey'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'questions'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SurveyQuestion'), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'questions'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'SurveyQuestion'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -845,48 +848,39 @@ const fragmentDefinitionSurvey = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentSurvey = DocumentNode( + definitions: [fragmentDefinitionSurvey, fragmentDefinitionSurveyQuestion], ); -const documentNodeFragmentSurvey = DocumentNode(definitions: [ - fragmentDefinitionSurvey, - fragmentDefinitionSurveyQuestion, -]); extension ClientExtension$Fragment$Survey on graphql.GraphQLClient { void writeFragment$Survey({ required Fragment$Survey data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Survey', - document: documentNodeFragmentSurvey, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Survey', + document: documentNodeFragmentSurvey, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Survey? readFragment$Survey({ required Map idFields, @@ -917,8 +911,10 @@ class Fragment$Survey$questions { final l$$__typename = json['__typename']; return Fragment$Survey$questions( items: (l$items as List) - .map((e) => - Fragment$SurveyQuestion.fromJson((e as Map))) + .map( + (e) => + Fragment$SurveyQuestion.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -980,10 +976,7 @@ class Fragment$Survey$questions { extension UtilityExtension$Fragment$Survey$questions on Fragment$Survey$questions { CopyWith$Fragment$Survey$questions get copyWith => - CopyWith$Fragment$Survey$questions( - this, - (i) => i, - ); + CopyWith$Fragment$Survey$questions(this, (i) => i); } abstract class CopyWith$Fragment$Survey$questions { @@ -995,23 +988,18 @@ abstract class CopyWith$Fragment$Survey$questions { factory CopyWith$Fragment$Survey$questions.stub(TRes res) = _CopyWithStubImpl$Fragment$Survey$questions; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SurveyQuestion>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Survey$questions implements CopyWith$Fragment$Survey$questions { - _CopyWithImpl$Fragment$Survey$questions( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Survey$questions(this._instance, this._then); final Fragment$Survey$questions _instance; @@ -1019,31 +1007,28 @@ class _CopyWithImpl$Fragment$Survey$questions static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$Survey$questions( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$Survey$questions( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SurveyQuestion< - Fragment$SurveyQuestion>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$SurveyQuestion( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map((e) => CopyWith$Fragment$SurveyQuestion(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Survey$questions @@ -1052,11 +1037,7 @@ class _CopyWithStubImpl$Fragment$Survey$questions TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } @@ -1121,12 +1102,7 @@ class Fragment$SurveyQuestion { final l$title = title; final l$description = description; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$description, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$description, l$$__typename]); } @override @@ -1163,32 +1139,32 @@ class Fragment$SurveyQuestion { extension UtilityExtension$Fragment$SurveyQuestion on Fragment$SurveyQuestion { CopyWith$Fragment$SurveyQuestion get copyWith => - CopyWith$Fragment$SurveyQuestion( - this, - (i) => i, - ); + CopyWith$Fragment$SurveyQuestion(this, (i) => i); _T when<_T>({ required _T Function(Fragment$SurveyQuestion$$SurveyRatingQuestion) - surveyRatingQuestion, + surveyRatingQuestion, required _T Function(Fragment$SurveyQuestion$$SurveyTextQuestion) - surveyTextQuestion, + surveyTextQuestion, required _T Function(Fragment$SurveyQuestion$$SurveyLinkQuestion) - surveyLinkQuestion, + surveyLinkQuestion, required _T Function() orElse, }) { switch ($__typename) { case "SurveyRatingQuestion": return surveyRatingQuestion( - this as Fragment$SurveyQuestion$$SurveyRatingQuestion); + this as Fragment$SurveyQuestion$$SurveyRatingQuestion, + ); case "SurveyTextQuestion": return surveyTextQuestion( - this as Fragment$SurveyQuestion$$SurveyTextQuestion); + this as Fragment$SurveyQuestion$$SurveyTextQuestion, + ); case "SurveyLinkQuestion": return surveyLinkQuestion( - this as Fragment$SurveyQuestion$$SurveyLinkQuestion); + this as Fragment$SurveyQuestion$$SurveyLinkQuestion, + ); default: return orElse(); @@ -1197,18 +1173,19 @@ extension UtilityExtension$Fragment$SurveyQuestion on Fragment$SurveyQuestion { _T maybeWhen<_T>({ _T Function(Fragment$SurveyQuestion$$SurveyRatingQuestion)? - surveyRatingQuestion, + surveyRatingQuestion, _T Function(Fragment$SurveyQuestion$$SurveyTextQuestion)? - surveyTextQuestion, + surveyTextQuestion, _T Function(Fragment$SurveyQuestion$$SurveyLinkQuestion)? - surveyLinkQuestion, + surveyLinkQuestion, required _T Function() orElse, }) { switch ($__typename) { case "SurveyRatingQuestion": if (surveyRatingQuestion != null) { return surveyRatingQuestion( - this as Fragment$SurveyQuestion$$SurveyRatingQuestion); + this as Fragment$SurveyQuestion$$SurveyRatingQuestion, + ); } else { return orElse(); } @@ -1216,7 +1193,8 @@ extension UtilityExtension$Fragment$SurveyQuestion on Fragment$SurveyQuestion { case "SurveyTextQuestion": if (surveyTextQuestion != null) { return surveyTextQuestion( - this as Fragment$SurveyQuestion$$SurveyTextQuestion); + this as Fragment$SurveyQuestion$$SurveyTextQuestion, + ); } else { return orElse(); } @@ -1224,7 +1202,8 @@ extension UtilityExtension$Fragment$SurveyQuestion on Fragment$SurveyQuestion { case "SurveyLinkQuestion": if (surveyLinkQuestion != null) { return surveyLinkQuestion( - this as Fragment$SurveyQuestion$$SurveyLinkQuestion); + this as Fragment$SurveyQuestion$$SurveyLinkQuestion, + ); } else { return orElse(); } @@ -1254,10 +1233,7 @@ abstract class CopyWith$Fragment$SurveyQuestion { class _CopyWithImpl$Fragment$SurveyQuestion implements CopyWith$Fragment$SurveyQuestion { - _CopyWithImpl$Fragment$SurveyQuestion( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$SurveyQuestion(this._instance, this._then); final Fragment$SurveyQuestion _instance; @@ -1270,19 +1246,20 @@ class _CopyWithImpl$Fragment$SurveyQuestion Object? title = _undefined, Object? description = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$SurveyQuestion( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$SurveyQuestion( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$SurveyQuestion @@ -1291,147 +1268,153 @@ class _CopyWithStubImpl$Fragment$SurveyQuestion TRes _res; - call({ - String? id, - String? title, - String? description, - String? $__typename, - }) => + call({String? id, String? title, String? description, String? $__typename}) => _res; } const fragmentDefinitionSurveyQuestion = FragmentDefinitionNode( name: NameNode(value: 'SurveyQuestion'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'SurveyQuestion'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'SurveyRatingQuestion'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), + on: NamedTypeNode( + name: NameNode(value: 'SurveyQuestion'), + isNonNull: false, ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'SurveyTextQuestion'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + name: NameNode(value: 'SurveyRatingQuestion'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'SurveyLinkQuestion'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'SurveyTextQuestion'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'url'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - FieldNode( - name: NameNode(value: 'actionButtonText'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'SurveyLinkQuestion'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'cancelButtonText'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'actionButtonText'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'cancelButtonText'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentSurveyQuestion = DocumentNode( + definitions: [fragmentDefinitionSurveyQuestion], ); -const documentNodeFragmentSurveyQuestion = DocumentNode(definitions: [ - fragmentDefinitionSurveyQuestion, -]); extension ClientExtension$Fragment$SurveyQuestion on graphql.GraphQLClient { void writeFragment$SurveyQuestion({ required Fragment$SurveyQuestion data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'SurveyQuestion', - document: documentNodeFragmentSurveyQuestion, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'SurveyQuestion', + document: documentNodeFragmentSurveyQuestion, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$SurveyQuestion? readFragment$SurveyQuestion({ required Map idFields, @@ -1461,7 +1444,8 @@ class Fragment$SurveyQuestion$$SurveyRatingQuestion }); factory Fragment$SurveyQuestion$$SurveyRatingQuestion.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -1501,12 +1485,7 @@ class Fragment$SurveyQuestion$$SurveyRatingQuestion final l$id = id; final l$title = title; final l$description = description; - return Object.hashAll([ - l$$__typename, - l$id, - l$title, - l$description, - ]); + return Object.hashAll([l$$__typename, l$id, l$title, l$description]); } @override @@ -1545,11 +1524,10 @@ class Fragment$SurveyQuestion$$SurveyRatingQuestion extension UtilityExtension$Fragment$SurveyQuestion$$SurveyRatingQuestion on Fragment$SurveyQuestion$$SurveyRatingQuestion { CopyWith$Fragment$SurveyQuestion$$SurveyRatingQuestion< - Fragment$SurveyQuestion$$SurveyRatingQuestion> - get copyWith => CopyWith$Fragment$SurveyQuestion$$SurveyRatingQuestion( - this, - (i) => i, - ); + Fragment$SurveyQuestion$$SurveyRatingQuestion + > + get copyWith => + CopyWith$Fragment$SurveyQuestion$$SurveyRatingQuestion(this, (i) => i); } abstract class CopyWith$Fragment$SurveyQuestion$$SurveyRatingQuestion { @@ -1559,8 +1537,8 @@ abstract class CopyWith$Fragment$SurveyQuestion$$SurveyRatingQuestion { ) = _CopyWithImpl$Fragment$SurveyQuestion$$SurveyRatingQuestion; factory CopyWith$Fragment$SurveyQuestion$$SurveyRatingQuestion.stub( - TRes res) = - _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyRatingQuestion; + TRes res, + ) = _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyRatingQuestion; TRes call({ String? $__typename, @@ -1588,19 +1566,20 @@ class _CopyWithImpl$Fragment$SurveyQuestion$$SurveyRatingQuestion Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$SurveyQuestion$$SurveyRatingQuestion( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$SurveyQuestion$$SurveyRatingQuestion( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyRatingQuestion @@ -1609,12 +1588,7 @@ class _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyRatingQuestion TRes _res; - call({ - String? $__typename, - String? id, - String? title, - String? description, - }) => + call({String? $__typename, String? id, String? title, String? description}) => _res; } @@ -1628,7 +1602,8 @@ class Fragment$SurveyQuestion$$SurveyTextQuestion }); factory Fragment$SurveyQuestion$$SurveyTextQuestion.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -1668,12 +1643,7 @@ class Fragment$SurveyQuestion$$SurveyTextQuestion final l$id = id; final l$title = title; final l$description = description; - return Object.hashAll([ - l$$__typename, - l$id, - l$title, - l$description, - ]); + return Object.hashAll([l$$__typename, l$id, l$title, l$description]); } @override @@ -1712,11 +1682,10 @@ class Fragment$SurveyQuestion$$SurveyTextQuestion extension UtilityExtension$Fragment$SurveyQuestion$$SurveyTextQuestion on Fragment$SurveyQuestion$$SurveyTextQuestion { CopyWith$Fragment$SurveyQuestion$$SurveyTextQuestion< - Fragment$SurveyQuestion$$SurveyTextQuestion> - get copyWith => CopyWith$Fragment$SurveyQuestion$$SurveyTextQuestion( - this, - (i) => i, - ); + Fragment$SurveyQuestion$$SurveyTextQuestion + > + get copyWith => + CopyWith$Fragment$SurveyQuestion$$SurveyTextQuestion(this, (i) => i); } abstract class CopyWith$Fragment$SurveyQuestion$$SurveyTextQuestion { @@ -1754,19 +1723,20 @@ class _CopyWithImpl$Fragment$SurveyQuestion$$SurveyTextQuestion Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$SurveyQuestion$$SurveyTextQuestion( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$SurveyQuestion$$SurveyTextQuestion( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyTextQuestion @@ -1775,12 +1745,7 @@ class _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyTextQuestion TRes _res; - call({ - String? $__typename, - String? id, - String? title, - String? description, - }) => + call({String? $__typename, String? id, String? title, String? description}) => _res; } @@ -1797,7 +1762,8 @@ class Fragment$SurveyQuestion$$SurveyLinkQuestion }); factory Fragment$SurveyQuestion$$SurveyLinkQuestion.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$url = json['url']; final l$actionButtonText = json['actionButtonText']; @@ -1920,11 +1886,10 @@ class Fragment$SurveyQuestion$$SurveyLinkQuestion extension UtilityExtension$Fragment$SurveyQuestion$$SurveyLinkQuestion on Fragment$SurveyQuestion$$SurveyLinkQuestion { CopyWith$Fragment$SurveyQuestion$$SurveyLinkQuestion< - Fragment$SurveyQuestion$$SurveyLinkQuestion> - get copyWith => CopyWith$Fragment$SurveyQuestion$$SurveyLinkQuestion( - this, - (i) => i, - ); + Fragment$SurveyQuestion$$SurveyLinkQuestion + > + get copyWith => + CopyWith$Fragment$SurveyQuestion$$SurveyLinkQuestion(this, (i) => i); } abstract class CopyWith$Fragment$SurveyQuestion$$SurveyLinkQuestion { @@ -1968,27 +1933,28 @@ class _CopyWithImpl$Fragment$SurveyQuestion$$SurveyLinkQuestion Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Fragment$SurveyQuestion$$SurveyLinkQuestion( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - actionButtonText: - actionButtonText == _undefined || actionButtonText == null - ? _instance.actionButtonText - : (actionButtonText as String), - cancelButtonText: cancelButtonText == _undefined - ? _instance.cancelButtonText - : (cancelButtonText as String?), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Fragment$SurveyQuestion$$SurveyLinkQuestion( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + actionButtonText: + actionButtonText == _undefined || actionButtonText == null + ? _instance.actionButtonText + : (actionButtonText as String), + cancelButtonText: cancelButtonText == _undefined + ? _instance.cancelButtonText + : (cancelButtonText as String?), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyLinkQuestion @@ -2005,15 +1971,11 @@ class _CopyWithStubImpl$Fragment$SurveyQuestion$$SurveyLinkQuestion String? id, String? title, String? description, - }) => - _res; + }) => _res; } class Query$getPrompts { - Query$getPrompts({ - required this.prompts, - this.$__typename = 'QueryRoot', - }); + Query$getPrompts({required this.prompts, this.$__typename = 'QueryRoot'}); factory Query$getPrompts.fromJson(Map json) { final l$prompts = json['prompts']; @@ -2080,10 +2042,7 @@ class Query$getPrompts { extension UtilityExtension$Query$getPrompts on Query$getPrompts { CopyWith$Query$getPrompts get copyWith => - CopyWith$Query$getPrompts( - this, - (i) => i, - ); + CopyWith$Query$getPrompts(this, (i) => i); } abstract class CopyWith$Query$getPrompts { @@ -2095,22 +2054,18 @@ abstract class CopyWith$Query$getPrompts { factory CopyWith$Query$getPrompts.stub(TRes res) = _CopyWithStubImpl$Query$getPrompts; - TRes call({ - List? prompts, - String? $__typename, - }); + TRes call({List? prompts, String? $__typename}); TRes prompts( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$getPrompts implements CopyWith$Query$getPrompts { - _CopyWithImpl$Query$getPrompts( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getPrompts(this._instance, this._then); final Query$getPrompts _instance; @@ -2118,28 +2073,28 @@ class _CopyWithImpl$Query$getPrompts static const _undefined = {}; - TRes call({ - Object? prompts = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getPrompts( - prompts: prompts == _undefined || prompts == null - ? _instance.prompts - : (prompts as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? prompts = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getPrompts( + prompts: prompts == _undefined || prompts == null + ? _instance.prompts + : (prompts as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes prompts( - Iterable Function( - Iterable>) - _fn) => - call( - prompts: _fn(_instance.prompts.map((e) => CopyWith$Fragment$Prompt( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + prompts: _fn( + _instance.prompts.map((e) => CopyWith$Fragment$Prompt(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$getPrompts @@ -2148,31 +2103,40 @@ class _CopyWithStubImpl$Query$getPrompts TRes _res; - call({ - List? prompts, - String? $__typename, - }) => - _res; + call({List? prompts, String? $__typename}) => _res; prompts(_fn) => _res; } -const documentNodeQuerygetPrompts = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getPrompts'), - variableDefinitions: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'prompts'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Prompt'), +const documentNodeQuerygetPrompts = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getPrompts'), + variableDefinitions: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'prompts'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Prompt'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2181,21 +2145,14 @@ const documentNodeQuerygetPrompts = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionPrompt, - fragmentDefinitionSurvey, - fragmentDefinitionSurveyQuestion, -]); + ), + fragmentDefinitionPrompt, + fragmentDefinitionSurvey, + fragmentDefinitionSurveyQuestion, + ], +); Query$getPrompts _parserFn$Query$getPrompts(Map data) => Query$getPrompts.fromJson(data); typedef OnQueryComplete$Query$getPrompts = FutureOr Function( @@ -2215,35 +2172,35 @@ class Options$Query$getPrompts extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$getPrompts? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$getPrompts(data), - ), - onError: onError, - document: documentNodeQuerygetPrompts, - parserFn: _parserFn$Query$getPrompts, - ); + }) : onCompleteWithParsed = onComplete, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$getPrompts(data), + ), + onError: onError, + document: documentNodeQuerygetPrompts, + parserFn: _parserFn$Query$getPrompts, + ); final OnQueryComplete$Query$getPrompts? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getPrompts @@ -2261,66 +2218,63 @@ class WatchOptions$Query$getPrompts bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetPrompts, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getPrompts, - ); + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetPrompts, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getPrompts, + ); } class FetchMoreOptions$Query$getPrompts extends graphql.FetchMoreOptions { FetchMoreOptions$Query$getPrompts({required graphql.UpdateQuery updateQuery}) - : super( - updateQuery: updateQuery, - document: documentNodeQuerygetPrompts, - ); + : super(updateQuery: updateQuery, document: documentNodeQuerygetPrompts); } extension ClientExtension$Query$getPrompts on graphql.GraphQLClient { - Future> query$getPrompts( - [Options$Query$getPrompts? options]) async => - await this.query(options ?? Options$Query$getPrompts()); + Future> query$getPrompts([ + Options$Query$getPrompts? options, + ]) async => await this.query(options ?? Options$Query$getPrompts()); - graphql.ObservableQuery watchQuery$getPrompts( - [WatchOptions$Query$getPrompts? options]) => - this.watchQuery(options ?? WatchOptions$Query$getPrompts()); + graphql.ObservableQuery watchQuery$getPrompts([ + WatchOptions$Query$getPrompts? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$getPrompts()); void writeQuery$getPrompts({ required Query$getPrompts data, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetPrompts)), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerygetPrompts), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getPrompts? readQuery$getPrompts({bool optimistic = true}) { final result = this.readQuery( graphql.Request( - operation: graphql.Operation(document: documentNodeQuerygetPrompts)), + operation: graphql.Operation(document: documentNodeQuerygetPrompts), + ), optimistic: optimistic, ); return result == null ? null : Query$getPrompts.fromJson(result); } } -graphql_flutter.QueryHookResult useQuery$getPrompts( - [Options$Query$getPrompts? options]) => - graphql_flutter.useQuery(options ?? Options$Query$getPrompts()); -graphql.ObservableQuery useWatchQuery$getPrompts( - [WatchOptions$Query$getPrompts? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$getPrompts()); +graphql_flutter.QueryHookResult useQuery$getPrompts([ + Options$Query$getPrompts? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$getPrompts()); +graphql.ObservableQuery useWatchQuery$getPrompts([ + WatchOptions$Query$getPrompts? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$getPrompts()); class Query$getPrompts$Widget extends graphql_flutter.Query { Query$getPrompts$Widget({ @@ -2328,10 +2282,10 @@ class Query$getPrompts$Widget extends graphql_flutter.Query { Options$Query$getPrompts? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$getPrompts(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$getPrompts(), + builder: builder, + ); } class Variables$Mutation$answerSurveyQuestion { @@ -2339,15 +2293,13 @@ class Variables$Mutation$answerSurveyQuestion { required String id, required String answer, }) => - Variables$Mutation$answerSurveyQuestion._({ - r'id': id, - r'answer': answer, - }); + Variables$Mutation$answerSurveyQuestion._({r'id': id, r'answer': answer}); Variables$Mutation$answerSurveyQuestion._(this._$data); factory Variables$Mutation$answerSurveyQuestion.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -2372,11 +2324,10 @@ class Variables$Mutation$answerSurveyQuestion { } CopyWith$Variables$Mutation$answerSurveyQuestion< - Variables$Mutation$answerSurveyQuestion> - get copyWith => CopyWith$Variables$Mutation$answerSurveyQuestion( - this, - (i) => i, - ); + Variables$Mutation$answerSurveyQuestion + > + get copyWith => + CopyWith$Variables$Mutation$answerSurveyQuestion(this, (i) => i); @override bool operator ==(Object other) { @@ -2404,10 +2355,7 @@ class Variables$Mutation$answerSurveyQuestion { int get hashCode { final l$id = id; final l$answer = answer; - return Object.hashAll([ - l$id, - l$answer, - ]); + return Object.hashAll([l$id, l$answer]); } } @@ -2420,10 +2368,7 @@ abstract class CopyWith$Variables$Mutation$answerSurveyQuestion { factory CopyWith$Variables$Mutation$answerSurveyQuestion.stub(TRes res) = _CopyWithStubImpl$Variables$Mutation$answerSurveyQuestion; - TRes call({ - String? id, - String? answer, - }); + TRes call({String? id, String? answer}); } class _CopyWithImpl$Variables$Mutation$answerSurveyQuestion @@ -2439,16 +2384,13 @@ class _CopyWithImpl$Variables$Mutation$answerSurveyQuestion static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? answer = _undefined, - }) => - _then(Variables$Mutation$answerSurveyQuestion._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (answer != _undefined && answer != null) - 'answer': (answer as String), - })); + TRes call({Object? id = _undefined, Object? answer = _undefined}) => _then( + Variables$Mutation$answerSurveyQuestion._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (answer != _undefined && answer != null) 'answer': (answer as String), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$answerSurveyQuestion @@ -2457,11 +2399,7 @@ class _CopyWithStubImpl$Variables$Mutation$answerSurveyQuestion TRes _res; - call({ - String? id, - String? answer, - }) => - _res; + call({String? id, String? answer}) => _res; } class Mutation$answerSurveyQuestion { @@ -2476,7 +2414,8 @@ class Mutation$answerSurveyQuestion { return Mutation$answerSurveyQuestion( answerSurveyQuestion: Mutation$answerSurveyQuestion$answerSurveyQuestion.fromJson( - (l$answerSurveyQuestion as Map)), + (l$answerSurveyQuestion as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2498,10 +2437,7 @@ class Mutation$answerSurveyQuestion { int get hashCode { final l$answerSurveyQuestion = answerSurveyQuestion; final l$$__typename = $__typename; - return Object.hashAll([ - l$answerSurveyQuestion, - l$$__typename, - ]); + return Object.hashAll([l$answerSurveyQuestion, l$$__typename]); } @override @@ -2530,10 +2466,7 @@ class Mutation$answerSurveyQuestion { extension UtilityExtension$Mutation$answerSurveyQuestion on Mutation$answerSurveyQuestion { CopyWith$Mutation$answerSurveyQuestion - get copyWith => CopyWith$Mutation$answerSurveyQuestion( - this, - (i) => i, - ); + get copyWith => CopyWith$Mutation$answerSurveyQuestion(this, (i) => i); } abstract class CopyWith$Mutation$answerSurveyQuestion { @@ -2550,15 +2483,12 @@ abstract class CopyWith$Mutation$answerSurveyQuestion { String? $__typename, }); CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion - get answerSurveyQuestion; + get answerSurveyQuestion; } class _CopyWithImpl$Mutation$answerSurveyQuestion implements CopyWith$Mutation$answerSurveyQuestion { - _CopyWithImpl$Mutation$answerSurveyQuestion( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$answerSurveyQuestion(this._instance, this._then); final Mutation$answerSurveyQuestion _instance; @@ -2569,23 +2499,26 @@ class _CopyWithImpl$Mutation$answerSurveyQuestion TRes call({ Object? answerSurveyQuestion = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$answerSurveyQuestion( - answerSurveyQuestion: - answerSurveyQuestion == _undefined || answerSurveyQuestion == null - ? _instance.answerSurveyQuestion - : (answerSurveyQuestion - as Mutation$answerSurveyQuestion$answerSurveyQuestion), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$answerSurveyQuestion( + answerSurveyQuestion: + answerSurveyQuestion == _undefined || answerSurveyQuestion == null + ? _instance.answerSurveyQuestion + : (answerSurveyQuestion + as Mutation$answerSurveyQuestion$answerSurveyQuestion), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion - get answerSurveyQuestion { + get answerSurveyQuestion { final local$answerSurveyQuestion = _instance.answerSurveyQuestion; return CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion( - local$answerSurveyQuestion, (e) => call(answerSurveyQuestion: e)); + local$answerSurveyQuestion, + (e) => call(answerSurveyQuestion: e), + ); } } @@ -2598,62 +2531,67 @@ class _CopyWithStubImpl$Mutation$answerSurveyQuestion call({ Mutation$answerSurveyQuestion$answerSurveyQuestion? answerSurveyQuestion, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion - get answerSurveyQuestion => - CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion.stub( - _res); -} - -const documentNodeMutationanswerSurveyQuestion = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'answerSurveyQuestion'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: true, + get answerSurveyQuestion => + CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion.stub(_res); +} + +const documentNodeMutationanswerSurveyQuestion = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'answerSurveyQuestion'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'answer')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'answer')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'answerSurveyQuestion'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ), - ArgumentNode( - name: NameNode(value: 'answer'), - value: VariableNode(name: NameNode(value: 'answer')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'answerSurveyQuestion'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ArgumentNode( + name: NameNode(value: 'answer'), + value: VariableNode(name: NameNode(value: 'answer')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2662,26 +2600,19 @@ const documentNodeMutationanswerSurveyQuestion = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Mutation$answerSurveyQuestion _parserFn$Mutation$answerSurveyQuestion( - Map data) => - Mutation$answerSurveyQuestion.fromJson(data); -typedef OnMutationCompleted$Mutation$answerSurveyQuestion = FutureOr - Function( - Map?, - Mutation$answerSurveyQuestion?, + ), + ], ); +Mutation$answerSurveyQuestion _parserFn$Mutation$answerSurveyQuestion( + Map data, +) => Mutation$answerSurveyQuestion.fromJson(data); +typedef OnMutationCompleted$Mutation$answerSurveyQuestion = + FutureOr Function( + Map?, + Mutation$answerSurveyQuestion?, + ); class Options$Mutation$answerSurveyQuestion extends graphql.MutationOptions { @@ -2697,39 +2628,39 @@ class Options$Mutation$answerSurveyQuestion OnMutationCompleted$Mutation$answerSurveyQuestion? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$answerSurveyQuestion(data), - ), - update: update, - onError: onError, - document: documentNodeMutationanswerSurveyQuestion, - parserFn: _parserFn$Mutation$answerSurveyQuestion, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$answerSurveyQuestion(data), + ), + update: update, + onError: onError, + document: documentNodeMutationanswerSurveyQuestion, + parserFn: _parserFn$Mutation$answerSurveyQuestion, + ); final OnMutationCompleted$Mutation$answerSurveyQuestion? - onCompletedWithParsed; + onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$answerSurveyQuestion @@ -2748,64 +2679,63 @@ class WatchOptions$Mutation$answerSurveyQuestion bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationanswerSurveyQuestion, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$answerSurveyQuestion, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationanswerSurveyQuestion, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$answerSurveyQuestion, + ); } extension ClientExtension$Mutation$answerSurveyQuestion on graphql.GraphQLClient { Future> - mutate$answerSurveyQuestion( - Options$Mutation$answerSurveyQuestion options) async => - await this.mutate(options); + mutate$answerSurveyQuestion( + Options$Mutation$answerSurveyQuestion options, + ) async => await this.mutate(options); graphql.ObservableQuery - watchMutation$answerSurveyQuestion( - WatchOptions$Mutation$answerSurveyQuestion options) => - this.watchMutation(options); + watchMutation$answerSurveyQuestion( + WatchOptions$Mutation$answerSurveyQuestion options, + ) => this.watchMutation(options); } class Mutation$answerSurveyQuestion$HookResult { - Mutation$answerSurveyQuestion$HookResult( - this.runMutation, - this.result, - ); + Mutation$answerSurveyQuestion$HookResult(this.runMutation, this.result); final RunMutation$Mutation$answerSurveyQuestion runMutation; final graphql.QueryResult result; } -Mutation$answerSurveyQuestion$HookResult useMutation$answerSurveyQuestion( - [WidgetOptions$Mutation$answerSurveyQuestion? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$answerSurveyQuestion()); +Mutation$answerSurveyQuestion$HookResult useMutation$answerSurveyQuestion([ + WidgetOptions$Mutation$answerSurveyQuestion? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$answerSurveyQuestion(), + ); return Mutation$answerSurveyQuestion$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$answerSurveyQuestion( - WatchOptions$Mutation$answerSurveyQuestion options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$answerSurveyQuestion( + WatchOptions$Mutation$answerSurveyQuestion options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$answerSurveyQuestion extends graphql.MutationOptions { @@ -2820,46 +2750,46 @@ class WidgetOptions$Mutation$answerSurveyQuestion OnMutationCompleted$Mutation$answerSurveyQuestion? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$answerSurveyQuestion(data), - ), - update: update, - onError: onError, - document: documentNodeMutationanswerSurveyQuestion, - parserFn: _parserFn$Mutation$answerSurveyQuestion, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$answerSurveyQuestion(data), + ), + update: update, + onError: onError, + document: documentNodeMutationanswerSurveyQuestion, + parserFn: _parserFn$Mutation$answerSurveyQuestion, + ); final OnMutationCompleted$Mutation$answerSurveyQuestion? - onCompletedWithParsed; + onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; -} - -typedef RunMutation$Mutation$answerSurveyQuestion - = graphql.MultiSourceResult Function( - Variables$Mutation$answerSurveyQuestion, { - Object? optimisticResult, - Mutation$answerSurveyQuestion? typedOptimisticResult, -}); + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; +} + +typedef RunMutation$Mutation$answerSurveyQuestion = + graphql.MultiSourceResult Function( + Variables$Mutation$answerSurveyQuestion, { + Object? optimisticResult, + Mutation$answerSurveyQuestion? typedOptimisticResult, + }); typedef Builder$Mutation$answerSurveyQuestion = widgets.Widget Function( RunMutation$Mutation$answerSurveyQuestion, graphql.QueryResult?, @@ -2872,26 +2802,17 @@ class Mutation$answerSurveyQuestion$Widget WidgetOptions$Mutation$answerSurveyQuestion? options, required Builder$Mutation$answerSurveyQuestion builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$answerSurveyQuestion(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$answerSurveyQuestion(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Mutation$answerSurveyQuestion$answerSurveyQuestion { @@ -2901,7 +2822,8 @@ class Mutation$answerSurveyQuestion$answerSurveyQuestion { }); factory Mutation$answerSurveyQuestion$answerSurveyQuestion.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Mutation$answerSurveyQuestion$answerSurveyQuestion( @@ -2927,10 +2849,7 @@ class Mutation$answerSurveyQuestion$answerSurveyQuestion { int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -2959,29 +2878,27 @@ class Mutation$answerSurveyQuestion$answerSurveyQuestion { extension UtilityExtension$Mutation$answerSurveyQuestion$answerSurveyQuestion on Mutation$answerSurveyQuestion$answerSurveyQuestion { CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion< - Mutation$answerSurveyQuestion$answerSurveyQuestion> - get copyWith => - CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion( - this, - (i) => i, - ); + Mutation$answerSurveyQuestion$answerSurveyQuestion + > + get copyWith => CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion( + this, + (i) => i, + ); } abstract class CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion< - TRes> { + TRes +> { factory CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion( Mutation$answerSurveyQuestion$answerSurveyQuestion instance, TRes Function(Mutation$answerSurveyQuestion$answerSurveyQuestion) then, ) = _CopyWithImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion; factory CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion.stub( - TRes res) = - _CopyWithStubImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion; + TRes res, + ) = _CopyWithStubImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion @@ -2998,29 +2915,25 @@ class _CopyWithImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Mutation$answerSurveyQuestion$answerSurveyQuestion( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Mutation$answerSurveyQuestion$answerSurveyQuestion( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion implements CopyWith$Mutation$answerSurveyQuestion$answerSurveyQuestion { _CopyWithStubImpl$Mutation$answerSurveyQuestion$answerSurveyQuestion( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/redirect.graphql.dart b/bccm_core/lib/src/features/graphql/queries/redirect.graphql.dart index 57c5c78..e6f89ea 100644 --- a/bccm_core/lib/src/features/graphql/queries/redirect.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/redirect.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -6,9 +7,7 @@ import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; class Variables$Query$GetRedirectUrl { factory Variables$Query$GetRedirectUrl({required String id}) => - Variables$Query$GetRedirectUrl._({ - r'id': id, - }); + Variables$Query$GetRedirectUrl._({r'id': id}); Variables$Query$GetRedirectUrl._(this._$data); @@ -31,10 +30,7 @@ class Variables$Query$GetRedirectUrl { } CopyWith$Variables$Query$GetRedirectUrl - get copyWith => CopyWith$Variables$Query$GetRedirectUrl( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetRedirectUrl(this, (i) => i); @override bool operator ==(Object other) { @@ -74,10 +70,7 @@ abstract class CopyWith$Variables$Query$GetRedirectUrl { class _CopyWithImpl$Variables$Query$GetRedirectUrl implements CopyWith$Variables$Query$GetRedirectUrl { - _CopyWithImpl$Variables$Query$GetRedirectUrl( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetRedirectUrl(this._instance, this._then); final Variables$Query$GetRedirectUrl _instance; @@ -85,11 +78,12 @@ class _CopyWithImpl$Variables$Query$GetRedirectUrl static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetRedirectUrl._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetRedirectUrl._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetRedirectUrl @@ -112,7 +106,8 @@ class Query$GetRedirectUrl { final l$$__typename = json['__typename']; return Query$GetRedirectUrl( redirect: Query$GetRedirectUrl$redirect.fromJson( - (l$redirect as Map)), + (l$redirect as Map), + ), $__typename: (l$$__typename as String), ); } @@ -134,10 +129,7 @@ class Query$GetRedirectUrl { int get hashCode { final l$redirect = redirect; final l$$__typename = $__typename; - return Object.hashAll([ - l$redirect, - l$$__typename, - ]); + return Object.hashAll([l$redirect, l$$__typename]); } @override @@ -164,10 +156,7 @@ class Query$GetRedirectUrl { extension UtilityExtension$Query$GetRedirectUrl on Query$GetRedirectUrl { CopyWith$Query$GetRedirectUrl get copyWith => - CopyWith$Query$GetRedirectUrl( - this, - (i) => i, - ); + CopyWith$Query$GetRedirectUrl(this, (i) => i); } abstract class CopyWith$Query$GetRedirectUrl { @@ -179,19 +168,13 @@ abstract class CopyWith$Query$GetRedirectUrl { factory CopyWith$Query$GetRedirectUrl.stub(TRes res) = _CopyWithStubImpl$Query$GetRedirectUrl; - TRes call({ - Query$GetRedirectUrl$redirect? redirect, - String? $__typename, - }); + TRes call({Query$GetRedirectUrl$redirect? redirect, String? $__typename}); CopyWith$Query$GetRedirectUrl$redirect get redirect; } class _CopyWithImpl$Query$GetRedirectUrl implements CopyWith$Query$GetRedirectUrl { - _CopyWithImpl$Query$GetRedirectUrl( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetRedirectUrl(this._instance, this._then); final Query$GetRedirectUrl _instance; @@ -202,20 +185,23 @@ class _CopyWithImpl$Query$GetRedirectUrl TRes call({ Object? redirect = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetRedirectUrl( - redirect: redirect == _undefined || redirect == null - ? _instance.redirect - : (redirect as Query$GetRedirectUrl$redirect), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetRedirectUrl( + redirect: redirect == _undefined || redirect == null + ? _instance.redirect + : (redirect as Query$GetRedirectUrl$redirect), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetRedirectUrl$redirect get redirect { final local$redirect = _instance.redirect; return CopyWith$Query$GetRedirectUrl$redirect( - local$redirect, (e) => call(redirect: e)); + local$redirect, + (e) => call(redirect: e), + ); } } @@ -225,57 +211,63 @@ class _CopyWithStubImpl$Query$GetRedirectUrl TRes _res; - call({ - Query$GetRedirectUrl$redirect? redirect, - String? $__typename, - }) => - _res; + call({Query$GetRedirectUrl$redirect? redirect, String? $__typename}) => _res; CopyWith$Query$GetRedirectUrl$redirect get redirect => CopyWith$Query$GetRedirectUrl$redirect.stub(_res); } -const documentNodeQueryGetRedirectUrl = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetRedirectUrl'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, +const documentNodeQueryGetRedirectUrl = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetRedirectUrl'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'redirect'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'url'), + name: NameNode(value: 'redirect'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'requiresAuthentication'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'url'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'requiresAuthentication'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -284,21 +276,14 @@ const documentNodeQueryGetRedirectUrl = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$GetRedirectUrl _parserFn$Query$GetRedirectUrl( - Map data) => - Query$GetRedirectUrl.fromJson(data); + Map data, +) => Query$GetRedirectUrl.fromJson(data); typedef OnQueryComplete$Query$GetRedirectUrl = FutureOr Function( Map?, Query$GetRedirectUrl?, @@ -318,36 +303,36 @@ class Options$Query$GetRedirectUrl graphql.Context? context, OnQueryComplete$Query$GetRedirectUrl? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetRedirectUrl(data), - ), - onError: onError, - document: documentNodeQueryGetRedirectUrl, - parserFn: _parserFn$Query$GetRedirectUrl, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetRedirectUrl(data), + ), + onError: onError, + document: documentNodeQueryGetRedirectUrl, + parserFn: _parserFn$Query$GetRedirectUrl, + ); final OnQueryComplete$Query$GetRedirectUrl? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetRedirectUrl @@ -366,20 +351,20 @@ class WatchOptions$Query$GetRedirectUrl bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetRedirectUrl, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetRedirectUrl, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetRedirectUrl, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetRedirectUrl, + ); } class FetchMoreOptions$Query$GetRedirectUrl extends graphql.FetchMoreOptions { @@ -387,35 +372,33 @@ class FetchMoreOptions$Query$GetRedirectUrl extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetRedirectUrl variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetRedirectUrl, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetRedirectUrl, + ); } extension ClientExtension$Query$GetRedirectUrl on graphql.GraphQLClient { Future> query$GetRedirectUrl( - Options$Query$GetRedirectUrl options) async => - await this.query(options); + Options$Query$GetRedirectUrl options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetRedirectUrl( - WatchOptions$Query$GetRedirectUrl options) => - this.watchQuery(options); + WatchOptions$Query$GetRedirectUrl options, + ) => this.watchQuery(options); void writeQuery$GetRedirectUrl({ required Query$GetRedirectUrl data, required Variables$Query$GetRedirectUrl variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetRedirectUrl), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetRedirectUrl), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetRedirectUrl? readQuery$GetRedirectUrl({ required Variables$Query$GetRedirectUrl variables, @@ -433,11 +416,11 @@ extension ClientExtension$Query$GetRedirectUrl on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetRedirectUrl( - Options$Query$GetRedirectUrl options) => - graphql_flutter.useQuery(options); + Options$Query$GetRedirectUrl options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetRedirectUrl( - WatchOptions$Query$GetRedirectUrl options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetRedirectUrl options, +) => graphql_flutter.useWatchQuery(options); class Query$GetRedirectUrl$Widget extends graphql_flutter.Query { @@ -445,11 +428,7 @@ class Query$GetRedirectUrl$Widget widgets.Key? key, required Options$Query$GetRedirectUrl options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetRedirectUrl$redirect { @@ -492,11 +471,7 @@ class Query$GetRedirectUrl$redirect { final l$url = url; final l$requiresAuthentication = requiresAuthentication; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$requiresAuthentication, - l$$__typename, - ]); + return Object.hashAll([l$url, l$requiresAuthentication, l$$__typename]); } @override @@ -530,10 +505,7 @@ class Query$GetRedirectUrl$redirect { extension UtilityExtension$Query$GetRedirectUrl$redirect on Query$GetRedirectUrl$redirect { CopyWith$Query$GetRedirectUrl$redirect - get copyWith => CopyWith$Query$GetRedirectUrl$redirect( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetRedirectUrl$redirect(this, (i) => i); } abstract class CopyWith$Query$GetRedirectUrl$redirect { @@ -545,19 +517,12 @@ abstract class CopyWith$Query$GetRedirectUrl$redirect { factory CopyWith$Query$GetRedirectUrl$redirect.stub(TRes res) = _CopyWithStubImpl$Query$GetRedirectUrl$redirect; - TRes call({ - String? url, - bool? requiresAuthentication, - String? $__typename, - }); + TRes call({String? url, bool? requiresAuthentication, String? $__typename}); } class _CopyWithImpl$Query$GetRedirectUrl$redirect implements CopyWith$Query$GetRedirectUrl$redirect { - _CopyWithImpl$Query$GetRedirectUrl$redirect( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetRedirectUrl$redirect(this._instance, this._then); final Query$GetRedirectUrl$redirect _instance; @@ -569,17 +534,18 @@ class _CopyWithImpl$Query$GetRedirectUrl$redirect Object? url = _undefined, Object? requiresAuthentication = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetRedirectUrl$redirect( - url: url == _undefined || url == null ? _instance.url : (url as String), - requiresAuthentication: requiresAuthentication == _undefined || - requiresAuthentication == null - ? _instance.requiresAuthentication - : (requiresAuthentication as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetRedirectUrl$redirect( + url: url == _undefined || url == null ? _instance.url : (url as String), + requiresAuthentication: + requiresAuthentication == _undefined || requiresAuthentication == null + ? _instance.requiresAuthentication + : (requiresAuthentication as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetRedirectUrl$redirect @@ -588,10 +554,6 @@ class _CopyWithStubImpl$Query$GetRedirectUrl$redirect TRes _res; - call({ - String? url, - bool? requiresAuthentication, - String? $__typename, - }) => + call({String? url, bool? requiresAuthentication, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/search.graphql.dart b/bccm_core/lib/src/features/graphql/queries/search.graphql.dart index 127bd63..e9ccc29 100644 --- a/bccm_core/lib/src/features/graphql/queries/search.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/search.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -150,32 +151,32 @@ class Fragment$SearchResultItem { extension UtilityExtension$Fragment$SearchResultItem on Fragment$SearchResultItem { CopyWith$Fragment$SearchResultItem get copyWith => - CopyWith$Fragment$SearchResultItem( - this, - (i) => i, - ); + CopyWith$Fragment$SearchResultItem(this, (i) => i); _T when<_T>({ required _T Function(Fragment$SearchResultItem$$EpisodeSearchItem) - episodeSearchItem, + episodeSearchItem, required _T Function(Fragment$SearchResultItem$$ShowSearchItem) - showSearchItem, + showSearchItem, required _T Function(Fragment$SearchResultItem$$SeasonSearchItem) - seasonSearchItem, + seasonSearchItem, required _T Function() orElse, }) { switch ($__typename) { case "EpisodeSearchItem": return episodeSearchItem( - this as Fragment$SearchResultItem$$EpisodeSearchItem); + this as Fragment$SearchResultItem$$EpisodeSearchItem, + ); case "ShowSearchItem": return showSearchItem( - this as Fragment$SearchResultItem$$ShowSearchItem); + this as Fragment$SearchResultItem$$ShowSearchItem, + ); case "SeasonSearchItem": return seasonSearchItem( - this as Fragment$SearchResultItem$$SeasonSearchItem); + this as Fragment$SearchResultItem$$SeasonSearchItem, + ); default: return orElse(); @@ -184,7 +185,7 @@ extension UtilityExtension$Fragment$SearchResultItem _T maybeWhen<_T>({ _T Function(Fragment$SearchResultItem$$EpisodeSearchItem)? - episodeSearchItem, + episodeSearchItem, _T Function(Fragment$SearchResultItem$$ShowSearchItem)? showSearchItem, _T Function(Fragment$SearchResultItem$$SeasonSearchItem)? seasonSearchItem, required _T Function() orElse, @@ -193,7 +194,8 @@ extension UtilityExtension$Fragment$SearchResultItem case "EpisodeSearchItem": if (episodeSearchItem != null) { return episodeSearchItem( - this as Fragment$SearchResultItem$$EpisodeSearchItem); + this as Fragment$SearchResultItem$$EpisodeSearchItem, + ); } else { return orElse(); } @@ -201,7 +203,8 @@ extension UtilityExtension$Fragment$SearchResultItem case "ShowSearchItem": if (showSearchItem != null) { return showSearchItem( - this as Fragment$SearchResultItem$$ShowSearchItem); + this as Fragment$SearchResultItem$$ShowSearchItem, + ); } else { return orElse(); } @@ -209,7 +212,8 @@ extension UtilityExtension$Fragment$SearchResultItem case "SeasonSearchItem": if (seasonSearchItem != null) { return seasonSearchItem( - this as Fragment$SearchResultItem$$SeasonSearchItem); + this as Fragment$SearchResultItem$$SeasonSearchItem, + ); } else { return orElse(); } @@ -242,10 +246,7 @@ abstract class CopyWith$Fragment$SearchResultItem { class _CopyWithImpl$Fragment$SearchResultItem implements CopyWith$Fragment$SearchResultItem { - _CopyWithImpl$Fragment$SearchResultItem( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$SearchResultItem(this._instance, this._then); final Fragment$SearchResultItem _instance; @@ -261,25 +262,27 @@ class _CopyWithImpl$Fragment$SearchResultItem Object? description = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$SearchResultItem( - collection: collection == _undefined || collection == null - ? _instance.collection - : (collection as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - legacyID: - legacyID == _undefined ? _instance.legacyID : (legacyID as String?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$SearchResultItem( + collection: collection == _undefined || collection == null + ? _instance.collection + : (collection as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + legacyID: legacyID == _undefined + ? _instance.legacyID + : (legacyID as String?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$SearchResultItem @@ -296,180 +299,189 @@ class _CopyWithStubImpl$Fragment$SearchResultItem String? description, String? image, String? $__typename, - }) => - _res; + }) => _res; } const fragmentDefinitionSearchResultItem = FragmentDefinitionNode( name: NameNode(value: 'SearchResultItem'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'SearchResultItem'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'collection'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + on: NamedTypeNode( + name: NameNode(value: 'SearchResultItem'), + isNonNull: false, ), - FieldNode( - name: NameNode(value: 'legacyID'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'collection'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'legacyID'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'EpisodeSearchItem'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'showTitle'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'seasonTitle'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'ageRating'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'duration'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'EpisodeSearchItem'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'showTitle'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'seasonTitle'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'ageRating'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'duration'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( on: NamedTypeNode( - name: NameNode(value: 'ShowSearchItem'), - isNonNull: false, - )), - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + name: NameNode(value: 'ShowSearchItem'), + isNonNull: false, + ), ), - FieldNode( - name: NameNode(value: 'show'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'image'), - alias: NameNode(value: 'posterImage'), - arguments: [ - ArgumentNode( - name: NameNode(value: 'style'), - value: EnumValueNode(name: NameNode(value: 'poster')), - ) - ], + name: NameNode(value: '__typename'), + alias: null, + arguments: [], directives: [], selectionSet: null, ), FieldNode( - name: NameNode(value: '__typename'), + name: NameNode(value: 'show'), alias: null, arguments: [], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'image'), + alias: NameNode(value: 'posterImage'), + arguments: [ + ArgumentNode( + name: NameNode(value: 'style'), + value: EnumValueNode(name: NameNode(value: 'poster')), + ), + ], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), - ]), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentSearchResultItem = DocumentNode( + definitions: [fragmentDefinitionSearchResultItem], ); -const documentNodeFragmentSearchResultItem = DocumentNode(definitions: [ - fragmentDefinitionSearchResultItem, -]); extension ClientExtension$Fragment$SearchResultItem on graphql.GraphQLClient { void writeFragment$SearchResultItem({ required Fragment$SearchResultItem data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'SearchResultItem', - document: documentNodeFragmentSearchResultItem, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'SearchResultItem', + document: documentNodeFragmentSearchResultItem, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$SearchResultItem? readFragment$SearchResultItem({ required Map idFields, @@ -506,7 +518,8 @@ class Fragment$SearchResultItem$$EpisodeSearchItem }); factory Fragment$SearchResultItem$$EpisodeSearchItem.fromJson( - Map json) { + Map json, + ) { final l$showTitle = json['showTitle']; final l$seasonTitle = json['seasonTitle']; final l$ageRating = json['ageRating']; @@ -681,11 +694,10 @@ class Fragment$SearchResultItem$$EpisodeSearchItem extension UtilityExtension$Fragment$SearchResultItem$$EpisodeSearchItem on Fragment$SearchResultItem$$EpisodeSearchItem { CopyWith$Fragment$SearchResultItem$$EpisodeSearchItem< - Fragment$SearchResultItem$$EpisodeSearchItem> - get copyWith => CopyWith$Fragment$SearchResultItem$$EpisodeSearchItem( - this, - (i) => i, - ); + Fragment$SearchResultItem$$EpisodeSearchItem + > + get copyWith => + CopyWith$Fragment$SearchResultItem$$EpisodeSearchItem(this, (i) => i); } abstract class CopyWith$Fragment$SearchResultItem$$EpisodeSearchItem { @@ -737,37 +749,39 @@ class _CopyWithImpl$Fragment$SearchResultItem$$EpisodeSearchItem Object? title = _undefined, Object? description = _undefined, Object? image = _undefined, - }) => - _then(Fragment$SearchResultItem$$EpisodeSearchItem( - showTitle: showTitle == _undefined - ? _instance.showTitle - : (showTitle as String?), - seasonTitle: seasonTitle == _undefined - ? _instance.seasonTitle - : (seasonTitle as String?), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - collection: collection == _undefined || collection == null - ? _instance.collection - : (collection as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - legacyID: - legacyID == _undefined ? _instance.legacyID : (legacyID as String?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - image: image == _undefined ? _instance.image : (image as String?), - )); + }) => _then( + Fragment$SearchResultItem$$EpisodeSearchItem( + showTitle: showTitle == _undefined + ? _instance.showTitle + : (showTitle as String?), + seasonTitle: seasonTitle == _undefined + ? _instance.seasonTitle + : (seasonTitle as String?), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + collection: collection == _undefined || collection == null + ? _instance.collection + : (collection as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + legacyID: legacyID == _undefined + ? _instance.legacyID + : (legacyID as String?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + image: image == _undefined ? _instance.image : (image as String?), + ), + ); } class _CopyWithStubImpl$Fragment$SearchResultItem$$EpisodeSearchItem @@ -788,8 +802,7 @@ class _CopyWithStubImpl$Fragment$SearchResultItem$$EpisodeSearchItem String? title, String? description, String? image, - }) => - _res; + }) => _res; } class Fragment$SearchResultItem$$ShowSearchItem @@ -806,7 +819,8 @@ class Fragment$SearchResultItem$$ShowSearchItem }); factory Fragment$SearchResultItem$$ShowSearchItem.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$$show = json['show']; final l$collection = json['collection']; @@ -818,7 +832,8 @@ class Fragment$SearchResultItem$$ShowSearchItem return Fragment$SearchResultItem$$ShowSearchItem( $__typename: (l$$__typename as String), $show: Fragment$SearchResultItem$$ShowSearchItem$show.fromJson( - (l$$show as Map)), + (l$$show as Map), + ), collection: (l$collection as String), id: (l$id as String), legacyID: (l$legacyID as String?), @@ -943,11 +958,10 @@ class Fragment$SearchResultItem$$ShowSearchItem extension UtilityExtension$Fragment$SearchResultItem$$ShowSearchItem on Fragment$SearchResultItem$$ShowSearchItem { CopyWith$Fragment$SearchResultItem$$ShowSearchItem< - Fragment$SearchResultItem$$ShowSearchItem> - get copyWith => CopyWith$Fragment$SearchResultItem$$ShowSearchItem( - this, - (i) => i, - ); + Fragment$SearchResultItem$$ShowSearchItem + > + get copyWith => + CopyWith$Fragment$SearchResultItem$$ShowSearchItem(this, (i) => i); } abstract class CopyWith$Fragment$SearchResultItem$$ShowSearchItem { @@ -994,33 +1008,37 @@ class _CopyWithImpl$Fragment$SearchResultItem$$ShowSearchItem Object? title = _undefined, Object? description = _undefined, Object? image = _undefined, - }) => - _then(Fragment$SearchResultItem$$ShowSearchItem( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show as Fragment$SearchResultItem$$ShowSearchItem$show), - collection: collection == _undefined || collection == null - ? _instance.collection - : (collection as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - legacyID: - legacyID == _undefined ? _instance.legacyID : (legacyID as String?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - image: image == _undefined ? _instance.image : (image as String?), - )); + }) => _then( + Fragment$SearchResultItem$$ShowSearchItem( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Fragment$SearchResultItem$$ShowSearchItem$show), + collection: collection == _undefined || collection == null + ? _instance.collection + : (collection as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + legacyID: legacyID == _undefined + ? _instance.legacyID + : (legacyID as String?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + image: image == _undefined ? _instance.image : (image as String?), + ), + ); CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show get $show { final local$$show = _instance.$show; return CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } @@ -1039,8 +1057,7 @@ class _CopyWithStubImpl$Fragment$SearchResultItem$$ShowSearchItem String? title, String? description, String? image, - }) => - _res; + }) => _res; CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show get $show => CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show.stub(_res); @@ -1053,7 +1070,8 @@ class Fragment$SearchResultItem$$ShowSearchItem$show { }); factory Fragment$SearchResultItem$$ShowSearchItem$show.fromJson( - Map json) { + Map json, + ) { final l$posterImage = json['posterImage']; final l$$__typename = json['__typename']; return Fragment$SearchResultItem$$ShowSearchItem$show( @@ -1079,10 +1097,7 @@ class Fragment$SearchResultItem$$ShowSearchItem$show { int get hashCode { final l$posterImage = posterImage; final l$$__typename = $__typename; - return Object.hashAll([ - l$posterImage, - l$$__typename, - ]); + return Object.hashAll([l$posterImage, l$$__typename]); } @override @@ -1111,11 +1126,10 @@ class Fragment$SearchResultItem$$ShowSearchItem$show { extension UtilityExtension$Fragment$SearchResultItem$$ShowSearchItem$show on Fragment$SearchResultItem$$ShowSearchItem$show { CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show< - Fragment$SearchResultItem$$ShowSearchItem$show> - get copyWith => CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show( - this, - (i) => i, - ); + Fragment$SearchResultItem$$ShowSearchItem$show + > + get copyWith => + CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show(this, (i) => i); } abstract class CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show { @@ -1125,13 +1139,10 @@ abstract class CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show { ) = _CopyWithImpl$Fragment$SearchResultItem$$ShowSearchItem$show; factory CopyWith$Fragment$SearchResultItem$$ShowSearchItem$show.stub( - TRes res) = - _CopyWithStubImpl$Fragment$SearchResultItem$$ShowSearchItem$show; + TRes res, + ) = _CopyWithStubImpl$Fragment$SearchResultItem$$ShowSearchItem$show; - TRes call({ - String? posterImage, - String? $__typename, - }); + TRes call({String? posterImage, String? $__typename}); } class _CopyWithImpl$Fragment$SearchResultItem$$ShowSearchItem$show @@ -1150,15 +1161,16 @@ class _CopyWithImpl$Fragment$SearchResultItem$$ShowSearchItem$show TRes call({ Object? posterImage = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$SearchResultItem$$ShowSearchItem$show( - posterImage: posterImage == _undefined - ? _instance.posterImage - : (posterImage as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$SearchResultItem$$ShowSearchItem$show( + posterImage: posterImage == _undefined + ? _instance.posterImage + : (posterImage as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$SearchResultItem$$ShowSearchItem$show @@ -1167,11 +1179,7 @@ class _CopyWithStubImpl$Fragment$SearchResultItem$$ShowSearchItem$show TRes _res; - call({ - String? posterImage, - String? $__typename, - }) => - _res; + call({String? posterImage, String? $__typename}) => _res; } class Fragment$SearchResultItem$$SeasonSearchItem @@ -1187,7 +1195,8 @@ class Fragment$SearchResultItem$$SeasonSearchItem }); factory Fragment$SearchResultItem$$SeasonSearchItem.fromJson( - Map json) { + Map json, + ) { final l$collection = json['collection']; final l$id = json['id']; final l$legacyID = json['legacyID']; @@ -1310,11 +1319,10 @@ class Fragment$SearchResultItem$$SeasonSearchItem extension UtilityExtension$Fragment$SearchResultItem$$SeasonSearchItem on Fragment$SearchResultItem$$SeasonSearchItem { CopyWith$Fragment$SearchResultItem$$SeasonSearchItem< - Fragment$SearchResultItem$$SeasonSearchItem> - get copyWith => CopyWith$Fragment$SearchResultItem$$SeasonSearchItem( - this, - (i) => i, - ); + Fragment$SearchResultItem$$SeasonSearchItem + > + get copyWith => + CopyWith$Fragment$SearchResultItem$$SeasonSearchItem(this, (i) => i); } abstract class CopyWith$Fragment$SearchResultItem$$SeasonSearchItem { @@ -1358,25 +1366,27 @@ class _CopyWithImpl$Fragment$SearchResultItem$$SeasonSearchItem Object? description = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$SearchResultItem$$SeasonSearchItem( - collection: collection == _undefined || collection == null - ? _instance.collection - : (collection as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - legacyID: - legacyID == _undefined ? _instance.legacyID : (legacyID as String?), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$SearchResultItem$$SeasonSearchItem( + collection: collection == _undefined || collection == null + ? _instance.collection + : (collection as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + legacyID: legacyID == _undefined + ? _instance.legacyID + : (legacyID as String?), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$SearchResultItem$$SeasonSearchItem @@ -1393,8 +1403,7 @@ class _CopyWithStubImpl$Fragment$SearchResultItem$$SeasonSearchItem String? description, String? image, String? $__typename, - }) => - _res; + }) => _res; } class Variables$Query$Search { @@ -1402,12 +1411,11 @@ class Variables$Query$Search { required String queryString, int? first, int? offset, - }) => - Variables$Query$Search._({ - r'queryString': queryString, - if (first != null) r'first': first, - if (offset != null) r'offset': offset, - }); + }) => Variables$Query$Search._({ + r'queryString': queryString, + if (first != null) r'first': first, + if (offset != null) r'offset': offset, + }); Variables$Query$Search._(this._$data); @@ -1450,10 +1458,7 @@ class Variables$Query$Search { } CopyWith$Variables$Query$Search get copyWith => - CopyWith$Variables$Query$Search( - this, - (i) => i, - ); + CopyWith$Variables$Query$Search(this, (i) => i); @override bool operator ==(Object other) { @@ -1509,19 +1514,12 @@ abstract class CopyWith$Variables$Query$Search { factory CopyWith$Variables$Query$Search.stub(TRes res) = _CopyWithStubImpl$Variables$Query$Search; - TRes call({ - String? queryString, - int? first, - int? offset, - }); + TRes call({String? queryString, int? first, int? offset}); } class _CopyWithImpl$Variables$Query$Search implements CopyWith$Variables$Query$Search { - _CopyWithImpl$Variables$Query$Search( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$Search(this._instance, this._then); final Variables$Query$Search _instance; @@ -1533,14 +1531,15 @@ class _CopyWithImpl$Variables$Query$Search Object? queryString = _undefined, Object? first = _undefined, Object? offset = _undefined, - }) => - _then(Variables$Query$Search._({ - ..._instance._$data, - if (queryString != _undefined && queryString != null) - 'queryString': (queryString as String), - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + }) => _then( + Variables$Query$Search._({ + ..._instance._$data, + if (queryString != _undefined && queryString != null) + 'queryString': (queryString as String), + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Query$Search @@ -1549,19 +1548,11 @@ class _CopyWithStubImpl$Variables$Query$Search TRes _res; - call({ - String? queryString, - int? first, - int? offset, - }) => - _res; + call({String? queryString, int? first, int? offset}) => _res; } class Query$Search { - Query$Search({ - required this.search, - this.$__typename = 'QueryRoot', - }); + Query$Search({required this.search, this.$__typename = 'QueryRoot'}); factory Query$Search.fromJson(Map json) { final l$search = json['search']; @@ -1589,10 +1580,7 @@ class Query$Search { int get hashCode { final l$search = search; final l$$__typename = $__typename; - return Object.hashAll([ - l$search, - l$$__typename, - ]); + return Object.hashAll([l$search, l$$__typename]); } @override @@ -1618,10 +1606,8 @@ class Query$Search { } extension UtilityExtension$Query$Search on Query$Search { - CopyWith$Query$Search get copyWith => CopyWith$Query$Search( - this, - (i) => i, - ); + CopyWith$Query$Search get copyWith => + CopyWith$Query$Search(this, (i) => i); } abstract class CopyWith$Query$Search { @@ -1632,18 +1618,12 @@ abstract class CopyWith$Query$Search { factory CopyWith$Query$Search.stub(TRes res) = _CopyWithStubImpl$Query$Search; - TRes call({ - Query$Search$search? search, - String? $__typename, - }); + TRes call({Query$Search$search? search, String? $__typename}); CopyWith$Query$Search$search get search; } class _CopyWithImpl$Query$Search implements CopyWith$Query$Search { - _CopyWithImpl$Query$Search( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Search(this._instance, this._then); final Query$Search _instance; @@ -1651,18 +1631,17 @@ class _CopyWithImpl$Query$Search implements CopyWith$Query$Search { static const _undefined = {}; - TRes call({ - Object? search = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$Search( - search: search == _undefined || search == null - ? _instance.search - : (search as Query$Search$search), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? search = _undefined, Object? $__typename = _undefined}) => + _then( + Query$Search( + search: search == _undefined || search == null + ? _instance.search + : (search as Query$Search$search), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$Search$search get search { final local$search = _instance.search; @@ -1676,102 +1655,104 @@ class _CopyWithStubImpl$Query$Search TRes _res; - call({ - Query$Search$search? search, - String? $__typename, - }) => - _res; + call({Query$Search$search? search, String? $__typename}) => _res; CopyWith$Query$Search$search get search => CopyWith$Query$Search$search.stub(_res); } -const documentNodeQuerySearch = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'Search'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'queryString')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, +const documentNodeQuerySearch = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'Search'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'queryString')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'offset')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'offset')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'search'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'queryString'), - value: VariableNode(name: NameNode(value: 'queryString')), - ), - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'hits'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'page'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'result'), + name: NameNode(value: 'search'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SearchResultItem'), - directives: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'queryString'), + value: VariableNode(name: NameNode(value: 'queryString')), + ), + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode(name: NameNode(value: 'offset')), ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'hits'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'page'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'result'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'SearchResultItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1780,19 +1761,12 @@ const documentNodeQuerySearch = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionSearchResultItem, -]); + ), + fragmentDefinitionSearchResultItem, + ], +); Query$Search _parserFn$Query$Search(Map data) => Query$Search.fromJson(data); typedef OnQueryComplete$Query$Search = FutureOr Function( @@ -1813,36 +1787,36 @@ class Options$Query$Search extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$Search? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$Search(data), - ), - onError: onError, - document: documentNodeQuerySearch, - parserFn: _parserFn$Query$Search, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$Search(data), + ), + onError: onError, + document: documentNodeQuerySearch, + parserFn: _parserFn$Query$Search, + ); final OnQueryComplete$Query$Search? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$Search @@ -1861,20 +1835,20 @@ class WatchOptions$Query$Search bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerySearch, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$Search, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerySearch, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$Search, + ); } class FetchMoreOptions$Query$Search extends graphql.FetchMoreOptions { @@ -1882,34 +1856,33 @@ class FetchMoreOptions$Query$Search extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$Search variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerySearch, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerySearch, + ); } extension ClientExtension$Query$Search on graphql.GraphQLClient { Future> query$Search( - Options$Query$Search options) async => - await this.query(options); + Options$Query$Search options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$Search( - WatchOptions$Query$Search options) => - this.watchQuery(options); + WatchOptions$Query$Search options, + ) => this.watchQuery(options); void writeQuery$Search({ required Query$Search data, required Variables$Query$Search variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQuerySearch), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerySearch), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$Search? readQuery$Search({ required Variables$Query$Search variables, @@ -1927,22 +1900,18 @@ extension ClientExtension$Query$Search on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$Search( - Options$Query$Search options) => - graphql_flutter.useQuery(options); + Options$Query$Search options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$Search( - WatchOptions$Query$Search options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$Search options, +) => graphql_flutter.useWatchQuery(options); class Query$Search$Widget extends graphql_flutter.Query { Query$Search$Widget({ widgets.Key? key, required Options$Query$Search options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$Search$search { @@ -1962,8 +1931,10 @@ class Query$Search$search { hits: (l$hits as int), page: (l$page as int), result: (l$result as List) - .map((e) => - Fragment$SearchResultItem.fromJson((e as Map))) + .map( + (e) => + Fragment$SearchResultItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -2045,10 +2016,7 @@ class Query$Search$search { extension UtilityExtension$Query$Search$search on Query$Search$search { CopyWith$Query$Search$search get copyWith => - CopyWith$Query$Search$search( - this, - (i) => i, - ); + CopyWith$Query$Search$search(this, (i) => i); } abstract class CopyWith$Query$Search$search { @@ -2067,19 +2035,16 @@ abstract class CopyWith$Query$Search$search { String? $__typename, }); TRes result( - Iterable Function( - Iterable< - CopyWith$Fragment$SearchResultItem< - Fragment$SearchResultItem>>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$Search$search implements CopyWith$Query$Search$search { - _CopyWithImpl$Query$Search$search( - this._instance, - this._then, - ); + _CopyWithImpl$Query$Search$search(this._instance, this._then); final Query$Search$search _instance; @@ -2092,32 +2057,31 @@ class _CopyWithImpl$Query$Search$search Object? page = _undefined, Object? result = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$Search$search( - hits: - hits == _undefined || hits == null ? _instance.hits : (hits as int), - page: - page == _undefined || page == null ? _instance.page : (page as int), - result: result == _undefined || result == null - ? _instance.result - : (result as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$Search$search( + hits: hits == _undefined || hits == null ? _instance.hits : (hits as int), + page: page == _undefined || page == null ? _instance.page : (page as int), + result: result == _undefined || result == null + ? _instance.result + : (result as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes result( - Iterable Function( - Iterable< - CopyWith$Fragment$SearchResultItem< - Fragment$SearchResultItem>>) - _fn) => - call( - result: _fn( - _instance.result.map((e) => CopyWith$Fragment$SearchResultItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + result: _fn( + _instance.result.map( + (e) => CopyWith$Fragment$SearchResultItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$Search$search @@ -2131,8 +2095,7 @@ class _CopyWithStubImpl$Query$Search$search int? page, List? result, String? $__typename, - }) => - _res; + }) => _res; result(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/season.graphql.dart b/bccm_core/lib/src/features/graphql/queries/season.graphql.dart index 1c177ed..c48ab7c 100644 --- a/bccm_core/lib/src/features/graphql/queries/season.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/season.graphql.dart @@ -1,25 +1,28 @@ import 'dart:async'; + import 'episode.graphql.dart'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; + import 'page.graphql.dart'; class Variables$Query$GetSeasonEpisodes { factory Variables$Query$GetSeasonEpisodes({ required String id, String? dir, - }) => - Variables$Query$GetSeasonEpisodes._({ - r'id': id, - if (dir != null) r'dir': dir, - }); + }) => Variables$Query$GetSeasonEpisodes._({ + r'id': id, + if (dir != null) r'dir': dir, + }); Variables$Query$GetSeasonEpisodes._(this._$data); factory Variables$Query$GetSeasonEpisodes.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -48,10 +51,7 @@ class Variables$Query$GetSeasonEpisodes { } CopyWith$Variables$Query$GetSeasonEpisodes - get copyWith => CopyWith$Variables$Query$GetSeasonEpisodes( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetSeasonEpisodes(this, (i) => i); @override bool operator ==(Object other) { @@ -82,10 +82,7 @@ class Variables$Query$GetSeasonEpisodes { int get hashCode { final l$id = id; final l$dir = dir; - return Object.hashAll([ - l$id, - _$data.containsKey('dir') ? l$dir : const {}, - ]); + return Object.hashAll([l$id, _$data.containsKey('dir') ? l$dir : const {}]); } } @@ -98,18 +95,12 @@ abstract class CopyWith$Variables$Query$GetSeasonEpisodes { factory CopyWith$Variables$Query$GetSeasonEpisodes.stub(TRes res) = _CopyWithStubImpl$Variables$Query$GetSeasonEpisodes; - TRes call({ - String? id, - String? dir, - }); + TRes call({String? id, String? dir}); } class _CopyWithImpl$Variables$Query$GetSeasonEpisodes implements CopyWith$Variables$Query$GetSeasonEpisodes { - _CopyWithImpl$Variables$Query$GetSeasonEpisodes( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetSeasonEpisodes(this._instance, this._then); final Variables$Query$GetSeasonEpisodes _instance; @@ -117,15 +108,13 @@ class _CopyWithImpl$Variables$Query$GetSeasonEpisodes static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? dir = _undefined, - }) => - _then(Variables$Query$GetSeasonEpisodes._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (dir != _undefined) 'dir': (dir as String?), - })); + TRes call({Object? id = _undefined, Object? dir = _undefined}) => _then( + Variables$Query$GetSeasonEpisodes._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (dir != _undefined) 'dir': (dir as String?), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetSeasonEpisodes @@ -134,11 +123,7 @@ class _CopyWithStubImpl$Variables$Query$GetSeasonEpisodes TRes _res; - call({ - String? id, - String? dir, - }) => - _res; + call({String? id, String? dir}) => _res; } class Query$GetSeasonEpisodes { @@ -152,7 +137,8 @@ class Query$GetSeasonEpisodes { final l$$__typename = json['__typename']; return Query$GetSeasonEpisodes( season: Query$GetSeasonEpisodes$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -174,10 +160,7 @@ class Query$GetSeasonEpisodes { int get hashCode { final l$season = season; final l$$__typename = $__typename; - return Object.hashAll([ - l$season, - l$$__typename, - ]); + return Object.hashAll([l$season, l$$__typename]); } @override @@ -204,10 +187,7 @@ class Query$GetSeasonEpisodes { extension UtilityExtension$Query$GetSeasonEpisodes on Query$GetSeasonEpisodes { CopyWith$Query$GetSeasonEpisodes get copyWith => - CopyWith$Query$GetSeasonEpisodes( - this, - (i) => i, - ); + CopyWith$Query$GetSeasonEpisodes(this, (i) => i); } abstract class CopyWith$Query$GetSeasonEpisodes { @@ -219,19 +199,13 @@ abstract class CopyWith$Query$GetSeasonEpisodes { factory CopyWith$Query$GetSeasonEpisodes.stub(TRes res) = _CopyWithStubImpl$Query$GetSeasonEpisodes; - TRes call({ - Query$GetSeasonEpisodes$season? season, - String? $__typename, - }); + TRes call({Query$GetSeasonEpisodes$season? season, String? $__typename}); CopyWith$Query$GetSeasonEpisodes$season get season; } class _CopyWithImpl$Query$GetSeasonEpisodes implements CopyWith$Query$GetSeasonEpisodes { - _CopyWithImpl$Query$GetSeasonEpisodes( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetSeasonEpisodes(this._instance, this._then); final Query$GetSeasonEpisodes _instance; @@ -239,23 +213,24 @@ class _CopyWithImpl$Query$GetSeasonEpisodes static const _undefined = {}; - TRes call({ - Object? season = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSeasonEpisodes( - season: season == _undefined || season == null - ? _instance.season - : (season as Query$GetSeasonEpisodes$season), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? season = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSeasonEpisodes( + season: season == _undefined || season == null + ? _instance.season + : (season as Query$GetSeasonEpisodes$season), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSeasonEpisodes$season get season { final local$season = _instance.season; return CopyWith$Query$GetSeasonEpisodes$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -265,105 +240,115 @@ class _CopyWithStubImpl$Query$GetSeasonEpisodes TRes _res; - call({ - Query$GetSeasonEpisodes$season? season, - String? $__typename, - }) => - _res; + call({Query$GetSeasonEpisodes$season? season, String? $__typename}) => _res; CopyWith$Query$GetSeasonEpisodes$season get season => CopyWith$Query$GetSeasonEpisodes$season.stub(_res); } -const documentNodeQueryGetSeasonEpisodes = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetSeasonEpisodes'), - 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: 'dir')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: false, +const documentNodeQueryGetSeasonEpisodes = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetSeasonEpisodes'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'number'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'dir')), + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: false, ), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'episodes'), + name: NameNode(value: 'season'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'dir'), - value: VariableNode(name: NameNode(value: 'dir')), - ) + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'SeasonListEpisode'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'number'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episodes'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'dir'), + value: VariableNode(name: NameNode(value: 'dir')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'SeasonListEpisode'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -372,23 +357,16 @@ const documentNodeQueryGetSeasonEpisodes = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionSeasonListEpisode, - fragmentDefinitionEpisodeThumbnail, -]); + ), + fragmentDefinitionSeasonListEpisode, + fragmentDefinitionEpisodeThumbnail, + ], +); Query$GetSeasonEpisodes _parserFn$Query$GetSeasonEpisodes( - Map data) => - Query$GetSeasonEpisodes.fromJson(data); + Map data, +) => Query$GetSeasonEpisodes.fromJson(data); typedef OnQueryComplete$Query$GetSeasonEpisodes = FutureOr Function( Map?, Query$GetSeasonEpisodes?, @@ -408,38 +386,36 @@ class Options$Query$GetSeasonEpisodes graphql.Context? context, OnQueryComplete$Query$GetSeasonEpisodes? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetSeasonEpisodes(data), - ), - onError: onError, - document: documentNodeQueryGetSeasonEpisodes, - parserFn: _parserFn$Query$GetSeasonEpisodes, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetSeasonEpisodes(data), + ), + onError: onError, + document: documentNodeQueryGetSeasonEpisodes, + parserFn: _parserFn$Query$GetSeasonEpisodes, + ); final OnQueryComplete$Query$GetSeasonEpisodes? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetSeasonEpisodes @@ -458,20 +434,20 @@ class WatchOptions$Query$GetSeasonEpisodes bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetSeasonEpisodes, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetSeasonEpisodes, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetSeasonEpisodes, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetSeasonEpisodes, + ); } class FetchMoreOptions$Query$GetSeasonEpisodes @@ -480,35 +456,35 @@ class FetchMoreOptions$Query$GetSeasonEpisodes required graphql.UpdateQuery updateQuery, required Variables$Query$GetSeasonEpisodes variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetSeasonEpisodes, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetSeasonEpisodes, + ); } extension ClientExtension$Query$GetSeasonEpisodes on graphql.GraphQLClient { Future> query$GetSeasonEpisodes( - Options$Query$GetSeasonEpisodes options) async => - await this.query(options); + Options$Query$GetSeasonEpisodes options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetSeasonEpisodes( - WatchOptions$Query$GetSeasonEpisodes options) => - this.watchQuery(options); + WatchOptions$Query$GetSeasonEpisodes options, + ) => this.watchQuery(options); void writeQuery$GetSeasonEpisodes({ required Query$GetSeasonEpisodes data, required Variables$Query$GetSeasonEpisodes variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetSeasonEpisodes), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetSeasonEpisodes, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetSeasonEpisodes? readQuery$GetSeasonEpisodes({ required Variables$Query$GetSeasonEpisodes variables, @@ -516,8 +492,9 @@ extension ClientExtension$Query$GetSeasonEpisodes on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetSeasonEpisodes), + operation: graphql.Operation( + document: documentNodeQueryGetSeasonEpisodes, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -527,12 +504,11 @@ extension ClientExtension$Query$GetSeasonEpisodes on graphql.GraphQLClient { } graphql_flutter.QueryHookResult - useQuery$GetSeasonEpisodes(Options$Query$GetSeasonEpisodes options) => - graphql_flutter.useQuery(options); +useQuery$GetSeasonEpisodes(Options$Query$GetSeasonEpisodes options) => + graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetSeasonEpisodes( - WatchOptions$Query$GetSeasonEpisodes options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetSeasonEpisodes(WatchOptions$Query$GetSeasonEpisodes options) => + graphql_flutter.useWatchQuery(options); class Query$GetSeasonEpisodes$Widget extends graphql_flutter.Query { @@ -540,11 +516,7 @@ class Query$GetSeasonEpisodes$Widget widgets.Key? key, required Options$Query$GetSeasonEpisodes options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetSeasonEpisodes$season { @@ -564,7 +536,8 @@ class Query$GetSeasonEpisodes$season { id: (l$id as String), number: (l$number as int), episodes: Query$GetSeasonEpisodes$season$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } @@ -596,12 +569,7 @@ class Query$GetSeasonEpisodes$season { final l$number = number; final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$number, - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$id, l$number, l$episodes, l$$__typename]); } @override @@ -640,10 +608,7 @@ class Query$GetSeasonEpisodes$season { extension UtilityExtension$Query$GetSeasonEpisodes$season on Query$GetSeasonEpisodes$season { CopyWith$Query$GetSeasonEpisodes$season - get copyWith => CopyWith$Query$GetSeasonEpisodes$season( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetSeasonEpisodes$season(this, (i) => i); } abstract class CopyWith$Query$GetSeasonEpisodes$season { @@ -666,10 +631,7 @@ abstract class CopyWith$Query$GetSeasonEpisodes$season { class _CopyWithImpl$Query$GetSeasonEpisodes$season implements CopyWith$Query$GetSeasonEpisodes$season { - _CopyWithImpl$Query$GetSeasonEpisodes$season( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetSeasonEpisodes$season(this._instance, this._then); final Query$GetSeasonEpisodes$season _instance; @@ -682,24 +644,27 @@ class _CopyWithImpl$Query$GetSeasonEpisodes$season Object? number = _undefined, Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSeasonEpisodes$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - number: number == _undefined || number == null - ? _instance.number - : (number as int), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes as Query$GetSeasonEpisodes$season$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSeasonEpisodes$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + number: number == _undefined || number == null + ? _instance.number + : (number as int), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetSeasonEpisodes$season$episodes), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSeasonEpisodes$season$episodes get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetSeasonEpisodes$season$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } @@ -714,8 +679,7 @@ class _CopyWithStubImpl$Query$GetSeasonEpisodes$season int? number, Query$GetSeasonEpisodes$season$episodes? episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSeasonEpisodes$season$episodes get episodes => CopyWith$Query$GetSeasonEpisodes$season$episodes.stub(_res); @@ -728,13 +692,17 @@ class Query$GetSeasonEpisodes$season$episodes { }); factory Query$GetSeasonEpisodes$season$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetSeasonEpisodes$season$episodes( items: (l$items as List) - .map((e) => - Fragment$SeasonListEpisode.fromJson((e as Map))) + .map( + (e) => Fragment$SeasonListEpisode.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -796,11 +764,10 @@ class Query$GetSeasonEpisodes$season$episodes { extension UtilityExtension$Query$GetSeasonEpisodes$season$episodes on Query$GetSeasonEpisodes$season$episodes { CopyWith$Query$GetSeasonEpisodes$season$episodes< - Query$GetSeasonEpisodes$season$episodes> - get copyWith => CopyWith$Query$GetSeasonEpisodes$season$episodes( - this, - (i) => i, - ); + Query$GetSeasonEpisodes$season$episodes + > + get copyWith => + CopyWith$Query$GetSeasonEpisodes$season$episodes(this, (i) => i); } abstract class CopyWith$Query$GetSeasonEpisodes$season$episodes { @@ -812,16 +779,13 @@ abstract class CopyWith$Query$GetSeasonEpisodes$season$episodes { factory CopyWith$Query$GetSeasonEpisodes$season$episodes.stub(TRes res) = _CopyWithStubImpl$Query$GetSeasonEpisodes$season$episodes; - TRes call({ - List? items, - String? $__typename, - }); + TRes call({List? items, String? $__typename}); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSeasonEpisodes$season$episodes @@ -837,31 +801,30 @@ class _CopyWithImpl$Query$GetSeasonEpisodes$season$episodes static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSeasonEpisodes$season$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSeasonEpisodes$season$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$SeasonListEpisode< - Fragment$SeasonListEpisode>>) - _fn) => - call( - items: _fn( - _instance.items.map((e) => CopyWith$Fragment$SeasonListEpisode( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$SeasonListEpisode(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSeasonEpisodes$season$episodes @@ -870,11 +833,7 @@ class _CopyWithStubImpl$Query$GetSeasonEpisodes$season$episodes TRes _res; - call({ - List? items, - String? $__typename, - }) => - _res; + call({List? items, String? $__typename}) => _res; items(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/sections.graphql.dart b/bccm_core/lib/src/features/graphql/queries/sections.graphql.dart index 93c9380..2fa26f7 100644 --- a/bccm_core/lib/src/features/graphql/queries/sections.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/sections.graphql.dart @@ -1,10 +1,13 @@ import '../schema/persons.graphql.dart'; import '../schema/sections.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; + import 'page.graphql.dart'; class Variables$Query$FetchMoreItemsForItemSection { @@ -12,17 +15,17 @@ class Variables$Query$FetchMoreItemsForItemSection { required String id, int? first, int? offset, - }) => - Variables$Query$FetchMoreItemsForItemSection._({ - r'id': id, - if (first != null) r'first': first, - if (offset != null) r'offset': offset, - }); + }) => Variables$Query$FetchMoreItemsForItemSection._({ + r'id': id, + if (first != null) r'first': first, + if (offset != null) r'offset': offset, + }); Variables$Query$FetchMoreItemsForItemSection._(this._$data); factory Variables$Query$FetchMoreItemsForItemSection.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -61,11 +64,10 @@ class Variables$Query$FetchMoreItemsForItemSection { } CopyWith$Variables$Query$FetchMoreItemsForItemSection< - Variables$Query$FetchMoreItemsForItemSection> - get copyWith => CopyWith$Variables$Query$FetchMoreItemsForItemSection( - this, - (i) => i, - ); + Variables$Query$FetchMoreItemsForItemSection + > + get copyWith => + CopyWith$Variables$Query$FetchMoreItemsForItemSection(this, (i) => i); @override bool operator ==(Object other) { @@ -122,11 +124,7 @@ abstract class CopyWith$Variables$Query$FetchMoreItemsForItemSection { factory CopyWith$Variables$Query$FetchMoreItemsForItemSection.stub(TRes res) = _CopyWithStubImpl$Variables$Query$FetchMoreItemsForItemSection; - TRes call({ - String? id, - int? first, - int? offset, - }); + TRes call({String? id, int? first, int? offset}); } class _CopyWithImpl$Variables$Query$FetchMoreItemsForItemSection @@ -146,13 +144,14 @@ class _CopyWithImpl$Variables$Query$FetchMoreItemsForItemSection Object? id = _undefined, Object? first = _undefined, Object? offset = _undefined, - }) => - _then(Variables$Query$FetchMoreItemsForItemSection._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + }) => _then( + Variables$Query$FetchMoreItemsForItemSection._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Query$FetchMoreItemsForItemSection @@ -161,12 +160,7 @@ class _CopyWithStubImpl$Variables$Query$FetchMoreItemsForItemSection TRes _res; - call({ - String? id, - int? first, - int? offset, - }) => - _res; + call({String? id, int? first, int? offset}) => _res; } class Query$FetchMoreItemsForItemSection { @@ -176,12 +170,14 @@ class Query$FetchMoreItemsForItemSection { }); factory Query$FetchMoreItemsForItemSection.fromJson( - Map json) { + Map json, + ) { final l$section = json['section']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection( section: Query$FetchMoreItemsForItemSection$section.fromJson( - (l$section as Map)), + (l$section as Map), + ), $__typename: (l$$__typename as String), ); } @@ -203,10 +199,7 @@ class Query$FetchMoreItemsForItemSection { int get hashCode { final l$section = section; final l$$__typename = $__typename; - return Object.hashAll([ - l$section, - l$$__typename, - ]); + return Object.hashAll([l$section, l$$__typename]); } @override @@ -235,11 +228,9 @@ class Query$FetchMoreItemsForItemSection { extension UtilityExtension$Query$FetchMoreItemsForItemSection on Query$FetchMoreItemsForItemSection { CopyWith$Query$FetchMoreItemsForItemSection< - Query$FetchMoreItemsForItemSection> - get copyWith => CopyWith$Query$FetchMoreItemsForItemSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection + > + get copyWith => CopyWith$Query$FetchMoreItemsForItemSection(this, (i) => i); } abstract class CopyWith$Query$FetchMoreItemsForItemSection { @@ -260,10 +251,7 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection { class _CopyWithImpl$Query$FetchMoreItemsForItemSection implements CopyWith$Query$FetchMoreItemsForItemSection { - _CopyWithImpl$Query$FetchMoreItemsForItemSection( - this._instance, - this._then, - ); + _CopyWithImpl$Query$FetchMoreItemsForItemSection(this._instance, this._then); final Query$FetchMoreItemsForItemSection _instance; @@ -271,23 +259,24 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection static const _undefined = {}; - TRes call({ - Object? section = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection( - section: section == _undefined || section == null - ? _instance.section - : (section as Query$FetchMoreItemsForItemSection$section), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? section = _undefined, Object? $__typename = _undefined}) => + _then( + Query$FetchMoreItemsForItemSection( + section: section == _undefined || section == null + ? _instance.section + : (section as Query$FetchMoreItemsForItemSection$section), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section get section { final local$section = _instance.section; return CopyWith$Query$FetchMoreItemsForItemSection$section( - local$section, (e) => call(section: e)); + local$section, + (e) => call(section: e), + ); } } @@ -300,103 +289,121 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection call({ Query$FetchMoreItemsForItemSection$section? section, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section get section => CopyWith$Query$FetchMoreItemsForItemSection$section.stub(_res); } -const documentNodeQueryFetchMoreItemsForItemSection = - DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'FetchMoreItemsForItemSection'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryFetchMoreItemsForItemSection = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'FetchMoreItemsForItemSection'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'offset')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'offset')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'section'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'section'), alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FragmentSpreadNode( - name: NameNode(value: 'Section'), - directives: [], - ), - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'ItemSection'), - isNonNull: false, - )), + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'Section'), + directives: [], + ), + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'ItemSection'), + isNonNull: false, + ), ), - ArgumentNode( - name: NameNode(value: 'offset'), - value: VariableNode(name: NameNode(value: 'offset')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'ItemSectionItem'), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ArgumentNode( + name: NameNode(value: 'offset'), + value: VariableNode( + name: NameNode(value: 'offset'), + ), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'ItemSectionItem'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -405,25 +412,18 @@ const documentNodeQueryFetchMoreItemsForItemSection = directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -432,41 +432,34 @@ const documentNodeQueryFetchMoreItemsForItemSection = directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionSection, - fragmentDefinitionItemSection, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, - fragmentDefinitionGridSection, - fragmentDefinitionGridSectionItem, - fragmentDefinitionCardItem, -]); -Query$FetchMoreItemsForItemSection _parserFn$Query$FetchMoreItemsForItemSection( - Map data) => - Query$FetchMoreItemsForItemSection.fromJson(data); -typedef OnQueryComplete$Query$FetchMoreItemsForItemSection = FutureOr - Function( - Map?, - Query$FetchMoreItemsForItemSection?, + ), + fragmentDefinitionSection, + fragmentDefinitionItemSection, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + fragmentDefinitionGridSection, + fragmentDefinitionGridSectionItem, + fragmentDefinitionCardItem, + ], ); +Query$FetchMoreItemsForItemSection _parserFn$Query$FetchMoreItemsForItemSection( + Map data, +) => Query$FetchMoreItemsForItemSection.fromJson(data); +typedef OnQueryComplete$Query$FetchMoreItemsForItemSection = + FutureOr Function( + Map?, + Query$FetchMoreItemsForItemSection?, + ); class Options$Query$FetchMoreItemsForItemSection extends graphql.QueryOptions { @@ -482,39 +475,39 @@ class Options$Query$FetchMoreItemsForItemSection graphql.Context? context, OnQueryComplete$Query$FetchMoreItemsForItemSection? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$FetchMoreItemsForItemSection(data), - ), - onError: onError, - document: documentNodeQueryFetchMoreItemsForItemSection, - parserFn: _parserFn$Query$FetchMoreItemsForItemSection, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$FetchMoreItemsForItemSection(data), + ), + onError: onError, + document: documentNodeQueryFetchMoreItemsForItemSection, + parserFn: _parserFn$Query$FetchMoreItemsForItemSection, + ); final OnQueryComplete$Query$FetchMoreItemsForItemSection? - onCompleteWithParsed; + onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$FetchMoreItemsForItemSection @@ -533,20 +526,20 @@ class WatchOptions$Query$FetchMoreItemsForItemSection bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryFetchMoreItemsForItemSection, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$FetchMoreItemsForItemSection, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryFetchMoreItemsForItemSection, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$FetchMoreItemsForItemSection, + ); } class FetchMoreOptions$Query$FetchMoreItemsForItemSection @@ -555,38 +548,38 @@ class FetchMoreOptions$Query$FetchMoreItemsForItemSection required graphql.UpdateQuery updateQuery, required Variables$Query$FetchMoreItemsForItemSection variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryFetchMoreItemsForItemSection, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryFetchMoreItemsForItemSection, + ); } extension ClientExtension$Query$FetchMoreItemsForItemSection on graphql.GraphQLClient { Future> - query$FetchMoreItemsForItemSection( - Options$Query$FetchMoreItemsForItemSection options) async => - await this.query(options); + query$FetchMoreItemsForItemSection( + Options$Query$FetchMoreItemsForItemSection options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$FetchMoreItemsForItemSection( - WatchOptions$Query$FetchMoreItemsForItemSection options) => - this.watchQuery(options); + watchQuery$FetchMoreItemsForItemSection( + WatchOptions$Query$FetchMoreItemsForItemSection options, + ) => this.watchQuery(options); void writeQuery$FetchMoreItemsForItemSection({ required Query$FetchMoreItemsForItemSection data, required Variables$Query$FetchMoreItemsForItemSection variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryFetchMoreItemsForItemSection), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryFetchMoreItemsForItemSection, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$FetchMoreItemsForItemSection? readQuery$FetchMoreItemsForItemSection({ required Variables$Query$FetchMoreItemsForItemSection variables, @@ -595,7 +588,8 @@ extension ClientExtension$Query$FetchMoreItemsForItemSection final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQueryFetchMoreItemsForItemSection), + document: documentNodeQueryFetchMoreItemsForItemSection, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -607,13 +601,13 @@ extension ClientExtension$Query$FetchMoreItemsForItemSection } graphql_flutter.QueryHookResult - useQuery$FetchMoreItemsForItemSection( - Options$Query$FetchMoreItemsForItemSection options) => - graphql_flutter.useQuery(options); +useQuery$FetchMoreItemsForItemSection( + Options$Query$FetchMoreItemsForItemSection options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$FetchMoreItemsForItemSection( - WatchOptions$Query$FetchMoreItemsForItemSection options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$FetchMoreItemsForItemSection( + WatchOptions$Query$FetchMoreItemsForItemSection options, +) => graphql_flutter.useWatchQuery(options); class Query$FetchMoreItemsForItemSection$Widget extends graphql_flutter.Query { @@ -621,12 +615,8 @@ class Query$FetchMoreItemsForItemSection$Widget widgets.Key? key, required Options$Query$FetchMoreItemsForItemSection options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$FetchMoreItemsForItemSection$section implements Fragment$Section { @@ -638,71 +628,88 @@ class Query$FetchMoreItemsForItemSection$section implements Fragment$Section { }); factory Query$FetchMoreItemsForItemSection$section.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "PosterSection": - return Query$FetchMoreItemsForItemSection$section$$PosterSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection.fromJson( + json, + ); case "FeaturedSection": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection.fromJson( + json, + ); case "DefaultSection": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection.fromJson( + json, + ); case "CardSection": return Query$FetchMoreItemsForItemSection$section$$CardSection.fromJson( - json); + json, + ); case "ListSection": return Query$FetchMoreItemsForItemSection$section$$ListSection.fromJson( - json); + json, + ); case "CardListSection": - return Query$FetchMoreItemsForItemSection$section$$CardListSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection.fromJson( + json, + ); case "DefaultGridSection": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection.fromJson( + json, + ); case "PosterGridSection": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection.fromJson( + json, + ); case "IconGridSection": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection.fromJson( + json, + ); case "IconSection": return Query$FetchMoreItemsForItemSection$section$$IconSection.fromJson( - json); + json, + ); case "LabelSection": - return Query$FetchMoreItemsForItemSection$section$$LabelSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$LabelSection.fromJson( + json, + ); case "AvatarSection": - return Query$FetchMoreItemsForItemSection$section$$AvatarSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$AvatarSection.fromJson( + json, + ); case "WebSection": return Query$FetchMoreItemsForItemSection$section$$WebSection.fromJson( - json); + json, + ); case "MessageSection": - return Query$FetchMoreItemsForItemSection$section$$MessageSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$MessageSection.fromJson( + json, + ); case "PageDetailsSection": - return Query$FetchMoreItemsForItemSection$section$$PageDetailsSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PageDetailsSection.fromJson( + json, + ); case "AchievementSection": - return Query$FetchMoreItemsForItemSection$section$$AchievementSection - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$AchievementSection.fromJson( + json, + ); default: final l$id = json['id']; @@ -745,12 +752,7 @@ class Query$FetchMoreItemsForItemSection$section implements Fragment$Section { final l$title = title; final l$description = description; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$description, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$description, l$$__typename]); } @override @@ -789,126 +791,159 @@ class Query$FetchMoreItemsForItemSection$section implements Fragment$Section { extension UtilityExtension$Query$FetchMoreItemsForItemSection$section on Query$FetchMoreItemsForItemSection$section { CopyWith$Query$FetchMoreItemsForItemSection$section< - Query$FetchMoreItemsForItemSection$section> - get copyWith => CopyWith$Query$FetchMoreItemsForItemSection$section( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section(this, (i) => i); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection) - posterSection, + Query$FetchMoreItemsForItemSection$section$$PosterSection, + ) + posterSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection) - featuredSection, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection, + ) + featuredSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection) - defaultSection, + Query$FetchMoreItemsForItemSection$section$$DefaultSection, + ) + defaultSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection) - cardSection, + Query$FetchMoreItemsForItemSection$section$$CardSection, + ) + cardSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection) - listSection, + Query$FetchMoreItemsForItemSection$section$$ListSection, + ) + listSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection) - cardListSection, + Query$FetchMoreItemsForItemSection$section$$CardListSection, + ) + cardListSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection) - defaultGridSection, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection, + ) + defaultGridSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection) - posterGridSection, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection, + ) + posterGridSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection) - iconGridSection, + Query$FetchMoreItemsForItemSection$section$$IconGridSection, + ) + iconGridSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconSection) - iconSection, + Query$FetchMoreItemsForItemSection$section$$IconSection, + ) + iconSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection) - labelSection, + Query$FetchMoreItemsForItemSection$section$$LabelSection, + ) + labelSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection) - avatarSection, + Query$FetchMoreItemsForItemSection$section$$AvatarSection, + ) + avatarSection, required _T Function(Query$FetchMoreItemsForItemSection$section$$WebSection) - webSection, + webSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$MessageSection) - messageSection, + Query$FetchMoreItemsForItemSection$section$$MessageSection, + ) + messageSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PageDetailsSection) - pageDetailsSection, + Query$FetchMoreItemsForItemSection$section$$PageDetailsSection, + ) + pageDetailsSection, required _T Function( - Query$FetchMoreItemsForItemSection$section$$AchievementSection) - achievementSection, + Query$FetchMoreItemsForItemSection$section$$AchievementSection, + ) + achievementSection, required _T Function() orElse, }) { switch ($__typename) { case "PosterSection": return posterSection( - this as Query$FetchMoreItemsForItemSection$section$$PosterSection); + this as Query$FetchMoreItemsForItemSection$section$$PosterSection, + ); case "FeaturedSection": - return featuredSection(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection); + return featuredSection( + this as Query$FetchMoreItemsForItemSection$section$$FeaturedSection, + ); case "DefaultSection": return defaultSection( - this as Query$FetchMoreItemsForItemSection$section$$DefaultSection); + this as Query$FetchMoreItemsForItemSection$section$$DefaultSection, + ); case "CardSection": return cardSection( - this as Query$FetchMoreItemsForItemSection$section$$CardSection); + this as Query$FetchMoreItemsForItemSection$section$$CardSection, + ); case "ListSection": return listSection( - this as Query$FetchMoreItemsForItemSection$section$$ListSection); + this as Query$FetchMoreItemsForItemSection$section$$ListSection, + ); case "CardListSection": - return cardListSection(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection); + return cardListSection( + this as Query$FetchMoreItemsForItemSection$section$$CardListSection, + ); case "DefaultGridSection": - return defaultGridSection(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection); + return defaultGridSection( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection, + ); case "PosterGridSection": - return posterGridSection(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection); + return posterGridSection( + this as Query$FetchMoreItemsForItemSection$section$$PosterGridSection, + ); case "IconGridSection": - return iconGridSection(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection); + return iconGridSection( + this as Query$FetchMoreItemsForItemSection$section$$IconGridSection, + ); case "IconSection": return iconSection( - this as Query$FetchMoreItemsForItemSection$section$$IconSection); + this as Query$FetchMoreItemsForItemSection$section$$IconSection, + ); case "LabelSection": return labelSection( - this as Query$FetchMoreItemsForItemSection$section$$LabelSection); + this as Query$FetchMoreItemsForItemSection$section$$LabelSection, + ); case "AvatarSection": return avatarSection( - this as Query$FetchMoreItemsForItemSection$section$$AvatarSection); + this as Query$FetchMoreItemsForItemSection$section$$AvatarSection, + ); case "WebSection": return webSection( - this as Query$FetchMoreItemsForItemSection$section$$WebSection); + this as Query$FetchMoreItemsForItemSection$section$$WebSection, + ); case "MessageSection": return messageSection( - this as Query$FetchMoreItemsForItemSection$section$$MessageSection); + this as Query$FetchMoreItemsForItemSection$section$$MessageSection, + ); case "PageDetailsSection": - return pageDetailsSection(this - as Query$FetchMoreItemsForItemSection$section$$PageDetailsSection); + return pageDetailsSection( + this + as Query$FetchMoreItemsForItemSection$section$$PageDetailsSection, + ); case "AchievementSection": - return achievementSection(this - as Query$FetchMoreItemsForItemSection$section$$AchievementSection); + return achievementSection( + this + as Query$FetchMoreItemsForItemSection$section$$AchievementSection, + ); default: return orElse(); @@ -917,60 +952,63 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section _T maybeWhen<_T>({ _T Function(Query$FetchMoreItemsForItemSection$section$$PosterSection)? - posterSection, + posterSection, _T Function(Query$FetchMoreItemsForItemSection$section$$FeaturedSection)? - featuredSection, + featuredSection, _T Function(Query$FetchMoreItemsForItemSection$section$$DefaultSection)? - defaultSection, + defaultSection, _T Function(Query$FetchMoreItemsForItemSection$section$$CardSection)? - cardSection, + cardSection, _T Function(Query$FetchMoreItemsForItemSection$section$$ListSection)? - listSection, + listSection, _T Function(Query$FetchMoreItemsForItemSection$section$$CardListSection)? - cardListSection, + cardListSection, _T Function(Query$FetchMoreItemsForItemSection$section$$DefaultGridSection)? - defaultGridSection, + defaultGridSection, _T Function(Query$FetchMoreItemsForItemSection$section$$PosterGridSection)? - posterGridSection, + posterGridSection, _T Function(Query$FetchMoreItemsForItemSection$section$$IconGridSection)? - iconGridSection, + iconGridSection, _T Function(Query$FetchMoreItemsForItemSection$section$$IconSection)? - iconSection, + iconSection, _T Function(Query$FetchMoreItemsForItemSection$section$$LabelSection)? - labelSection, + labelSection, _T Function(Query$FetchMoreItemsForItemSection$section$$AvatarSection)? - avatarSection, + avatarSection, _T Function(Query$FetchMoreItemsForItemSection$section$$WebSection)? - webSection, + webSection, _T Function(Query$FetchMoreItemsForItemSection$section$$MessageSection)? - messageSection, + messageSection, _T Function(Query$FetchMoreItemsForItemSection$section$$PageDetailsSection)? - pageDetailsSection, + pageDetailsSection, _T Function(Query$FetchMoreItemsForItemSection$section$$AchievementSection)? - achievementSection, + achievementSection, required _T Function() orElse, }) { switch ($__typename) { case "PosterSection": if (posterSection != null) { - return posterSection(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection); + return posterSection( + this as Query$FetchMoreItemsForItemSection$section$$PosterSection, + ); } else { return orElse(); } case "FeaturedSection": if (featuredSection != null) { - return featuredSection(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection); + return featuredSection( + this as Query$FetchMoreItemsForItemSection$section$$FeaturedSection, + ); } else { return orElse(); } case "DefaultSection": if (defaultSection != null) { - return defaultSection(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection); + return defaultSection( + this as Query$FetchMoreItemsForItemSection$section$$DefaultSection, + ); } else { return orElse(); } @@ -978,7 +1016,8 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section case "CardSection": if (cardSection != null) { return cardSection( - this as Query$FetchMoreItemsForItemSection$section$$CardSection); + this as Query$FetchMoreItemsForItemSection$section$$CardSection, + ); } else { return orElse(); } @@ -986,39 +1025,46 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section case "ListSection": if (listSection != null) { return listSection( - this as Query$FetchMoreItemsForItemSection$section$$ListSection); + this as Query$FetchMoreItemsForItemSection$section$$ListSection, + ); } else { return orElse(); } case "CardListSection": if (cardListSection != null) { - return cardListSection(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection); + return cardListSection( + this as Query$FetchMoreItemsForItemSection$section$$CardListSection, + ); } else { return orElse(); } case "DefaultGridSection": if (defaultGridSection != null) { - return defaultGridSection(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection); + return defaultGridSection( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection, + ); } else { return orElse(); } case "PosterGridSection": if (posterGridSection != null) { - return posterGridSection(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection); + return posterGridSection( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection, + ); } else { return orElse(); } case "IconGridSection": if (iconGridSection != null) { - return iconGridSection(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection); + return iconGridSection( + this as Query$FetchMoreItemsForItemSection$section$$IconGridSection, + ); } else { return orElse(); } @@ -1026,7 +1072,8 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section case "IconSection": if (iconSection != null) { return iconSection( - this as Query$FetchMoreItemsForItemSection$section$$IconSection); + this as Query$FetchMoreItemsForItemSection$section$$IconSection, + ); } else { return orElse(); } @@ -1034,15 +1081,17 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section case "LabelSection": if (labelSection != null) { return labelSection( - this as Query$FetchMoreItemsForItemSection$section$$LabelSection); + this as Query$FetchMoreItemsForItemSection$section$$LabelSection, + ); } else { return orElse(); } case "AvatarSection": if (avatarSection != null) { - return avatarSection(this - as Query$FetchMoreItemsForItemSection$section$$AvatarSection); + return avatarSection( + this as Query$FetchMoreItemsForItemSection$section$$AvatarSection, + ); } else { return orElse(); } @@ -1050,31 +1099,37 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section case "WebSection": if (webSection != null) { return webSection( - this as Query$FetchMoreItemsForItemSection$section$$WebSection); + this as Query$FetchMoreItemsForItemSection$section$$WebSection, + ); } else { return orElse(); } case "MessageSection": if (messageSection != null) { - return messageSection(this - as Query$FetchMoreItemsForItemSection$section$$MessageSection); + return messageSection( + this as Query$FetchMoreItemsForItemSection$section$$MessageSection, + ); } else { return orElse(); } case "PageDetailsSection": if (pageDetailsSection != null) { - return pageDetailsSection(this - as Query$FetchMoreItemsForItemSection$section$$PageDetailsSection); + return pageDetailsSection( + this + as Query$FetchMoreItemsForItemSection$section$$PageDetailsSection, + ); } else { return orElse(); } case "AchievementSection": if (achievementSection != null) { - return achievementSection(this - as Query$FetchMoreItemsForItemSection$section$$AchievementSection); + return achievementSection( + this + as Query$FetchMoreItemsForItemSection$section$$AchievementSection, + ); } else { return orElse(); } @@ -1120,17 +1175,18 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section Object? title = _undefined, Object? description = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section @@ -1139,12 +1195,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section TRes _res; - call({ - String? id, - String? title, - String? description, - String? $__typename, - }) => + call({String? id, String? title, String? description, String? $__typename}) => _res; } @@ -1164,7 +1215,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -1175,10 +1227,13 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection return Query$FetchMoreItemsForItemSection$section$$PosterSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$PosterSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$PosterSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -1188,7 +1243,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection } final Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items items; @@ -1292,29 +1347,31 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection on Query$FetchMoreItemsForItemSection$section$$PosterSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection< - Query$FetchMoreItemsForItemSection$section$$PosterSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection( Query$FetchMoreItemsForItemSection$section$$PosterSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$PosterSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$PosterSection$items? items, String? $__typename, Enum$SectionSize? size, @@ -1323,16 +1380,20 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items - get items; + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection( this._instance, this._then, @@ -1341,7 +1402,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection< final Query$FetchMoreItemsForItemSection$section$$PosterSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$PosterSection) - _then; + _then; static const _undefined = {}; @@ -1353,79 +1414,92 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$PosterSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$PosterSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items - get items { + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$PosterSection$items? items, String? $__typename, Enum$SectionSize? size, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items - .stub(_res); + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata @@ -1445,7 +1519,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -1463,8 +1538,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -1482,7 +1558,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page? - page; + page; final int? limit; @@ -1599,26 +1675,29 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata on Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata; TRes call({ bool? continueWatching, @@ -1627,30 +1706,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata) _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata, + ) + _then; static const _undefined = {}; @@ -1664,57 +1749,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$me Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -1725,18 +1818,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page @@ -1749,7 +1843,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( @@ -1775,10 +1870,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -1808,83 +1900,83 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items @@ -1899,7 +1991,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -1908,9 +2001,12 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1922,8 +2018,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + > + items; final String $__typename; @@ -1998,57 +2095,71 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items on Query$FetchMoreItemsForItemSection$section$$PosterSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items( Query$FetchMoreItemsForItemSection$section$$PosterSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items; TRes call({ int? offset, int? first, List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items, + ) + _then; static const _undefined = {}; @@ -2057,44 +2168,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$PosterSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items( - this._res); + this._res, + ); TRes _res; @@ -2102,10 +2230,9 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSectio int? offset, int? first, List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -2123,7 +2250,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -2134,8 +2262,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2147,7 +2276,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item - item; + item; final String $__typename; @@ -2173,13 +2302,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -2224,56 +2347,64 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items, + ) + _then; static const _undefined = {}; @@ -2283,38 +2414,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -2323,72 +2461,86 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? title, String? image, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item implements Fragment$Section$$PosterSection$items$items$item, Fragment$ItemSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -2429,86 +2581,117 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person, + ); default: return orElse(); @@ -2517,114 +2700,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSec _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -2636,55 +2849,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSec } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -2715,7 +2938,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -2731,9 +2955,12 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final l$productionDate = json['productionDate']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -2746,16 +2973,18 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), productionDate: (l$productionDate as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -2776,7 +3005,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final int? number; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -2785,8 +3014,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -2933,33 +3163,39 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -2970,36 +3206,48 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -3017,82 +3265,106 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? season = _undefined, Object? $__typename = _undefined, Object? productionDate = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - productionDate: productionDate == _undefined || productionDate == null - ? _instance.productionDate - : (productionDate as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + productionDate: productionDate == _undefined || productionDate == null + ? _instance.productionDate + : (productionDate as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -3103,19 +3375,20 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors @@ -3129,14 +3402,16 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -3145,7 +3420,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -3213,56 +3488,65 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -3270,53 +3554,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person @@ -3329,7 +3621,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( @@ -3355,10 +3648,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -3386,85 +3676,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season @@ -3479,15 +3772,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3495,7 +3790,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final int number; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -3515,11 +3810,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -3552,56 +3843,65 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -3609,52 +3909,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show @@ -3668,7 +3976,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( @@ -3694,10 +4003,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -3725,85 +4031,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show @@ -3822,7 +4131,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -3835,11 +4145,13 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), seasons: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons - .fromJson((l$seasons as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons.fromJson( + (l$seasons as Map), + ), ); } @@ -3852,10 +4164,10 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final String $__typename; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons - seasons; + seasons; Map toJson() { final _resultData = {}; @@ -3937,29 +4249,33 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show; TRes call({ String? id, @@ -3967,32 +4283,39 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSectio int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons? - seasons, + seasons, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> get seasons; + TRes + > + get seasons; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -4003,51 +4326,62 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? $__typename = _undefined, Object? defaultEpisode = _undefined, Object? seasons = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> get seasons { + TRes + > + get seasons { final local$seasons = _instance.seasons; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -4057,23 +4391,26 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSectio int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons? - seasons, - }) => - _res; + seasons, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> - get seasons => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons - .stub(_res); + TRes + > + get seasons => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode @@ -4087,7 +4424,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( @@ -4113,10 +4451,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -4144,83 +4479,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season @@ -4228,14 +4566,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item Fragment$Section$$PosterSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -4273,66 +4614,78 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -4351,7 +4704,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( @@ -4377,10 +4731,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -4408,85 +4759,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link @@ -4501,7 +4855,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( @@ -4527,10 +4882,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -4558,83 +4910,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic @@ -4642,14 +4997,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item Fragment$Section$$PosterSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -4687,66 +5045,78 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -4765,7 +5135,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( @@ -4791,10 +5162,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -4822,85 +5190,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist @@ -4918,7 +5289,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; final l$title = json['title']; @@ -4930,8 +5302,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item title: (l$title as String), image: (l$image as String?), items: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items - .fromJson((l$items as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items.fromJson( + (l$items as Map), + ), ); } @@ -4944,7 +5317,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final String? image; final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items - items; + items; Map toJson() { final _resultData = {}; @@ -4968,13 +5341,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item final l$title = title; final l$image = image; final l$items = items; - return Object.hashAll([ - l$id, - l$$__typename, - l$title, - l$image, - l$items, - ]); + return Object.hashAll([l$id, l$$__typename, l$title, l$image, l$items]); } @override @@ -5017,29 +5384,33 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist; TRes call({ String? id, @@ -5047,28 +5418,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? title, String? image, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items? - items, + items, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; @@ -5078,38 +5454,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$it Object? title = _undefined, Object? image = _undefined, Object? items = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -5119,15 +5502,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSectio String? title, String? image, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items? - items, - }) => - _res; + items, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short @@ -5142,7 +5526,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( @@ -5168,10 +5553,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -5199,83 +5581,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person @@ -5290,7 +5675,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( @@ -5316,10 +5702,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -5347,83 +5730,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items @@ -5435,22 +5821,27 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + items; final String $__typename; @@ -5505,107 +5896,140 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items; TRes call({ - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -5619,15 +6043,18 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { - case "Short": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - .fromJson(json); - case "Episode": - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( + json, + ); + + case "Short": + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( + json, + ); default: final l$image = json['image']; @@ -5656,10 +6083,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -5687,32 +6111,40 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + short, required _T Function() orElse, }) { switch ($__typename) { - case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short); - case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ); + + case "Short": + return short( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ); default: return orElse(); @@ -5721,26 +6153,32 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSec _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + )? + short, required _T Function() orElse, }) { switch ($__typename) { - case "Short": - if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short); + case "Episode": + if (episode != null) { + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ); } else { return orElse(); } - case "Episode": - if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode); + case "Short": + if (short != null) { + return short( + this + as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ); } else { return orElse(); } @@ -5752,88 +6190,90 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSec } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items( - this._res); + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } -class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short +class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode implements - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items { - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short({ + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode({ this.image, - this.$__typename = 'Short', + this.$__typename = 'Episode', }); - factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( - Map json) { + factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( + Map json, + ) { final l$image = json['image']; final l$$__typename = json['__typename']; - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( image: (l$image as String?), $__typename: (l$$__typename as String), ); @@ -5856,10 +6296,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -5868,7 +6305,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item return true; } if (other - is! Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short || + is! Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode || runtimeType != other.runtimeType) { return false; } @@ -5886,100 +6323,104 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } } -extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short { - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - this, - (i) => i, - ); +extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode { + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + this, + (i) => i, + ); } -abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - instance, +abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> { + factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - then, - ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + then, + ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; - factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; + factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.stub( + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } -class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> +class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> implements - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes + > { + _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( this._instance, this._then, ); - final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - _instance; + final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> +class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> implements - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - this._res); + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes + > { + _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } -class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode +class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short implements - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items { - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode({ + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short({ this.image, - this.$__typename = 'Episode', + this.$__typename = 'Short', }); - factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( - Map json) { + factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( + Map json, + ) { final l$image = json['image']; final l$$__typename = json['__typename']; - return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( image: (l$image as String?), $__typename: (l$$__typename as String), ); @@ -6002,10 +6443,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -6014,7 +6452,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item return true; } if (other - is! Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode || + is! Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short || runtimeType != other.runtimeType) { return false; } @@ -6032,84 +6470,87 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } } -extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode { - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - this, - (i) => i, - ); +extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short { + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + this, + (i) => i, + ); } -abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - instance, +abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> { + factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - then, - ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + then, + ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; - factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; + factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.stub( + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } -class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> +class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> implements - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes + > { + _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( this._instance, this._then, ); - final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - _instance; + final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> +class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> implements - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - this._res); + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes + > { + _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons @@ -6120,22 +6561,27 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items> - items; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + items; final String $__typename; @@ -6190,107 +6636,140 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons; TRes call({ - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -6304,19 +6783,21 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$episodes = json['episodes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( episodes: - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - .fromJson((l$episodes as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.fromJson( + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - episodes; + episodes; final String $__typename; @@ -6333,10 +6814,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$episodes, l$$__typename]); } @override @@ -6364,103 +6842,120 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items; TRes call({ Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes? - episodes, + episodes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> get episodes; + TRes + > + get episodes; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items, + ) + _then; static const _undefined = {}; TRes call({ Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> get episodes { + TRes + > + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes? - episodes, + episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> - get episodes => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - .stub(_res); + TRes + > + get episodes => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes @@ -6472,22 +6967,27 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items> - items; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + items; final String $__typename; @@ -6542,107 +7042,140 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes; TRes call({ - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -6656,7 +7189,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item }); factory Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.fromJson( - Map json) { + Map json, + ) { final l$publishDate = json['publishDate']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( @@ -6682,10 +7216,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item int get hashCode { final l$publishDate = publishDate; final l$$__typename = $__typename; - return Object.hashAll([ - l$publishDate, - l$$__typename, - ]); + return Object.hashAll([l$publishDate, l$$__typename]); } @override @@ -6713,85 +7244,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - on Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items { + on + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; - TRes call({ - String? publishDate, - String? $__typename, - }); + TRes call({String? publishDate, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items, + ) + _then; static const _undefined = {}; TRes call({ Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - this._res); + this._res, + ); TRes _res; - call({ - String? publishDate, - String? $__typename, - }) => - _res; + call({String? publishDate, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection @@ -6810,7 +7344,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -6821,10 +7356,13 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection return Query$FetchMoreItemsForItemSection$section$$FeaturedSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -6834,7 +7372,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection } final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items items; @@ -6938,29 +7476,31 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection on Query$FetchMoreItemsForItemSection$section$$FeaturedSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection( Query$FetchMoreItemsForItemSection$section$$FeaturedSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$FeaturedSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items? items, String? $__typename, Enum$SectionSize? size, @@ -6969,16 +7509,22 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSect String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection( this._instance, this._then, @@ -6987,7 +7533,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< final Query$FetchMoreItemsForItemSection$section$$FeaturedSection _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection) _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection, + ) + _then; static const _undefined = {}; @@ -6999,80 +7547,96 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$FeaturedSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items? items, String? $__typename, Enum$SectionSize? size, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata @@ -7092,7 +7656,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -7110,8 +7675,9 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -7129,7 +7695,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page? - page; + page; final int? limit; @@ -7246,27 +7812,30 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata; TRes call({ bool? continueWatching, @@ -7275,31 +7844,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSect String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata, + ) + _then; static const _undefined = {}; @@ -7313,58 +7887,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -7375,18 +7956,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSect String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page @@ -7399,7 +7981,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( @@ -7425,10 +8008,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -7458,83 +8038,85 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items @@ -7549,7 +8131,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -7558,9 +8141,12 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -7572,8 +8158,9 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + > + items; final String $__typename; @@ -7648,57 +8235,73 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items; TRes call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items, + ) + _then; static const _undefined = {}; @@ -7707,55 +8310,73 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items( - this._res); + this._res, + ); TRes _res; call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -7774,7 +8395,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -7786,8 +8408,9 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -7800,7 +8423,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item - item; + item; final String $__typename; @@ -7888,57 +8511,65 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item? - item, + item, String? $__typename, String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items, + ) + _then; static const _undefined = {}; @@ -7949,41 +8580,48 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -7992,73 +8630,87 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSect String? title, String? image, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item? - item, + item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item implements Fragment$Section$$FeaturedSection$items$items$item, Fragment$ItemSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -8099,86 +8751,117 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person, + ); default: return orElse(); @@ -8187,114 +8870,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedS _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -8306,55 +9019,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedS } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -8384,7 +9107,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -8399,9 +9123,12 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -8414,15 +9141,17 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -8443,15 +9172,16 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it final int? number; final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -8589,33 +9319,39 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -8626,35 +9362,47 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSect String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -8671,79 +9419,103 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -8754,18 +9526,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSect String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors @@ -8779,14 +9552,16 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -8795,7 +9570,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -8863,56 +9638,65 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -8920,53 +9704,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person @@ -8979,7 +9771,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( @@ -9005,10 +9798,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -9036,85 +9826,88 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season @@ -9129,15 +9922,17 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -9145,7 +9940,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it final int number; final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -9165,11 +9960,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -9202,56 +9993,65 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -9259,52 +10059,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show @@ -9318,7 +10126,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( @@ -9344,10 +10153,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -9375,85 +10181,88 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show @@ -9471,7 +10280,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -9483,8 +10293,9 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -9497,7 +10308,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it final String $__typename; final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -9570,29 +10381,33 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show; TRes call({ String? id, @@ -9600,28 +10415,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSect int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -9631,40 +10451,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$ Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -9674,15 +10501,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSect int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode @@ -9696,7 +10524,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( @@ -9722,10 +10551,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -9753,83 +10579,86 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season @@ -9837,14 +10666,17 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it Fragment$Section$$FeaturedSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -9882,66 +10714,78 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -9960,7 +10804,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( @@ -9986,10 +10831,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -10017,85 +10859,88 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link @@ -10110,7 +10955,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( @@ -10136,10 +10982,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -10167,83 +11010,86 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic @@ -10251,14 +11097,17 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -10296,66 +11145,78 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -10374,7 +11235,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( @@ -10400,10 +11262,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -10431,85 +11290,88 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist @@ -10524,7 +11386,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( @@ -10550,10 +11413,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -10581,83 +11441,86 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short @@ -10672,7 +11535,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( @@ -10698,10 +11562,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -10729,83 +11590,86 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person @@ -10820,7 +11684,8 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( @@ -10846,10 +11711,7 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -10877,83 +11739,86 @@ class Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$FeaturedSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection @@ -10972,7 +11837,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -10983,10 +11849,13 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection return Query$FetchMoreItemsForItemSection$section$$DefaultSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$DefaultSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -10996,7 +11865,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection } final Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items items; @@ -11100,29 +11969,31 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection on Query$FetchMoreItemsForItemSection$section$$DefaultSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection< - Query$FetchMoreItemsForItemSection$section$$DefaultSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection( Query$FetchMoreItemsForItemSection$section$$DefaultSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$DefaultSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items? items, String? $__typename, Enum$SectionSize? size, @@ -11131,16 +12002,22 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSecti String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection( this._instance, this._then, @@ -11149,7 +12026,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection< final Query$FetchMoreItemsForItemSection$section$$DefaultSection _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection) _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection, + ) + _then; static const _undefined = {}; @@ -11161,80 +12040,96 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$DefaultSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items? items, String? $__typename, Enum$SectionSize? size, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata @@ -11254,7 +12149,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -11272,8 +12168,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -11291,7 +12188,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page? - page; + page; final int? limit; @@ -11408,27 +12305,30 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata on Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata; TRes call({ bool? continueWatching, @@ -11437,31 +12337,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSecti String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata, + ) + _then; static const _undefined = {}; @@ -11475,57 +12380,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$m Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -11536,18 +12449,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSecti String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page @@ -11560,7 +12474,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( @@ -11586,10 +12501,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -11619,83 +12531,85 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items @@ -11710,7 +12624,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -11719,9 +12634,12 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -11733,8 +12651,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + > + items; final String $__typename; @@ -11809,57 +12728,73 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items; TRes call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items, + ) + _then; static const _undefined = {}; @@ -11868,55 +12803,73 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$i Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items( - this._res); + this._res, + ); TRes _res; call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -11934,7 +12887,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -11945,8 +12899,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -11958,7 +12913,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item - item; + item; final String $__typename; @@ -11984,13 +12939,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -12035,56 +12984,64 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items, + ) + _then; static const _undefined = {}; @@ -12094,38 +13051,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$i Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -12134,72 +13098,86 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSecti String? title, String? image, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item implements Fragment$Section$$DefaultSection$items$items$item, Fragment$ItemSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -12240,86 +13218,117 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person, + ); default: return orElse(); @@ -12328,114 +13337,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSe _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -12447,55 +13486,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSe } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -12526,7 +13575,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -12542,9 +13592,12 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite final l$productionDate = json['productionDate']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -12557,16 +13610,18 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), productionDate: (l$productionDate as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -12587,7 +13642,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite final int? number; final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -12596,8 +13651,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -12744,33 +13800,39 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -12781,36 +13843,48 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSecti String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -12828,82 +13902,106 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$i Object? season = _undefined, Object? $__typename = _undefined, Object? productionDate = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - productionDate: productionDate == _undefined || productionDate == null - ? _instance.productionDate - : (productionDate as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + productionDate: productionDate == _undefined || productionDate == null + ? _instance.productionDate + : (productionDate as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -12914,19 +14012,20 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSecti String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors @@ -12940,14 +14039,16 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -12956,7 +14057,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -13024,56 +14125,65 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -13081,53 +14191,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$i Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person @@ -13140,7 +14258,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( @@ -13166,10 +14285,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -13197,85 +14313,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season @@ -13290,15 +14409,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -13306,7 +14427,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite final int number; final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -13326,11 +14447,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -13363,56 +14480,65 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -13420,52 +14546,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$i Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show @@ -13479,7 +14613,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( @@ -13505,10 +14640,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -13536,85 +14668,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show @@ -13632,7 +14767,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -13644,8 +14780,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -13658,7 +14795,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite final String $__typename; final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -13731,29 +14868,33 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show; TRes call({ String? id, @@ -13761,28 +14902,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSecti int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -13792,40 +14938,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$i Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -13835,15 +14988,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSecti int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode @@ -13857,7 +15011,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( @@ -13883,10 +15038,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -13914,83 +15066,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season @@ -13998,14 +15153,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite Fragment$Section$$DefaultSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -14043,66 +15201,78 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -14121,7 +15291,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( @@ -14147,10 +15318,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -14178,85 +15346,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link @@ -14271,7 +15442,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( @@ -14297,10 +15469,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -14328,83 +15497,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic @@ -14412,14 +15584,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite Fragment$Section$$DefaultSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -14457,66 +15632,78 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -14535,7 +15722,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( @@ -14561,10 +15749,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -14592,85 +15777,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist @@ -14685,7 +15873,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( @@ -14711,10 +15900,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -14742,83 +15928,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short @@ -14833,7 +16022,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( @@ -14859,10 +16049,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -14890,83 +16077,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person @@ -14981,7 +16171,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite }); factory Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( @@ -15007,10 +16198,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -15038,83 +16226,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$ite } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection @@ -15133,7 +16324,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection }); factory Query$FetchMoreItemsForItemSection$section$$CardSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -15144,10 +16336,13 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection return Query$FetchMoreItemsForItemSection$section$$CardSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$CardSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$CardSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$CardSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$CardSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), cardSize: fromJson$Enum$CardSectionSize((l$cardSize as String)), id: (l$id as String), @@ -15157,7 +16352,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection } final Query$FetchMoreItemsForItemSection$section$$CardSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$CardSection$items items; @@ -15261,24 +16456,26 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection on Query$FetchMoreItemsForItemSection$section$$CardSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection< - Query$FetchMoreItemsForItemSection$section$$CardSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection( Query$FetchMoreItemsForItemSection$section$$CardSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$CardSection) then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$CardSection$metadata? metadata, @@ -15290,13 +16487,16 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection< String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items - get items; + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection( @@ -15307,7 +16507,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection< final Query$FetchMoreItemsForItemSection$section$$CardSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$CardSection) - _then; + _then; static const _undefined = {}; @@ -15319,53 +16519,63 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$CardSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$CardSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$CardSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - cardSize: cardSize == _undefined || cardSize == null - ? _instance.cardSize - : (cardSize as Enum$CardSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + cardSize: cardSize == _undefined || cardSize == null + ? _instance.cardSize + : (cardSize as Enum$CardSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items - get items { + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection( - this._res); + this._res, + ); TRes _res; @@ -15377,19 +16587,21 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection< String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items - .stub(_res); + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata @@ -15409,7 +16621,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -15427,8 +16640,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -15446,7 +16660,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page? - page; + page; final int? limit; @@ -15563,26 +16777,29 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata on Query$FetchMoreItemsForItemSection$section$$CardSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( Query$FetchMoreItemsForItemSection$section$$CardSection$metadata instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata; TRes call({ bool? continueWatching, @@ -15596,24 +16813,30 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$ String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata) _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata, + ) + _then; static const _undefined = {}; @@ -15627,57 +16850,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$meta Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -15691,14 +16922,15 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$ int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page @@ -15711,7 +16943,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( @@ -15737,10 +16970,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -15770,83 +17000,83 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items @@ -15861,7 +17091,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -15870,9 +17101,12 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -15884,8 +17118,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + > + items; final String $__typename; @@ -15960,46 +17195,57 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items on Query$FetchMoreItemsForItemSection$section$$CardSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items< - Query$FetchMoreItemsForItemSection$section$$CardSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items( Query$FetchMoreItemsForItemSection$section$$CardSection$items instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$CardSection$items) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items; TRes call({ int? offset, int? first, List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items( this._instance, this._then, @@ -16008,7 +17254,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item final Query$FetchMoreItemsForItemSection$section$$CardSection$items _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items, + ) + _then; static const _undefined = {}; @@ -16017,44 +17265,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$CardSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items( - this._res); + this._res, + ); TRes _res; @@ -16062,10 +17327,9 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$ int? offset, int? first, List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -16085,7 +17349,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -16097,8 +17362,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -16111,7 +17377,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item - item; + item; final String $__typename; @@ -16199,57 +17465,65 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item? - item, + item, String? $__typename, String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items, + ) + _then; static const _undefined = {}; @@ -16260,40 +17534,48 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -16302,17 +17584,18 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$ String? title, String? image, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item? - item, + item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item @@ -16320,56 +17603,69 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item Fragment$Section$$CardSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$CardItem$item { - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -16410,86 +17706,117 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person, + ); default: return orElse(); @@ -16498,114 +17825,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSecti _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -16617,55 +17974,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSecti } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -16696,7 +18063,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -16711,9 +18079,12 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -16726,15 +18097,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -16755,15 +18128,16 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final int? number; final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -16901,33 +18275,39 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -16938,35 +18318,47 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$ String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -16983,79 +18375,103 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -17066,18 +18482,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$ String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors @@ -17092,14 +18509,16 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -17108,7 +18527,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -17176,56 +18595,65 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -17233,53 +18661,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person @@ -17293,7 +18729,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( @@ -17319,10 +18756,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -17350,85 +18784,88 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season @@ -17444,15 +18881,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -17460,7 +18899,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final int number; final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -17480,11 +18919,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -17517,56 +18952,65 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -17574,52 +19018,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show @@ -17634,7 +19086,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( @@ -17660,10 +19113,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -17691,85 +19141,88 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show @@ -17788,7 +19241,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -17800,8 +19254,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -17814,7 +19269,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final String $__typename; final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -17889,27 +19344,30 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show; TRes call({ String? id, @@ -17917,28 +19375,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$ int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -17948,40 +19411,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -17991,15 +19461,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$ int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode @@ -18014,7 +19485,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( @@ -18040,10 +19512,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -18071,83 +19540,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season @@ -18156,14 +19628,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ Fragment$ItemSectionItem$item$$Season, Fragment$CardItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -18201,66 +19676,78 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -18280,7 +19767,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( @@ -18306,10 +19794,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -18339,83 +19824,85 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link @@ -18431,7 +19918,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( @@ -18457,10 +19945,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -18490,81 +19975,83 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic @@ -18583,7 +20070,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -18596,13 +20084,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - .fromJson((l$lessonsProgress as Map)), + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( + (l$lessonsProgress as Map), + ), ); } @@ -18615,11 +20107,12 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final String description; final List< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images> - images; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + > + images; final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - lessonsProgress; + lessonsProgress; Map toJson() { final _resultData = {}; @@ -18708,66 +20201,84 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic; TRes call({ String? $__typename, String? id, String? title, String? description, - List? - images, + List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + >? + images, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, + lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress; + TRes + > + get lessonsProgress; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; @@ -18778,58 +20289,77 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images>), - lessonsProgress: lessonsProgress == _undefined || - lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images + as List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + >), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress as Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress), - )); + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress { + TRes + > + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -18838,20 +20368,23 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$ String? id, String? title, String? description, - List? - images, + List< + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + >? + images, Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, - }) => - _res; + lessonsProgress, + }) => _res; images(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> - get lessonsProgress => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - .stub(_res); + TRes + > + get lessonsProgress => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game @@ -18867,7 +20400,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( @@ -18893,10 +20427,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -18926,83 +20457,85 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist @@ -19018,7 +20551,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( @@ -19044,10 +20578,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -19075,83 +20606,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short @@ -19167,7 +20701,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( @@ -19193,10 +20728,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -19224,83 +20756,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person @@ -19316,7 +20851,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( @@ -19342,10 +20878,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -19373,83 +20906,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection @@ -19467,7 +21003,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection }); factory Query$FetchMoreItemsForItemSection$section$$ListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -19477,10 +21014,13 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection return Query$FetchMoreItemsForItemSection$section$$ListSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$ListSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$ListSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$ListSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$ListSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -19489,7 +21029,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection } final Query$FetchMoreItemsForItemSection$section$$ListSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$ListSection$items items; @@ -19582,24 +21122,26 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection on Query$FetchMoreItemsForItemSection$section$$ListSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection< - Query$FetchMoreItemsForItemSection$section$$ListSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection( Query$FetchMoreItemsForItemSection$section$$ListSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$ListSection) then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$ListSection$metadata? metadata, @@ -19610,13 +21152,16 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection< String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items - get items; + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection( @@ -19627,7 +21172,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection< final Query$FetchMoreItemsForItemSection$section$$ListSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$ListSection) - _then; + _then; static const _undefined = {}; @@ -19638,50 +21183,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$ListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$ListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$ListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items - get items { + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection( - this._res); + this._res, + ); TRes _res; @@ -19692,19 +21247,21 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection< String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items - .stub(_res); + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata @@ -19724,7 +21281,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -19742,8 +21300,9 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -19761,7 +21320,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page? - page; + page; final int? limit; @@ -19878,26 +21437,29 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata on Query$FetchMoreItemsForItemSection$section$$ListSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( Query$FetchMoreItemsForItemSection$section$$ListSection$metadata instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata; TRes call({ bool? continueWatching, @@ -19911,24 +21473,30 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$ String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata) _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata, + ) + _then; static const _undefined = {}; @@ -19942,57 +21510,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$meta Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -20006,14 +21582,15 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$ int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page @@ -20026,7 +21603,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( @@ -20052,10 +21630,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -20085,83 +21660,83 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items @@ -20176,7 +21751,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -20185,9 +21761,12 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -20199,8 +21778,9 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + > + items; final String $__typename; @@ -20275,46 +21855,57 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items on Query$FetchMoreItemsForItemSection$section$$ListSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items< - Query$FetchMoreItemsForItemSection$section$$ListSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items( Query$FetchMoreItemsForItemSection$section$$ListSection$items instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$ListSection$items) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items; TRes call({ int? offset, int? first, List? - items, + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items( this._instance, this._then, @@ -20323,7 +21914,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item final Query$FetchMoreItemsForItemSection$section$$ListSection$items _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items, + ) + _then; static const _undefined = {}; @@ -20332,44 +21925,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$ListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items( - this._res); + this._res, + ); TRes _res; @@ -20377,10 +21987,9 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$ int? offset, int? first, List? - items, + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -20398,7 +22007,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -20409,8 +22019,9 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -20422,7 +22033,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item - item; + item; final String $__typename; @@ -20448,13 +22059,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -20499,56 +22104,64 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items, + ) + _then; static const _undefined = {}; @@ -20558,37 +22171,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -20597,72 +22218,86 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$ String? title, String? image, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item implements Fragment$Section$$ListSection$items$items$item, Fragment$ItemSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -20703,86 +22338,117 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person, + ); default: return orElse(); @@ -20791,114 +22457,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSecti _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -20910,55 +22606,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSecti } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -20989,7 +22695,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -21005,9 +22712,12 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ final l$ageRating = json['ageRating']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -21020,16 +22730,18 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ageRating: (l$ageRating as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -21050,7 +22762,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ final int? number; final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -21059,8 +22771,9 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -21207,33 +22920,39 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -21244,36 +22963,48 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$ String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? ageRating, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -21291,82 +23022,106 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item Object? season = _undefined, Object? $__typename = _undefined, Object? ageRating = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -21377,19 +23132,20 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$ String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? ageRating, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors @@ -21403,14 +23159,16 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -21419,7 +23177,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -21487,56 +23245,65 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -21544,53 +23311,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person @@ -21603,7 +23378,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( @@ -21629,10 +23405,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -21660,85 +23433,88 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season @@ -21753,15 +23529,17 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -21769,7 +23547,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ final int number; final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -21789,11 +23567,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -21826,56 +23600,65 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -21883,52 +23666,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show @@ -21942,7 +23733,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( @@ -21968,10 +23760,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -21999,85 +23788,88 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show @@ -22095,7 +23887,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -22107,8 +23900,9 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -22121,7 +23915,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ final String $__typename; final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -22196,27 +23990,30 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show; TRes call({ String? id, @@ -22224,28 +24021,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$ int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -22255,40 +24057,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$item Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -22298,15 +24107,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$ int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode @@ -22320,7 +24130,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( @@ -22346,10 +24157,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -22377,83 +24185,86 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season @@ -22461,14 +24272,17 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ Fragment$Section$$ListSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -22506,66 +24320,78 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -22584,7 +24410,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( @@ -22610,10 +24437,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -22643,83 +24467,85 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link @@ -22734,7 +24560,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( @@ -22760,10 +24587,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -22793,81 +24617,83 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic @@ -22875,14 +24701,17 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ Fragment$Section$$ListSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -22920,66 +24749,78 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -22998,7 +24839,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( @@ -23024,10 +24866,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -23057,83 +24896,85 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist @@ -23148,7 +24989,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( @@ -23174,10 +25016,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -23205,83 +25044,86 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short @@ -23296,7 +25138,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( @@ -23322,10 +25165,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -23353,83 +25193,86 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person @@ -23444,7 +25287,8 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( @@ -23470,10 +25314,7 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -23501,83 +25342,86 @@ class Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$ListSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection @@ -23596,7 +25440,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -23607,10 +25452,13 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection return Query$FetchMoreItemsForItemSection$section$$CardListSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$CardListSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$CardListSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), cardSize: fromJson$Enum$CardSectionSize((l$cardSize as String)), id: (l$id as String), @@ -23620,7 +25468,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection } final Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$CardListSection$items items; @@ -23724,29 +25572,31 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection on Query$FetchMoreItemsForItemSection$section$$CardListSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection< - Query$FetchMoreItemsForItemSection$section$$CardListSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection( Query$FetchMoreItemsForItemSection$section$$CardListSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$CardListSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$CardListSection$items? items, String? $__typename, Enum$CardSectionSize? cardSize, @@ -23755,16 +25605,22 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSect String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection( this._instance, this._then, @@ -23773,7 +25629,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection< final Query$FetchMoreItemsForItemSection$section$$CardListSection _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection) _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection, + ) + _then; static const _undefined = {}; @@ -23785,80 +25643,96 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$CardListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$CardListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - cardSize: cardSize == _undefined || cardSize == null - ? _instance.cardSize - : (cardSize as Enum$CardSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + cardSize: cardSize == _undefined || cardSize == null + ? _instance.cardSize + : (cardSize as Enum$CardSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$CardListSection$items? items, String? $__typename, Enum$CardSectionSize? cardSize, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata @@ -23878,7 +25752,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -23896,8 +25771,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -23915,7 +25791,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page? - page; + page; final int? limit; @@ -24032,27 +25908,30 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata on Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata; TRes call({ bool? continueWatching, @@ -24061,31 +25940,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSect String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata, + ) + _then; static const _undefined = {}; @@ -24099,58 +25983,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -24161,18 +26052,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSect String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page @@ -24185,7 +26077,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( @@ -24211,10 +26104,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -24244,83 +26134,85 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items @@ -24335,7 +26227,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -24344,9 +26237,12 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -24358,8 +26254,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + > + items; final String $__typename; @@ -24434,57 +26331,73 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items on Query$FetchMoreItemsForItemSection$section$$CardListSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items( Query$FetchMoreItemsForItemSection$section$$CardListSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items; TRes call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items, + ) + _then; static const _undefined = {}; @@ -24493,55 +26406,73 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$CardListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items( - this._res); + this._res, + ); TRes _res; call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -24561,7 +26492,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -24573,8 +26505,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -24587,7 +26520,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item - item; + item; final String $__typename; @@ -24675,57 +26608,65 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item? - item, + item, String? $__typename, String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items, + ) + _then; static const _undefined = {}; @@ -24736,41 +26677,48 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -24779,17 +26727,18 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSect String? title, String? image, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item? - item, + item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item @@ -24797,56 +26746,69 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it Fragment$Section$$CardListSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$CardItem$item { - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -24887,86 +26849,117 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person, + ); default: return orElse(); @@ -24975,114 +26968,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListS _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -25094,55 +27117,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListS } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -25173,7 +27206,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -25188,9 +27222,12 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -25203,15 +27240,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -25232,15 +27271,16 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final int? number; final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -25378,33 +27418,39 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -25415,35 +27461,47 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSect String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -25460,79 +27518,103 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -25543,18 +27625,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSect String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors @@ -25569,14 +27652,16 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -25585,7 +27670,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -25653,56 +27738,65 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -25710,53 +27804,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person @@ -25770,7 +27872,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( @@ -25796,10 +27899,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -25827,85 +27927,88 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season @@ -25921,15 +28024,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -25937,7 +28042,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final int number; final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -25957,11 +28062,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -25994,56 +28095,65 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -26051,52 +28161,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show @@ -26111,7 +28229,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( @@ -26137,10 +28256,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -26168,85 +28284,88 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show @@ -26265,7 +28384,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -26277,8 +28397,9 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -26291,7 +28412,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final String $__typename; final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -26364,29 +28485,33 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show; TRes call({ String? id, @@ -26394,28 +28519,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSect int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -26425,40 +28555,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -26468,15 +28605,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSect int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode @@ -26491,7 +28629,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( @@ -26517,10 +28656,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -26548,83 +28684,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season @@ -26633,14 +28772,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it Fragment$ItemSectionItem$item$$Season, Fragment$CardItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -26678,66 +28820,78 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -26757,7 +28911,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( @@ -26783,10 +28938,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -26814,85 +28966,88 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link @@ -26908,7 +29063,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( @@ -26934,10 +29090,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -26965,83 +29118,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic @@ -27060,7 +29216,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -27073,13 +29230,17 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - .fromJson((l$lessonsProgress as Map)), + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( + (l$lessonsProgress as Map), + ), ); } @@ -27092,11 +29253,12 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final String description; final List< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images> - images; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + images; final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - lessonsProgress; + lessonsProgress; Map toJson() { final _resultData = {}; @@ -27185,66 +29347,84 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic; TRes call({ String? $__typename, String? id, String? title, String? description, - List? - images, + List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + >? + images, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, + lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress; + TRes + > + get lessonsProgress; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; @@ -27255,58 +29435,77 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images>), - lessonsProgress: lessonsProgress == _undefined || - lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images + as List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + >), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress as Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress), - )); + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress { + TRes + > + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -27315,20 +29514,23 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSect String? id, String? title, String? description, - List? - images, + List< + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + >? + images, Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, - }) => - _res; + lessonsProgress, + }) => _res; images(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> - get lessonsProgress => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - .stub(_res); + TRes + > + get lessonsProgress => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game @@ -27344,7 +29546,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( @@ -27370,10 +29573,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -27401,85 +29601,88 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist @@ -27495,7 +29698,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( @@ -27521,10 +29725,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -27552,83 +29753,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short @@ -27644,7 +29848,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( @@ -27670,10 +29875,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -27701,83 +29903,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person @@ -27793,7 +29998,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( @@ -27819,10 +30025,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -27850,83 +30053,86 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection @@ -27946,7 +30152,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -27957,11 +30164,13 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata - .fromJson((l$metadata as Map)), + : Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata.fromJson( + (l$metadata as Map), + ), items: - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items - .fromJson((l$items as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -27971,10 +30180,10 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection } final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items - items; + items; final String $__typename; @@ -28077,30 +30286,33 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items? items, String? $__typename, Enum$GridSectionSize? gridSize, @@ -28109,26 +30321,34 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridS String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection) _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection, + ) + _then; static const _undefined = {}; @@ -28140,80 +30360,96 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items? items, String? $__typename, Enum$GridSectionSize? gridSize, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata @@ -28233,7 +30469,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -28251,8 +30488,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -28270,7 +30508,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page? - page; + page; final int? limit; @@ -28387,27 +30625,30 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata; TRes call({ bool? continueWatching, @@ -28416,31 +30657,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridS String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata, + ) + _then; static const _undefined = {}; @@ -28454,58 +30700,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -28516,18 +30769,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridS String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page @@ -28540,7 +30794,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$pa }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( @@ -28566,10 +30821,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$pa int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -28599,83 +30851,85 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$pa extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items @@ -28691,7 +30945,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -28700,9 +30955,12 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -28714,8 +30972,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + > + items; final String $__typename; @@ -28790,59 +31049,74 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items; TRes call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items, + ) + _then; static const _undefined = {}; @@ -28851,56 +31125,73 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items( - this._res); + this._res, + ); TRes _res; call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -28919,7 +31210,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -28930,8 +31222,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -28943,7 +31236,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item - item; + item; final String $__typename; @@ -28969,13 +31262,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -29020,56 +31307,64 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items, + ) + _then; static const _undefined = {}; @@ -29079,38 +31374,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -29119,16 +31421,17 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridS String? title, String? image, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item @@ -29136,56 +31439,69 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items Fragment$Section$$DefaultGridSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -29224,88 +31540,120 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -29314,114 +31662,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGr _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -29433,55 +31811,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGr } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -29512,7 +31900,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -29527,9 +31916,12 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -29542,15 +31934,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -29571,15 +31965,16 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final int? number; final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -29717,33 +32112,39 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -29754,35 +32155,47 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridS String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -29799,79 +32212,103 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -29882,18 +32319,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridS String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors @@ -29908,14 +32346,16 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -29924,7 +32364,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -29992,56 +32432,65 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -30049,53 +32498,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person @@ -30109,7 +32566,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( @@ -30135,10 +32593,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -30166,85 +32621,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season @@ -30260,15 +32718,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -30276,7 +32736,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final int number; final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -30296,11 +32756,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -30333,56 +32789,65 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -30390,52 +32855,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show @@ -30450,7 +32923,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( @@ -30476,10 +32950,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -30507,85 +32978,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show @@ -30604,7 +33078,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -30616,8 +33091,9 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -30630,7 +33106,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items final String $__typename; final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -30703,29 +33179,33 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show; TRes call({ String? id, @@ -30733,28 +33213,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridS int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -30764,40 +33249,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSecti Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -30807,15 +33299,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridS int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode @@ -30830,7 +33323,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( @@ -30856,10 +33350,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -30887,83 +33378,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season @@ -30972,14 +33466,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -31017,66 +33514,78 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -31096,7 +33605,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( @@ -31122,10 +33632,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -31153,85 +33660,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link @@ -31247,7 +33757,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( @@ -31273,10 +33784,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -31304,83 +33812,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic @@ -31389,14 +33900,17 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -31434,66 +33948,78 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -31513,7 +34039,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( @@ -31539,10 +34066,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -31570,85 +34094,88 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist @@ -31664,7 +34191,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( @@ -31690,10 +34218,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -31721,83 +34246,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short @@ -31813,7 +34341,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( @@ -31839,10 +34368,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -31870,83 +34396,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person @@ -31962,7 +34491,8 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( @@ -31988,10 +34518,7 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -32019,83 +34546,86 @@ class Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$DefaultGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection @@ -32115,7 +34645,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -32126,10 +34657,13 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection return Query$FetchMoreItemsForItemSection$section$$PosterGridSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -32139,10 +34673,10 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection } final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items - items; + items; final String $__typename; @@ -32245,29 +34779,31 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection on Query$FetchMoreItemsForItemSection$section$$PosterGridSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection( Query$FetchMoreItemsForItemSection$section$$PosterGridSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$PosterGridSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items? items, String? $__typename, Enum$GridSectionSize? gridSize, @@ -32276,16 +34812,22 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSe String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection( this._instance, this._then, @@ -32294,7 +34836,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio final Query$FetchMoreItemsForItemSection$section$$PosterGridSection _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection) _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection, + ) + _then; static const _undefined = {}; @@ -32306,80 +34850,96 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$PosterGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items? items, String? $__typename, Enum$GridSectionSize? gridSize, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata @@ -32399,7 +34959,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -32417,8 +34978,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -32436,7 +34998,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page? - page; + page; final int? limit; @@ -32553,27 +35115,30 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata; TRes call({ bool? continueWatching, @@ -32582,31 +35147,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSe String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata, + ) + _then; static const _undefined = {}; @@ -32620,58 +35190,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -32682,18 +35259,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSe String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page @@ -32706,7 +35284,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$pag }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( @@ -32732,10 +35311,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$pag int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -32765,83 +35341,85 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$pag extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items @@ -32857,7 +35435,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -32866,9 +35445,12 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -32880,8 +35462,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + > + items; final String $__typename; @@ -32956,59 +35539,74 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items; TRes call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items, + ) + _then; static const _undefined = {}; @@ -33017,55 +35615,73 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items( - this._res); + this._res, + ); TRes _res; call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -33084,7 +35700,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -33095,8 +35712,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -33108,7 +35726,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item - item; + item; final String $__typename; @@ -33134,13 +35752,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -33185,56 +35797,64 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items, + ) + _then; static const _undefined = {}; @@ -33244,38 +35864,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -33284,16 +35911,17 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSe String? title, String? image, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item @@ -33301,56 +35929,69 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ Fragment$Section$$PosterGridSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -33391,86 +36032,117 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -33479,114 +36151,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGri _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -33598,55 +36300,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGri } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -33677,7 +36389,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -33692,9 +36405,12 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -33707,15 +36423,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -33736,15 +36454,16 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ final int? number; final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -33882,33 +36601,39 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -33919,35 +36644,47 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSe String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -33964,79 +36701,103 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -34047,18 +36808,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSe String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors @@ -34073,14 +36835,16 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -34089,7 +36853,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -34157,56 +36921,65 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -34214,53 +36987,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person @@ -34274,7 +37055,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( @@ -34300,10 +37082,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -34331,85 +37110,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season @@ -34425,15 +37207,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -34441,7 +37225,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ final int number; final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -34461,11 +37245,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -34498,56 +37278,65 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -34555,52 +37344,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show @@ -34615,7 +37412,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( @@ -34641,10 +37439,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -34672,85 +37467,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show @@ -34769,7 +37567,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -34781,8 +37580,9 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -34795,7 +37595,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ final String $__typename; final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -34868,29 +37668,33 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show; TRes call({ String? id, @@ -34898,28 +37702,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSe int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -34929,40 +37738,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSectio Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -34972,15 +37788,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSe int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode @@ -34995,7 +37812,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( @@ -35021,10 +37839,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -35052,83 +37867,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season @@ -35137,14 +37955,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -35182,66 +38003,78 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -35261,7 +38094,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( @@ -35287,10 +38121,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -35318,85 +38149,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link @@ -35412,7 +38246,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( @@ -35438,10 +38273,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -35469,83 +38301,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic @@ -35554,14 +38389,17 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -35599,66 +38437,78 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -35678,7 +38528,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( @@ -35704,10 +38555,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -35735,85 +38583,88 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist @@ -35829,7 +38680,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( @@ -35855,10 +38707,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -35886,83 +38735,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short @@ -35978,7 +38830,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( @@ -36004,10 +38857,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -36035,83 +38885,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person @@ -36127,7 +38980,8 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ }); factory Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( @@ -36153,10 +39007,7 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -36184,83 +39035,86 @@ class Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PosterGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection @@ -36280,7 +39134,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -36291,10 +39146,13 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection return Query$FetchMoreItemsForItemSection$section$$IconGridSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$IconGridSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -36304,7 +39162,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection } final Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items items; @@ -36408,29 +39266,31 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection on Query$FetchMoreItemsForItemSection$section$$IconGridSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection< - Query$FetchMoreItemsForItemSection$section$$IconGridSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection( Query$FetchMoreItemsForItemSection$section$$IconGridSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$IconGridSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items? items, String? $__typename, Enum$GridSectionSize? gridSize, @@ -36439,16 +39299,22 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSect String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection( this._instance, this._then, @@ -36457,7 +39323,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection< final Query$FetchMoreItemsForItemSection$section$$IconGridSection _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection) _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection, + ) + _then; static const _undefined = {}; @@ -36469,80 +39337,96 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$IconGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items? items, String? $__typename, Enum$GridSectionSize? gridSize, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata @@ -36562,7 +39446,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -36580,8 +39465,9 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -36599,7 +39485,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page? - page; + page; final int? limit; @@ -36716,27 +39602,30 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata on Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata; TRes call({ bool? continueWatching, @@ -36745,31 +39634,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSect String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata, + ) + _then; static const _undefined = {}; @@ -36783,58 +39677,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -36845,18 +39746,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSect String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page @@ -36869,7 +39771,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( @@ -36895,10 +39798,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -36928,83 +39828,85 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items @@ -37020,7 +39922,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -37029,9 +39932,12 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -37043,8 +39949,9 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items final int first; final List< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items> - items; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + > + items; final String $__typename; @@ -37119,57 +40026,73 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items; TRes call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items, + ) + _then; static const _undefined = {}; @@ -37178,55 +40101,73 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items( - this._res); + this._res, + ); TRes _res; call({ int? offset, int? first, - List? - items, + List< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -37245,7 +40186,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -37256,8 +40198,9 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items title: (l$title as String), image: (l$image as String?), item: - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item - .fromJson((l$item as Map)), + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -37269,7 +40212,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items final String? image; final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item - item; + item; final String $__typename; @@ -37295,13 +40238,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -37346,56 +40283,64 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items; TRes call({ String? id, String? title, String? image, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item? - item, + item, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> get item; + TRes + > + get item; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items, + ) + _then; static const _undefined = {}; @@ -37405,38 +40350,45 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> get item { + TRes + > + get item { final local$item = _instance.item; return CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -37445,16 +40397,17 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSect String? title, String? image, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item? - item, + item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> - get item => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item - .stub(_res); + TRes + > + get item => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item @@ -37462,56 +40415,69 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it Fragment$Section$$IconGridSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( - {required this.$__typename}); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item({ + required this.$__typename, + }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person - .fromJson(json); + return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -37552,86 +40518,117 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode) - episode, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show) - show, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show, + ) + show, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season) - season, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season, + ) + season, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page) - page, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page, + ) + page, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link) - link, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link, + ) + link, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic) - studyTopic, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game) - game, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game, + ) + game, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist) - playlist, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short) - short, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short, + ) + short, required _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person) - person, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -37640,114 +40637,144 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridS _T maybeWhen<_T>({ _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode)? - episode, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show)? - show, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show, + )? + show, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season)? - season, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season, + )? + season, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page)? - page, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page, + )? + page, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link)? - link, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link, + )? + link, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic)? - studyTopic, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game)? - game, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game, + )? + game, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist)? - playlist, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short)? - short, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short, + )? + short, _T Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person)? - person, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode); + return episode( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show); + return show( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season); + return season( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page); + return page( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link); + return link( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game); + return game( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short); + return short( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person); + return person( + this + as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -37759,55 +40786,65 @@ extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridS } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -37838,7 +40875,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -37853,9 +40891,12 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -37868,15 +40909,17 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it number: (l$number as int?), season: l$season == null ? null - : Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors> - contributors; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -37897,15 +40940,16 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it final int? number; final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -38043,33 +41087,39 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -38080,35 +41130,47 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSect String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -38125,79 +41187,103 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -38208,18 +41294,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSect String? publishDate, int? number, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors @@ -38234,14 +41321,16 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( person: - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -38250,7 +41339,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -38318,56 +41407,65 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors; TRes call({ Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -38375,53 +41473,61 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person @@ -38435,7 +41541,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( @@ -38461,10 +41568,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -38492,85 +41596,88 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season @@ -38586,15 +41693,17 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -38602,7 +41711,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it final int number; final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -38622,11 +41731,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -38659,56 +41764,65 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season; TRes call({ int? number, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -38716,52 +41830,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show @@ -38776,7 +41898,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( @@ -38802,10 +41925,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -38833,85 +41953,88 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show @@ -38930,7 +42053,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -38942,8 +42066,9 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -38956,7 +42081,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it final String $__typename; final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -39029,29 +42154,33 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show; TRes call({ String? id, @@ -39059,28 +42188,33 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSect int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -39090,40 +42224,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$ Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -39133,15 +42274,16 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSect int? seasonCount, String? $__typename, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode @@ -39156,7 +42298,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( @@ -39182,10 +42325,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -39213,83 +42353,86 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season @@ -39298,14 +42441,17 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -39343,66 +42489,78 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -39422,7 +42580,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( @@ -39448,10 +42607,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -39479,85 +42635,88 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; TRes call({ Object? code = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link @@ -39573,7 +42732,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( @@ -39599,10 +42759,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -39630,83 +42787,86 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; TRes call({ Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic @@ -39715,14 +42875,17 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item { - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -39760,66 +42923,78 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -39839,7 +43014,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( @@ -39865,10 +43041,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -39896,85 +43069,88 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; TRes call({ Object? uuid = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist @@ -39990,7 +43166,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( @@ -40016,10 +43193,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -40047,83 +43221,86 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short @@ -40139,7 +43316,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( @@ -40165,10 +43343,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -40196,83 +43371,86 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person @@ -40288,7 +43466,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( @@ -40314,10 +43493,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -40345,83 +43521,86 @@ class Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person - on Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person { + on + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person< - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person) - then, + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person) - _then; + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconSection @@ -40439,7 +43618,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection }); factory Query$FetchMoreItemsForItemSection$section$$IconSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -40449,10 +43629,13 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection return Query$FetchMoreItemsForItemSection$section$$IconSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$IconSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$IconSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$IconSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$IconSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -40461,7 +43644,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection } final Query$FetchMoreItemsForItemSection$section$$IconSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$IconSection$items items; @@ -40554,24 +43737,26 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconSection on Query$FetchMoreItemsForItemSection$section$$IconSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection< - Query$FetchMoreItemsForItemSection$section$$IconSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection( Query$FetchMoreItemsForItemSection$section$$IconSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$IconSection) then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$IconSection$metadata? metadata, @@ -40582,13 +43767,16 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection< String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items - get items; + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection( @@ -40599,7 +43787,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection< final Query$FetchMoreItemsForItemSection$section$$IconSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$IconSection) - _then; + _then; static const _undefined = {}; @@ -40610,50 +43798,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$IconSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$IconSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$IconSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items - get items { + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection( - this._res); + this._res, + ); TRes _res; @@ -40664,19 +43862,21 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection< String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items - .stub(_res); + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata @@ -40696,7 +43896,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$IconSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -40714,8 +43915,9 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -40733,7 +43935,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page? - page; + page; final int? limit; @@ -40850,26 +44052,29 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata on Query$FetchMoreItemsForItemSection$section$$IconSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( Query$FetchMoreItemsForItemSection$section$$IconSection$metadata instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata; TRes call({ bool? continueWatching, @@ -40883,24 +44088,30 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$ String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata) _then; + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata, + ) + _then; static const _undefined = {}; @@ -40914,57 +44125,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$meta Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -40978,14 +44197,15 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$ int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page @@ -40998,7 +44218,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( @@ -41024,10 +44245,7 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -41057,83 +44275,83 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$IconSection$items @@ -41148,7 +44366,8 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$items }); factory Query$FetchMoreItemsForItemSection$section$$IconSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -41157,8 +44376,10 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -41244,25 +44465,27 @@ class Query$FetchMoreItemsForItemSection$section$$IconSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$IconSection$items on Query$FetchMoreItemsForItemSection$section$$IconSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items< - Query$FetchMoreItemsForItemSection$section$$IconSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$IconSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items( Query$FetchMoreItemsForItemSection$section$$IconSection$items instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$IconSection$items) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items; TRes call({ int? offset, @@ -41271,17 +44494,20 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$ String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items( this._instance, this._then, @@ -41290,7 +44516,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$item final Query$FetchMoreItemsForItemSection$section$$IconSection$items _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$IconSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$IconSection$items, + ) + _then; static const _undefined = {}; @@ -41299,43 +44527,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$item Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$IconSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$IconSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$IconSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$items( - this._res); + this._res, + ); TRes _res; @@ -41344,8 +44576,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$IconSection$ int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -41365,7 +44596,8 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection }); factory Query$FetchMoreItemsForItemSection$section$$LabelSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -41375,10 +44607,13 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection return Query$FetchMoreItemsForItemSection$section$$LabelSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$LabelSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$LabelSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -41387,7 +44622,7 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection } final Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$LabelSection$items items; @@ -41480,25 +44715,27 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$LabelSection on Query$FetchMoreItemsForItemSection$section$$LabelSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection< - Query$FetchMoreItemsForItemSection$section$$LabelSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$LabelSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection( Query$FetchMoreItemsForItemSection$section$$LabelSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$LabelSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata? metadata, @@ -41509,16 +44746,20 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items - get items; + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection( this._instance, this._then, @@ -41527,7 +44768,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection< final Query$FetchMoreItemsForItemSection$section$$LabelSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$LabelSection) - _then; + _then; static const _undefined = {}; @@ -41538,51 +44779,62 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$LabelSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$LabelSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$LabelSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items - get items { + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection( - this._res); + this._res, + ); TRes _res; @@ -41593,19 +44845,21 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items - .stub(_res); + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata @@ -41625,7 +44879,8 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -41643,8 +44898,9 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -41662,7 +44918,7 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page? - page; + page; final int? limit; @@ -41779,26 +45035,29 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata on Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata; TRes call({ bool? continueWatching, @@ -41807,30 +45066,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata) _then; + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata, + ) + _then; static const _undefined = {}; @@ -41844,57 +45109,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$met Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -41905,18 +45178,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page @@ -41929,7 +45203,8 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( @@ -41955,10 +45230,7 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -41988,83 +45260,83 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$LabelSection$items @@ -42079,7 +45351,8 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$items }); factory Query$FetchMoreItemsForItemSection$section$$LabelSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -42088,8 +45361,10 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -42175,26 +45450,29 @@ class Query$FetchMoreItemsForItemSection$section$$LabelSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$LabelSection$items on Query$FetchMoreItemsForItemSection$section$$LabelSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items< - Query$FetchMoreItemsForItemSection$section$$LabelSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$LabelSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items( Query$FetchMoreItemsForItemSection$section$$LabelSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$LabelSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items; TRes call({ int? offset, @@ -42203,27 +45481,32 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$LabelSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$LabelSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$LabelSection$items, + ) + _then; static const _undefined = {}; @@ -42232,43 +45515,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$ite Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$LabelSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$LabelSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$LabelSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection$items( - this._res); + this._res, + ); TRes _res; @@ -42277,8 +45564,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$LabelSection int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -42298,7 +45584,8 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection }); factory Query$FetchMoreItemsForItemSection$section$$AvatarSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -42308,10 +45595,13 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection return Query$FetchMoreItemsForItemSection$section$$AvatarSection( metadata: l$metadata == null ? null - : Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata - .fromJson((l$metadata as Map)), - items: Query$FetchMoreItemsForItemSection$section$$AvatarSection$items - .fromJson((l$items as Map)), + : Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata.fromJson( + (l$metadata as Map), + ), + items: + Query$FetchMoreItemsForItemSection$section$$AvatarSection$items.fromJson( + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -42320,7 +45610,7 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection } final Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata? - metadata; + metadata; final Query$FetchMoreItemsForItemSection$section$$AvatarSection$items items; @@ -42413,29 +45703,31 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$AvatarSection on Query$FetchMoreItemsForItemSection$section$$AvatarSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection< - Query$FetchMoreItemsForItemSection$section$$AvatarSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$AvatarSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection( Query$FetchMoreItemsForItemSection$section$$AvatarSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$AvatarSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection; TRes call({ Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$AvatarSection$items? items, String? $__typename, String? id, @@ -42443,16 +45735,20 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSectio String? description, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> get metadata; + TRes + > + get metadata; CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items - get items; + get items; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection( this._instance, this._then, @@ -42461,7 +45757,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection< final Query$FetchMoreItemsForItemSection$section$$AvatarSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$AvatarSection) - _then; + _then; static const _undefined = {}; @@ -42472,75 +45768,88 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection< Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$AvatarSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$FetchMoreItemsForItemSection$section$$AvatarSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items + items: items == _undefined || items == null + ? _instance.items + : (items as Query$FetchMoreItemsForItemSection$section$$AvatarSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> get metadata { + TRes + > + get metadata { final local$metadata = _instance.metadata; return local$metadata == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items - get items { + get items { final local$items = _instance.items; return CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection( - this._res); + this._res, + ); TRes _res; call({ Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata? - metadata, + metadata, Query$FetchMoreItemsForItemSection$section$$AvatarSection$items? items, String? $__typename, String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> - get metadata => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata - .stub(_res); + TRes + > + get metadata => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata.stub( + _res, + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items - get items => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items - .stub(_res); + get items => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata @@ -42560,7 +45869,8 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata }); factory Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -42578,8 +45888,9 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata useContext: (l$useContext as bool), page: l$page == null ? null - : Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page - .fromJson((l$page as Map)), + : Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page.fromJson( + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -42597,7 +45908,7 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata final bool useContext; final Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page? - page; + page; final int? limit; @@ -42714,26 +46025,29 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata on Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata { CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata) - then, + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata; TRes call({ bool? continueWatching, @@ -42742,30 +46056,36 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSectio String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> get page; + TRes + > + get page; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata) _then; + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata, + ) + _then; static const _undefined = {}; @@ -42779,57 +46099,65 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$me Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> get page { + TRes + > + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -42840,18 +46168,19 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSectio String? collectionId, bool? useContext, Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page? - page, + page, int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> - get page => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page - .stub(_res); + TRes + > + get page => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page @@ -42864,7 +46193,8 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page }); factory Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( @@ -42890,10 +46220,7 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -42923,83 +46250,83 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page on Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page { CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page) - then, + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page) - _then; + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => _then( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$AvatarSection$items @@ -43014,7 +46341,8 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$items }); factory Query$FetchMoreItemsForItemSection$section$$AvatarSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -43023,8 +46351,10 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -43110,26 +46440,29 @@ class Query$FetchMoreItemsForItemSection$section$$AvatarSection$items extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items on Query$FetchMoreItemsForItemSection$section$$AvatarSection$items { CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items< - Query$FetchMoreItemsForItemSection$section$$AvatarSection$items> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$AvatarSection$items + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( Query$FetchMoreItemsForItemSection$section$$AvatarSection$items instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$items) - then, + Query$FetchMoreItemsForItemSection$section$$AvatarSection$items, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items; TRes call({ int? offset, @@ -43138,27 +46471,32 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSectio String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$AvatarSection$items - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$AvatarSection$items) _then; + Query$FetchMoreItemsForItemSection$section$$AvatarSection$items, + ) + _then; static const _undefined = {}; @@ -43167,43 +46505,47 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$it Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSection$items( - this._res); + this._res, + ); TRes _res; @@ -43212,8 +46554,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AvatarSectio int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -43234,7 +46575,8 @@ class Query$FetchMoreItemsForItemSection$section$$WebSection }); factory Query$FetchMoreItemsForItemSection$section$$WebSection.fromJson( - Map json) { + Map json, + ) { final l$authentication = json['authentication']; final l$widthRatio = json['widthRatio']; final l$height = json['height']; @@ -43370,24 +46712,26 @@ class Query$FetchMoreItemsForItemSection$section$$WebSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$WebSection on Query$FetchMoreItemsForItemSection$section$$WebSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection< - Query$FetchMoreItemsForItemSection$section$$WebSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$WebSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection( Query$FetchMoreItemsForItemSection$section$$WebSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$WebSection) then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$WebSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$WebSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$WebSection; TRes call({ bool? authentication, @@ -43412,7 +46756,7 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$WebSection final Query$FetchMoreItemsForItemSection$section$$WebSection _instance; final TRes Function(Query$FetchMoreItemsForItemSection$section$$WebSection) - _then; + _then; static const _undefined = {}; @@ -43425,33 +46769,36 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$WebSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$WebSection( - authentication: authentication == _undefined || authentication == null - ? _instance.authentication - : (authentication as bool), - widthRatio: widthRatio == _undefined || widthRatio == null - ? _instance.widthRatio - : (widthRatio as double), - height: height == _undefined ? _instance.height : (height as int?), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$WebSection( + authentication: authentication == _undefined || authentication == null + ? _instance.authentication + : (authentication as bool), + widthRatio: widthRatio == _undefined || widthRatio == null + ? _instance.widthRatio + : (widthRatio as double), + height: height == _undefined ? _instance.height : (height as int?), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$WebSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$WebSection { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$WebSection( - this._res); + this._res, + ); TRes _res; @@ -43464,8 +46811,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$WebSection< String? id, String? title, String? description, - }) => - _res; + }) => _res; } class Query$FetchMoreItemsForItemSection$section$$MessageSection @@ -43481,7 +46827,8 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection }); factory Query$FetchMoreItemsForItemSection$section$$MessageSection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$messages = json['messages']; final l$$__typename = json['__typename']; @@ -43490,9 +46837,12 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection return Query$FetchMoreItemsForItemSection$section$$MessageSection( id: (l$id as String), messages: (l$messages as List?) - ?.map((e) => - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages - .fromJson((e as Map))) + ?.map( + (e) => + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), title: (l$title as String?), @@ -43503,8 +46853,9 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection final String id; final List< - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages>? - messages; + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + >? + messages; final String $__typename; @@ -43595,47 +46946,58 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$MessageSection on Query$FetchMoreItemsForItemSection$section$$MessageSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection< - Query$FetchMoreItemsForItemSection$section$$MessageSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$MessageSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection( Query$FetchMoreItemsForItemSection$section$$MessageSection instance, TRes Function(Query$FetchMoreItemsForItemSection$section$$MessageSection) - then, + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection; TRes call({ String? id, List? - messages, + messages, String? $__typename, String? title, String? description, }); TRes messages( - Iterable? Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages>>?) - _fn); + Iterable< + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + >? + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + > + >?, + ) + _fn, + ); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection( this._instance, this._then, @@ -43644,7 +47006,9 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection< final Query$FetchMoreItemsForItemSection$section$$MessageSection _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$MessageSection) _then; + Query$FetchMoreItemsForItemSection$section$$MessageSection, + ) + _then; static const _undefined = {}; @@ -43654,55 +47018,71 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection< Object? $__typename = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$MessageSection( - id: id == _undefined || id == null ? _instance.id : (id as String), - messages: messages == _undefined - ? _instance.messages - : (messages as List< - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages>?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$MessageSection( + id: id == _undefined || id == null ? _instance.id : (id as String), + messages: messages == _undefined + ? _instance.messages + : (messages + as List< + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + >?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); TRes messages( - Iterable? Function( - Iterable< - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages>>?) - _fn) => - call( - messages: _fn(_instance.messages?.map((e) => - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( - e, - (i) => i, - )))?.toList()); + Iterable< + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + >? + Function( + Iterable< + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + > + >?, + ) + _fn, + ) => call( + messages: _fn( + _instance.messages?.map( + (e) => + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( + e, + (i) => i, + ), + ), + )?.toList(), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection( - this._res); + this._res, + ); TRes _res; call({ String? id, List? - messages, + messages, String? $__typename, String? title, String? description, - }) => - _res; + }) => _res; messages(_fn) => _res; } @@ -43716,15 +47096,17 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages }); factory Query$FetchMoreItemsForItemSection$section$$MessageSection$messages.fromJson( - Map json) { + Map json, + ) { final l$content = json['content']; final l$style = json['style']; final l$$__typename = json['__typename']; return Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( content: (l$content as String), style: - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style - .fromJson((l$style as Map)), + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style.fromJson( + (l$style as Map), + ), $__typename: (l$$__typename as String), ); } @@ -43732,7 +47114,7 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages final String content; final Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style - style; + style; final String $__typename; @@ -43752,11 +47134,7 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages final l$content = content; final l$style = style; final l$$__typename = $__typename; - return Object.hashAll([ - l$content, - l$style, - l$$__typename, - ]); + return Object.hashAll([l$content, l$style, l$$__typename]); } @override @@ -43791,54 +47169,62 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages on Query$FetchMoreItemsForItemSection$section$$MessageSection$messages { CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( Query$FetchMoreItemsForItemSection$section$$MessageSection$messages - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages) - then, + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages; TRes call({ String? content, Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style? - style, + style, String? $__typename, }); CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> get style; + TRes + > + get style; } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$MessageSection$messages - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages) - _then; + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages, + ) + _then; static const _undefined = {}; @@ -43846,51 +47232,60 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$m Object? content = _undefined, Object? style = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( - content: content == _undefined || content == null - ? _instance.content - : (content as String), - style: style == _undefined || style == null - ? _instance.style - : (style + }) => _then( + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( + content: content == _undefined || content == null + ? _instance.content + : (content as String), + style: style == _undefined || style == null + ? _instance.style + : (style as Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> get style { + TRes + > + get style { final local$style = _instance.style; return CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( - local$style, (e) => call(style: e)); + local$style, + (e) => call(style: e), + ); } } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages( - this._res); + this._res, + ); TRes _res; call({ String? content, Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style? - style, + style, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> - get style => - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style - .stub(_res); + TRes + > + get style => + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style.stub( + _res, + ); } class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style @@ -43903,7 +47298,8 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style }); factory Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style.fromJson( - Map json) { + Map json, + ) { final l$text = json['text']; final l$background = json['background']; final l$border = json['border']; @@ -43943,12 +47339,7 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style final l$background = background; final l$border = border; final l$$__typename = $__typename; - return Object.hashAll([ - l$text, - l$background, - l$border, - l$$__typename, - ]); + return Object.hashAll([l$text, l$background, l$border, l$$__typename]); } @override @@ -43988,27 +47379,30 @@ class Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style on Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style { CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style) - then, + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style; TRes call({ String? text, @@ -44019,21 +47413,24 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSecti } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style) - _then; + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style, + ) + _then; static const _undefined = {}; @@ -44042,31 +47439,34 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$m Object? background = _undefined, Object? border = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( - text: text == _undefined || text == null - ? _instance.text - : (text as String), - background: background == _undefined || background == null - ? _instance.background - : (background as String), - border: border == _undefined || border == null - ? _instance.border - : (border as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( + text: text == _undefined || text == null + ? _instance.text + : (text as String), + background: background == _undefined || background == null + ? _instance.background + : (background as String), + border: border == _undefined || border == null + ? _instance.border + : (border as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSection$messages$style( - this._res); + this._res, + ); TRes _res; @@ -44075,8 +47475,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$MessageSecti String? background, String? border, String? $__typename, - }) => - _res; + }) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images @@ -44090,7 +47489,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -44123,11 +47523,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -44160,53 +47556,56 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images, + ) + _then; static const _undefined = {}; @@ -44214,35 +47613,33 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$images( - this._res); + this._res, + ); TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress @@ -44256,7 +47653,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it }); factory Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -44289,11 +47687,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -44326,53 +47720,56 @@ class Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$it } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - on Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress { + on + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress) - then, + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress) - _then; + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress, + ) + _then; static const _undefined = {}; @@ -44380,37 +47777,35 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$ Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images @@ -44424,7 +47819,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -44457,11 +47853,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -44494,53 +47886,56 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images, + ) + _then; static const _undefined = {}; @@ -44548,35 +47943,33 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$images( - this._res); + this._res, + ); TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress @@ -44590,7 +47983,8 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ }); factory Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -44623,11 +48017,7 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -44660,53 +48050,56 @@ class Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$ } extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - on Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress { + on + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress { CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - instance, + instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress) - then, + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress) - _then; + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress, + ) + _then; static const _undefined = {}; @@ -44714,37 +48107,35 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$item Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Query$FetchMoreItemsForItemSection$section$$PageDetailsSection @@ -44759,7 +48150,8 @@ class Query$FetchMoreItemsForItemSection$section$$PageDetailsSection }); factory Query$FetchMoreItemsForItemSection$section$$PageDetailsSection.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$description = json['description']; final l$$__typename = json['__typename']; @@ -44799,12 +48191,7 @@ class Query$FetchMoreItemsForItemSection$section$$PageDetailsSection final l$description = description; final l$$__typename = $__typename; final l$id = id; - return Object.hashAll([ - l$title, - l$description, - l$$__typename, - l$id, - ]); + return Object.hashAll([l$title, l$description, l$$__typename, l$id]); } @override @@ -44844,26 +48231,29 @@ class Query$FetchMoreItemsForItemSection$section$$PageDetailsSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection on Query$FetchMoreItemsForItemSection$section$$PageDetailsSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection< - Query$FetchMoreItemsForItemSection$section$$PageDetailsSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$PageDetailsSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( Query$FetchMoreItemsForItemSection$section$$PageDetailsSection instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$PageDetailsSection) - then, + Query$FetchMoreItemsForItemSection$section$$PageDetailsSection, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection; TRes call({ String? title, @@ -44874,20 +48264,24 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsS } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$PageDetailsSection - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$PageDetailsSection) _then; + Query$FetchMoreItemsForItemSection$section$$PageDetailsSection, + ) + _then; static const _undefined = {}; @@ -44896,35 +48290,34 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSecti Object? description = _undefined, Object? $__typename = _undefined, Object? id = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$PageDetailsSection( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? description, - String? $__typename, - String? id, - }) => + call({String? title, String? description, String? $__typename, String? id}) => _res; } @@ -44941,7 +48334,8 @@ class Query$FetchMoreItemsForItemSection$section$$AchievementSection }); factory Query$FetchMoreItemsForItemSection$section$$AchievementSection.fromJson( - Map json) { + Map json, + ) { final l$source = json['source']; final l$$__typename = json['__typename']; final l$id = json['id']; @@ -45039,26 +48433,29 @@ class Query$FetchMoreItemsForItemSection$section$$AchievementSection extension UtilityExtension$Query$FetchMoreItemsForItemSection$section$$AchievementSection on Query$FetchMoreItemsForItemSection$section$$AchievementSection { CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection< - Query$FetchMoreItemsForItemSection$section$$AchievementSection> - get copyWith => - CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection( - this, - (i) => i, - ); + Query$FetchMoreItemsForItemSection$section$$AchievementSection + > + get copyWith => + CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection( + this, + (i) => i, + ); } abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection< - TRes> { + TRes +> { factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection( Query$FetchMoreItemsForItemSection$section$$AchievementSection instance, TRes Function( - Query$FetchMoreItemsForItemSection$section$$AchievementSection) - then, + Query$FetchMoreItemsForItemSection$section$$AchievementSection, + ) + then, ) = _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection; factory CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection.stub( - TRes res) = - _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection; + TRes res, + ) = _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection; TRes call({ Enum$AchievementsSource? source, @@ -45070,20 +48467,24 @@ abstract class CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementS } class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection< - TRes> { + TRes + > { _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection( this._instance, this._then, ); final Query$FetchMoreItemsForItemSection$section$$AchievementSection - _instance; + _instance; final TRes Function( - Query$FetchMoreItemsForItemSection$section$$AchievementSection) _then; + Query$FetchMoreItemsForItemSection$section$$AchievementSection, + ) + _then; static const _undefined = {}; @@ -45093,29 +48494,33 @@ class _CopyWithImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSecti Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$FetchMoreItemsForItemSection$section$$AchievementSection( - source: source == _undefined || source == null - ? _instance.source - : (source as Enum$AchievementsSource), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$FetchMoreItemsForItemSection$section$$AchievementSection( + source: source == _undefined || source == null + ? _instance.source + : (source as Enum$AchievementsSource), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection< - TRes> + TRes +> implements CopyWith$Query$FetchMoreItemsForItemSection$section$$AchievementSection< - TRes> { + TRes + > { _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AchievementSection( - this._res); + this._res, + ); TRes _res; @@ -45125,8 +48530,7 @@ class _CopyWithStubImpl$Query$FetchMoreItemsForItemSection$section$$AchievementS String? id, String? title, String? description, - }) => - _res; + }) => _res; } class Variables$Query$GetSection { @@ -45135,13 +48539,12 @@ class Variables$Query$GetSection { required String timestamp, int? first, int? offset, - }) => - Variables$Query$GetSection._({ - r'id': id, - r'timestamp': timestamp, - if (first != null) r'first': first, - if (offset != null) r'offset': offset, - }); + }) => Variables$Query$GetSection._({ + r'id': id, + r'timestamp': timestamp, + if (first != null) r'first': first, + if (offset != null) r'offset': offset, + }); Variables$Query$GetSection._(this._$data); @@ -45190,10 +48593,7 @@ class Variables$Query$GetSection { } CopyWith$Variables$Query$GetSection - get copyWith => CopyWith$Variables$Query$GetSection( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetSection(this, (i) => i); @override bool operator ==(Object other) { @@ -45257,20 +48657,12 @@ abstract class CopyWith$Variables$Query$GetSection { factory CopyWith$Variables$Query$GetSection.stub(TRes res) = _CopyWithStubImpl$Variables$Query$GetSection; - TRes call({ - String? id, - String? timestamp, - int? first, - int? offset, - }); + TRes call({String? id, String? timestamp, int? first, int? offset}); } class _CopyWithImpl$Variables$Query$GetSection implements CopyWith$Variables$Query$GetSection { - _CopyWithImpl$Variables$Query$GetSection( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetSection(this._instance, this._then); final Variables$Query$GetSection _instance; @@ -45283,15 +48675,16 @@ class _CopyWithImpl$Variables$Query$GetSection Object? timestamp = _undefined, Object? first = _undefined, Object? offset = _undefined, - }) => - _then(Variables$Query$GetSection._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (timestamp != _undefined && timestamp != null) - 'timestamp': (timestamp as String), - if (first != _undefined) 'first': (first as int?), - if (offset != _undefined) 'offset': (offset as int?), - })); + }) => _then( + Variables$Query$GetSection._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (timestamp != _undefined && timestamp != null) + 'timestamp': (timestamp as String), + if (first != _undefined) 'first': (first as int?), + if (offset != _undefined) 'offset': (offset as int?), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetSection @@ -45300,27 +48693,19 @@ class _CopyWithStubImpl$Variables$Query$GetSection TRes _res; - call({ - String? id, - String? timestamp, - int? first, - int? offset, - }) => - _res; + call({String? id, String? timestamp, int? first, int? offset}) => _res; } class Query$GetSection { - Query$GetSection({ - required this.section, - this.$__typename = 'QueryRoot', - }); + Query$GetSection({required this.section, this.$__typename = 'QueryRoot'}); factory Query$GetSection.fromJson(Map json) { final l$section = json['section']; final l$$__typename = json['__typename']; return Query$GetSection( section: Query$GetSection$section.fromJson( - (l$section as Map)), + (l$section as Map), + ), $__typename: (l$$__typename as String), ); } @@ -45342,10 +48727,7 @@ class Query$GetSection { int get hashCode { final l$section = section; final l$$__typename = $__typename; - return Object.hashAll([ - l$section, - l$$__typename, - ]); + return Object.hashAll([l$section, l$$__typename]); } @override @@ -45372,10 +48754,7 @@ class Query$GetSection { extension UtilityExtension$Query$GetSection on Query$GetSection { CopyWith$Query$GetSection get copyWith => - CopyWith$Query$GetSection( - this, - (i) => i, - ); + CopyWith$Query$GetSection(this, (i) => i); } abstract class CopyWith$Query$GetSection { @@ -45387,19 +48766,13 @@ abstract class CopyWith$Query$GetSection { factory CopyWith$Query$GetSection.stub(TRes res) = _CopyWithStubImpl$Query$GetSection; - TRes call({ - Query$GetSection$section? section, - String? $__typename, - }); + TRes call({Query$GetSection$section? section, String? $__typename}); CopyWith$Query$GetSection$section get section; } class _CopyWithImpl$Query$GetSection implements CopyWith$Query$GetSection { - _CopyWithImpl$Query$GetSection( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetSection(this._instance, this._then); final Query$GetSection _instance; @@ -45407,23 +48780,24 @@ class _CopyWithImpl$Query$GetSection static const _undefined = {}; - TRes call({ - Object? section = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection( - section: section == _undefined || section == null - ? _instance.section - : (section as Query$GetSection$section), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? section = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection( + section: section == _undefined || section == null + ? _instance.section + : (section as Query$GetSection$section), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section get section { final local$section = _instance.section; return CopyWith$Query$GetSection$section( - local$section, (e) => call(section: e)); + local$section, + (e) => call(section: e), + ); } } @@ -45433,85 +48807,82 @@ class _CopyWithStubImpl$Query$GetSection TRes _res; - call({ - Query$GetSection$section? section, - String? $__typename, - }) => - _res; + call({Query$GetSection$section? section, String? $__typename}) => _res; CopyWith$Query$GetSection$section get section => CopyWith$Query$GetSection$section.stub(_res); } -const documentNodeQueryGetSection = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetSection'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetSection = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetSection'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'timestamp')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'timestamp')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'offset')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'offset')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'section'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ), - ArgumentNode( - name: NameNode(value: 'timestamp'), - value: VariableNode(name: NameNode(value: 'timestamp')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'id'), + name: NameNode(value: 'section'), alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FragmentSpreadNode( - name: NameNode(value: 'Section'), + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ArgumentNode( + name: NameNode(value: 'timestamp'), + value: VariableNode(name: NameNode(value: 'timestamp')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FragmentSpreadNode( + name: NameNode(value: 'Section'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -45520,33 +48891,26 @@ const documentNodeQueryGetSection = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionSection, - fragmentDefinitionItemSection, - fragmentDefinitionItemSectionItem, - fragmentDefinitionNavigatablePerson, - fragmentDefinitionNavigatableGame, - fragmentDefinitionNavigatableLink, - fragmentDefinitionNavigatablePlaylist, - fragmentDefinitionNavigatablePage, - fragmentDefinitionNavigatableShort, - fragmentDefinitionNavigatableEpisode, - fragmentDefinitionNavigatableShow, - fragmentDefinitionEpisodeThumbnail, - fragmentDefinitionGridSection, - fragmentDefinitionGridSectionItem, - fragmentDefinitionCardItem, -]); + ), + fragmentDefinitionSection, + fragmentDefinitionItemSection, + fragmentDefinitionItemSectionItem, + fragmentDefinitionNavigatablePerson, + fragmentDefinitionNavigatableGame, + fragmentDefinitionNavigatableLink, + fragmentDefinitionNavigatablePlaylist, + fragmentDefinitionNavigatablePage, + fragmentDefinitionNavigatableShort, + fragmentDefinitionNavigatableEpisode, + fragmentDefinitionNavigatableShow, + fragmentDefinitionEpisodeThumbnail, + fragmentDefinitionGridSection, + fragmentDefinitionGridSectionItem, + fragmentDefinitionCardItem, + ], +); Query$GetSection _parserFn$Query$GetSection(Map data) => Query$GetSection.fromJson(data); typedef OnQueryComplete$Query$GetSection = FutureOr Function( @@ -45567,36 +48931,36 @@ class Options$Query$GetSection extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$GetSection? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetSection(data), - ), - onError: onError, - document: documentNodeQueryGetSection, - parserFn: _parserFn$Query$GetSection, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetSection(data), + ), + onError: onError, + document: documentNodeQueryGetSection, + parserFn: _parserFn$Query$GetSection, + ); final OnQueryComplete$Query$GetSection? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetSection @@ -45615,20 +48979,20 @@ class WatchOptions$Query$GetSection bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetSection, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetSection, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetSection, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetSection, + ); } class FetchMoreOptions$Query$GetSection extends graphql.FetchMoreOptions { @@ -45636,34 +49000,33 @@ class FetchMoreOptions$Query$GetSection extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetSection variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetSection, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetSection, + ); } extension ClientExtension$Query$GetSection on graphql.GraphQLClient { Future> query$GetSection( - Options$Query$GetSection options) async => - await this.query(options); + Options$Query$GetSection options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetSection( - WatchOptions$Query$GetSection options) => - this.watchQuery(options); + WatchOptions$Query$GetSection options, + ) => this.watchQuery(options); void writeQuery$GetSection({ required Query$GetSection data, required Variables$Query$GetSection variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQueryGetSection), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetSection), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetSection? readQuery$GetSection({ required Variables$Query$GetSection variables, @@ -45681,22 +49044,18 @@ extension ClientExtension$Query$GetSection on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetSection( - Options$Query$GetSection options) => - graphql_flutter.useQuery(options); + Options$Query$GetSection options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetSection( - WatchOptions$Query$GetSection options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetSection options, +) => graphql_flutter.useWatchQuery(options); class Query$GetSection$Widget extends graphql_flutter.Query { Query$GetSection$Widget({ widgets.Key? key, required Options$Query$GetSection options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetSection$section implements Fragment$Section { @@ -45798,12 +49157,7 @@ class Query$GetSection$section implements Fragment$Section { final l$title = title; final l$description = description; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$description, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$description, l$$__typename]); } @override @@ -45842,37 +49196,34 @@ class Query$GetSection$section implements Fragment$Section { extension UtilityExtension$Query$GetSection$section on Query$GetSection$section { CopyWith$Query$GetSection$section get copyWith => - CopyWith$Query$GetSection$section( - this, - (i) => i, - ); + CopyWith$Query$GetSection$section(this, (i) => i); _T when<_T>({ required _T Function(Query$GetSection$section$$PosterSection) posterSection, required _T Function(Query$GetSection$section$$FeaturedSection) - featuredSection, + featuredSection, required _T Function(Query$GetSection$section$$DefaultSection) - defaultSection, + defaultSection, required _T Function(Query$GetSection$section$$CardSection) cardSection, required _T Function(Query$GetSection$section$$ListSection) listSection, required _T Function(Query$GetSection$section$$CardListSection) - cardListSection, + cardListSection, required _T Function(Query$GetSection$section$$DefaultGridSection) - defaultGridSection, + defaultGridSection, required _T Function(Query$GetSection$section$$PosterGridSection) - posterGridSection, + posterGridSection, required _T Function(Query$GetSection$section$$IconGridSection) - iconGridSection, + iconGridSection, required _T Function(Query$GetSection$section$$IconSection) iconSection, required _T Function(Query$GetSection$section$$LabelSection) labelSection, required _T Function(Query$GetSection$section$$AvatarSection) avatarSection, required _T Function(Query$GetSection$section$$WebSection) webSection, required _T Function(Query$GetSection$section$$MessageSection) - messageSection, + messageSection, required _T Function(Query$GetSection$section$$PageDetailsSection) - pageDetailsSection, + pageDetailsSection, required _T Function(Query$GetSection$section$$AchievementSection) - achievementSection, + achievementSection, required _T Function() orElse, }) { switch ($__typename) { @@ -45881,7 +49232,8 @@ extension UtilityExtension$Query$GetSection$section case "FeaturedSection": return featuredSection( - this as Query$GetSection$section$$FeaturedSection); + this as Query$GetSection$section$$FeaturedSection, + ); case "DefaultSection": return defaultSection(this as Query$GetSection$section$$DefaultSection); @@ -45894,19 +49246,23 @@ extension UtilityExtension$Query$GetSection$section case "CardListSection": return cardListSection( - this as Query$GetSection$section$$CardListSection); + this as Query$GetSection$section$$CardListSection, + ); case "DefaultGridSection": return defaultGridSection( - this as Query$GetSection$section$$DefaultGridSection); + this as Query$GetSection$section$$DefaultGridSection, + ); case "PosterGridSection": return posterGridSection( - this as Query$GetSection$section$$PosterGridSection); + this as Query$GetSection$section$$PosterGridSection, + ); case "IconGridSection": return iconGridSection( - this as Query$GetSection$section$$IconGridSection); + this as Query$GetSection$section$$IconGridSection, + ); case "IconSection": return iconSection(this as Query$GetSection$section$$IconSection); @@ -45925,11 +49281,13 @@ extension UtilityExtension$Query$GetSection$section case "PageDetailsSection": return pageDetailsSection( - this as Query$GetSection$section$$PageDetailsSection); + this as Query$GetSection$section$$PageDetailsSection, + ); case "AchievementSection": return achievementSection( - this as Query$GetSection$section$$AchievementSection); + this as Query$GetSection$section$$AchievementSection, + ); default: return orElse(); @@ -45944,7 +49302,7 @@ extension UtilityExtension$Query$GetSection$section _T Function(Query$GetSection$section$$ListSection)? listSection, _T Function(Query$GetSection$section$$CardListSection)? cardListSection, _T Function(Query$GetSection$section$$DefaultGridSection)? - defaultGridSection, + defaultGridSection, _T Function(Query$GetSection$section$$PosterGridSection)? posterGridSection, _T Function(Query$GetSection$section$$IconGridSection)? iconGridSection, _T Function(Query$GetSection$section$$IconSection)? iconSection, @@ -45953,9 +49311,9 @@ extension UtilityExtension$Query$GetSection$section _T Function(Query$GetSection$section$$WebSection)? webSection, _T Function(Query$GetSection$section$$MessageSection)? messageSection, _T Function(Query$GetSection$section$$PageDetailsSection)? - pageDetailsSection, + pageDetailsSection, _T Function(Query$GetSection$section$$AchievementSection)? - achievementSection, + achievementSection, required _T Function() orElse, }) { switch ($__typename) { @@ -45969,7 +49327,8 @@ extension UtilityExtension$Query$GetSection$section case "FeaturedSection": if (featuredSection != null) { return featuredSection( - this as Query$GetSection$section$$FeaturedSection); + this as Query$GetSection$section$$FeaturedSection, + ); } else { return orElse(); } @@ -45977,7 +49336,8 @@ extension UtilityExtension$Query$GetSection$section case "DefaultSection": if (defaultSection != null) { return defaultSection( - this as Query$GetSection$section$$DefaultSection); + this as Query$GetSection$section$$DefaultSection, + ); } else { return orElse(); } @@ -45999,7 +49359,8 @@ extension UtilityExtension$Query$GetSection$section case "CardListSection": if (cardListSection != null) { return cardListSection( - this as Query$GetSection$section$$CardListSection); + this as Query$GetSection$section$$CardListSection, + ); } else { return orElse(); } @@ -46007,7 +49368,8 @@ extension UtilityExtension$Query$GetSection$section case "DefaultGridSection": if (defaultGridSection != null) { return defaultGridSection( - this as Query$GetSection$section$$DefaultGridSection); + this as Query$GetSection$section$$DefaultGridSection, + ); } else { return orElse(); } @@ -46015,7 +49377,8 @@ extension UtilityExtension$Query$GetSection$section case "PosterGridSection": if (posterGridSection != null) { return posterGridSection( - this as Query$GetSection$section$$PosterGridSection); + this as Query$GetSection$section$$PosterGridSection, + ); } else { return orElse(); } @@ -46023,7 +49386,8 @@ extension UtilityExtension$Query$GetSection$section case "IconGridSection": if (iconGridSection != null) { return iconGridSection( - this as Query$GetSection$section$$IconGridSection); + this as Query$GetSection$section$$IconGridSection, + ); } else { return orElse(); } @@ -46059,7 +49423,8 @@ extension UtilityExtension$Query$GetSection$section case "MessageSection": if (messageSection != null) { return messageSection( - this as Query$GetSection$section$$MessageSection); + this as Query$GetSection$section$$MessageSection, + ); } else { return orElse(); } @@ -46067,7 +49432,8 @@ extension UtilityExtension$Query$GetSection$section case "PageDetailsSection": if (pageDetailsSection != null) { return pageDetailsSection( - this as Query$GetSection$section$$PageDetailsSection); + this as Query$GetSection$section$$PageDetailsSection, + ); } else { return orElse(); } @@ -46075,7 +49441,8 @@ extension UtilityExtension$Query$GetSection$section case "AchievementSection": if (achievementSection != null) { return achievementSection( - this as Query$GetSection$section$$AchievementSection); + this as Query$GetSection$section$$AchievementSection, + ); } else { return orElse(); } @@ -46105,10 +49472,7 @@ abstract class CopyWith$Query$GetSection$section { class _CopyWithImpl$Query$GetSection$section implements CopyWith$Query$GetSection$section { - _CopyWithImpl$Query$GetSection$section( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetSection$section(this._instance, this._then); final Query$GetSection$section _instance; @@ -46121,17 +49485,18 @@ class _CopyWithImpl$Query$GetSection$section Object? title = _undefined, Object? description = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section @@ -46140,12 +49505,7 @@ class _CopyWithStubImpl$Query$GetSection$section TRes _res; - call({ - String? id, - String? title, - String? description, - String? $__typename, - }) => + call({String? id, String? title, String? description, String? $__typename}) => _res; } @@ -46165,7 +49525,8 @@ class Query$GetSection$section$$PosterSection }); factory Query$GetSection$section$$PosterSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -46177,9 +49538,11 @@ class Query$GetSection$section$$PosterSection metadata: l$metadata == null ? null : Query$GetSection$section$$PosterSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$PosterSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -46292,11 +49655,10 @@ class Query$GetSection$section$$PosterSection extension UtilityExtension$Query$GetSection$section$$PosterSection on Query$GetSection$section$$PosterSection { CopyWith$Query$GetSection$section$$PosterSection< - Query$GetSection$section$$PosterSection> - get copyWith => CopyWith$Query$GetSection$section$$PosterSection( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$PosterSection { @@ -46342,40 +49704,46 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$PosterSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$PosterSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$PosterSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$PosterSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$PosterSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$PosterSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$PosterSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$PosterSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$PosterSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$PosterSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -46393,12 +49761,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$PosterSection$metadata.stub(_res); + get metadata => + CopyWith$Query$GetSection$section$$PosterSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$PosterSection$items get items => CopyWith$Query$GetSection$section$$PosterSection$items.stub(_res); @@ -46421,7 +49788,8 @@ class Query$GetSection$section$$PosterSection$metadata }); factory Query$GetSection$section$$PosterSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -46440,7 +49808,8 @@ class Query$GetSection$section$$PosterSection$metadata page: l$page == null ? null : Query$GetSection$section$$PosterSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -46573,11 +49942,10 @@ class Query$GetSection$section$$PosterSection$metadata extension UtilityExtension$Query$GetSection$section$$PosterSection$metadata on Query$GetSection$section$$PosterSection$metadata { CopyWith$Query$GetSection$section$$PosterSection$metadata< - Query$GetSection$section$$PosterSection$metadata> - get copyWith => CopyWith$Query$GetSection$section$$PosterSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$metadata(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$PosterSection$metadata { @@ -46587,8 +49955,8 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$metadata { ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$metadata; factory CopyWith$Query$GetSection$section$$PosterSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata; TRes call({ bool? continueWatching, @@ -46627,46 +49995,49 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$PosterSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$PosterSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$PosterSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$PosterSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -46686,13 +50057,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$PosterSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$PosterSection$metadata$page.stub(_res); } class Query$GetSection$section$$PosterSection$metadata$page @@ -46705,7 +50074,8 @@ class Query$GetSection$section$$PosterSection$metadata$page }); factory Query$GetSection$section$$PosterSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$metadata$page( @@ -46731,10 +50101,7 @@ class Query$GetSection$section$$PosterSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -46763,29 +50130,28 @@ class Query$GetSection$section$$PosterSection$metadata$page extension UtilityExtension$Query$GetSection$section$$PosterSection$metadata$page on Query$GetSection$section$$PosterSection$metadata$page { CopyWith$Query$GetSection$section$$PosterSection$metadata$page< - Query$GetSection$section$$PosterSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$metadata$page( Query$GetSection$section$$PosterSection$metadata$page instance, TRes Function(Query$GetSection$section$$PosterSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$metadata$page; factory CopyWith$Query$GetSection$section$$PosterSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$metadata$page @@ -46799,38 +50165,35 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$metadata$page final Query$GetSection$section$$PosterSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$PosterSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items @@ -46845,7 +50208,8 @@ class Query$GetSection$section$$PosterSection$items }); factory Query$GetSection$section$$PosterSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -46854,9 +50218,11 @@ class Query$GetSection$section$$PosterSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$PosterSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetSection$section$$PosterSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -46941,11 +50307,10 @@ class Query$GetSection$section$$PosterSection$items extension UtilityExtension$Query$GetSection$section$$PosterSection$items on Query$GetSection$section$$PosterSection$items { CopyWith$Query$GetSection$section$$PosterSection$items< - Query$GetSection$section$$PosterSection$items> - get copyWith => CopyWith$Query$GetSection$section$$PosterSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items { @@ -46955,8 +50320,8 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$items { ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items; factory CopyWith$Query$GetSection$section$$PosterSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items; TRes call({ int? offset, @@ -46965,11 +50330,15 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items< - Query$GetSection$section$$PosterSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items< + Query$GetSection$section$$PosterSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items @@ -46990,35 +50359,43 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$GetSection$section$$PosterSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items< - Query$GetSection$section$$PosterSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$PosterSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items< + Query$GetSection$section$$PosterSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$PosterSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items @@ -47032,8 +50409,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -47051,7 +50427,8 @@ class Query$GetSection$section$$PosterSection$items$items }); factory Query$GetSection$section$$PosterSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -47062,7 +50439,8 @@ class Query$GetSection$section$$PosterSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$PosterSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -47099,13 +50477,7 @@ class Query$GetSection$section$$PosterSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -47149,24 +50521,25 @@ class Query$GetSection$section$$PosterSection$items$items extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items on Query$GetSection$section$$PosterSection$items$items { CopyWith$Query$GetSection$section$$PosterSection$items$items< - Query$GetSection$section$$PosterSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items + > + get copyWith => CopyWith$Query$GetSection$section$$PosterSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items( Query$GetSection$section$$PosterSection$items$items instance, TRes Function(Query$GetSection$section$$PosterSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items; factory CopyWith$Query$GetSection$section$$PosterSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items; TRes call({ String? id, @@ -47176,7 +50549,7 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items< String? $__typename, }); CopyWith$Query$GetSection$section$$PosterSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items @@ -47190,7 +50563,7 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items final Query$GetSection$section$$PosterSection$items$items _instance; final TRes Function(Query$GetSection$section$$PosterSection$items$items) - _then; + _then; static const _undefined = {}; @@ -47200,36 +50573,40 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item - as Query$GetSection$section$$PosterSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$PosterSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -47239,69 +50616,82 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items< String? image, Query$GetSection$section$$PosterSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item implements Fragment$Section$$PosterSection$items$items$item, Fragment$ItemSectionItem$item { - Query$GetSection$section$$PosterSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$PosterSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$PosterSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$PosterSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$PosterSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$PosterSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$PosterSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$PosterSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$PosterSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$PosterSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$PosterSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$PosterSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -47341,86 +50731,117 @@ class Query$GetSection$section$$PosterSection$items$items$item extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item on Query$GetSection$section$$PosterSection$items$items$item { CopyWith$Query$GetSection$section$$PosterSection$items$items$item< - Query$GetSection$section$$PosterSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$PosterSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show) - show, + Query$GetSection$section$$PosterSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Season) - season, + Query$GetSection$section$$PosterSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Page) - page, + Query$GetSection$section$$PosterSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Link) - link, + Query$GetSection$section$$PosterSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Game) - game, + Query$GetSection$section$$PosterSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Short) - short, + Query$GetSection$section$$PosterSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Person) - person, + Query$GetSection$section$$PosterSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$PosterSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$PosterSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$PosterSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$PosterSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$PosterSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$PosterSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$PosterSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$PosterSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$PosterSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Person, + ); default: return orElse(); @@ -47429,110 +50850,136 @@ extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$i _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$PosterSection$items$items$item$$Episode, + )? + episode, _T Function(Query$GetSection$section$$PosterSection$items$items$item$$Show)? - show, + show, _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Season)? - season, + Query$GetSection$section$$PosterSection$items$items$item$$Season, + )? + season, _T Function(Query$GetSection$section$$PosterSection$items$items$item$$Page)? - page, + page, _T Function(Query$GetSection$section$$PosterSection$items$items$item$$Link)? - link, + link, _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function(Query$GetSection$section$$PosterSection$items$items$item$$Game)? - game, + game, _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Short)? - short, + Query$GetSection$section$$PosterSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Person)? - person, + Query$GetSection$section$$PosterSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$PosterSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$PosterSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$PosterSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$PosterSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$PosterSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$PosterSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$PosterSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$PosterSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$PosterSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -47544,25 +50991,28 @@ extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$i } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item( Query$GetSection$section$$PosterSection$items$items$item instance, TRes Function(Query$GetSection$section$$PosterSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item( this._instance, this._then, @@ -47571,24 +51021,29 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item< final Query$GetSection$section$$PosterSection$items$items$item _instance; final TRes Function(Query$GetSection$section$$PosterSection$items$items$item) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$PosterSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$PosterSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -47619,7 +51074,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode }); factory Query$GetSection$section$$PosterSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -47635,9 +51091,12 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode final l$productionDate = json['productionDate']; return Query$GetSection$section$$PosterSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -47650,16 +51109,18 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$PosterSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$PosterSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), productionDate: (l$productionDate as String), ); } final List< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -47680,7 +51141,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$PosterSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -47689,8 +51150,9 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -47839,30 +51301,35 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Episode on Query$GetSection$section$$PosterSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode< - Query$GetSection$section$$PosterSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode( Query$GetSection$section$$PosterSection$items$items$item$$Episode instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -47873,35 +51340,48 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item String? publishDate, int? number, Query$GetSection$section$$PosterSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -47919,81 +51399,106 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Ep Object? season = _undefined, Object? $__typename = _undefined, Object? productionDate = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$PosterSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - productionDate: productionDate == _undefined || productionDate == null - ? _instance.productionDate - : (productionDate as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + productionDate: productionDate == _undefined || productionDate == null + ? _instance.productionDate + : (productionDate as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -48004,19 +51509,20 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item String? publishDate, int? number, Query$GetSection$section$$PosterSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors @@ -48030,14 +51536,16 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contribu }); factory Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -48046,7 +51554,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contribu } final Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -48116,54 +51624,62 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contribu extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors on Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -48171,53 +51687,61 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Ep Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person @@ -48230,7 +51754,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contribu }); factory Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( @@ -48256,10 +51781,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contribu int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -48287,85 +51809,88 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$contribu } extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season @@ -48380,15 +51905,17 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$PosterSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -48396,7 +51923,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -48416,11 +51943,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -48455,54 +51978,62 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season on Query$GetSection$section$$PosterSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( Query$GetSection$section$$PosterSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -48510,52 +52041,60 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Ep Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show @@ -48569,7 +52108,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$s }); factory Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( @@ -48595,10 +52135,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$s int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -48628,83 +52165,85 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$s extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show on Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Show @@ -48723,7 +52262,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show }); factory Query$GetSection$section$$PosterSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -48736,11 +52276,13 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), seasons: - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons - .fromJson((l$seasons as Map)), + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons.fromJson( + (l$seasons as Map), + ), ); } @@ -48753,10 +52295,10 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; final Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons - seasons; + seasons; Map toJson() { final _resultData = {}; @@ -48840,26 +52382,29 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Show on Query$GetSection$section$$PosterSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show< - Query$GetSection$section$$PosterSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show( Query$GetSection$section$$PosterSection$items$items$item$$Show instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show; TRes call({ String? id, @@ -48867,31 +52412,39 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item int? seasonCount, String? $__typename, Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons? - seasons, + seasons, }); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> get seasons; + TRes + > + get seasons; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -48902,50 +52455,62 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Sh Object? $__typename = _undefined, Object? defaultEpisode = _undefined, Object? seasons = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode), - seasons: seasons == _undefined || seasons == null - ? _instance.seasons - : (seasons + seasons: seasons == _undefined || seasons == null + ? _instance.seasons + : (seasons as Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons), - )); + ), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> get seasons { + TRes + > + get seasons { final local$seasons = _instance.seasons; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( - local$seasons, (e) => call(seasons: e)); + local$seasons, + (e) => call(seasons: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -48955,23 +52520,26 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item int? seasonCount, String? $__typename, Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons? - seasons, - }) => - _res; + seasons, + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> - get seasons => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons - .stub(_res); + TRes + > + get seasons => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode @@ -48985,7 +52553,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpis }); factory Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( @@ -49011,10 +52580,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpis int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -49044,81 +52610,83 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpis extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode on Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Season @@ -49126,14 +52694,17 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Season Fragment$Section$$PosterSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$GetSection$section$$PosterSection$items$items$item { - Query$GetSection$section$$PosterSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$PosterSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$PosterSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -49173,62 +52744,74 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Season on Query$GetSection$section$$PosterSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season< - Query$GetSection$section$$PosterSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season( Query$GetSection$section$$PosterSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Season) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Season) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -49247,7 +52830,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Page }); factory Query$GetSection$section$$PosterSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Page( @@ -49273,10 +52857,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -49306,80 +52887,82 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Page on Query$GetSection$section$$PosterSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page< - Query$GetSection$section$$PosterSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page( Query$GetSection$section$$PosterSection$items$items$item$$Page instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Page) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Page) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Link @@ -49394,7 +52977,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Link }); factory Query$GetSection$section$$PosterSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Link( @@ -49420,10 +53004,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -49453,78 +53034,82 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Link on Query$GetSection$section$$PosterSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link< - Query$GetSection$section$$PosterSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link( Query$GetSection$section$$PosterSection$items$items$item$$Link instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Link) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Link) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic @@ -49532,14 +53117,17 @@ class Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic Fragment$Section$$PosterSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$GetSection$section$$PosterSection$items$items$item { - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -49579,64 +53167,75 @@ class Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic on Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic< - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -49655,7 +53254,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Game }); factory Query$GetSection$section$$PosterSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Game( @@ -49681,10 +53281,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -49714,80 +53311,82 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Game on Query$GetSection$section$$PosterSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game< - Query$GetSection$section$$PosterSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game( Query$GetSection$section$$PosterSection$items$items$item$$Game instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Game) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Game) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Playlist @@ -49805,7 +53404,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist }); factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; final l$title = json['title']; @@ -49817,8 +53417,9 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist title: (l$title as String), image: (l$image as String?), items: - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items - .fromJson((l$items as Map)), + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items.fromJson( + (l$items as Map), + ), ); } @@ -49831,7 +53432,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist final String? image; final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items - items; + items; Map toJson() { final _resultData = {}; @@ -49855,13 +53456,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist final l$title = title; final l$image = image; final l$items = items; - return Object.hashAll([ - l$id, - l$$__typename, - l$title, - l$image, - l$items, - ]); + return Object.hashAll([l$id, l$$__typename, l$title, l$image, l$items]); } @override @@ -49906,26 +53501,29 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist on Query$GetSection$section$$PosterSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist( Query$GetSection$section$$PosterSection$items$items$item$$Playlist instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist; TRes call({ String? id, @@ -49933,27 +53531,33 @@ abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item String? title, String? image, Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items? - items, + items, }); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> get items; + TRes + > + get items; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; @@ -49963,37 +53567,45 @@ class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Pl Object? title = _undefined, Object? image = _undefined, Object? items = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items), - )); + ), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> get items { + TRes + > + get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; @@ -50003,15 +53615,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item String? title, String? image, Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items? - items, - }) => - _res; + items, + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> - get items => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items - .stub(_res); + TRes + > + get items => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item$$Short @@ -50026,7 +53639,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Short }); factory Query$GetSection$section$$PosterSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Short( @@ -50052,10 +53666,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -50085,78 +53696,80 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Short on Query$GetSection$section$$PosterSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short< - Query$GetSection$section$$PosterSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short( Query$GetSection$section$$PosterSection$items$items$item$$Short instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Short) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Short) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Person @@ -50171,7 +53784,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Person }); factory Query$GetSection$section$$PosterSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Person( @@ -50197,10 +53811,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -50230,78 +53841,80 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Person on Query$GetSection$section$$PosterSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person< - Query$GetSection$section$$PosterSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person( Query$GetSection$section$$PosterSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Person) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Person) _then; + Query$GetSection$section$$PosterSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items @@ -50313,22 +53926,27 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items }); factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( items: (l$items as List) - .map((e) => - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items> - items; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + items; final String $__typename; @@ -50385,105 +54003,137 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items on Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items; TRes call({ - List? - items, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items>>) - _fn); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -50497,15 +54147,18 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i }); factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { - case "Short": - return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - .fromJson(json); - case "Episode": - return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - .fromJson(json); + return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( + json, + ); + + case "Short": + return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( + json, + ); default: final l$image = json['image']; @@ -50534,10 +54187,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -50567,30 +54217,37 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items on Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - short, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - episode, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + short, required _T Function() orElse, }) { switch ($__typename) { - case "Short": - return short(this - as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short); - case "Episode": - return episode(this - as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode); + return episode( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ); + + case "Short": + return short( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ); default: return orElse(); @@ -50599,26 +54256,32 @@ extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$i _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short)? - short, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode)? - episode, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + )? + short, required _T Function() orElse, }) { switch ($__typename) { - case "Short": - if (short != null) { - return short(this - as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short); + case "Episode": + if (episode != null) { + return episode( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ); } else { return orElse(); } - case "Episode": - if (episode != null) { - return episode(this - as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode); + case "Short": + if (short != null) { + return short( + this + as Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ); } else { return orElse(); } @@ -50630,88 +54293,90 @@ extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$i } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items( - this._res); + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } -class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short +class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode implements - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items { - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short({ + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode({ this.image, - this.$__typename = 'Short', + this.$__typename = 'Episode', }); - factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( - Map json) { + factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( + Map json, + ) { final l$image = json['image']; final l$$__typename = json['__typename']; - return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( image: (l$image as String?), $__typename: (l$$__typename as String), ); @@ -50734,10 +54399,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -50746,7 +54408,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i return true; } if (other - is! Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short || + is! Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode || runtimeType != other.runtimeType) { return false; } @@ -50764,100 +54426,104 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i } } -extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - on Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short { - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - this, - (i) => i, - ); +extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + on + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode { + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + this, + (i) => i, + ); } -abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - instance, +abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> { + factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - then, - ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + then, + ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; - factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; + factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.stub( + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } -class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> +class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> implements - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes + > { + _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( this._instance, this._then, ); - final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short - _instance; + final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> +class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes +> implements - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< - TRes> { - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( - this._res); + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< + TRes + > { + _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } -class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode +class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short implements - Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Episode, + Fragment$Section$$PosterSection$items$items$item$$Playlist$items$items$$Short, Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items { - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode({ + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short({ this.image, - this.$__typename = 'Episode', + this.$__typename = 'Short', }); - factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.fromJson( - Map json) { + factory Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.fromJson( + Map json, + ) { final l$image = json['image']; final l$$__typename = json['__typename']; - return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + return Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( image: (l$image as String?), $__typename: (l$$__typename as String), ); @@ -50880,10 +54546,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i int get hashCode { final l$image = image; final l$$__typename = $__typename; - return Object.hashAll([ - l$image, - l$$__typename, - ]); + return Object.hashAll([l$image, l$$__typename]); } @override @@ -50892,7 +54555,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i return true; } if (other - is! Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode || + is! Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short || runtimeType != other.runtimeType) { return false; } @@ -50910,84 +54573,87 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$i } } -extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - on Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode { - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - this, - (i) => i, - ); +extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + on + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short { + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + this, + (i) => i, + ); } -abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - instance, +abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> { + factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - then, - ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + then, + ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; - factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode; + factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short.stub( + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short; - TRes call({ - String? image, - String? $__typename, - }); + TRes call({String? image, String? $__typename}); } -class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> +class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> implements - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes + > { + _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( this._instance, this._then, ); - final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode - _instance; + final Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short, + ) + _then; static const _undefined = {}; TRes call({ Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } -class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> +class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes +> implements - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode< - TRes> { - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Episode( - this._res); + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short< + TRes + > { + _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Playlist$items$items$$Short( + this._res, + ); TRes _res; - call({ - String? image, - String? $__typename, - }) => - _res; + call({String? image, String? $__typename}) => _res; } class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons @@ -50998,22 +54664,27 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons }); factory Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( items: (l$items as List) - .map((e) => - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items> - items; + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + items; final String $__typename; @@ -51070,105 +54741,137 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons on Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons; TRes call({ - List? - items, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items>>) - _fn); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -51182,19 +54885,21 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite }); factory Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items.fromJson( - Map json) { + Map json, + ) { final l$episodes = json['episodes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( episodes: - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - .fromJson((l$episodes as Map)), + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.fromJson( + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } final Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - episodes; + episodes; final String $__typename; @@ -51211,10 +54916,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite int get hashCode { final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$episodes, l$$__typename]); } @override @@ -51244,101 +54946,117 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items on Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items; TRes call({ Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes? - episodes, + episodes, String? $__typename, }); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> get episodes; + TRes + > + get episodes; } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items, + ) + _then; static const _undefined = {}; TRes call({ Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> get episodes { + TRes + > + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes? - episodes, + episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> - get episodes => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - .stub(_res); + TRes + > + get episodes => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.stub( + _res, + ); } class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes @@ -51350,22 +55068,27 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite }); factory Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( items: (l$items as List) - .map((e) => - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items> - items; + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + items; final String $__typename; @@ -51420,107 +55143,140 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite } extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - on Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes { + on + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes; TRes call({ - List? - items, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>>) - _fn); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -51534,7 +55290,8 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite }); factory Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.fromJson( - Map json) { + Map json, + ) { final l$publishDate = json['publishDate']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( @@ -51560,10 +55317,7 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite int get hashCode { final l$publishDate = publishDate; final l$$__typename = $__typename; - return Object.hashAll([ - l$publishDate, - l$$__typename, - ]); + return Object.hashAll([l$publishDate, l$$__typename]); } @override @@ -51591,85 +55345,88 @@ class Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$ite } extension UtilityExtension$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - on Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items { + on + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items { CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - instance, + instance, TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items) - then, + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; factory CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items; - TRes call({ - String? publishDate, - String? $__typename, - }); + TRes call({String? publishDate, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( this._instance, this._then, ); final Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items) - _then; + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items, + ) + _then; static const _undefined = {}; TRes call({ Object? publishDate = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterSection$items$items$item$$Show$seasons$items$episodes$items( - this._res); + this._res, + ); TRes _res; - call({ - String? publishDate, - String? $__typename, - }) => - _res; + call({String? publishDate, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection @@ -51688,7 +55445,8 @@ class Query$GetSection$section$$FeaturedSection }); factory Query$GetSection$section$$FeaturedSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -51700,9 +55458,11 @@ class Query$GetSection$section$$FeaturedSection metadata: l$metadata == null ? null : Query$GetSection$section$$FeaturedSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$FeaturedSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -51815,11 +55575,10 @@ class Query$GetSection$section$$FeaturedSection extension UtilityExtension$Query$GetSection$section$$FeaturedSection on Query$GetSection$section$$FeaturedSection { CopyWith$Query$GetSection$section$$FeaturedSection< - Query$GetSection$section$$FeaturedSection> - get copyWith => CopyWith$Query$GetSection$section$$FeaturedSection( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection { @@ -51841,7 +55600,7 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection { String? description, }); CopyWith$Query$GetSection$section$$FeaturedSection$metadata - get metadata; + get metadata; CopyWith$Query$GetSection$section$$FeaturedSection$items get items; } @@ -51866,41 +55625,47 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$FeaturedSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$FeaturedSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$FeaturedSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$FeaturedSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$FeaturedSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$FeaturedSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$FeaturedSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$FeaturedSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$FeaturedSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$FeaturedSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -51918,13 +55683,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$FeaturedSection$metadata.stub( - _res); + get metadata => + CopyWith$Query$GetSection$section$$FeaturedSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$FeaturedSection$items get items => CopyWith$Query$GetSection$section$$FeaturedSection$items.stub(_res); @@ -51947,7 +55710,8 @@ class Query$GetSection$section$$FeaturedSection$metadata }); factory Query$GetSection$section$$FeaturedSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -51966,7 +55730,8 @@ class Query$GetSection$section$$FeaturedSection$metadata page: l$page == null ? null : Query$GetSection$section$$FeaturedSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -52099,24 +55864,25 @@ class Query$GetSection$section$$FeaturedSection$metadata extension UtilityExtension$Query$GetSection$section$$FeaturedSection$metadata on Query$GetSection$section$$FeaturedSection$metadata { CopyWith$Query$GetSection$section$$FeaturedSection$metadata< - Query$GetSection$section$$FeaturedSection$metadata> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$metadata + > + get copyWith => CopyWith$Query$GetSection$section$$FeaturedSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$metadata( Query$GetSection$section$$FeaturedSection$metadata instance, TRes Function(Query$GetSection$section$$FeaturedSection$metadata) then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata; factory CopyWith$Query$GetSection$section$$FeaturedSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata; TRes call({ bool? continueWatching, @@ -52130,7 +55896,7 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection$metadata< String? $__typename, }); CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page - get page; + get page; } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata @@ -52157,47 +55923,49 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page - as Query$GetSection$section$$FeaturedSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$FeaturedSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$FeaturedSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -52205,7 +55973,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata implements CopyWith$Query$GetSection$section$$FeaturedSection$metadata { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -52219,13 +55988,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page.stub( + _res, + ); } class Query$GetSection$section$$FeaturedSection$metadata$page @@ -52238,7 +56007,8 @@ class Query$GetSection$section$$FeaturedSection$metadata$page }); factory Query$GetSection$section$$FeaturedSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$metadata$page( @@ -52264,10 +56034,7 @@ class Query$GetSection$section$$FeaturedSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -52296,33 +56063,33 @@ class Query$GetSection$section$$FeaturedSection$metadata$page extension UtilityExtension$Query$GetSection$section$$FeaturedSection$metadata$page on Query$GetSection$section$$FeaturedSection$metadata$page { CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page< - Query$GetSection$section$$FeaturedSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page( Query$GetSection$section$$FeaturedSection$metadata$page instance, TRes Function(Query$GetSection$section$$FeaturedSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata$page; factory CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata$page( @@ -52333,38 +56100,35 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$metadata$page< final Query$GetSection$section$$FeaturedSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$FeaturedSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$FeaturedSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items @@ -52379,7 +56143,8 @@ class Query$GetSection$section$$FeaturedSection$items }); factory Query$GetSection$section$$FeaturedSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -52388,9 +56153,12 @@ class Query$GetSection$section$$FeaturedSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$FeaturedSection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetSection$section$$FeaturedSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -52475,11 +56243,10 @@ class Query$GetSection$section$$FeaturedSection$items extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items on Query$GetSection$section$$FeaturedSection$items { CopyWith$Query$GetSection$section$$FeaturedSection$items< - Query$GetSection$section$$FeaturedSection$items> - get copyWith => CopyWith$Query$GetSection$section$$FeaturedSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items { @@ -52489,8 +56256,8 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items { ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items; factory CopyWith$Query$GetSection$section$$FeaturedSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items; TRes call({ int? offset, @@ -52499,11 +56266,15 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$FeaturedSection$items$items< - Query$GetSection$section$$FeaturedSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$FeaturedSection$items$items< + Query$GetSection$section$$FeaturedSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items @@ -52524,35 +56295,43 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$GetSection$section$$FeaturedSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$FeaturedSection$items$items< - Query$GetSection$section$$FeaturedSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$FeaturedSection$items$items< + Query$GetSection$section$$FeaturedSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$FeaturedSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items @@ -52566,8 +56345,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -52586,7 +56364,8 @@ class Query$GetSection$section$$FeaturedSection$items$items }); factory Query$GetSection$section$$FeaturedSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -52598,7 +56377,8 @@ class Query$GetSection$section$$FeaturedSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$FeaturedSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -52697,24 +56477,26 @@ class Query$GetSection$section$$FeaturedSection$items$items extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items on Query$GetSection$section$$FeaturedSection$items$items { CopyWith$Query$GetSection$section$$FeaturedSection$items$items< - Query$GetSection$section$$FeaturedSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items( Query$GetSection$section$$FeaturedSection$items$items instance, TRes Function(Query$GetSection$section$$FeaturedSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items; TRes call({ String? id, @@ -52725,7 +56507,7 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items< String? description, }); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items @@ -52739,7 +56521,7 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items final Query$GetSection$section$$FeaturedSection$items$items _instance; final TRes Function(Query$GetSection$section$$FeaturedSection$items$items) - _then; + _then; static const _undefined = {}; @@ -52750,39 +56532,44 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$FeaturedSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -52793,69 +56580,82 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items< Query$GetSection$section$$FeaturedSection$items$items$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$FeaturedSection$items$items$item implements Fragment$Section$$FeaturedSection$items$items$item, Fragment$ItemSectionItem$item { - Query$GetSection$section$$FeaturedSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$FeaturedSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$FeaturedSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$FeaturedSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$FeaturedSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -52895,86 +56695,117 @@ class Query$GetSection$section$$FeaturedSection$items$items$item extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item on Query$GetSection$section$$FeaturedSection$items$items$item { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item< - Query$GetSection$section$$FeaturedSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show) - show, + Query$GetSection$section$$FeaturedSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Season) - season, + Query$GetSection$section$$FeaturedSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Page) - page, + Query$GetSection$section$$FeaturedSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Link) - link, + Query$GetSection$section$$FeaturedSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Game) - game, + Query$GetSection$section$$FeaturedSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Short) - short, + Query$GetSection$section$$FeaturedSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Person) - person, + Query$GetSection$section$$FeaturedSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Person, + ); default: return orElse(); @@ -52983,114 +56814,144 @@ extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show)? - show, + Query$GetSection$section$$FeaturedSection$items$items$item$$Show, + )? + show, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Season)? - season, + Query$GetSection$section$$FeaturedSection$items$items$item$$Season, + )? + season, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Page)? - page, + Query$GetSection$section$$FeaturedSection$items$items$item$$Page, + )? + page, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Link)? - link, + Query$GetSection$section$$FeaturedSection$items$items$item$$Link, + )? + link, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Game)? - game, + Query$GetSection$section$$FeaturedSection$items$items$item$$Game, + )? + game, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Short)? - short, + Query$GetSection$section$$FeaturedSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Person)? - person, + Query$GetSection$section$$FeaturedSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$FeaturedSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$FeaturedSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -53102,25 +56963,28 @@ extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item( Query$GetSection$section$$FeaturedSection$items$items$item instance, TRes Function(Query$GetSection$section$$FeaturedSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item( this._instance, this._then, @@ -53129,24 +56993,31 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item< final Query$GetSection$section$$FeaturedSection$items$items$item _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item) _then; + Query$GetSection$section$$FeaturedSection$items$items$item, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -53176,7 +57047,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -53191,9 +57063,12 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -53206,15 +57081,17 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -53235,15 +57112,16 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -53383,31 +57261,36 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode on Query$GetSection$section$$FeaturedSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( Query$GetSection$section$$FeaturedSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -53418,35 +57301,47 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$it String? publishDate, int? number, Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -53463,78 +57358,103 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$ Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -53545,18 +57465,19 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$it String? publishDate, int? number, Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors @@ -53570,14 +57491,16 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contri }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -53586,7 +57509,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contri } final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -53654,56 +57577,65 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contri } extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors - on Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors { + on + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -53711,53 +57643,61 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person @@ -53770,7 +57710,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contri }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( @@ -53796,10 +57737,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contri int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -53827,85 +57765,88 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contri } extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season @@ -53920,15 +57861,17 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -53936,7 +57879,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -53956,11 +57899,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -53995,54 +57934,62 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season on Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -54050,52 +57997,60 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show @@ -54109,7 +58064,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( @@ -54135,10 +58091,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -54166,85 +58119,88 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season } extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show - on Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show { + on + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Show @@ -54262,7 +58218,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -54274,8 +58231,9 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -54288,7 +58246,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -54363,26 +58321,29 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Show on Query$GetSection$section$$FeaturedSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show< - Query$GetSection$section$$FeaturedSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show( Query$GetSection$section$$FeaturedSection$items$items$item$$Show instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show; TRes call({ String? id, @@ -54390,27 +58351,33 @@ abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$it int? seasonCount, String? $__typename, Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -54420,39 +58387,47 @@ class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$ Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -54462,15 +58437,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$it int? seasonCount, String? $__typename, Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode @@ -54484,7 +58460,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEp }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( @@ -54510,10 +58487,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEp int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -54541,83 +58515,86 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEp } extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - on Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode { + on + Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Season @@ -54625,14 +58602,17 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Season Fragment$Section$$FeaturedSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$GetSection$section$$FeaturedSection$items$items$item { - Query$GetSection$section$$FeaturedSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$FeaturedSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -54672,62 +58652,74 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Season on Query$GetSection$section$$FeaturedSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season< - Query$GetSection$section$$FeaturedSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season( Query$GetSection$section$$FeaturedSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Season) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Season) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -54746,7 +58738,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Page }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Page( @@ -54772,10 +58765,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -54805,80 +58795,82 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Page on Query$GetSection$section$$FeaturedSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page< - Query$GetSection$section$$FeaturedSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page( Query$GetSection$section$$FeaturedSection$items$items$item$$Page instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Page) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Page) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Link @@ -54893,7 +58885,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Link }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Link( @@ -54919,10 +58912,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -54952,78 +58942,82 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Link on Query$GetSection$section$$FeaturedSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link< - Query$GetSection$section$$FeaturedSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link( Query$GetSection$section$$FeaturedSection$items$items$item$$Link instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Link) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Link) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic @@ -55031,14 +59025,17 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic Fragment$Section$$FeaturedSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$GetSection$section$$FeaturedSection$items$items$item { - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -55078,64 +59075,75 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic on Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic< - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -55154,7 +59162,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Game }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Game( @@ -55180,10 +59189,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -55213,80 +59219,82 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Game on Query$GetSection$section$$FeaturedSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game< - Query$GetSection$section$$FeaturedSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game( Query$GetSection$section$$FeaturedSection$items$items$item$$Game instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Game) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Game) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist @@ -55301,7 +59309,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( @@ -55327,10 +59336,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -55360,81 +59366,81 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist on Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist< - Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist) - _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Short @@ -55449,7 +59455,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Short }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Short( @@ -55475,10 +59482,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -55508,78 +59512,80 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Short on Query$GetSection$section$$FeaturedSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short< - Query$GetSection$section$$FeaturedSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short( Query$GetSection$section$$FeaturedSection$items$items$item$$Short instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Short) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Short) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$FeaturedSection$items$items$item$$Person @@ -55594,7 +59600,8 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Person }); factory Query$GetSection$section$$FeaturedSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$FeaturedSection$items$items$item$$Person( @@ -55620,10 +59627,7 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -55653,78 +59657,80 @@ class Query$GetSection$section$$FeaturedSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$FeaturedSection$items$items$item$$Person on Query$GetSection$section$$FeaturedSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person< - Query$GetSection$section$$FeaturedSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$FeaturedSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person( Query$GetSection$section$$FeaturedSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Person) - then, + Query$GetSection$section$$FeaturedSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$FeaturedSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$FeaturedSection$items$items$item$$Person) _then; + Query$GetSection$section$$FeaturedSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$FeaturedSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$FeaturedSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$FeaturedSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$FeaturedSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection @@ -55743,7 +59749,8 @@ class Query$GetSection$section$$DefaultSection }); factory Query$GetSection$section$$DefaultSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -55755,9 +59762,11 @@ class Query$GetSection$section$$DefaultSection metadata: l$metadata == null ? null : Query$GetSection$section$$DefaultSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$DefaultSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), size: fromJson$Enum$SectionSize((l$size as String)), id: (l$id as String), @@ -55870,11 +59879,10 @@ class Query$GetSection$section$$DefaultSection extension UtilityExtension$Query$GetSection$section$$DefaultSection on Query$GetSection$section$$DefaultSection { CopyWith$Query$GetSection$section$$DefaultSection< - Query$GetSection$section$$DefaultSection> - get copyWith => CopyWith$Query$GetSection$section$$DefaultSection( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$DefaultSection { @@ -55920,41 +59928,47 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$DefaultSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$DefaultSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - size: size == _undefined || size == null - ? _instance.size - : (size as Enum$SectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$DefaultSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$DefaultSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$DefaultSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + size: size == _undefined || size == null + ? _instance.size + : (size as Enum$SectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$DefaultSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$DefaultSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$DefaultSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$DefaultSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$DefaultSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -55972,12 +59986,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$DefaultSection$metadata.stub(_res); + get metadata => + CopyWith$Query$GetSection$section$$DefaultSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$DefaultSection$items get items => CopyWith$Query$GetSection$section$$DefaultSection$items.stub(_res); @@ -56000,7 +60013,8 @@ class Query$GetSection$section$$DefaultSection$metadata }); factory Query$GetSection$section$$DefaultSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -56019,7 +60033,8 @@ class Query$GetSection$section$$DefaultSection$metadata page: l$page == null ? null : Query$GetSection$section$$DefaultSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -56152,24 +60167,25 @@ class Query$GetSection$section$$DefaultSection$metadata extension UtilityExtension$Query$GetSection$section$$DefaultSection$metadata on Query$GetSection$section$$DefaultSection$metadata { CopyWith$Query$GetSection$section$$DefaultSection$metadata< - Query$GetSection$section$$DefaultSection$metadata> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$metadata + > + get copyWith => CopyWith$Query$GetSection$section$$DefaultSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$metadata( Query$GetSection$section$$DefaultSection$metadata instance, TRes Function(Query$GetSection$section$$DefaultSection$metadata) then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$metadata; factory CopyWith$Query$GetSection$section$$DefaultSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata; TRes call({ bool? continueWatching, @@ -56183,7 +60199,7 @@ abstract class CopyWith$Query$GetSection$section$$DefaultSection$metadata< String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultSection$metadata$page - get page; + get page; } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$metadata @@ -56210,46 +60226,49 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$DefaultSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$DefaultSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$DefaultSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$DefaultSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -56257,7 +60276,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata implements CopyWith$Query$GetSection$section$$DefaultSection$metadata { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -56271,13 +60291,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$DefaultSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$DefaultSection$metadata$page.stub( + _res, + ); } class Query$GetSection$section$$DefaultSection$metadata$page @@ -56290,7 +60310,8 @@ class Query$GetSection$section$$DefaultSection$metadata$page }); factory Query$GetSection$section$$DefaultSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$metadata$page( @@ -56316,10 +60337,7 @@ class Query$GetSection$section$$DefaultSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -56348,29 +60366,28 @@ class Query$GetSection$section$$DefaultSection$metadata$page extension UtilityExtension$Query$GetSection$section$$DefaultSection$metadata$page on Query$GetSection$section$$DefaultSection$metadata$page { CopyWith$Query$GetSection$section$$DefaultSection$metadata$page< - Query$GetSection$section$$DefaultSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$metadata$page( Query$GetSection$section$$DefaultSection$metadata$page instance, TRes Function(Query$GetSection$section$$DefaultSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$metadata$page; factory CopyWith$Query$GetSection$section$$DefaultSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$metadata$page @@ -56384,38 +60401,35 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$metadata$page final Query$GetSection$section$$DefaultSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$DefaultSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items @@ -56430,7 +60444,8 @@ class Query$GetSection$section$$DefaultSection$items }); factory Query$GetSection$section$$DefaultSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -56439,9 +60454,12 @@ class Query$GetSection$section$$DefaultSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$DefaultSection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetSection$section$$DefaultSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -56526,11 +60544,10 @@ class Query$GetSection$section$$DefaultSection$items extension UtilityExtension$Query$GetSection$section$$DefaultSection$items on Query$GetSection$section$$DefaultSection$items { CopyWith$Query$GetSection$section$$DefaultSection$items< - Query$GetSection$section$$DefaultSection$items> - get copyWith => CopyWith$Query$GetSection$section$$DefaultSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items { @@ -56540,8 +60557,8 @@ abstract class CopyWith$Query$GetSection$section$$DefaultSection$items { ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items; factory CopyWith$Query$GetSection$section$$DefaultSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items; TRes call({ int? offset, @@ -56550,11 +60567,15 @@ abstract class CopyWith$Query$GetSection$section$$DefaultSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultSection$items$items< - Query$GetSection$section$$DefaultSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultSection$items$items< + Query$GetSection$section$$DefaultSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items @@ -56575,35 +60596,43 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$GetSection$section$$DefaultSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultSection$items$items< - Query$GetSection$section$$DefaultSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$DefaultSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultSection$items$items< + Query$GetSection$section$$DefaultSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$DefaultSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items @@ -56617,8 +60646,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -56636,7 +60664,8 @@ class Query$GetSection$section$$DefaultSection$items$items }); factory Query$GetSection$section$$DefaultSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -56647,7 +60676,8 @@ class Query$GetSection$section$$DefaultSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$DefaultSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -56684,13 +60714,7 @@ class Query$GetSection$section$$DefaultSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -56734,24 +60758,25 @@ class Query$GetSection$section$$DefaultSection$items$items extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items on Query$GetSection$section$$DefaultSection$items$items { CopyWith$Query$GetSection$section$$DefaultSection$items$items< - Query$GetSection$section$$DefaultSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items + > + get copyWith => CopyWith$Query$GetSection$section$$DefaultSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items( Query$GetSection$section$$DefaultSection$items$items instance, TRes Function(Query$GetSection$section$$DefaultSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items; TRes call({ String? id, @@ -56761,7 +60786,7 @@ abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items< String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items @@ -56775,7 +60800,7 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items final Query$GetSection$section$$DefaultSection$items$items _instance; final TRes Function(Query$GetSection$section$$DefaultSection$items$items) - _then; + _then; static const _undefined = {}; @@ -56785,36 +60810,40 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item - as Query$GetSection$section$$DefaultSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$DefaultSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$DefaultSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -56824,69 +60853,82 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items< String? image, Query$GetSection$section$$DefaultSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$DefaultSection$items$items$item implements Fragment$Section$$DefaultSection$items$items$item, Fragment$ItemSectionItem$item { - Query$GetSection$section$$DefaultSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$DefaultSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$DefaultSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$DefaultSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$DefaultSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$DefaultSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$DefaultSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$DefaultSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$DefaultSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$DefaultSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$DefaultSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$DefaultSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$DefaultSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -56926,86 +60968,117 @@ class Query$GetSection$section$$DefaultSection$items$items$item extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item on Query$GetSection$section$$DefaultSection$items$items$item { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item< - Query$GetSection$section$$DefaultSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Show) - show, + Query$GetSection$section$$DefaultSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Season) - season, + Query$GetSection$section$$DefaultSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Page) - page, + Query$GetSection$section$$DefaultSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Link) - link, + Query$GetSection$section$$DefaultSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Game) - game, + Query$GetSection$section$$DefaultSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$DefaultSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Short) - short, + Query$GetSection$section$$DefaultSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Person) - person, + Query$GetSection$section$$DefaultSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Person, + ); default: return orElse(); @@ -57014,114 +61087,144 @@ extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$ _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Show)? - show, + Query$GetSection$section$$DefaultSection$items$items$item$$Show, + )? + show, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Season)? - season, + Query$GetSection$section$$DefaultSection$items$items$item$$Season, + )? + season, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Page)? - page, + Query$GetSection$section$$DefaultSection$items$items$item$$Page, + )? + page, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Link)? - link, + Query$GetSection$section$$DefaultSection$items$items$item$$Link, + )? + link, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Game)? - game, + Query$GetSection$section$$DefaultSection$items$items$item$$Game, + )? + game, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$DefaultSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Short)? - short, + Query$GetSection$section$$DefaultSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Person)? - person, + Query$GetSection$section$$DefaultSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$DefaultSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$DefaultSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -57133,25 +61236,28 @@ extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$ } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item( Query$GetSection$section$$DefaultSection$items$items$item instance, TRes Function(Query$GetSection$section$$DefaultSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item( this._instance, this._then, @@ -57160,24 +61266,29 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item< final Query$GetSection$section$$DefaultSection$items$items$item _instance; final TRes Function(Query$GetSection$section$$DefaultSection$items$items$item) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$DefaultSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$DefaultSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -57208,7 +61319,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -57224,9 +61336,12 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode final l$productionDate = json['productionDate']; return Query$GetSection$section$$DefaultSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -57239,16 +61354,18 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), productionDate: (l$productionDate as String), ); } final List< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -57269,7 +61386,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -57278,8 +61395,9 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -57428,30 +61546,35 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Episode on Query$GetSection$section$$DefaultSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode( Query$GetSection$section$$DefaultSection$items$items$item$$Episode instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -57462,35 +61585,48 @@ abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$ite String? publishDate, int? number, Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -57508,81 +61644,106 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$E Object? season = _undefined, Object? $__typename = _undefined, Object? productionDate = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - productionDate: productionDate == _undefined || productionDate == null - ? _instance.productionDate - : (productionDate as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + productionDate: productionDate == _undefined || productionDate == null + ? _instance.productionDate + : (productionDate as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -57593,19 +61754,20 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$ite String? publishDate, int? number, Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? productionDate, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors @@ -57619,14 +61781,16 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contrib }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -57635,7 +61799,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contrib } final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -57703,56 +61867,65 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contrib } extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors - on Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors { + on + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -57760,53 +61933,61 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$E Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person @@ -57819,7 +62000,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contrib }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( @@ -57845,10 +62027,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contrib int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -57876,85 +62055,88 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contrib } extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season @@ -57969,15 +62151,17 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -57985,7 +62169,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -58005,11 +62189,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -58044,54 +62224,62 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season on Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -58099,52 +62287,60 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$E Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show @@ -58158,7 +62354,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$ }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( @@ -58184,10 +62381,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$ int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -58217,83 +62411,85 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$ extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show on Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Show @@ -58311,7 +62507,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -58323,8 +62520,9 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -58337,7 +62535,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -58412,26 +62610,29 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Show on Query$GetSection$section$$DefaultSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show< - Query$GetSection$section$$DefaultSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show( Query$GetSection$section$$DefaultSection$items$items$item$$Show instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Show) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show; TRes call({ String? id, @@ -58439,27 +62640,33 @@ abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$ite int? seasonCount, String? $__typename, Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Show) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -58469,39 +62676,47 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$S Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -58511,15 +62726,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$ite int? seasonCount, String? $__typename, Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode @@ -58533,7 +62749,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpi }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( @@ -58559,10 +62776,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpi int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -58592,81 +62806,83 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpi extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode on Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Season @@ -58674,14 +62890,17 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Season Fragment$Section$$DefaultSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$GetSection$section$$DefaultSection$items$items$item { - Query$GetSection$section$$DefaultSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$DefaultSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -58721,62 +62940,74 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Season on Query$GetSection$section$$DefaultSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season< - Query$GetSection$section$$DefaultSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season( Query$GetSection$section$$DefaultSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Season) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Season) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -58795,7 +63026,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Page }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Page( @@ -58821,10 +63053,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -58854,80 +63083,82 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Page on Query$GetSection$section$$DefaultSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page< - Query$GetSection$section$$DefaultSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page( Query$GetSection$section$$DefaultSection$items$items$item$$Page instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Page) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Page) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Link @@ -58942,7 +63173,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Link }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Link( @@ -58968,10 +63200,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -59001,78 +63230,82 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Link on Query$GetSection$section$$DefaultSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link< - Query$GetSection$section$$DefaultSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link( Query$GetSection$section$$DefaultSection$items$items$item$$Link instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Link) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Link) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic @@ -59080,14 +63313,17 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic Fragment$Section$$DefaultSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$GetSection$section$$DefaultSection$items$items$item { - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -59127,64 +63363,75 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic on Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic< - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -59203,7 +63450,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Game }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Game( @@ -59229,10 +63477,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -59262,80 +63507,82 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Game on Query$GetSection$section$$DefaultSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game< - Query$GetSection$section$$DefaultSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game( Query$GetSection$section$$DefaultSection$items$items$item$$Game instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Game) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Game) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Playlist @@ -59350,7 +63597,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Playlist }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( @@ -59376,10 +63624,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -59409,80 +63654,81 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist on Query$GetSection$section$$DefaultSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist< - Query$GetSection$section$$DefaultSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( Query$GetSection$section$$DefaultSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Playlist) - _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Short @@ -59497,7 +63743,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Short }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Short( @@ -59523,10 +63770,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -59556,78 +63800,80 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Short on Query$GetSection$section$$DefaultSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short< - Query$GetSection$section$$DefaultSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short( Query$GetSection$section$$DefaultSection$items$items$item$$Short instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Short) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Short) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultSection$items$items$item$$Person @@ -59642,7 +63888,8 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Person }); factory Query$GetSection$section$$DefaultSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultSection$items$items$item$$Person( @@ -59668,10 +63915,7 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -59701,78 +63945,80 @@ class Query$GetSection$section$$DefaultSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$DefaultSection$items$items$item$$Person on Query$GetSection$section$$DefaultSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person< - Query$GetSection$section$$DefaultSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person( Query$GetSection$section$$DefaultSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Person) - then, + Query$GetSection$section$$DefaultSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$DefaultSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultSection$items$items$item$$Person) _then; + Query$GetSection$section$$DefaultSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection @@ -59791,7 +64037,8 @@ class Query$GetSection$section$$CardSection }); factory Query$GetSection$section$$CardSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -59803,9 +64050,11 @@ class Query$GetSection$section$$CardSection metadata: l$metadata == null ? null : Query$GetSection$section$$CardSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$CardSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), cardSize: fromJson$Enum$CardSectionSize((l$cardSize as String)), id: (l$id as String), @@ -59918,11 +64167,10 @@ class Query$GetSection$section$$CardSection extension UtilityExtension$Query$GetSection$section$$CardSection on Query$GetSection$section$$CardSection { CopyWith$Query$GetSection$section$$CardSection< - Query$GetSection$section$$CardSection> - get copyWith => CopyWith$Query$GetSection$section$$CardSection( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$CardSection { @@ -59968,40 +64216,46 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$CardSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$CardSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$CardSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - cardSize: cardSize == _undefined || cardSize == null - ? _instance.cardSize - : (cardSize as Enum$CardSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$CardSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$CardSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$CardSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + cardSize: cardSize == _undefined || cardSize == null + ? _instance.cardSize + : (cardSize as Enum$CardSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$CardSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$CardSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$CardSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$CardSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$CardSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -60019,8 +64273,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardSection$metadata get metadata => CopyWith$Query$GetSection$section$$CardSection$metadata.stub(_res); @@ -60046,7 +64299,8 @@ class Query$GetSection$section$$CardSection$metadata }); factory Query$GetSection$section$$CardSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -60065,7 +64319,8 @@ class Query$GetSection$section$$CardSection$metadata page: l$page == null ? null : Query$GetSection$section$$CardSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -60198,11 +64453,10 @@ class Query$GetSection$section$$CardSection$metadata extension UtilityExtension$Query$GetSection$section$$CardSection$metadata on Query$GetSection$section$$CardSection$metadata { CopyWith$Query$GetSection$section$$CardSection$metadata< - Query$GetSection$section$$CardSection$metadata> - get copyWith => CopyWith$Query$GetSection$section$$CardSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$metadata(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$CardSection$metadata { @@ -60212,8 +64466,8 @@ abstract class CopyWith$Query$GetSection$section$$CardSection$metadata { ) = _CopyWithImpl$Query$GetSection$section$$CardSection$metadata; factory CopyWith$Query$GetSection$section$$CardSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata; TRes call({ bool? continueWatching, @@ -60252,45 +64506,48 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$CardSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$CardSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$CardSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$CardSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$CardSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -60310,8 +64567,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardSection$metadata$page get page => CopyWith$Query$GetSection$section$$CardSection$metadata$page.stub(_res); @@ -60327,7 +64583,8 @@ class Query$GetSection$section$$CardSection$metadata$page }); factory Query$GetSection$section$$CardSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$metadata$page( @@ -60353,10 +64610,7 @@ class Query$GetSection$section$$CardSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -60385,29 +64639,27 @@ class Query$GetSection$section$$CardSection$metadata$page extension UtilityExtension$Query$GetSection$section$$CardSection$metadata$page on Query$GetSection$section$$CardSection$metadata$page { CopyWith$Query$GetSection$section$$CardSection$metadata$page< - Query$GetSection$section$$CardSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$metadata$page + > + get copyWith => CopyWith$Query$GetSection$section$$CardSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$metadata$page( Query$GetSection$section$$CardSection$metadata$page instance, TRes Function(Query$GetSection$section$$CardSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$metadata$page; factory CopyWith$Query$GetSection$section$$CardSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$metadata$page @@ -60421,38 +64673,35 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$metadata$page final Query$GetSection$section$$CardSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$CardSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$CardSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items @@ -60467,7 +64716,8 @@ class Query$GetSection$section$$CardSection$items }); factory Query$GetSection$section$$CardSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -60476,9 +64726,11 @@ class Query$GetSection$section$$CardSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$CardSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetSection$section$$CardSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -60563,11 +64815,10 @@ class Query$GetSection$section$$CardSection$items extension UtilityExtension$Query$GetSection$section$$CardSection$items on Query$GetSection$section$$CardSection$items { CopyWith$Query$GetSection$section$$CardSection$items< - Query$GetSection$section$$CardSection$items> - get copyWith => CopyWith$Query$GetSection$section$$CardSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$CardSection$items { @@ -60586,11 +64837,15 @@ abstract class CopyWith$Query$GetSection$section$$CardSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardSection$items$items< - Query$GetSection$section$$CardSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$CardSection$items$items< + Query$GetSection$section$$CardSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items @@ -60611,35 +64866,42 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items - as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardSection$items$items< - Query$GetSection$section$$CardSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Query$GetSection$section$$CardSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$CardSection$items$items< + Query$GetSection$section$$CardSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$CardSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items @@ -60653,8 +64915,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -60674,7 +64935,8 @@ class Query$GetSection$section$$CardSection$items$items }); factory Query$GetSection$section$$CardSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -60686,7 +64948,8 @@ class Query$GetSection$section$$CardSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$CardSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -60785,24 +65048,25 @@ class Query$GetSection$section$$CardSection$items$items extension UtilityExtension$Query$GetSection$section$$CardSection$items$items on Query$GetSection$section$$CardSection$items$items { CopyWith$Query$GetSection$section$$CardSection$items$items< - Query$GetSection$section$$CardSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items + > + get copyWith => CopyWith$Query$GetSection$section$$CardSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items( Query$GetSection$section$$CardSection$items$items instance, TRes Function(Query$GetSection$section$$CardSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items; factory CopyWith$Query$GetSection$section$$CardSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items; TRes call({ String? id, @@ -60813,7 +65077,7 @@ abstract class CopyWith$Query$GetSection$section$$CardSection$items$items< String? description, }); CopyWith$Query$GetSection$section$$CardSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items @@ -60837,29 +65101,32 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Query$GetSection$section$$CardSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$CardSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$CardSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -60867,7 +65134,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items implements CopyWith$Query$GetSection$section$$CardSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -60878,13 +65146,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items Query$GetSection$section$$CardSection$items$items$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$CardSection$items$items$item.stub( - _res); + get item => + CopyWith$Query$GetSection$section$$CardSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$CardSection$items$items$item @@ -60892,56 +65160,69 @@ class Query$GetSection$section$$CardSection$items$items$item Fragment$Section$$CardSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$CardItem$item { - Query$GetSection$section$$CardSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$CardSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$CardSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$CardSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$CardSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$CardSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$CardSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$CardSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$CardSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$CardSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$CardSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$CardSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$CardSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$CardSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -60981,86 +65262,112 @@ class Query$GetSection$section$$CardSection$items$items$item extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item on Query$GetSection$section$$CardSection$items$items$item { CopyWith$Query$GetSection$section$$CardSection$items$items$item< - Query$GetSection$section$$CardSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$CardSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Show) - show, + Query$GetSection$section$$CardSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Season) - season, + Query$GetSection$section$$CardSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Page) - page, + Query$GetSection$section$$CardSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Link) - link, + Query$GetSection$section$$CardSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Game) - game, + Query$GetSection$section$$CardSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$CardSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Short) - short, + Query$GetSection$section$$CardSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Person) - person, + Query$GetSection$section$$CardSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$CardSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$CardSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$CardSection$items$items$item$$Show); + return show( + this as Query$GetSection$section$$CardSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$CardSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$CardSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$CardSection$items$items$item$$Page); + return page( + this as Query$GetSection$section$$CardSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$CardSection$items$items$item$$Link); + return link( + this as Query$GetSection$section$$CardSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$CardSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$CardSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$CardSection$items$items$item$$Game); + return game( + this as Query$GetSection$section$$CardSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$CardSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$CardSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$CardSection$items$items$item$$Short); + return short( + this as Query$GetSection$section$$CardSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$CardSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$CardSection$items$items$item$$Person, + ); default: return orElse(); @@ -61069,107 +65376,130 @@ extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$ite _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$CardSection$items$items$item$$Episode, + )? + episode, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Show)? - show, + show, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Season)? - season, + season, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Page)? - page, + page, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Link)? - link, + link, _T Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Game)? - game, + game, _T Function( - Query$GetSection$section$$CardSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$CardSection$items$items$item$$Playlist, + )? + playlist, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Short)? - short, + short, _T Function(Query$GetSection$section$$CardSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$CardSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$CardSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$CardSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$CardSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$CardSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$CardSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$CardSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$CardSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$CardSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$CardSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$CardSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$CardSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$CardSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$CardSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$CardSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$CardSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$CardSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$CardSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$CardSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$CardSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -61181,15 +65511,16 @@ extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$ite } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item( Query$GetSection$section$$CardSection$items$items$item instance, TRes Function(Query$GetSection$section$$CardSection$items$items$item) then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item; TRes call({String? $__typename}); } @@ -61205,23 +65536,27 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item final Query$GetSection$section$$CardSection$items$items$item _instance; final TRes Function(Query$GetSection$section$$CardSection$items$items$item) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$CardSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$CardSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -61252,7 +65587,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode }); factory Query$GetSection$section$$CardSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -61267,9 +65603,12 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -61282,15 +65621,17 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$CardSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$CardSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -61311,15 +65652,16 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$CardSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -61459,30 +65801,35 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Episode on Query$GetSection$section$$CardSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode< - Query$GetSection$section$$CardSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode( Query$GetSection$section$$CardSection$items$items$item$$Episode instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode) - then, + Query$GetSection$section$$CardSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -61493,34 +65840,47 @@ abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$ String? publishDate, int? number, Query$GetSection$section$$CardSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode) _then; + Query$GetSection$section$$CardSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -61537,78 +65897,103 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Epis Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$CardSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -61619,18 +66004,19 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$ String? publishDate, int? number, Query$GetSection$section$$CardSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors @@ -61645,14 +66031,16 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributo }); factory Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -61661,7 +66049,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributo } final Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -61731,54 +66119,62 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributo extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors on Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -61786,53 +66182,61 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Epis Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person @@ -61846,7 +66250,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributo }); factory Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( @@ -61872,10 +66277,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributo int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -61903,85 +66305,88 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$contributo } extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Episode$season @@ -61997,15 +66402,17 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$CardSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -62013,7 +66420,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -62033,11 +66440,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -62072,54 +66475,62 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Episode$season on Query$GetSection$section$$CardSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - Query$GetSection$section$$CardSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season( Query$GetSection$section$$CardSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$CardSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$CardSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -62127,52 +66538,60 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Epis Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show @@ -62187,7 +66606,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season$sho }); factory Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( @@ -62213,10 +66633,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season$sho int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -62246,83 +66663,85 @@ class Query$GetSection$section$$CardSection$items$items$item$$Episode$season$sho extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show on Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Show @@ -62341,7 +66760,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show }); factory Query$GetSection$section$$CardSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -62353,8 +66773,9 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -62367,7 +66788,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -62442,25 +66863,27 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Show on Query$GetSection$section$$CardSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show< - Query$GetSection$section$$CardSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show( Query$GetSection$section$$CardSection$items$items$item$$Show instance, TRes Function(Query$GetSection$section$$CardSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show; TRes call({ String? id, @@ -62468,17 +66891,21 @@ abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$ int? seasonCount, String? $__typename, Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show( this._instance, this._then, @@ -62487,7 +66914,9 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show final Query$GetSection$section$$CardSection$items$items$item$$Show _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Show) _then; + Query$GetSection$section$$CardSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -62497,39 +66926,47 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -62539,15 +66976,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$ int? seasonCount, String? $__typename, Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode @@ -62562,7 +67000,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisod }); factory Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( @@ -62588,10 +67027,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisod int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -62621,81 +67057,83 @@ class Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisod extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode on Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Season @@ -62704,14 +67142,17 @@ class Query$GetSection$section$$CardSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$CardItem$item$$Season, Query$GetSection$section$$CardSection$items$items$item { - Query$GetSection$section$$CardSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$CardSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$CardSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -62751,62 +67192,74 @@ class Query$GetSection$section$$CardSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Season on Query$GetSection$section$$CardSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season< - Query$GetSection$section$$CardSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season( Query$GetSection$section$$CardSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Season) - then, + Query$GetSection$section$$CardSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Season) _then; + Query$GetSection$section$$CardSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$CardSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -62826,7 +67279,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Page }); factory Query$GetSection$section$$CardSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Page( @@ -62852,10 +67306,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -62885,37 +67336,38 @@ class Query$GetSection$section$$CardSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Page on Query$GetSection$section$$CardSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page< - Query$GetSection$section$$CardSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page( Query$GetSection$section$$CardSection$items$items$item$$Page instance, TRes Function(Query$GetSection$section$$CardSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Page( this._instance, this._then, @@ -62924,39 +67376,39 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Page final Query$GetSection$section$$CardSection$items$items$item$$Page _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Page) _then; + Query$GetSection$section$$CardSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Link @@ -62972,7 +67424,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Link }); factory Query$GetSection$section$$CardSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Link( @@ -62998,10 +67451,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -63031,37 +67481,38 @@ class Query$GetSection$section$$CardSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Link on Query$GetSection$section$$CardSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link< - Query$GetSection$section$$CardSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link( Query$GetSection$section$$CardSection$items$items$item$$Link instance, TRes Function(Query$GetSection$section$$CardSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Link( this._instance, this._then, @@ -63070,37 +67521,39 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Link final Query$GetSection$section$$CardSection$items$items$item$$Link _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Link) _then; + Query$GetSection$section$$CardSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic @@ -63119,7 +67572,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic }); factory Query$GetSection$section$$CardSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -63132,13 +67586,17 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - .fromJson((l$lessonsProgress as Map)), + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( + (l$lessonsProgress as Map), + ), ); } @@ -63151,11 +67609,12 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic final String description; final List< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images> - images; + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + > + images; final Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - lessonsProgress; + lessonsProgress; Map toJson() { final _resultData = {}; @@ -63246,62 +67705,80 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic on Query$GetSection$section$$CardSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( Query$GetSection$section$$CardSection$items$items$item$$StudyTopic instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic; TRes call({ String? $__typename, String? id, String? title, String? description, - List? - images, + List< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + >? + images, Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, + lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images>>) - _fn); + Iterable< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress; + TRes + > + get lessonsProgress; } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic) _then; + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; @@ -63312,57 +67789,77 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Stud Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images>), - lessonsProgress: lessonsProgress == _undefined || - lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images + as List< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + >), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress as Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress), - )); + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images.map((e) => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress { + TRes + > + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -63371,20 +67868,23 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$ String? id, String? title, String? description, - List? - images, + List< + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + >? + images, Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, - }) => - _res; + lessonsProgress, + }) => _res; images(_fn) => _res; CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> - get lessonsProgress => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - .stub(_res); + TRes + > + get lessonsProgress => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.stub( + _res, + ); } class Query$GetSection$section$$CardSection$items$items$item$$Game @@ -63400,7 +67900,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Game }); factory Query$GetSection$section$$CardSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Game( @@ -63426,10 +67927,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -63459,37 +67957,38 @@ class Query$GetSection$section$$CardSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Game on Query$GetSection$section$$CardSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game< - Query$GetSection$section$$CardSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game( Query$GetSection$section$$CardSection$items$items$item$$Game instance, TRes Function(Query$GetSection$section$$CardSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Game( this._instance, this._then, @@ -63498,39 +67997,39 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Game final Query$GetSection$section$$CardSection$items$items$item$$Game _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Game) _then; + Query$GetSection$section$$CardSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Playlist @@ -63546,7 +68045,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Playlist }); factory Query$GetSection$section$$CardSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Playlist( @@ -63572,10 +68072,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -63605,78 +68102,80 @@ class Query$GetSection$section$$CardSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Playlist on Query$GetSection$section$$CardSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist< - Query$GetSection$section$$CardSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist( Query$GetSection$section$$CardSection$items$items$item$$Playlist instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$CardSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Playlist) _then; + Query$GetSection$section$$CardSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Short @@ -63692,7 +68191,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Short }); factory Query$GetSection$section$$CardSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Short( @@ -63718,10 +68218,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -63751,37 +68248,38 @@ class Query$GetSection$section$$CardSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Short on Query$GetSection$section$$CardSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short< - Query$GetSection$section$$CardSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short( Query$GetSection$section$$CardSection$items$items$item$$Short instance, TRes Function(Query$GetSection$section$$CardSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Short( this._instance, this._then, @@ -63790,37 +68288,37 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Shor final Query$GetSection$section$$CardSection$items$items$item$$Short _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Short) _then; + Query$GetSection$section$$CardSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$Person @@ -63836,7 +68334,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$Person }); factory Query$GetSection$section$$CardSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardSection$items$items$item$$Person( @@ -63862,10 +68361,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -63895,78 +68391,80 @@ class Query$GetSection$section$$CardSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$Person on Query$GetSection$section$$CardSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person< - Query$GetSection$section$$CardSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person( Query$GetSection$section$$CardSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Person) - then, + Query$GetSection$section$$CardSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$Person) _then; + Query$GetSection$section$$CardSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection @@ -63984,7 +68482,8 @@ class Query$GetSection$section$$ListSection }); factory Query$GetSection$section$$ListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -63995,9 +68494,11 @@ class Query$GetSection$section$$ListSection metadata: l$metadata == null ? null : Query$GetSection$section$$ListSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$ListSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -64098,11 +68599,10 @@ class Query$GetSection$section$$ListSection extension UtilityExtension$Query$GetSection$section$$ListSection on Query$GetSection$section$$ListSection { CopyWith$Query$GetSection$section$$ListSection< - Query$GetSection$section$$ListSection> - get copyWith => CopyWith$Query$GetSection$section$$ListSection( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$ListSection { @@ -64146,37 +68646,43 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$ListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$ListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$ListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$ListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$ListSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$ListSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$ListSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$ListSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$ListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$ListSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$ListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -64193,8 +68699,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$ListSection$metadata get metadata => CopyWith$Query$GetSection$section$$ListSection$metadata.stub(_res); @@ -64220,7 +68725,8 @@ class Query$GetSection$section$$ListSection$metadata }); factory Query$GetSection$section$$ListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -64239,7 +68745,8 @@ class Query$GetSection$section$$ListSection$metadata page: l$page == null ? null : Query$GetSection$section$$ListSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -64372,11 +68879,10 @@ class Query$GetSection$section$$ListSection$metadata extension UtilityExtension$Query$GetSection$section$$ListSection$metadata on Query$GetSection$section$$ListSection$metadata { CopyWith$Query$GetSection$section$$ListSection$metadata< - Query$GetSection$section$$ListSection$metadata> - get copyWith => CopyWith$Query$GetSection$section$$ListSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$metadata(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$ListSection$metadata { @@ -64386,8 +68892,8 @@ abstract class CopyWith$Query$GetSection$section$$ListSection$metadata { ) = _CopyWithImpl$Query$GetSection$section$$ListSection$metadata; factory CopyWith$Query$GetSection$section$$ListSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata; TRes call({ bool? continueWatching, @@ -64426,45 +68932,48 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$ListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$ListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$ListSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$ListSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$ListSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$ListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -64484,8 +68993,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$ListSection$metadata$page get page => CopyWith$Query$GetSection$section$$ListSection$metadata$page.stub(_res); @@ -64501,7 +69009,8 @@ class Query$GetSection$section$$ListSection$metadata$page }); factory Query$GetSection$section$$ListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$metadata$page( @@ -64527,10 +69036,7 @@ class Query$GetSection$section$$ListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -64559,29 +69065,27 @@ class Query$GetSection$section$$ListSection$metadata$page extension UtilityExtension$Query$GetSection$section$$ListSection$metadata$page on Query$GetSection$section$$ListSection$metadata$page { CopyWith$Query$GetSection$section$$ListSection$metadata$page< - Query$GetSection$section$$ListSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$metadata$page + > + get copyWith => CopyWith$Query$GetSection$section$$ListSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$metadata$page( Query$GetSection$section$$ListSection$metadata$page instance, TRes Function(Query$GetSection$section$$ListSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$metadata$page; factory CopyWith$Query$GetSection$section$$ListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$metadata$page @@ -64595,38 +69099,35 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$metadata$page final Query$GetSection$section$$ListSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$ListSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$ListSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items @@ -64641,7 +69142,8 @@ class Query$GetSection$section$$ListSection$items }); factory Query$GetSection$section$$ListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -64650,9 +69152,11 @@ class Query$GetSection$section$$ListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$ListSection$items$items.fromJson( - (e as Map))) + .map( + (e) => Query$GetSection$section$$ListSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -64737,11 +69241,10 @@ class Query$GetSection$section$$ListSection$items extension UtilityExtension$Query$GetSection$section$$ListSection$items on Query$GetSection$section$$ListSection$items { CopyWith$Query$GetSection$section$$ListSection$items< - Query$GetSection$section$$ListSection$items> - get copyWith => CopyWith$Query$GetSection$section$$ListSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$ListSection$items { @@ -64760,11 +69263,15 @@ abstract class CopyWith$Query$GetSection$section$$ListSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$ListSection$items$items< - Query$GetSection$section$$ListSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$ListSection$items$items< + Query$GetSection$section$$ListSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items @@ -64785,35 +69292,42 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items - as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$ListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$ListSection$items$items< - Query$GetSection$section$$ListSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map( - (e) => CopyWith$Query$GetSection$section$$ListSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$ListSection$items$items< + Query$GetSection$section$$ListSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$ListSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items @@ -64827,8 +69341,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -64846,7 +69359,8 @@ class Query$GetSection$section$$ListSection$items$items }); factory Query$GetSection$section$$ListSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -64857,7 +69371,8 @@ class Query$GetSection$section$$ListSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$ListSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -64894,13 +69409,7 @@ class Query$GetSection$section$$ListSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -64944,24 +69453,25 @@ class Query$GetSection$section$$ListSection$items$items extension UtilityExtension$Query$GetSection$section$$ListSection$items$items on Query$GetSection$section$$ListSection$items$items { CopyWith$Query$GetSection$section$$ListSection$items$items< - Query$GetSection$section$$ListSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items + > + get copyWith => CopyWith$Query$GetSection$section$$ListSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items( Query$GetSection$section$$ListSection$items$items instance, TRes Function(Query$GetSection$section$$ListSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items; factory CopyWith$Query$GetSection$section$$ListSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items; TRes call({ String? id, @@ -64971,7 +69481,7 @@ abstract class CopyWith$Query$GetSection$section$$ListSection$items$items< String? $__typename, }); CopyWith$Query$GetSection$section$$ListSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items @@ -64994,26 +69504,29 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item as Query$GetSection$section$$ListSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$ListSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$ListSection$items$items$item), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$ListSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$ListSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -65021,7 +69534,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items implements CopyWith$Query$GetSection$section$$ListSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -65031,69 +69545,82 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items String? image, Query$GetSection$section$$ListSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$ListSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$ListSection$items$items$item.stub( - _res); + get item => + CopyWith$Query$GetSection$section$$ListSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$ListSection$items$items$item implements Fragment$Section$$ListSection$items$items$item, Fragment$ItemSectionItem$item { - Query$GetSection$section$$ListSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$ListSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$ListSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$ListSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$ListSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$ListSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$ListSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$ListSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$ListSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$ListSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$ListSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$ListSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$ListSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$ListSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -65133,86 +69660,112 @@ class Query$GetSection$section$$ListSection$items$items$item extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item on Query$GetSection$section$$ListSection$items$items$item { CopyWith$Query$GetSection$section$$ListSection$items$items$item< - Query$GetSection$section$$ListSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$ListSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Show) - show, + Query$GetSection$section$$ListSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Season) - season, + Query$GetSection$section$$ListSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Page) - page, + Query$GetSection$section$$ListSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Link) - link, + Query$GetSection$section$$ListSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Game) - game, + Query$GetSection$section$$ListSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$ListSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Short) - short, + Query$GetSection$section$$ListSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Person) - person, + Query$GetSection$section$$ListSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$ListSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$ListSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$ListSection$items$items$item$$Show); + return show( + this as Query$GetSection$section$$ListSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$ListSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$ListSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$ListSection$items$items$item$$Page); + return page( + this as Query$GetSection$section$$ListSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$ListSection$items$items$item$$Link); + return link( + this as Query$GetSection$section$$ListSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$ListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$ListSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$ListSection$items$items$item$$Game); + return game( + this as Query$GetSection$section$$ListSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$ListSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$ListSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$ListSection$items$items$item$$Short); + return short( + this as Query$GetSection$section$$ListSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$ListSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$ListSection$items$items$item$$Person, + ); default: return orElse(); @@ -65221,107 +69774,130 @@ extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$ite _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$ListSection$items$items$item$$Episode, + )? + episode, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Show)? - show, + show, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Season)? - season, + season, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Page)? - page, + page, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Link)? - link, + link, _T Function( - Query$GetSection$section$$ListSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Game)? - game, + game, _T Function( - Query$GetSection$section$$ListSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$ListSection$items$items$item$$Playlist, + )? + playlist, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Short)? - short, + short, _T Function(Query$GetSection$section$$ListSection$items$items$item$$Person)? - person, + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$ListSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$ListSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$ListSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$ListSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$ListSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$ListSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$ListSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$ListSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$ListSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$ListSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$ListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$ListSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$ListSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$ListSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$ListSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$ListSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$ListSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$ListSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$ListSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$ListSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -65333,15 +69909,16 @@ extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$ite } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item( Query$GetSection$section$$ListSection$items$items$item instance, TRes Function(Query$GetSection$section$$ListSection$items$items$item) then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item; TRes call({String? $__typename}); } @@ -65357,23 +69934,27 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item final Query$GetSection$section$$ListSection$items$items$item _instance; final TRes Function(Query$GetSection$section$$ListSection$items$items$item) - _then; + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$ListSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$ListSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -65404,7 +69985,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode }); factory Query$GetSection$section$$ListSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -65420,9 +70002,12 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode final l$ageRating = json['ageRating']; return Query$GetSection$section$$ListSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -65435,16 +70020,18 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$ListSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$ListSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ageRating: (l$ageRating as String), ); } final List< - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -65465,7 +70052,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$ListSection$items$items$item$$Episode$season? - season; + season; final String $__typename; @@ -65474,8 +70061,9 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -65624,30 +70212,35 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Episode on Query$GetSection$section$$ListSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode< - Query$GetSection$section$$ListSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode( Query$GetSection$section$$ListSection$items$items$item$$Episode instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode) - then, + Query$GetSection$section$$ListSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -65658,35 +70251,48 @@ abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$ String? publishDate, int? number, Query$GetSection$section$$ListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? ageRating, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode) _then; + Query$GetSection$section$$ListSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -65704,81 +70310,106 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Epis Object? season = _undefined, Object? $__typename = _undefined, Object? ageRating = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$ListSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - ageRating: ageRating == _undefined || ageRating == null - ? _instance.ageRating - : (ageRating as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ageRating: ageRating == _undefined || ageRating == null + ? _instance.ageRating + : (ageRating as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -65789,19 +70420,20 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$ String? publishDate, int? number, Query$GetSection$section$$ListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, String? ageRating, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors @@ -65815,14 +70447,16 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributo }); factory Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -65831,7 +70465,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributo } final Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -65901,54 +70535,62 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributo extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors on Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -65956,53 +70598,61 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Epis Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person @@ -66015,7 +70665,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributo }); factory Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( @@ -66041,10 +70692,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributo int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -66072,85 +70720,88 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$contributo } extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Episode$season @@ -66165,15 +70816,17 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$ListSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -66181,7 +70834,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -66201,11 +70854,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -66240,54 +70889,62 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Episode$season on Query$GetSection$section$$ListSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - Query$GetSection$section$$ListSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season( Query$GetSection$section$$ListSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$ListSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$ListSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -66295,52 +70952,60 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Epis Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$ListSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show @@ -66354,7 +71019,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season$sho }); factory Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( @@ -66380,10 +71046,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season$sho int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -66413,83 +71076,85 @@ class Query$GetSection$section$$ListSection$items$items$item$$Episode$season$sho extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show on Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Show @@ -66507,7 +71172,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show }); factory Query$GetSection$section$$ListSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -66519,8 +71185,9 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -66533,7 +71200,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -66608,25 +71275,27 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Show on Query$GetSection$section$$ListSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show< - Query$GetSection$section$$ListSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show( Query$GetSection$section$$ListSection$items$items$item$$Show instance, TRes Function(Query$GetSection$section$$ListSection$items$items$item$$Show) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show; TRes call({ String? id, @@ -66634,17 +71303,21 @@ abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$ int? seasonCount, String? $__typename, Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show( this._instance, this._then, @@ -66653,7 +71326,9 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show final Query$GetSection$section$$ListSection$items$items$item$$Show _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Show) _then; + Query$GetSection$section$$ListSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -66663,39 +71338,47 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -66705,15 +71388,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$ int? seasonCount, String? $__typename, Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode @@ -66727,7 +71411,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisod }); factory Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( @@ -66753,10 +71438,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisod int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -66786,81 +71468,83 @@ class Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisod extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode on Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Season @@ -66868,14 +71552,17 @@ class Query$GetSection$section$$ListSection$items$items$item$$Season Fragment$Section$$ListSection$items$items$item$$Season, Fragment$ItemSectionItem$item$$Season, Query$GetSection$section$$ListSection$items$items$item { - Query$GetSection$section$$ListSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$ListSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$ListSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -66915,62 +71602,74 @@ class Query$GetSection$section$$ListSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Season on Query$GetSection$section$$ListSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season< - Query$GetSection$section$$ListSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season( Query$GetSection$section$$ListSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Season) - then, + Query$GetSection$section$$ListSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Season) _then; + Query$GetSection$section$$ListSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$ListSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -66989,7 +71688,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Page }); factory Query$GetSection$section$$ListSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Page( @@ -67015,10 +71715,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -67048,37 +71745,38 @@ class Query$GetSection$section$$ListSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Page on Query$GetSection$section$$ListSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page< - Query$GetSection$section$$ListSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page( Query$GetSection$section$$ListSection$items$items$item$$Page instance, TRes Function(Query$GetSection$section$$ListSection$items$items$item$$Page) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Page( this._instance, this._then, @@ -67087,39 +71785,39 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Page final Query$GetSection$section$$ListSection$items$items$item$$Page _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Page) _then; + Query$GetSection$section$$ListSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Link @@ -67134,7 +71832,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Link }); factory Query$GetSection$section$$ListSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Link( @@ -67160,10 +71859,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -67193,37 +71889,38 @@ class Query$GetSection$section$$ListSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Link on Query$GetSection$section$$ListSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link< - Query$GetSection$section$$ListSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link( Query$GetSection$section$$ListSection$items$items$item$$Link instance, TRes Function(Query$GetSection$section$$ListSection$items$items$item$$Link) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Link( this._instance, this._then, @@ -67232,37 +71929,39 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Link final Query$GetSection$section$$ListSection$items$items$item$$Link _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Link) _then; + Query$GetSection$section$$ListSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$StudyTopic @@ -67270,14 +71969,17 @@ class Query$GetSection$section$$ListSection$items$items$item$$StudyTopic Fragment$Section$$ListSection$items$items$item$$StudyTopic, Fragment$ItemSectionItem$item$$StudyTopic, Query$GetSection$section$$ListSection$items$items$item { - Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$ListSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -67317,62 +72019,74 @@ class Query$GetSection$section$$ListSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic on Query$GetSection$section$$ListSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic< - Query$GetSection$section$$ListSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( Query$GetSection$section$$ListSection$items$items$item$$StudyTopic instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$StudyTopic) _then; + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -67391,7 +72105,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Game }); factory Query$GetSection$section$$ListSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Game( @@ -67417,10 +72132,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -67450,37 +72162,38 @@ class Query$GetSection$section$$ListSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Game on Query$GetSection$section$$ListSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game< - Query$GetSection$section$$ListSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game( Query$GetSection$section$$ListSection$items$items$item$$Game instance, TRes Function(Query$GetSection$section$$ListSection$items$items$item$$Game) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Game( this._instance, this._then, @@ -67489,39 +72202,39 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Game final Query$GetSection$section$$ListSection$items$items$item$$Game _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Game) _then; + Query$GetSection$section$$ListSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Playlist @@ -67536,7 +72249,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Playlist }); factory Query$GetSection$section$$ListSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Playlist( @@ -67562,10 +72276,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -67595,78 +72306,80 @@ class Query$GetSection$section$$ListSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Playlist on Query$GetSection$section$$ListSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist< - Query$GetSection$section$$ListSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist( Query$GetSection$section$$ListSection$items$items$item$$Playlist instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$ListSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Playlist) _then; + Query$GetSection$section$$ListSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Short @@ -67681,7 +72394,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Short }); factory Query$GetSection$section$$ListSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Short( @@ -67707,10 +72421,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -67740,37 +72451,38 @@ class Query$GetSection$section$$ListSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Short on Query$GetSection$section$$ListSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short< - Query$GetSection$section$$ListSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short( Query$GetSection$section$$ListSection$items$items$item$$Short instance, TRes Function(Query$GetSection$section$$ListSection$items$items$item$$Short) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Short( this._instance, this._then, @@ -67779,37 +72491,37 @@ class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Shor final Query$GetSection$section$$ListSection$items$items$item$$Short _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Short) _then; + Query$GetSection$section$$ListSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$ListSection$items$items$item$$Person @@ -67824,7 +72536,8 @@ class Query$GetSection$section$$ListSection$items$items$item$$Person }); factory Query$GetSection$section$$ListSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$ListSection$items$items$item$$Person( @@ -67850,10 +72563,7 @@ class Query$GetSection$section$$ListSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -67883,78 +72593,80 @@ class Query$GetSection$section$$ListSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$ListSection$items$items$item$$Person on Query$GetSection$section$$ListSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person< - Query$GetSection$section$$ListSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$ListSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person( Query$GetSection$section$$ListSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Person) - then, + Query$GetSection$section$$ListSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$ListSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$ListSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$ListSection$items$items$item$$Person) _then; + Query$GetSection$section$$ListSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$ListSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$ListSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$ListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$ListSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection @@ -67973,7 +72685,8 @@ class Query$GetSection$section$$CardListSection }); factory Query$GetSection$section$$CardListSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -67985,9 +72698,11 @@ class Query$GetSection$section$$CardListSection metadata: l$metadata == null ? null : Query$GetSection$section$$CardListSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$CardListSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), cardSize: fromJson$Enum$CardSectionSize((l$cardSize as String)), id: (l$id as String), @@ -68100,11 +72815,10 @@ class Query$GetSection$section$$CardListSection extension UtilityExtension$Query$GetSection$section$$CardListSection on Query$GetSection$section$$CardListSection { CopyWith$Query$GetSection$section$$CardListSection< - Query$GetSection$section$$CardListSection> - get copyWith => CopyWith$Query$GetSection$section$$CardListSection( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$CardListSection { @@ -68126,7 +72840,7 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection { String? description, }); CopyWith$Query$GetSection$section$$CardListSection$metadata - get metadata; + get metadata; CopyWith$Query$GetSection$section$$CardListSection$items get items; } @@ -68151,41 +72865,47 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$CardListSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$CardListSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - cardSize: cardSize == _undefined || cardSize == null - ? _instance.cardSize - : (cardSize as Enum$CardSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$CardListSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$CardListSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$CardListSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + cardSize: cardSize == _undefined || cardSize == null + ? _instance.cardSize + : (cardSize as Enum$CardSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$CardListSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$CardListSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$CardListSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$CardListSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$CardListSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -68203,13 +72923,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardListSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$CardListSection$metadata.stub( - _res); + get metadata => + CopyWith$Query$GetSection$section$$CardListSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$CardListSection$items get items => CopyWith$Query$GetSection$section$$CardListSection$items.stub(_res); @@ -68232,7 +72950,8 @@ class Query$GetSection$section$$CardListSection$metadata }); factory Query$GetSection$section$$CardListSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -68251,7 +72970,8 @@ class Query$GetSection$section$$CardListSection$metadata page: l$page == null ? null : Query$GetSection$section$$CardListSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -68384,24 +73104,25 @@ class Query$GetSection$section$$CardListSection$metadata extension UtilityExtension$Query$GetSection$section$$CardListSection$metadata on Query$GetSection$section$$CardListSection$metadata { CopyWith$Query$GetSection$section$$CardListSection$metadata< - Query$GetSection$section$$CardListSection$metadata> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$metadata + > + get copyWith => CopyWith$Query$GetSection$section$$CardListSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$metadata( Query$GetSection$section$$CardListSection$metadata instance, TRes Function(Query$GetSection$section$$CardListSection$metadata) then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata; factory CopyWith$Query$GetSection$section$$CardListSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata; TRes call({ bool? continueWatching, @@ -68415,7 +73136,7 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection$metadata< String? $__typename, }); CopyWith$Query$GetSection$section$$CardListSection$metadata$page - get page; + get page; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata @@ -68442,47 +73163,49 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page - as Query$GetSection$section$$CardListSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardListSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$CardListSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$CardListSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$CardListSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$CardListSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -68490,7 +73213,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata implements CopyWith$Query$GetSection$section$$CardListSection$metadata { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -68504,13 +73228,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardListSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$CardListSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$CardListSection$metadata$page.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$metadata$page @@ -68523,7 +73247,8 @@ class Query$GetSection$section$$CardListSection$metadata$page }); factory Query$GetSection$section$$CardListSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$metadata$page( @@ -68549,10 +73274,7 @@ class Query$GetSection$section$$CardListSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -68581,33 +73303,33 @@ class Query$GetSection$section$$CardListSection$metadata$page extension UtilityExtension$Query$GetSection$section$$CardListSection$metadata$page on Query$GetSection$section$$CardListSection$metadata$page { CopyWith$Query$GetSection$section$$CardListSection$metadata$page< - Query$GetSection$section$$CardListSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$metadata$page( Query$GetSection$section$$CardListSection$metadata$page instance, TRes Function(Query$GetSection$section$$CardListSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata$page; factory CopyWith$Query$GetSection$section$$CardListSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$metadata$page { _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata$page( @@ -68618,38 +73340,35 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$metadata$page< final Query$GetSection$section$$CardListSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$CardListSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardListSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items @@ -68664,7 +73383,8 @@ class Query$GetSection$section$$CardListSection$items }); factory Query$GetSection$section$$CardListSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -68673,9 +73393,12 @@ class Query$GetSection$section$$CardListSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$CardListSection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetSection$section$$CardListSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -68760,11 +73483,10 @@ class Query$GetSection$section$$CardListSection$items extension UtilityExtension$Query$GetSection$section$$CardListSection$items on Query$GetSection$section$$CardListSection$items { CopyWith$Query$GetSection$section$$CardListSection$items< - Query$GetSection$section$$CardListSection$items> - get copyWith => CopyWith$Query$GetSection$section$$CardListSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items { @@ -68774,8 +73496,8 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection$items { ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items; factory CopyWith$Query$GetSection$section$$CardListSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items; TRes call({ int? offset, @@ -68784,11 +73506,15 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardListSection$items$items< - Query$GetSection$section$$CardListSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$CardListSection$items$items< + Query$GetSection$section$$CardListSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items @@ -68809,35 +73535,43 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$GetSection$section$$CardListSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardListSection$items$items< - Query$GetSection$section$$CardListSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$CardListSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$CardListSection$items$items< + Query$GetSection$section$$CardListSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$CardListSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items @@ -68851,8 +73585,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -68872,7 +73605,8 @@ class Query$GetSection$section$$CardListSection$items$items }); factory Query$GetSection$section$$CardListSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -68884,7 +73618,8 @@ class Query$GetSection$section$$CardListSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$CardListSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), description: (l$description as String), ); @@ -68983,24 +73718,26 @@ class Query$GetSection$section$$CardListSection$items$items extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items on Query$GetSection$section$$CardListSection$items$items { CopyWith$Query$GetSection$section$$CardListSection$items$items< - Query$GetSection$section$$CardListSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items( Query$GetSection$section$$CardListSection$items$items instance, TRes Function(Query$GetSection$section$$CardListSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items; factory CopyWith$Query$GetSection$section$$CardListSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items; TRes call({ String? id, @@ -69011,7 +73748,7 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items< String? description, }); CopyWith$Query$GetSection$section$$CardListSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items @@ -69025,7 +73762,7 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items final Query$GetSection$section$$CardListSection$items$items _instance; final TRes Function(Query$GetSection$section$$CardListSection$items$items) - _then; + _then; static const _undefined = {}; @@ -69036,39 +73773,44 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items Object? item = _undefined, Object? $__typename = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$GetSection$section$$CardListSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$CardListSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + ), + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$CardListSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -69079,13 +73821,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items< Query$GetSection$section$$CardListSection$items$items$item? item, String? $__typename, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardListSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$items$items$item @@ -69093,56 +73835,69 @@ class Query$GetSection$section$$CardListSection$items$items$item Fragment$Section$$CardListSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$CardItem$item { - Query$GetSection$section$$CardListSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$CardListSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$CardListSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$CardListSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$CardListSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$CardListSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$CardListSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$CardListSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$CardListSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$CardListSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$CardListSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$CardListSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$CardListSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -69182,86 +73937,117 @@ class Query$GetSection$section$$CardListSection$items$items$item extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item on Query$GetSection$section$$CardListSection$items$items$item { CopyWith$Query$GetSection$section$$CardListSection$items$items$item< - Query$GetSection$section$$CardListSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$CardListSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Show) - show, + Query$GetSection$section$$CardListSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Season) - season, + Query$GetSection$section$$CardListSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Page) - page, + Query$GetSection$section$$CardListSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Link) - link, + Query$GetSection$section$$CardListSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Game) - game, + Query$GetSection$section$$CardListSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$CardListSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Short) - short, + Query$GetSection$section$$CardListSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Person) - person, + Query$GetSection$section$$CardListSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$CardListSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$CardListSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$CardListSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$CardListSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$CardListSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$CardListSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$CardListSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$CardListSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$CardListSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Person, + ); default: return orElse(); @@ -69270,114 +74056,144 @@ extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$CardListSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Show)? - show, + Query$GetSection$section$$CardListSection$items$items$item$$Show, + )? + show, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Season)? - season, + Query$GetSection$section$$CardListSection$items$items$item$$Season, + )? + season, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Page)? - page, + Query$GetSection$section$$CardListSection$items$items$item$$Page, + )? + page, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Link)? - link, + Query$GetSection$section$$CardListSection$items$items$item$$Link, + )? + link, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Game)? - game, + Query$GetSection$section$$CardListSection$items$items$item$$Game, + )? + game, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$CardListSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Short)? - short, + Query$GetSection$section$$CardListSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$CardListSection$items$items$item$$Person)? - person, + Query$GetSection$section$$CardListSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$CardListSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$CardListSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$CardListSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$CardListSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$CardListSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$CardListSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$CardListSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$CardListSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$CardListSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$CardListSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -69389,25 +74205,28 @@ extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item( Query$GetSection$section$$CardListSection$items$items$item instance, TRes Function(Query$GetSection$section$$CardListSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item( this._instance, this._then, @@ -69416,24 +74235,31 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item< final Query$GetSection$section$$CardListSection$items$items$item _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item) _then; + Query$GetSection$section$$CardListSection$items$items$item, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$CardListSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$CardListSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -69464,7 +74290,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode }); factory Query$GetSection$section$$CardListSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -69479,9 +74306,12 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -69494,15 +74324,17 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$CardListSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$CardListSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -69523,15 +74355,16 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$CardListSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -69671,31 +74504,36 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Episode on Query$GetSection$section$$CardListSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode< - Query$GetSection$section$$CardListSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode( Query$GetSection$section$$CardListSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -69706,35 +74544,47 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$it String? publishDate, int? number, Query$GetSection$section$$CardListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -69751,78 +74601,103 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$CardListSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -69833,18 +74708,19 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$it String? publishDate, int? number, Query$GetSection$section$$CardListSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors @@ -69859,14 +74735,16 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contri }); factory Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -69875,7 +74753,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contri } final Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -69943,56 +74821,65 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contri } extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors - on Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors { + on + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -70000,53 +74887,61 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person @@ -70060,7 +74955,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contri }); factory Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( @@ -70086,10 +74982,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contri int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -70117,85 +75010,88 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$contri } extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season @@ -70211,15 +75107,17 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$CardListSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -70227,7 +75125,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -70247,11 +75145,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -70286,54 +75180,62 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season on Query$GetSection$section$$CardListSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( Query$GetSection$section$$CardListSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -70341,52 +75243,60 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show @@ -70401,7 +75311,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( @@ -70427,10 +75338,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -70458,85 +75366,88 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Episode$season } extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show - on Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show { + on + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Show @@ -70555,7 +75466,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show }); factory Query$GetSection$section$$CardListSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -70567,8 +75479,9 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -70581,7 +75494,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -70656,26 +75569,29 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Show on Query$GetSection$section$$CardListSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show< - Query$GetSection$section$$CardListSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show( Query$GetSection$section$$CardListSection$items$items$item$$Show instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Show) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show; TRes call({ String? id, @@ -70683,27 +75599,33 @@ abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$it int? seasonCount, String? $__typename, Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Show) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -70713,39 +75635,47 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -70755,15 +75685,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$it int? seasonCount, String? $__typename, Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode @@ -70778,7 +75709,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEp }); factory Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( @@ -70804,10 +75736,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEp int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -70835,83 +75764,86 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEp } extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - on Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode { + on + Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Season @@ -70920,14 +75852,17 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$CardItem$item$$Season, Query$GetSection$section$$CardListSection$items$items$item { - Query$GetSection$section$$CardListSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$CardListSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$CardListSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -70967,62 +75902,74 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Season on Query$GetSection$section$$CardListSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season< - Query$GetSection$section$$CardListSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season( Query$GetSection$section$$CardListSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Season) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Season) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -71042,7 +75989,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Page }); factory Query$GetSection$section$$CardListSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Page( @@ -71068,10 +76016,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -71101,80 +76046,82 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Page on Query$GetSection$section$$CardListSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page< - Query$GetSection$section$$CardListSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page( Query$GetSection$section$$CardListSection$items$items$item$$Page instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Page) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Page) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardListSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Link @@ -71190,7 +76137,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Link }); factory Query$GetSection$section$$CardListSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Link( @@ -71216,10 +76164,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -71249,78 +76194,82 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Link on Query$GetSection$section$$CardListSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link< - Query$GetSection$section$$CardListSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link( Query$GetSection$section$$CardListSection$items$items$item$$Link instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Link) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Link) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardListSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic @@ -71339,7 +76288,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic }); factory Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; final l$id = json['id']; final l$title = json['title']; @@ -71352,13 +76302,17 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic title: (l$title as String), description: (l$description as String), images: (l$images as List) - .map((e) => - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images.fromJson( + (e as Map), + ), + ) .toList(), lessonsProgress: - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - .fromJson((l$lessonsProgress as Map)), + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( + (l$lessonsProgress as Map), + ), ); } @@ -71371,11 +76325,12 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic final String description; final List< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images> - images; + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + images; final Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - lessonsProgress; + lessonsProgress; Map toJson() { final _resultData = {}; @@ -71466,64 +76421,81 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic on Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic; TRes call({ String? $__typename, String? id, String? title, String? description, - List? - images, + List< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + >? + images, Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, + lessonsProgress, }); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images>>) - _fn); + Iterable< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress; + TRes + > + get lessonsProgress; } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; @@ -71534,58 +76506,77 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? description = _undefined, Object? images = _undefined, Object? lessonsProgress = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - images: images == _undefined || images == null - ? _instance.images - : (images as List< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images>), - lessonsProgress: lessonsProgress == _undefined || - lessonsProgress == null - ? _instance.lessonsProgress - : (lessonsProgress + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + images: images == _undefined || images == null + ? _instance.images + : (images + as List< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + >), + lessonsProgress: lessonsProgress == _undefined || lessonsProgress == null + ? _instance.lessonsProgress + : (lessonsProgress as Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress), - )); + ), + ); TRes images( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images>>) - _fn) => - call( - images: _fn(_instance.images.map((e) => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + >, + ) + _fn, + ) => call( + images: _fn( + _instance.images.map( + (e) => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> get lessonsProgress { + TRes + > + get lessonsProgress { final local$lessonsProgress = _instance.lessonsProgress; return CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - local$lessonsProgress, (e) => call(lessonsProgress: e)); + local$lessonsProgress, + (e) => call(lessonsProgress: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -71594,20 +76585,23 @@ class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$it String? id, String? title, String? description, - List? - images, + List< + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + >? + images, Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress? - lessonsProgress, - }) => - _res; + lessonsProgress, + }) => _res; images(_fn) => _res; CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> - get lessonsProgress => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - .stub(_res); + TRes + > + get lessonsProgress => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.stub( + _res, + ); } class Query$GetSection$section$$CardListSection$items$items$item$$Game @@ -71623,7 +76617,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Game }); factory Query$GetSection$section$$CardListSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Game( @@ -71649,10 +76644,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -71682,80 +76674,82 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Game on Query$GetSection$section$$CardListSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game< - Query$GetSection$section$$CardListSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game( Query$GetSection$section$$CardListSection$items$items$item$$Game instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Game) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Game) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardListSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Playlist @@ -71771,7 +76765,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Playlist }); factory Query$GetSection$section$$CardListSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Playlist( @@ -71797,10 +76792,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -71830,81 +76822,81 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Playlist on Query$GetSection$section$$CardListSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist< - Query$GetSection$section$$CardListSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist( Query$GetSection$section$$CardListSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Playlist) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$CardListSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$CardListSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Short @@ -71920,7 +76912,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Short }); factory Query$GetSection$section$$CardListSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Short( @@ -71946,10 +76939,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -71979,78 +76969,80 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Short on Query$GetSection$section$$CardListSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short< - Query$GetSection$section$$CardListSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short( Query$GetSection$section$$CardListSection$items$items$item$$Short instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Short) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Short) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardListSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$Person @@ -72066,7 +77058,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Person }); factory Query$GetSection$section$$CardListSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$CardListSection$items$items$item$$Person( @@ -72092,10 +77085,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -72125,78 +77115,80 @@ class Query$GetSection$section$$CardListSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$Person on Query$GetSection$section$$CardListSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person< - Query$GetSection$section$$CardListSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person( Query$GetSection$section$$CardListSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Person) - then, + Query$GetSection$section$$CardListSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$Person) _then; + Query$GetSection$section$$CardListSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$CardListSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$CardListSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection @@ -72216,7 +77208,8 @@ class Query$GetSection$section$$DefaultGridSection }); factory Query$GetSection$section$$DefaultGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -72228,9 +77221,11 @@ class Query$GetSection$section$$DefaultGridSection metadata: l$metadata == null ? null : Query$GetSection$section$$DefaultGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$DefaultGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -72343,11 +77338,10 @@ class Query$GetSection$section$$DefaultGridSection extension UtilityExtension$Query$GetSection$section$$DefaultGridSection on Query$GetSection$section$$DefaultGridSection { CopyWith$Query$GetSection$section$$DefaultGridSection< - Query$GetSection$section$$DefaultGridSection> - get copyWith => CopyWith$Query$GetSection$section$$DefaultGridSection( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection { @@ -72369,7 +77363,7 @@ abstract class CopyWith$Query$GetSection$section$$DefaultGridSection { String? description, }); CopyWith$Query$GetSection$section$$DefaultGridSection$metadata - get metadata; + get metadata; CopyWith$Query$GetSection$section$$DefaultGridSection$items get items; } @@ -72394,42 +77388,48 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata + }) => _then( + Query$GetSection$section$$DefaultGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$DefaultGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$DefaultGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$DefaultGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$DefaultGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$DefaultGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$DefaultGridSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$DefaultGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -72447,13 +77447,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$DefaultGridSection$metadata.stub( - _res); + get metadata => + CopyWith$Query$GetSection$section$$DefaultGridSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$DefaultGridSection$items get items => CopyWith$Query$GetSection$section$$DefaultGridSection$items.stub(_res); @@ -72476,7 +77474,8 @@ class Query$GetSection$section$$DefaultGridSection$metadata }); factory Query$GetSection$section$$DefaultGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -72495,7 +77494,8 @@ class Query$GetSection$section$$DefaultGridSection$metadata page: l$page == null ? null : Query$GetSection$section$$DefaultGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -72628,24 +77628,26 @@ class Query$GetSection$section$$DefaultGridSection$metadata extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$metadata on Query$GetSection$section$$DefaultGridSection$metadata { CopyWith$Query$GetSection$section$$DefaultGridSection$metadata< - Query$GetSection$section$$DefaultGridSection$metadata> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$metadata( Query$GetSection$section$$DefaultGridSection$metadata instance, TRes Function(Query$GetSection$section$$DefaultGridSection$metadata) then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata; factory CopyWith$Query$GetSection$section$$DefaultGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata; TRes call({ bool? continueWatching, @@ -72659,7 +77661,7 @@ abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$metadata< String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page - get page; + get page; } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata @@ -72673,7 +77675,7 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata final Query$GetSection$section$$DefaultGridSection$metadata _instance; final TRes Function(Query$GetSection$section$$DefaultGridSection$metadata) - _then; + _then; static const _undefined = {}; @@ -72687,56 +77689,61 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$GetSection$section$$DefaultGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$DefaultGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$metadata { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -72750,13 +77757,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata< int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page - .stub(_res); + get page => + CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page.stub( + _res, + ); } class Query$GetSection$section$$DefaultGridSection$metadata$page @@ -72769,7 +77776,8 @@ class Query$GetSection$section$$DefaultGridSection$metadata$page }); factory Query$GetSection$section$$DefaultGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$metadata$page( @@ -72795,10 +77803,7 @@ class Query$GetSection$section$$DefaultGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -72827,37 +77832,38 @@ class Query$GetSection$section$$DefaultGridSection$metadata$page extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$metadata$page on Query$GetSection$section$$DefaultGridSection$metadata$page { CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page< - Query$GetSection$section$$DefaultGridSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page( Query$GetSection$section$$DefaultGridSection$metadata$page instance, TRes Function(Query$GetSection$section$$DefaultGridSection$metadata$page) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata$page; factory CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata$page( this._instance, this._then, @@ -72866,39 +77872,39 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$metadata$page< final Query$GetSection$section$$DefaultGridSection$metadata$page _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$metadata$page) _then; + Query$GetSection$section$$DefaultGridSection$metadata$page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items @@ -72914,7 +77920,8 @@ class Query$GetSection$section$$DefaultGridSection$items }); factory Query$GetSection$section$$DefaultGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -72923,9 +77930,12 @@ class Query$GetSection$section$$DefaultGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$DefaultGridSection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetSection$section$$DefaultGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -73010,24 +78020,25 @@ class Query$GetSection$section$$DefaultGridSection$items extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items on Query$GetSection$section$$DefaultGridSection$items { CopyWith$Query$GetSection$section$$DefaultGridSection$items< - Query$GetSection$section$$DefaultGridSection$items> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items + > + get copyWith => CopyWith$Query$GetSection$section$$DefaultGridSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items( Query$GetSection$section$$DefaultGridSection$items instance, TRes Function(Query$GetSection$section$$DefaultGridSection$items) then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items; TRes call({ int? offset, @@ -73036,11 +78047,15 @@ abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items< String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< - Query$GetSection$section$$DefaultGridSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< + Query$GetSection$section$$DefaultGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items @@ -73062,42 +78077,54 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetSection$section$$DefaultGridSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetSection$section$$DefaultGridSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< - Query$GetSection$section$$DefaultGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< + Query$GetSection$section$$DefaultGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items implements CopyWith$Query$GetSection$section$$DefaultGridSection$items { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items( - this._res); + this._res, + ); TRes _res; @@ -73106,8 +78133,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -73126,7 +78152,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items }); factory Query$GetSection$section$$DefaultGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -73136,8 +78163,10 @@ class Query$GetSection$section$$DefaultGridSection$items$items id: (l$id as String), title: (l$title as String), image: (l$image as String?), - item: Query$GetSection$section$$DefaultGridSection$items$items$item - .fromJson((l$item as Map)), + item: + Query$GetSection$section$$DefaultGridSection$items$items$item.fromJson( + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -73174,13 +78203,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -73224,25 +78247,27 @@ class Query$GetSection$section$$DefaultGridSection$items$items extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items on Query$GetSection$section$$DefaultGridSection$items$items { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< - Query$GetSection$section$$DefaultGridSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items( Query$GetSection$section$$DefaultGridSection$items$items instance, TRes Function(Query$GetSection$section$$DefaultGridSection$items$items) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items; TRes call({ String? id, @@ -73252,14 +78277,16 @@ abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items( this._instance, this._then, @@ -73268,7 +78295,7 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items< final Query$GetSection$section$$DefaultGridSection$items$items _instance; final TRes Function(Query$GetSection$section$$DefaultGridSection$items$items) - _then; + _then; static const _undefined = {}; @@ -73278,37 +78305,43 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items< Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$DefaultGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -73318,13 +78351,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items String? image, Query$GetSection$section$$DefaultGridSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$DefaultGridSection$items$items$item @@ -73332,56 +78365,69 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item Fragment$Section$$DefaultGridSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Query$GetSection$section$$DefaultGridSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$DefaultGridSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$DefaultGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$DefaultGridSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$DefaultGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -73422,86 +78468,117 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item on Query$GetSection$section$$DefaultGridSection$items$items$item { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item< - Query$GetSection$section$$DefaultGridSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show) - show, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season) - season, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Page) - page, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Link) - link, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Game) - game, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Short) - short, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Person) - person, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -73510,114 +78587,144 @@ extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$it _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show)? - show, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show, + )? + show, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season)? - season, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season, + )? + season, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Page)? - page, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Page, + )? + page, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Link)? - link, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Link, + )? + link, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Game)? - game, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Game, + )? + game, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Short)? - short, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Person)? - person, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$DefaultGridSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$DefaultGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -73629,25 +78736,28 @@ extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$it } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item( Query$GetSection$section$$DefaultGridSection$items$items$item instance, TRes Function(Query$GetSection$section$$DefaultGridSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item( this._instance, this._then, @@ -73656,24 +78766,31 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$ite final Query$GetSection$section$$DefaultGridSection$items$items$item _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item) _then; + Query$GetSection$section$$DefaultGridSection$items$items$item, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$DefaultGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -73704,7 +78821,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -73719,9 +78837,12 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -73734,15 +78855,17 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -73763,15 +78886,16 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -73911,31 +79035,36 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode on Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -73946,35 +79075,47 @@ abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items String? publishDate, int? number, Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -73991,79 +79132,103 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$ite Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -74074,18 +79239,19 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items String? publishDate, int? number, Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors @@ -74100,14 +79266,16 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$con }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -74116,7 +79284,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$con } final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -74184,56 +79352,65 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$con } extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - on Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors { + on + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -74241,53 +79418,61 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$ite Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person @@ -74301,7 +79486,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$con }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( @@ -74327,10 +79513,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$con int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -74358,85 +79541,88 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$con } extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season @@ -74452,15 +79638,17 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -74468,7 +79656,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea final int number; final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -74488,11 +79676,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -74527,54 +79711,62 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season on Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -74582,52 +79774,60 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$ite Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show @@ -74642,7 +79842,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( @@ -74668,10 +79869,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -74699,85 +79897,88 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$sea } extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - on Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show { + on + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show @@ -74796,7 +79997,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -74808,8 +80010,9 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -74822,7 +80025,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -74897,27 +80100,30 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show on Query$GetSection$section$$DefaultGridSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( Query$GetSection$section$$DefaultGridSection$items$items$item$$Show - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show; TRes call({ String? id, @@ -74925,28 +80131,33 @@ abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items int? seasonCount, String? $__typename, Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -74956,39 +80167,47 @@ class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$ite Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -74998,15 +80217,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items int? seasonCount, String? $__typename, Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode @@ -75021,7 +80241,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaul }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( @@ -75047,10 +80268,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaul int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -75078,83 +80296,86 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaul } extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - on Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode { + on + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Season @@ -75163,14 +80384,17 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Query$GetSection$section$$DefaultGridSection$items$items$item { - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -75210,64 +80434,75 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season on Query$GetSection$section$$DefaultGridSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( Query$GetSection$section$$DefaultGridSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -75287,7 +80522,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Page }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( @@ -75313,10 +80549,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -75346,82 +80579,83 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page on Query$GetSection$section$$DefaultGridSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( Query$GetSection$section$$DefaultGridSection$items$items$item$$Page - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Page) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Page) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Link @@ -75437,7 +80671,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Link }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( @@ -75463,10 +80698,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -75496,80 +80728,83 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link on Query$GetSection$section$$DefaultGridSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( Query$GetSection$section$$DefaultGridSection$items$items$item$$Link - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Link) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Link) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic @@ -75578,14 +80813,17 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Query$GetSection$section$$DefaultGridSection$items$items$item { - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -75625,64 +80863,75 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic on Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -75702,7 +80951,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Game }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( @@ -75728,10 +80978,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -75761,82 +81008,83 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game on Query$GetSection$section$$DefaultGridSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( Query$GetSection$section$$DefaultGridSection$items$items$item$$Game - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Game) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Game) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist @@ -75852,7 +81100,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( @@ -75878,10 +81127,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -75911,81 +81157,81 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist on Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Short @@ -76001,7 +81247,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Short }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( @@ -76027,10 +81274,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -76060,81 +81304,81 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short on Query$GetSection$section$$DefaultGridSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( Query$GetSection$section$$DefaultGridSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Short) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Short) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$DefaultGridSection$items$items$item$$Person @@ -76150,7 +81394,8 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Person }); factory Query$GetSection$section$$DefaultGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( @@ -76176,10 +81421,7 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -76209,81 +81451,81 @@ class Query$GetSection$section$$DefaultGridSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person on Query$GetSection$section$$DefaultGridSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person< - Query$GetSection$section$$DefaultGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( Query$GetSection$section$$DefaultGridSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Person) - then, + Query$GetSection$section$$DefaultGridSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$DefaultGridSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Person) - _then; + Query$GetSection$section$$DefaultGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$DefaultGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection @@ -76303,7 +81545,8 @@ class Query$GetSection$section$$PosterGridSection }); factory Query$GetSection$section$$PosterGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -76315,9 +81558,11 @@ class Query$GetSection$section$$PosterGridSection metadata: l$metadata == null ? null : Query$GetSection$section$$PosterGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$PosterGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -76430,11 +81675,10 @@ class Query$GetSection$section$$PosterGridSection extension UtilityExtension$Query$GetSection$section$$PosterGridSection on Query$GetSection$section$$PosterGridSection { CopyWith$Query$GetSection$section$$PosterGridSection< - Query$GetSection$section$$PosterGridSection> - get copyWith => CopyWith$Query$GetSection$section$$PosterGridSection( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection { @@ -76456,7 +81700,7 @@ abstract class CopyWith$Query$GetSection$section$$PosterGridSection { String? description, }); CopyWith$Query$GetSection$section$$PosterGridSection$metadata - get metadata; + get metadata; CopyWith$Query$GetSection$section$$PosterGridSection$items get items; } @@ -76481,42 +81725,47 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata - as Query$GetSection$section$$PosterGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$PosterGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$PosterGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$PosterGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$PosterGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$PosterGridSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$PosterGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$PosterGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$PosterGridSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$PosterGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -76534,13 +81783,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$PosterGridSection$metadata.stub( - _res); + get metadata => + CopyWith$Query$GetSection$section$$PosterGridSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$PosterGridSection$items get items => CopyWith$Query$GetSection$section$$PosterGridSection$items.stub(_res); @@ -76563,7 +81810,8 @@ class Query$GetSection$section$$PosterGridSection$metadata }); factory Query$GetSection$section$$PosterGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -76582,7 +81830,8 @@ class Query$GetSection$section$$PosterGridSection$metadata page: l$page == null ? null : Query$GetSection$section$$PosterGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -76715,24 +81964,25 @@ class Query$GetSection$section$$PosterGridSection$metadata extension UtilityExtension$Query$GetSection$section$$PosterGridSection$metadata on Query$GetSection$section$$PosterGridSection$metadata { CopyWith$Query$GetSection$section$$PosterGridSection$metadata< - Query$GetSection$section$$PosterGridSection$metadata> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$metadata + > + get copyWith => CopyWith$Query$GetSection$section$$PosterGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$metadata( Query$GetSection$section$$PosterGridSection$metadata instance, TRes Function(Query$GetSection$section$$PosterGridSection$metadata) then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata; factory CopyWith$Query$GetSection$section$$PosterGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata; TRes call({ bool? continueWatching, @@ -76746,7 +81996,7 @@ abstract class CopyWith$Query$GetSection$section$$PosterGridSection$metadata< String? $__typename, }); CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page - get page; + get page; } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata @@ -76760,7 +82010,7 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata final Query$GetSection$section$$PosterGridSection$metadata _instance; final TRes Function(Query$GetSection$section$$PosterGridSection$metadata) - _then; + _then; static const _undefined = {}; @@ -76774,56 +82024,61 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page + }) => _then( + Query$GetSection$section$$PosterGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$PosterGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null - ? CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$metadata { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -76837,13 +82092,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata< int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page - .stub(_res); + get page => + CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page.stub( + _res, + ); } class Query$GetSection$section$$PosterGridSection$metadata$page @@ -76856,7 +82111,8 @@ class Query$GetSection$section$$PosterGridSection$metadata$page }); factory Query$GetSection$section$$PosterGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$metadata$page( @@ -76882,10 +82138,7 @@ class Query$GetSection$section$$PosterGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -76914,37 +82167,38 @@ class Query$GetSection$section$$PosterGridSection$metadata$page extension UtilityExtension$Query$GetSection$section$$PosterGridSection$metadata$page on Query$GetSection$section$$PosterGridSection$metadata$page { CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page< - Query$GetSection$section$$PosterGridSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page( Query$GetSection$section$$PosterGridSection$metadata$page instance, TRes Function(Query$GetSection$section$$PosterGridSection$metadata$page) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata$page; factory CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata$page( this._instance, this._then, @@ -76953,39 +82207,37 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$metadata$page< final Query$GetSection$section$$PosterGridSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$PosterGridSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$metadata$page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items @@ -77001,7 +82253,8 @@ class Query$GetSection$section$$PosterGridSection$items }); factory Query$GetSection$section$$PosterGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -77010,9 +82263,12 @@ class Query$GetSection$section$$PosterGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$PosterGridSection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetSection$section$$PosterGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -77097,24 +82353,25 @@ class Query$GetSection$section$$PosterGridSection$items extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items on Query$GetSection$section$$PosterGridSection$items { CopyWith$Query$GetSection$section$$PosterGridSection$items< - Query$GetSection$section$$PosterGridSection$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items + > + get copyWith => CopyWith$Query$GetSection$section$$PosterGridSection$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items( Query$GetSection$section$$PosterGridSection$items instance, TRes Function(Query$GetSection$section$$PosterGridSection$items) then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items; factory CopyWith$Query$GetSection$section$$PosterGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items; TRes call({ int? offset, @@ -77123,11 +82380,15 @@ abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items< String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterGridSection$items$items< - Query$GetSection$section$$PosterGridSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterGridSection$items$items< + Query$GetSection$section$$PosterGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items @@ -77149,42 +82410,53 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetSection$section$$PosterGridSection$items$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetSection$section$$PosterGridSection$items$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterGridSection$items$items< - Query$GetSection$section$$PosterGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterGridSection$items$items< + Query$GetSection$section$$PosterGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$PosterGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items implements CopyWith$Query$GetSection$section$$PosterGridSection$items { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items( - this._res); + this._res, + ); TRes _res; @@ -77193,8 +82465,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -77213,7 +82484,8 @@ class Query$GetSection$section$$PosterGridSection$items$items }); factory Query$GetSection$section$$PosterGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -77225,7 +82497,8 @@ class Query$GetSection$section$$PosterGridSection$items$items image: (l$image as String?), item: Query$GetSection$section$$PosterGridSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -77262,13 +82535,7 @@ class Query$GetSection$section$$PosterGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -77312,24 +82579,26 @@ class Query$GetSection$section$$PosterGridSection$items$items extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items on Query$GetSection$section$$PosterGridSection$items$items { CopyWith$Query$GetSection$section$$PosterGridSection$items$items< - Query$GetSection$section$$PosterGridSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items( Query$GetSection$section$$PosterGridSection$items$items instance, TRes Function(Query$GetSection$section$$PosterGridSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items; TRes call({ String? id, @@ -77339,11 +82608,12 @@ abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items< String? $__typename, }); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items( @@ -77354,7 +82624,7 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items< final Query$GetSection$section$$PosterGridSection$items$items _instance; final TRes Function(Query$GetSection$section$$PosterGridSection$items$items) - _then; + _then; static const _undefined = {}; @@ -77364,36 +82634,41 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items< Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$PosterGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -77403,13 +82678,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items< String? image, Query$GetSection$section$$PosterGridSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$PosterGridSection$items$items$item @@ -77417,56 +82692,69 @@ class Query$GetSection$section$$PosterGridSection$items$items$item Fragment$Section$$PosterGridSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Query$GetSection$section$$PosterGridSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$PosterGridSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$PosterGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$PosterGridSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$PosterGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -77507,86 +82795,117 @@ class Query$GetSection$section$$PosterGridSection$items$items$item extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item on Query$GetSection$section$$PosterGridSection$items$items$item { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item< - Query$GetSection$section$$PosterGridSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show) - show, + Query$GetSection$section$$PosterGridSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Season) - season, + Query$GetSection$section$$PosterGridSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Page) - page, + Query$GetSection$section$$PosterGridSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Link) - link, + Query$GetSection$section$$PosterGridSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Game) - game, + Query$GetSection$section$$PosterGridSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Short) - short, + Query$GetSection$section$$PosterGridSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Person) - person, + Query$GetSection$section$$PosterGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -77595,114 +82914,144 @@ extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$ite _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show)? - show, + Query$GetSection$section$$PosterGridSection$items$items$item$$Show, + )? + show, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Season)? - season, + Query$GetSection$section$$PosterGridSection$items$items$item$$Season, + )? + season, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Page)? - page, + Query$GetSection$section$$PosterGridSection$items$items$item$$Page, + )? + page, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Link)? - link, + Query$GetSection$section$$PosterGridSection$items$items$item$$Link, + )? + link, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Game)? - game, + Query$GetSection$section$$PosterGridSection$items$items$item$$Game, + )? + game, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Short)? - short, + Query$GetSection$section$$PosterGridSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Person)? - person, + Query$GetSection$section$$PosterGridSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$PosterGridSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$PosterGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -77714,25 +83063,28 @@ extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$ite } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item( Query$GetSection$section$$PosterGridSection$items$items$item instance, TRes Function(Query$GetSection$section$$PosterGridSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item( this._instance, this._then, @@ -77741,24 +83093,31 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item final Query$GetSection$section$$PosterGridSection$items$items$item _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item) _then; + Query$GetSection$section$$PosterGridSection$items$items$item, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$PosterGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -77789,7 +83148,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -77804,9 +83164,12 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -77819,15 +83182,17 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -77848,15 +83213,16 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -77996,31 +83362,36 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode on Query$GetSection$section$$PosterGridSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( Query$GetSection$section$$PosterGridSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -78031,35 +83402,47 @@ abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$ String? publishDate, int? number, Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -78076,79 +83459,103 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -78159,18 +83566,19 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$ String? publishDate, int? number, Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors @@ -78185,14 +83593,16 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$cont }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -78201,7 +83611,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$cont } final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -78269,56 +83679,65 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$cont } extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors - on Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors { + on + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -78326,53 +83745,61 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person @@ -78386,7 +83813,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$cont }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( @@ -78412,10 +83840,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$cont int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -78443,85 +83868,88 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$cont } extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season @@ -78537,15 +83965,17 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -78553,7 +83983,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas final int number; final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -78573,11 +84003,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -78612,54 +84038,62 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season on Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -78667,52 +84101,60 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show @@ -78727,7 +84169,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( @@ -78753,10 +84196,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -78784,85 +84224,88 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$seas } extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show - on Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show { + on + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Show @@ -78881,7 +84324,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -78893,8 +84337,9 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -78907,7 +84352,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -78982,26 +84427,29 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Show on Query$GetSection$section$$PosterGridSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show< - Query$GetSection$section$$PosterGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show( Query$GetSection$section$$PosterGridSection$items$items$item$$Show instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show; TRes call({ String? id, @@ -79009,27 +84457,33 @@ abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$ int? seasonCount, String? $__typename, Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show) _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -79039,39 +84493,47 @@ class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -79081,15 +84543,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$ int? seasonCount, String? $__typename, Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode @@ -79104,7 +84567,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show$default }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( @@ -79130,10 +84594,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show$default int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -79161,83 +84622,86 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Show$default } extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - on Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode { + on + Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Season @@ -79246,14 +84710,17 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Query$GetSection$section$$PosterGridSection$items$items$item { - Query$GetSection$section$$PosterGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$PosterGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -79293,64 +84760,75 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Season on Query$GetSection$section$$PosterGridSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season< - Query$GetSection$section$$PosterGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season( Query$GetSection$section$$PosterGridSection$items$items$item$$Season - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Season) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Season) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$PosterGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -79370,7 +84848,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Page }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Page( @@ -79396,10 +84875,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -79429,80 +84905,82 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Page on Query$GetSection$section$$PosterGridSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page< - Query$GetSection$section$$PosterGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page( Query$GetSection$section$$PosterGridSection$items$items$item$$Page instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Page) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Page) _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Link @@ -79518,7 +84996,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Link }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Link( @@ -79544,10 +85023,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -79577,78 +85053,82 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Link on Query$GetSection$section$$PosterGridSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link< - Query$GetSection$section$$PosterGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link( Query$GetSection$section$$PosterGridSection$items$items$item$$Link instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Link) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Link) _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic @@ -79657,14 +85137,17 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Query$GetSection$section$$PosterGridSection$items$items$item { - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -79704,64 +85187,75 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic on Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic< - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -79781,7 +85275,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Game }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Game( @@ -79807,10 +85302,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -79840,80 +85332,82 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Game on Query$GetSection$section$$PosterGridSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game< - Query$GetSection$section$$PosterGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game( Query$GetSection$section$$PosterGridSection$items$items$item$$Game instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Game) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Game) _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist @@ -79929,7 +85423,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( @@ -79955,10 +85450,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -79988,81 +85480,81 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist on Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist< - Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Short @@ -80078,7 +85570,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Short }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Short( @@ -80104,10 +85597,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -80137,80 +85627,81 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Short on Query$GetSection$section$$PosterGridSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short< - Query$GetSection$section$$PosterGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short( Query$GetSection$section$$PosterGridSection$items$items$item$$Short - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Short) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Short) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$PosterGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$PosterGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$PosterGridSection$items$items$item$$Person @@ -80226,7 +85717,8 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Person }); factory Query$GetSection$section$$PosterGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$PosterGridSection$items$items$item$$Person( @@ -80252,10 +85744,7 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -80285,81 +85774,81 @@ class Query$GetSection$section$$PosterGridSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$PosterGridSection$items$items$item$$Person on Query$GetSection$section$$PosterGridSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person< - Query$GetSection$section$$PosterGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$PosterGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person( Query$GetSection$section$$PosterGridSection$items$items$item$$Person - instance, + instance, TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Person) - then, + Query$GetSection$section$$PosterGridSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$PosterGridSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$PosterGridSection$items$items$item$$Person) - _then; + Query$GetSection$section$$PosterGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$PosterGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$PosterGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$PosterGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$PosterGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection @@ -80379,7 +85868,8 @@ class Query$GetSection$section$$IconGridSection }); factory Query$GetSection$section$$IconGridSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -80391,9 +85881,11 @@ class Query$GetSection$section$$IconGridSection metadata: l$metadata == null ? null : Query$GetSection$section$$IconGridSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$IconGridSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), gridSize: fromJson$Enum$GridSectionSize((l$gridSize as String)), id: (l$id as String), @@ -80506,11 +85998,10 @@ class Query$GetSection$section$$IconGridSection extension UtilityExtension$Query$GetSection$section$$IconGridSection on Query$GetSection$section$$IconGridSection { CopyWith$Query$GetSection$section$$IconGridSection< - Query$GetSection$section$$IconGridSection> - get copyWith => CopyWith$Query$GetSection$section$$IconGridSection( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$IconGridSection { @@ -80532,7 +86023,7 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection { String? description, }); CopyWith$Query$GetSection$section$$IconGridSection$metadata - get metadata; + get metadata; CopyWith$Query$GetSection$section$$IconGridSection$items get items; } @@ -80557,41 +86048,47 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$IconGridSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$IconGridSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - gridSize: gridSize == _undefined || gridSize == null - ? _instance.gridSize - : (gridSize as Enum$GridSectionSize), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$IconGridSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$IconGridSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$IconGridSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + gridSize: gridSize == _undefined || gridSize == null + ? _instance.gridSize + : (gridSize as Enum$GridSectionSize), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$IconGridSection$metadata - get metadata { + get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$IconGridSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$IconGridSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$IconGridSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$IconGridSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -80609,13 +86106,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconGridSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$IconGridSection$metadata.stub( - _res); + get metadata => + CopyWith$Query$GetSection$section$$IconGridSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$IconGridSection$items get items => CopyWith$Query$GetSection$section$$IconGridSection$items.stub(_res); @@ -80638,7 +86133,8 @@ class Query$GetSection$section$$IconGridSection$metadata }); factory Query$GetSection$section$$IconGridSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -80657,7 +86153,8 @@ class Query$GetSection$section$$IconGridSection$metadata page: l$page == null ? null : Query$GetSection$section$$IconGridSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -80790,24 +86287,25 @@ class Query$GetSection$section$$IconGridSection$metadata extension UtilityExtension$Query$GetSection$section$$IconGridSection$metadata on Query$GetSection$section$$IconGridSection$metadata { CopyWith$Query$GetSection$section$$IconGridSection$metadata< - Query$GetSection$section$$IconGridSection$metadata> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$metadata + > + get copyWith => CopyWith$Query$GetSection$section$$IconGridSection$metadata( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$metadata< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$metadata( Query$GetSection$section$$IconGridSection$metadata instance, TRes Function(Query$GetSection$section$$IconGridSection$metadata) then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata; factory CopyWith$Query$GetSection$section$$IconGridSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata; TRes call({ bool? continueWatching, @@ -80821,7 +86319,7 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection$metadata< String? $__typename, }); CopyWith$Query$GetSection$section$$IconGridSection$metadata$page - get page; + get page; } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata @@ -80848,47 +86346,49 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page - as Query$GetSection$section$$IconGridSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$IconGridSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$IconGridSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$IconGridSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$IconGridSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$IconGridSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -80896,7 +86396,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata implements CopyWith$Query$GetSection$section$$IconGridSection$metadata { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata( - this._res); + this._res, + ); TRes _res; @@ -80910,13 +86411,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconGridSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$IconGridSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$IconGridSection$metadata$page.stub( + _res, + ); } class Query$GetSection$section$$IconGridSection$metadata$page @@ -80929,7 +86430,8 @@ class Query$GetSection$section$$IconGridSection$metadata$page }); factory Query$GetSection$section$$IconGridSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$metadata$page( @@ -80955,10 +86457,7 @@ class Query$GetSection$section$$IconGridSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -80987,33 +86486,33 @@ class Query$GetSection$section$$IconGridSection$metadata$page extension UtilityExtension$Query$GetSection$section$$IconGridSection$metadata$page on Query$GetSection$section$$IconGridSection$metadata$page { CopyWith$Query$GetSection$section$$IconGridSection$metadata$page< - Query$GetSection$section$$IconGridSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$metadata$page( Query$GetSection$section$$IconGridSection$metadata$page instance, TRes Function(Query$GetSection$section$$IconGridSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata$page; factory CopyWith$Query$GetSection$section$$IconGridSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$metadata$page { _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata$page( @@ -81024,38 +86523,35 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$metadata$page< final Query$GetSection$section$$IconGridSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$IconGridSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconGridSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items @@ -81071,7 +86567,8 @@ class Query$GetSection$section$$IconGridSection$items }); factory Query$GetSection$section$$IconGridSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -81080,9 +86577,12 @@ class Query$GetSection$section$$IconGridSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Query$GetSection$section$$IconGridSection$items$items.fromJson( - (e as Map))) + .map( + (e) => + Query$GetSection$section$$IconGridSection$items$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -81167,11 +86667,10 @@ class Query$GetSection$section$$IconGridSection$items extension UtilityExtension$Query$GetSection$section$$IconGridSection$items on Query$GetSection$section$$IconGridSection$items { CopyWith$Query$GetSection$section$$IconGridSection$items< - Query$GetSection$section$$IconGridSection$items> - get copyWith => CopyWith$Query$GetSection$section$$IconGridSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items { @@ -81181,8 +86680,8 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection$items { ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items; factory CopyWith$Query$GetSection$section$$IconGridSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items; TRes call({ int? offset, @@ -81191,11 +86690,15 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$IconGridSection$items$items< - Query$GetSection$section$$IconGridSection$items$items>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$IconGridSection$items$items< + Query$GetSection$section$$IconGridSection$items$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items @@ -81216,35 +86719,43 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items + }) => _then( + Query$GetSection$section$$IconGridSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$IconGridSection$items$items< - Query$GetSection$section$$IconGridSection$items$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetSection$section$$IconGridSection$items$items( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Query$GetSection$section$$IconGridSection$items$items< + Query$GetSection$section$$IconGridSection$items$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Query$GetSection$section$$IconGridSection$items$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items @@ -81258,8 +86769,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -81278,7 +86788,8 @@ class Query$GetSection$section$$IconGridSection$items$items }); factory Query$GetSection$section$$IconGridSection$items$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$image = json['image']; @@ -81289,7 +86800,8 @@ class Query$GetSection$section$$IconGridSection$items$items title: (l$title as String), image: (l$image as String?), item: Query$GetSection$section$$IconGridSection$items$items$item.fromJson( - (l$item as Map)), + (l$item as Map), + ), $__typename: (l$$__typename as String), ); } @@ -81326,13 +86838,7 @@ class Query$GetSection$section$$IconGridSection$items$items final l$image = image; final l$item = item; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$image, - l$item, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$image, l$item, l$$__typename]); } @override @@ -81376,24 +86882,26 @@ class Query$GetSection$section$$IconGridSection$items$items extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items on Query$GetSection$section$$IconGridSection$items$items { CopyWith$Query$GetSection$section$$IconGridSection$items$items< - Query$GetSection$section$$IconGridSection$items$items> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items( Query$GetSection$section$$IconGridSection$items$items instance, TRes Function(Query$GetSection$section$$IconGridSection$items$items) then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items; TRes call({ String? id, @@ -81403,7 +86911,7 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items< String? $__typename, }); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item - get item; + get item; } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items @@ -81417,7 +86925,7 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items final Query$GetSection$section$$IconGridSection$items$items _instance; final TRes Function(Query$GetSection$section$$IconGridSection$items$items) - _then; + _then; static const _undefined = {}; @@ -81427,36 +86935,41 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items Object? image = _undefined, Object? item = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - item: item == _undefined || item == null - ? _instance.item - : (item + }) => _then( + Query$GetSection$section$$IconGridSection$items$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + item: item == _undefined || item == null + ? _instance.item + : (item as Query$GetSection$section$$IconGridSection$items$items$item), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item - get item { + get item { final local$item = _instance.item; return CopyWith$Query$GetSection$section$$IconGridSection$items$items$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items( - this._res); + this._res, + ); TRes _res; @@ -81466,13 +86979,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items< String? image, Query$GetSection$section$$IconGridSection$items$items$item? item, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconGridSection$items$items$item - get item => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item - .stub(_res); + get item => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item.stub( + _res, + ); } class Query$GetSection$section$$IconGridSection$items$items$item @@ -81480,56 +86993,69 @@ class Query$GetSection$section$$IconGridSection$items$items$item Fragment$Section$$IconGridSection$items$items$item, Fragment$ItemSectionItem$item, Fragment$GridSectionItem$item { - Query$GetSection$section$$IconGridSection$items$items$item( - {required this.$__typename}); + Query$GetSection$section$$IconGridSection$items$items$item({ + required this.$__typename, + }); factory Query$GetSection$section$$IconGridSection$items$items$item.fromJson( - Map json) { + Map json, + ) { switch (json["__typename"] as String) { case "Episode": - return Query$GetSection$section$$IconGridSection$items$items$item$$Episode - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Episode.fromJson( + json, + ); case "Show": - return Query$GetSection$section$$IconGridSection$items$items$item$$Show - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Show.fromJson( + json, + ); case "Season": - return Query$GetSection$section$$IconGridSection$items$items$item$$Season - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Season.fromJson( + json, + ); case "Page": - return Query$GetSection$section$$IconGridSection$items$items$item$$Page - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Page.fromJson( + json, + ); case "Link": - return Query$GetSection$section$$IconGridSection$items$items$item$$Link - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Link.fromJson( + json, + ); case "StudyTopic": - return Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic.fromJson( + json, + ); case "Game": - return Query$GetSection$section$$IconGridSection$items$items$item$$Game - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Game.fromJson( + json, + ); case "Playlist": - return Query$GetSection$section$$IconGridSection$items$items$item$$Playlist - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Playlist.fromJson( + json, + ); case "Short": - return Query$GetSection$section$$IconGridSection$items$items$item$$Short - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Short.fromJson( + json, + ); case "Person": - return Query$GetSection$section$$IconGridSection$items$items$item$$Person - .fromJson(json); + return Query$GetSection$section$$IconGridSection$items$items$item$$Person.fromJson( + json, + ); default: final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -81569,86 +87095,117 @@ class Query$GetSection$section$$IconGridSection$items$items$item extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item on Query$GetSection$section$$IconGridSection$items$items$item { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item< - Query$GetSection$section$$IconGridSection$items$items$item> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item( + this, + (i) => i, + ); _T when<_T>({ required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode) - episode, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode, + ) + episode, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Show) - show, + Query$GetSection$section$$IconGridSection$items$items$item$$Show, + ) + show, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Season) - season, + Query$GetSection$section$$IconGridSection$items$items$item$$Season, + ) + season, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Page) - page, + Query$GetSection$section$$IconGridSection$items$items$item$$Page, + ) + page, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Link) - link, + Query$GetSection$section$$IconGridSection$items$items$item$$Link, + ) + link, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic) - studyTopic, + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic, + ) + studyTopic, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Game) - game, + Query$GetSection$section$$IconGridSection$items$items$item$$Game, + ) + game, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Playlist) - playlist, + Query$GetSection$section$$IconGridSection$items$items$item$$Playlist, + ) + playlist, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Short) - short, + Query$GetSection$section$$IconGridSection$items$items$item$$Short, + ) + short, required _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Person) - person, + Query$GetSection$section$$IconGridSection$items$items$item$$Person, + ) + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": - return episode(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Episode, + ); case "Show": - return show(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Show, + ); case "Season": - return season(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Season, + ); case "Page": - return page(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Page, + ); case "Link": - return link(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Link, + ); case "StudyTopic": - return studyTopic(this - as Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic, + ); case "Game": - return game(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Game, + ); case "Playlist": - return playlist(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Playlist, + ); case "Short": - return short(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Short, + ); case "Person": - return person(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Person, + ); default: return orElse(); @@ -81657,114 +87214,144 @@ extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items _T maybeWhen<_T>({ _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode)? - episode, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode, + )? + episode, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Show)? - show, + Query$GetSection$section$$IconGridSection$items$items$item$$Show, + )? + show, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Season)? - season, + Query$GetSection$section$$IconGridSection$items$items$item$$Season, + )? + season, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Page)? - page, + Query$GetSection$section$$IconGridSection$items$items$item$$Page, + )? + page, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Link)? - link, + Query$GetSection$section$$IconGridSection$items$items$item$$Link, + )? + link, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic)? - studyTopic, + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic, + )? + studyTopic, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Game)? - game, + Query$GetSection$section$$IconGridSection$items$items$item$$Game, + )? + game, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Playlist)? - playlist, + Query$GetSection$section$$IconGridSection$items$items$item$$Playlist, + )? + playlist, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Short)? - short, + Query$GetSection$section$$IconGridSection$items$items$item$$Short, + )? + short, _T Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Person)? - person, + Query$GetSection$section$$IconGridSection$items$items$item$$Person, + )? + person, required _T Function() orElse, }) { switch ($__typename) { case "Episode": if (episode != null) { - return episode(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Episode); + return episode( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Episode, + ); } else { return orElse(); } case "Show": if (show != null) { - return show(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Show); + return show( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Show, + ); } else { return orElse(); } case "Season": if (season != null) { - return season(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Season); + return season( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Season, + ); } else { return orElse(); } case "Page": if (page != null) { - return page(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Page); + return page( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Page, + ); } else { return orElse(); } case "Link": if (link != null) { - return link(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Link); + return link( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Link, + ); } else { return orElse(); } case "StudyTopic": if (studyTopic != null) { - return studyTopic(this - as Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic); + return studyTopic( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic, + ); } else { return orElse(); } case "Game": if (game != null) { - return game(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Game); + return game( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Game, + ); } else { return orElse(); } case "Playlist": if (playlist != null) { - return playlist(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Playlist); + return playlist( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Playlist, + ); } else { return orElse(); } case "Short": if (short != null) { - return short(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Short); + return short( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Short, + ); } else { return orElse(); } case "Person": if (person != null) { - return person(this - as Query$GetSection$section$$IconGridSection$items$items$item$$Person); + return person( + this + as Query$GetSection$section$$IconGridSection$items$items$item$$Person, + ); } else { return orElse(); } @@ -81776,25 +87363,28 @@ extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item( Query$GetSection$section$$IconGridSection$items$items$item instance, TRes Function(Query$GetSection$section$$IconGridSection$items$items$item) - then, + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item( this._instance, this._then, @@ -81803,24 +87393,31 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item< final Query$GetSection$section$$IconGridSection$items$items$item _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item) _then; + Query$GetSection$section$$IconGridSection$items$items$item, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$IconGridSection$items$items$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$IconGridSection$items$items$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item( - this._res); + this._res, + ); TRes _res; @@ -81851,7 +87448,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$contributors = json['contributors']; final l$description = json['description']; final l$id = json['id']; @@ -81866,9 +87464,12 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Episode( contributors: (l$contributors as List) - .map((e) => - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors - .fromJson((e as Map))) + .map( + (e) => + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors.fromJson( + (e as Map), + ), + ) .toList(), description: (l$description as String), id: (l$id as String), @@ -81881,15 +87482,17 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode number: (l$number as int?), season: l$season == null ? null - : Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season - .fromJson((l$season as Map)), + : Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season.fromJson( + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } final List< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors> - contributors; + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + contributors; final String description; @@ -81910,15 +87513,16 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode final int? number; final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season? - season; + season; final String $__typename; Map toJson() { final _resultData = {}; final l$contributors = contributors; - _resultData['contributors'] = - l$contributors.map((e) => e.toJson()).toList(); + _resultData['contributors'] = l$contributors + .map((e) => e.toJson()) + .toList(); final l$description = description; _resultData['description'] = l$description; final l$id = id; @@ -82058,31 +87662,36 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Episode on Query$GetSection$section$$IconGridSection$items$items$item$$Episode { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Episode + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode( Query$GetSection$section$$IconGridSection$items$items$item$$Episode - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode; TRes call({ - List? - contributors, + List< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -82093,35 +87702,47 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$it String? publishDate, int? number, Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, }); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors>>) - _fn); + Iterable< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> get season; + TRes + > + get season; } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Episode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Episode, + ) + _then; static const _undefined = {}; @@ -82138,78 +87759,103 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$ Object? number = _undefined, Object? season = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Episode( - contributors: contributors == _undefined || contributors == null - ? _instance.contributors - : (contributors as List< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors>), - description: description == _undefined || description == null - ? _instance.description - : (description as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - duration: duration == _undefined || duration == null - ? _instance.duration - : (duration as int), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - progress: - progress == _undefined ? _instance.progress : (progress as int?), - image: image == _undefined ? _instance.image : (image as String?), - publishDate: publishDate == _undefined || publishDate == null - ? _instance.publishDate - : (publishDate as String), - number: number == _undefined ? _instance.number : (number as int?), - season: season == _undefined - ? _instance.season - : (season + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Episode( + contributors: contributors == _undefined || contributors == null + ? _instance.contributors + : (contributors + as List< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + >), + description: description == _undefined || description == null + ? _instance.description + : (description as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + duration: duration == _undefined || duration == null + ? _instance.duration + : (duration as int), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + progress: progress == _undefined + ? _instance.progress + : (progress as int?), + image: image == _undefined ? _instance.image : (image as String?), + publishDate: publishDate == _undefined || publishDate == null + ? _instance.publishDate + : (publishDate as String), + number: number == _undefined ? _instance.number : (number as int?), + season: season == _undefined + ? _instance.season + : (season as Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes contributors( - Iterable Function( - Iterable< - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors>>) - _fn) => - call( - contributors: _fn(_instance.contributors.map((e) => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + Function( + Iterable< + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + >, + ) + _fn, + ) => call( + contributors: _fn( + _instance.contributors.map( + (e) => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( + e, + (i) => i, + ), + ), + ).toList(), + ); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> get season { + TRes + > + get season { final local$season = _instance.season; return local$season == null - ? CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season - .stub(_then(_instance)) + ? CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season.stub( + _then(_instance), + ) : CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode( - this._res); + this._res, + ); TRes _res; call({ - List? - contributors, + List< + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + >? + contributors, String? description, String? id, String? title, @@ -82220,18 +87866,19 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$it String? publishDate, int? number, Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season? - season, + season, String? $__typename, - }) => - _res; + }) => _res; contributors(_fn) => _res; CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> - get season => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season - .stub(_res); + TRes + > + get season => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season.stub( + _res, + ); } class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors @@ -82246,14 +87893,16 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contri }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors.fromJson( - Map json) { + Map json, + ) { final l$person = json['person']; final l$contributionTypes = json['contributionTypes']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( person: - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - .fromJson((l$person as Map)), + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.fromJson( + (l$person as Map), + ), contributionTypes: (l$contributionTypes as List) .map((e) => fromJson$Enum$ContributionTypeCode((e as String))) .toList(), @@ -82262,7 +87911,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contri } final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - person; + person; final List contributionTypes; @@ -82330,56 +87979,65 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contri } extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors - on Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors { + on + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors; TRes call({ Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, }); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> get person; + TRes + > + get person; } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors, + ) + _then; static const _undefined = {}; @@ -82387,53 +88045,61 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$ Object? person = _undefined, Object? contributionTypes = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( - person: person == _undefined || person == null - ? _instance.person - : (person + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( + person: person == _undefined || person == null + ? _instance.person + : (person as Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person), - contributionTypes: - contributionTypes == _undefined || contributionTypes == null - ? _instance.contributionTypes - : (contributionTypes as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + contributionTypes: + contributionTypes == _undefined || contributionTypes == null + ? _instance.contributionTypes + : (contributionTypes as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> get person { + TRes + > + get person { final local$person = _instance.person; return CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - local$person, (e) => call(person: e)); + local$person, + (e) => call(person: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors( - this._res); + this._res, + ); TRes _res; call({ Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person? - person, + person, List? contributionTypes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> - get person => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - .stub(_res); + TRes + > + get person => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.stub( + _res, + ); } class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person @@ -82447,7 +88113,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contri }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.fromJson( - Map json) { + Map json, + ) { final l$name = json['name']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( @@ -82473,10 +88140,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contri int get hashCode { final l$name = name; final l$$__typename = $__typename; - return Object.hashAll([ - l$name, - l$$__typename, - ]); + return Object.hashAll([l$name, l$$__typename]); } @override @@ -82504,85 +88168,88 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contri } extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - on Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person { + on + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person; - TRes call({ - String? name, - String? $__typename, - }); + TRes call({String? name, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person, + ) + _then; static const _undefined = {}; TRes call({ Object? name = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - name: name == _undefined || name == null - ? _instance.name - : (name as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( + name: name == _undefined || name == null + ? _instance.name + : (name as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$contributors$person( - this._res); + this._res, + ); TRes _res; - call({ - String? name, - String? $__typename, - }) => - _res; + call({String? name, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season @@ -82598,15 +88265,17 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season.fromJson( - Map json) { + Map json, + ) { final l$number = json['number']; final l$$show = json['show']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( number: (l$number as int), $show: - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show - .fromJson((l$$show as Map)), + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show.fromJson( + (l$$show as Map), + ), $__typename: (l$$__typename as String), ); } @@ -82614,7 +88283,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season final int number; final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show - $show; + $show; final String $__typename; @@ -82634,11 +88303,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season final l$number = number; final l$$show = $show; final l$$__typename = $__typename; - return Object.hashAll([ - l$number, - l$$show, - l$$__typename, - ]); + return Object.hashAll([l$number, l$$show, l$$__typename]); } @override @@ -82673,54 +88338,62 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season on Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season; TRes call({ int? number, Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, }); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> get $show; + TRes + > + get $show; } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season, + ) + _then; static const _undefined = {}; @@ -82728,52 +88401,60 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$ Object? number = _undefined, Object? $show = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( - number: number == _undefined || number == null - ? _instance.number - : (number as int), - $show: $show == _undefined || $show == null - ? _instance.$show - : ($show + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( + number: number == _undefined || number == null + ? _instance.number + : (number as int), + $show: $show == _undefined || $show == null + ? _instance.$show + : ($show as Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> get $show { + TRes + > + get $show { final local$$show = _instance.$show; return CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( - local$$show, (e) => call($show: e)); + local$$show, + (e) => call($show: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season( - this._res); + this._res, + ); TRes _res; call({ int? number, Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show? - $show, + $show, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> - get $show => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show - .stub(_res); + TRes + > + get $show => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show.stub( + _res, + ); } class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show @@ -82788,7 +88469,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( @@ -82814,10 +88496,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season int get hashCode { final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$title, - l$$__typename, - ]); + return Object.hashAll([l$title, l$$__typename]); } @override @@ -82845,85 +88524,88 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season } extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show - on Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show { + on + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show; - TRes call({ - String? title, - String? $__typename, - }); + TRes call({String? title, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show, + ) + _then; static const _undefined = {}; TRes call({ Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Episode$season$show( - this._res); + this._res, + ); TRes _res; - call({ - String? title, - String? $__typename, - }) => - _res; + call({String? title, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Show @@ -82942,7 +88624,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Show.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodeCount = json['episodeCount']; final l$seasonCount = json['seasonCount']; @@ -82954,8 +88637,9 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show seasonCount: (l$seasonCount as int), $__typename: (l$$__typename as String), defaultEpisode: - Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - .fromJson((l$defaultEpisode as Map)), + Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.fromJson( + (l$defaultEpisode as Map), + ), ); } @@ -82968,7 +88652,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show final String $__typename; final Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - defaultEpisode; + defaultEpisode; Map toJson() { final _resultData = {}; @@ -83043,26 +88727,29 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Show on Query$GetSection$section$$IconGridSection$items$items$item$$Show { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show< - Query$GetSection$section$$IconGridSection$items$items$item$$Show> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Show + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show( Query$GetSection$section$$IconGridSection$items$items$item$$Show instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Show) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Show, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show; TRes call({ String? id, @@ -83070,27 +88757,33 @@ abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$it int? seasonCount, String? $__typename, Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, + defaultEpisode, }); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode; + TRes + > + get defaultEpisode; } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Show - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Show) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Show, + ) + _then; static const _undefined = {}; @@ -83100,39 +88793,47 @@ class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$ Object? seasonCount = _undefined, Object? $__typename = _undefined, Object? defaultEpisode = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Show( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodeCount: episodeCount == _undefined || episodeCount == null - ? _instance.episodeCount - : (episodeCount as int), - seasonCount: seasonCount == _undefined || seasonCount == null - ? _instance.seasonCount - : (seasonCount as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null - ? _instance.defaultEpisode - : (defaultEpisode + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Show( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodeCount: episodeCount == _undefined || episodeCount == null + ? _instance.episodeCount + : (episodeCount as int), + seasonCount: seasonCount == _undefined || seasonCount == null + ? _instance.seasonCount + : (seasonCount as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + defaultEpisode: defaultEpisode == _undefined || defaultEpisode == null + ? _instance.defaultEpisode + : (defaultEpisode as Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode), - )); + ), + ); CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> get defaultEpisode { + TRes + > + get defaultEpisode { final local$defaultEpisode = _instance.defaultEpisode; return CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - local$defaultEpisode, (e) => call(defaultEpisode: e)); + local$defaultEpisode, + (e) => call(defaultEpisode: e), + ); } } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show( - this._res); + this._res, + ); TRes _res; @@ -83142,15 +88843,16 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$it int? seasonCount, String? $__typename, Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode? - defaultEpisode, - }) => - _res; + defaultEpisode, + }) => _res; CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> - get defaultEpisode => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - .stub(_res); + TRes + > + get defaultEpisode => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.stub( + _res, + ); } class Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode @@ -83165,7 +88867,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEp }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( @@ -83191,10 +88894,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEp int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -83222,83 +88922,86 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEp } extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - on Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode { + on + Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode, + ) + _then; static const _undefined = {}; TRes call({ Object? id = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Show$defaultEpisode( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Season @@ -83307,14 +89010,17 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Season Fragment$ItemSectionItem$item$$Season, Fragment$GridSectionItem$item$$Season, Query$GetSection$section$$IconGridSection$items$items$item { - Query$GetSection$section$$IconGridSection$items$items$item$$Season( - {this.$__typename = 'Season'}); + Query$GetSection$section$$IconGridSection$items$items$item$$Season({ + this.$__typename = 'Season', + }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Season.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Season( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -83354,62 +89060,74 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Season extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Season on Query$GetSection$section$$IconGridSection$items$items$item$$Season { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season< - Query$GetSection$section$$IconGridSection$items$items$item$$Season> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Season + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season( Query$GetSection$section$$IconGridSection$items$items$item$$Season instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Season) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Season, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Season - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Season) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Season, + ) + _then; static const _undefined = {}; - TRes call({Object? $__typename = _undefined}) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Season( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + TRes call({Object? $__typename = _undefined}) => _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Season( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Season< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Season( - this._res); + this._res, + ); TRes _res; @@ -83429,7 +89147,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Page }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Page( @@ -83455,10 +89174,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -83488,80 +89204,82 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Page extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Page on Query$GetSection$section$$IconGridSection$items$items$item$$Page { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page< - Query$GetSection$section$$IconGridSection$items$items$item$$Page> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Page + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page( Query$GetSection$section$$IconGridSection$items$items$item$$Page instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Page) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Page, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Page - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Page) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Page, + ) + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Page< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Link @@ -83577,7 +89295,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Link }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Link.fromJson( - Map json) { + Map json, + ) { final l$url = json['url']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Link( @@ -83603,10 +89322,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Link int get hashCode { final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$url, - l$$__typename, - ]); + return Object.hashAll([l$url, l$$__typename]); } @override @@ -83636,78 +89352,82 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Link extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Link on Query$GetSection$section$$IconGridSection$items$items$item$$Link { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link< - Query$GetSection$section$$IconGridSection$items$items$item$$Link> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Link + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link( Query$GetSection$section$$IconGridSection$items$items$item$$Link instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Link) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Link, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link; - TRes call({ - String? url, - String? $__typename, - }); + TRes call({String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Link - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Link) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Link, + ) + _then; static const _undefined = {}; - TRes call({ - Object? url = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Link( - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? url = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Link( + url: url == _undefined || url == null + ? _instance.url + : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Link< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Link( - this._res); + this._res, + ); TRes _res; - call({ - String? url, - String? $__typename, - }) => - _res; + call({String? url, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic @@ -83716,14 +89436,17 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic Fragment$ItemSectionItem$item$$StudyTopic, Fragment$GridSectionItem$item$$StudyTopic, Query$GetSection$section$$IconGridSection$items$items$item { - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( - {this.$__typename = 'StudyTopic'}); + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic({ + this.$__typename = 'StudyTopic', + }); factory Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic.fromJson( - Map json) { + Map json, + ) { final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } final String $__typename; @@ -83763,64 +89486,75 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic on Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic< - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic; TRes call({String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic, + ) + _then; static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$StudyTopic( - this._res); + this._res, + ); TRes _res; @@ -83840,7 +89574,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Game }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Game.fromJson( - Map json) { + Map json, + ) { final l$uuid = json['uuid']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Game( @@ -83866,10 +89601,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Game int get hashCode { final l$uuid = uuid; final l$$__typename = $__typename; - return Object.hashAll([ - l$uuid, - l$$__typename, - ]); + return Object.hashAll([l$uuid, l$$__typename]); } @override @@ -83899,80 +89631,82 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Game extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Game on Query$GetSection$section$$IconGridSection$items$items$item$$Game { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game< - Query$GetSection$section$$IconGridSection$items$items$item$$Game> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Game + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game( Query$GetSection$section$$IconGridSection$items$items$item$$Game instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Game) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Game, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game; - TRes call({ - String? uuid, - String? $__typename, - }); + TRes call({String? uuid, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Game - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Game) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Game, + ) + _then; static const _undefined = {}; - TRes call({ - Object? uuid = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Game( - uuid: uuid == _undefined || uuid == null - ? _instance.uuid - : (uuid as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? uuid = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Game( + uuid: uuid == _undefined || uuid == null + ? _instance.uuid + : (uuid as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Game< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Game( - this._res); + this._res, + ); TRes _res; - call({ - String? uuid, - String? $__typename, - }) => - _res; + call({String? uuid, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Playlist @@ -83988,7 +89722,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Playlist }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Playlist.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( @@ -84014,10 +89749,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Playlist int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -84047,81 +89779,81 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Playlist extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist on Query$GetSection$section$$IconGridSection$items$items$item$$Playlist { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist< - Query$GetSection$section$$IconGridSection$items$items$item$$Playlist> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Playlist + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( Query$GetSection$section$$IconGridSection$items$items$item$$Playlist - instance, + instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Playlist) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Playlist, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Playlist - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Playlist) - _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Playlist, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => _then( - Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Playlist( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Short @@ -84137,7 +89869,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Short }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Short.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Short( @@ -84163,10 +89896,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Short int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -84196,78 +89926,80 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Short extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Short on Query$GetSection$section$$IconGridSection$items$items$item$$Short { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short< - Query$GetSection$section$$IconGridSection$items$items$item$$Short> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Short + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short( Query$GetSection$section$$IconGridSection$items$items$item$$Short instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Short) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Short, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Short - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Short) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Short, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Short< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Short( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$IconGridSection$items$items$item$$Person @@ -84283,7 +90015,8 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Person }); factory Query$GetSection$section$$IconGridSection$items$items$item$$Person.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconGridSection$items$items$item$$Person( @@ -84309,10 +90042,7 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Person int get hashCode { final l$id = id; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$$__typename, - ]); + return Object.hashAll([l$id, l$$__typename]); } @override @@ -84342,78 +90072,80 @@ class Query$GetSection$section$$IconGridSection$items$items$item$$Person extension UtilityExtension$Query$GetSection$section$$IconGridSection$items$items$item$$Person on Query$GetSection$section$$IconGridSection$items$items$item$$Person { CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person< - Query$GetSection$section$$IconGridSection$items$items$item$$Person> - get copyWith => - CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person( - this, - (i) => i, - ); + Query$GetSection$section$$IconGridSection$items$items$item$$Person + > + get copyWith => + CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person( Query$GetSection$section$$IconGridSection$items$items$item$$Person instance, TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Person) - then, + Query$GetSection$section$$IconGridSection$items$items$item$$Person, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person; factory CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person; - TRes call({ - String? id, - String? $__typename, - }); + TRes call({String? id, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person( this._instance, this._then, ); final Query$GetSection$section$$IconGridSection$items$items$item$$Person - _instance; + _instance; final TRes Function( - Query$GetSection$section$$IconGridSection$items$items$item$$Person) _then; + Query$GetSection$section$$IconGridSection$items$items$item$$Person, + ) + _then; static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconGridSection$items$items$item$$Person( - id: id == _undefined || id == null ? _instance.id : (id as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? id = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconGridSection$items$items$item$$Person( + id: id == _undefined || id == null ? _instance.id : (id as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconGridSection$items$items$item$$Person< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$IconGridSection$items$items$item$$Person( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - String? $__typename, - }) => - _res; + call({String? id, String? $__typename}) => _res; } class Query$GetSection$section$$IconSection @@ -84431,7 +90163,8 @@ class Query$GetSection$section$$IconSection }); factory Query$GetSection$section$$IconSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -84442,9 +90175,11 @@ class Query$GetSection$section$$IconSection metadata: l$metadata == null ? null : Query$GetSection$section$$IconSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$IconSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -84545,11 +90280,10 @@ class Query$GetSection$section$$IconSection extension UtilityExtension$Query$GetSection$section$$IconSection on Query$GetSection$section$$IconSection { CopyWith$Query$GetSection$section$$IconSection< - Query$GetSection$section$$IconSection> - get copyWith => CopyWith$Query$GetSection$section$$IconSection( - this, - (i) => i, - ); + Query$GetSection$section$$IconSection + > + get copyWith => + CopyWith$Query$GetSection$section$$IconSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$IconSection { @@ -84593,37 +90327,43 @@ class _CopyWithImpl$Query$GetSection$section$$IconSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$IconSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$IconSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$IconSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$IconSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$IconSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$IconSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$IconSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$IconSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$IconSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$IconSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$IconSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -84640,8 +90380,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconSection$metadata get metadata => CopyWith$Query$GetSection$section$$IconSection$metadata.stub(_res); @@ -84667,7 +90406,8 @@ class Query$GetSection$section$$IconSection$metadata }); factory Query$GetSection$section$$IconSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -84686,7 +90426,8 @@ class Query$GetSection$section$$IconSection$metadata page: l$page == null ? null : Query$GetSection$section$$IconSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -84819,11 +90560,10 @@ class Query$GetSection$section$$IconSection$metadata extension UtilityExtension$Query$GetSection$section$$IconSection$metadata on Query$GetSection$section$$IconSection$metadata { CopyWith$Query$GetSection$section$$IconSection$metadata< - Query$GetSection$section$$IconSection$metadata> - get copyWith => CopyWith$Query$GetSection$section$$IconSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$IconSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$IconSection$metadata(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$IconSection$metadata { @@ -84833,8 +90573,8 @@ abstract class CopyWith$Query$GetSection$section$$IconSection$metadata { ) = _CopyWithImpl$Query$GetSection$section$$IconSection$metadata; factory CopyWith$Query$GetSection$section$$IconSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata; TRes call({ bool? continueWatching, @@ -84873,45 +90613,48 @@ class _CopyWithImpl$Query$GetSection$section$$IconSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$IconSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$IconSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$IconSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$IconSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$IconSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$IconSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -84931,8 +90674,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$IconSection$metadata$page get page => CopyWith$Query$GetSection$section$$IconSection$metadata$page.stub(_res); @@ -84948,7 +90690,8 @@ class Query$GetSection$section$$IconSection$metadata$page }); factory Query$GetSection$section$$IconSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$IconSection$metadata$page( @@ -84974,10 +90717,7 @@ class Query$GetSection$section$$IconSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -85006,29 +90746,27 @@ class Query$GetSection$section$$IconSection$metadata$page extension UtilityExtension$Query$GetSection$section$$IconSection$metadata$page on Query$GetSection$section$$IconSection$metadata$page { CopyWith$Query$GetSection$section$$IconSection$metadata$page< - Query$GetSection$section$$IconSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$IconSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$IconSection$metadata$page + > + get copyWith => CopyWith$Query$GetSection$section$$IconSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$IconSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$IconSection$metadata$page( Query$GetSection$section$$IconSection$metadata$page instance, TRes Function(Query$GetSection$section$$IconSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$IconSection$metadata$page; factory CopyWith$Query$GetSection$section$$IconSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$IconSection$metadata$page @@ -85042,38 +90780,35 @@ class _CopyWithImpl$Query$GetSection$section$$IconSection$metadata$page final Query$GetSection$section$$IconSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$IconSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$IconSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$IconSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$IconSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$IconSection$items @@ -85088,7 +90823,8 @@ class Query$GetSection$section$$IconSection$items }); factory Query$GetSection$section$$IconSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -85097,8 +90833,10 @@ class Query$GetSection$section$$IconSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -85183,11 +90921,10 @@ class Query$GetSection$section$$IconSection$items extension UtilityExtension$Query$GetSection$section$$IconSection$items on Query$GetSection$section$$IconSection$items { CopyWith$Query$GetSection$section$$IconSection$items< - Query$GetSection$section$$IconSection$items> - get copyWith => CopyWith$Query$GetSection$section$$IconSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$IconSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$IconSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$IconSection$items { @@ -85206,10 +90943,11 @@ abstract class CopyWith$Query$GetSection$section$$IconSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$IconSection$items @@ -85230,34 +90968,35 @@ class _CopyWithImpl$Query$GetSection$section$$IconSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$IconSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$IconSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$IconSection$items @@ -85271,8 +91010,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$IconSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -85292,7 +91030,8 @@ class Query$GetSection$section$$LabelSection }); factory Query$GetSection$section$$LabelSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -85303,9 +91042,11 @@ class Query$GetSection$section$$LabelSection metadata: l$metadata == null ? null : Query$GetSection$section$$LabelSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$LabelSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -85406,11 +91147,10 @@ class Query$GetSection$section$$LabelSection extension UtilityExtension$Query$GetSection$section$$LabelSection on Query$GetSection$section$$LabelSection { CopyWith$Query$GetSection$section$$LabelSection< - Query$GetSection$section$$LabelSection> - get copyWith => CopyWith$Query$GetSection$section$$LabelSection( - this, - (i) => i, - ); + Query$GetSection$section$$LabelSection + > + get copyWith => + CopyWith$Query$GetSection$section$$LabelSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$LabelSection { @@ -85454,37 +91194,43 @@ class _CopyWithImpl$Query$GetSection$section$$LabelSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$LabelSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$LabelSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$LabelSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$LabelSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$LabelSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$LabelSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$LabelSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$LabelSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$LabelSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$LabelSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$LabelSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -85501,8 +91247,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$LabelSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$LabelSection$metadata get metadata => CopyWith$Query$GetSection$section$$LabelSection$metadata.stub(_res); @@ -85528,7 +91273,8 @@ class Query$GetSection$section$$LabelSection$metadata }); factory Query$GetSection$section$$LabelSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -85547,7 +91293,8 @@ class Query$GetSection$section$$LabelSection$metadata page: l$page == null ? null : Query$GetSection$section$$LabelSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -85680,11 +91427,10 @@ class Query$GetSection$section$$LabelSection$metadata extension UtilityExtension$Query$GetSection$section$$LabelSection$metadata on Query$GetSection$section$$LabelSection$metadata { CopyWith$Query$GetSection$section$$LabelSection$metadata< - Query$GetSection$section$$LabelSection$metadata> - get copyWith => CopyWith$Query$GetSection$section$$LabelSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$LabelSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$LabelSection$metadata(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$LabelSection$metadata { @@ -85694,8 +91440,8 @@ abstract class CopyWith$Query$GetSection$section$$LabelSection$metadata { ) = _CopyWithImpl$Query$GetSection$section$$LabelSection$metadata; factory CopyWith$Query$GetSection$section$$LabelSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata; TRes call({ bool? continueWatching, @@ -85734,45 +91480,48 @@ class _CopyWithImpl$Query$GetSection$section$$LabelSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$LabelSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$LabelSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$LabelSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$LabelSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$LabelSection$metadata$page get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$LabelSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$LabelSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -85792,13 +91541,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$LabelSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$LabelSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$LabelSection$metadata$page.stub(_res); } class Query$GetSection$section$$LabelSection$metadata$page @@ -85811,7 +91558,8 @@ class Query$GetSection$section$$LabelSection$metadata$page }); factory Query$GetSection$section$$LabelSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$LabelSection$metadata$page( @@ -85837,10 +91585,7 @@ class Query$GetSection$section$$LabelSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -85869,29 +91614,27 @@ class Query$GetSection$section$$LabelSection$metadata$page extension UtilityExtension$Query$GetSection$section$$LabelSection$metadata$page on Query$GetSection$section$$LabelSection$metadata$page { CopyWith$Query$GetSection$section$$LabelSection$metadata$page< - Query$GetSection$section$$LabelSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$LabelSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$LabelSection$metadata$page + > + get copyWith => CopyWith$Query$GetSection$section$$LabelSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$LabelSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$LabelSection$metadata$page( Query$GetSection$section$$LabelSection$metadata$page instance, TRes Function(Query$GetSection$section$$LabelSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$LabelSection$metadata$page; factory CopyWith$Query$GetSection$section$$LabelSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$LabelSection$metadata$page @@ -85905,38 +91648,35 @@ class _CopyWithImpl$Query$GetSection$section$$LabelSection$metadata$page final Query$GetSection$section$$LabelSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$LabelSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$LabelSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$LabelSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$LabelSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$LabelSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$LabelSection$items @@ -85951,7 +91691,8 @@ class Query$GetSection$section$$LabelSection$items }); factory Query$GetSection$section$$LabelSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -85960,8 +91701,10 @@ class Query$GetSection$section$$LabelSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -86046,11 +91789,10 @@ class Query$GetSection$section$$LabelSection$items extension UtilityExtension$Query$GetSection$section$$LabelSection$items on Query$GetSection$section$$LabelSection$items { CopyWith$Query$GetSection$section$$LabelSection$items< - Query$GetSection$section$$LabelSection$items> - get copyWith => CopyWith$Query$GetSection$section$$LabelSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$LabelSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$LabelSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$LabelSection$items { @@ -86069,10 +91811,11 @@ abstract class CopyWith$Query$GetSection$section$$LabelSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$LabelSection$items @@ -86093,34 +91836,35 @@ class _CopyWithImpl$Query$GetSection$section$$LabelSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$LabelSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$LabelSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$LabelSection$items @@ -86134,8 +91878,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$LabelSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -86155,7 +91898,8 @@ class Query$GetSection$section$$AvatarSection }); factory Query$GetSection$section$$AvatarSection.fromJson( - Map json) { + Map json, + ) { final l$metadata = json['metadata']; final l$items = json['items']; final l$$__typename = json['__typename']; @@ -86166,9 +91910,11 @@ class Query$GetSection$section$$AvatarSection metadata: l$metadata == null ? null : Query$GetSection$section$$AvatarSection$metadata.fromJson( - (l$metadata as Map)), + (l$metadata as Map), + ), items: Query$GetSection$section$$AvatarSection$items.fromJson( - (l$items as Map)), + (l$items as Map), + ), $__typename: (l$$__typename as String), id: (l$id as String), title: (l$title as String?), @@ -86269,11 +92015,10 @@ class Query$GetSection$section$$AvatarSection extension UtilityExtension$Query$GetSection$section$$AvatarSection on Query$GetSection$section$$AvatarSection { CopyWith$Query$GetSection$section$$AvatarSection< - Query$GetSection$section$$AvatarSection> - get copyWith => CopyWith$Query$GetSection$section$$AvatarSection( - this, - (i) => i, - ); + Query$GetSection$section$$AvatarSection + > + get copyWith => + CopyWith$Query$GetSection$section$$AvatarSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$AvatarSection { @@ -86317,37 +92062,43 @@ class _CopyWithImpl$Query$GetSection$section$$AvatarSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$AvatarSection( - metadata: metadata == _undefined - ? _instance.metadata - : (metadata as Query$GetSection$section$$AvatarSection$metadata?), - items: items == _undefined || items == null - ? _instance.items - : (items as Query$GetSection$section$$AvatarSection$items), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$AvatarSection( + metadata: metadata == _undefined + ? _instance.metadata + : (metadata as Query$GetSection$section$$AvatarSection$metadata?), + items: items == _undefined || items == null + ? _instance.items + : (items as Query$GetSection$section$$AvatarSection$items), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); CopyWith$Query$GetSection$section$$AvatarSection$metadata get metadata { final local$metadata = _instance.metadata; return local$metadata == null ? CopyWith$Query$GetSection$section$$AvatarSection$metadata.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$AvatarSection$metadata( - local$metadata, (e) => call(metadata: e)); + local$metadata, + (e) => call(metadata: e), + ); } CopyWith$Query$GetSection$section$$AvatarSection$items get items { final local$items = _instance.items; return CopyWith$Query$GetSection$section$$AvatarSection$items( - local$items, (e) => call(items: e)); + local$items, + (e) => call(items: e), + ); } } @@ -86364,12 +92115,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$AvatarSection String? id, String? title, String? description, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$AvatarSection$metadata - get metadata => - CopyWith$Query$GetSection$section$$AvatarSection$metadata.stub(_res); + get metadata => + CopyWith$Query$GetSection$section$$AvatarSection$metadata.stub(_res); CopyWith$Query$GetSection$section$$AvatarSection$items get items => CopyWith$Query$GetSection$section$$AvatarSection$items.stub(_res); @@ -86392,7 +92142,8 @@ class Query$GetSection$section$$AvatarSection$metadata }); factory Query$GetSection$section$$AvatarSection$metadata.fromJson( - Map json) { + Map json, + ) { final l$continueWatching = json['continueWatching']; final l$myList = json['myList']; final l$secondaryTitles = json['secondaryTitles']; @@ -86411,7 +92162,8 @@ class Query$GetSection$section$$AvatarSection$metadata page: l$page == null ? null : Query$GetSection$section$$AvatarSection$metadata$page.fromJson( - (l$page as Map)), + (l$page as Map), + ), limit: (l$limit as int?), prependLiveElement: (l$prependLiveElement as bool), $__typename: (l$$__typename as String), @@ -86544,11 +92296,10 @@ class Query$GetSection$section$$AvatarSection$metadata extension UtilityExtension$Query$GetSection$section$$AvatarSection$metadata on Query$GetSection$section$$AvatarSection$metadata { CopyWith$Query$GetSection$section$$AvatarSection$metadata< - Query$GetSection$section$$AvatarSection$metadata> - get copyWith => CopyWith$Query$GetSection$section$$AvatarSection$metadata( - this, - (i) => i, - ); + Query$GetSection$section$$AvatarSection$metadata + > + get copyWith => + CopyWith$Query$GetSection$section$$AvatarSection$metadata(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$AvatarSection$metadata { @@ -86558,8 +92309,8 @@ abstract class CopyWith$Query$GetSection$section$$AvatarSection$metadata { ) = _CopyWithImpl$Query$GetSection$section$$AvatarSection$metadata; factory CopyWith$Query$GetSection$section$$AvatarSection$metadata.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata; TRes call({ bool? continueWatching, @@ -86598,46 +92349,49 @@ class _CopyWithImpl$Query$GetSection$section$$AvatarSection$metadata Object? limit = _undefined, Object? prependLiveElement = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$AvatarSection$metadata( - continueWatching: - continueWatching == _undefined || continueWatching == null - ? _instance.continueWatching - : (continueWatching as bool), - myList: myList == _undefined || myList == null - ? _instance.myList - : (myList as bool), - secondaryTitles: - secondaryTitles == _undefined || secondaryTitles == null - ? _instance.secondaryTitles - : (secondaryTitles as bool), - collectionId: collectionId == _undefined || collectionId == null - ? _instance.collectionId - : (collectionId as String), - useContext: useContext == _undefined || useContext == null - ? _instance.useContext - : (useContext as bool), - page: page == _undefined - ? _instance.page - : (page as Query$GetSection$section$$AvatarSection$metadata$page?), - limit: limit == _undefined ? _instance.limit : (limit as int?), - prependLiveElement: - prependLiveElement == _undefined || prependLiveElement == null - ? _instance.prependLiveElement - : (prependLiveElement as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$AvatarSection$metadata( + continueWatching: + continueWatching == _undefined || continueWatching == null + ? _instance.continueWatching + : (continueWatching as bool), + myList: myList == _undefined || myList == null + ? _instance.myList + : (myList as bool), + secondaryTitles: secondaryTitles == _undefined || secondaryTitles == null + ? _instance.secondaryTitles + : (secondaryTitles as bool), + collectionId: collectionId == _undefined || collectionId == null + ? _instance.collectionId + : (collectionId as String), + useContext: useContext == _undefined || useContext == null + ? _instance.useContext + : (useContext as bool), + page: page == _undefined + ? _instance.page + : (page as Query$GetSection$section$$AvatarSection$metadata$page?), + limit: limit == _undefined ? _instance.limit : (limit as int?), + prependLiveElement: + prependLiveElement == _undefined || prependLiveElement == null + ? _instance.prependLiveElement + : (prependLiveElement as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$AvatarSection$metadata$page - get page { + get page { final local$page = _instance.page; return local$page == null ? CopyWith$Query$GetSection$section$$AvatarSection$metadata$page.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetSection$section$$AvatarSection$metadata$page( - local$page, (e) => call(page: e)); + local$page, + (e) => call(page: e), + ); } } @@ -86657,13 +92411,11 @@ class _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata int? limit, bool? prependLiveElement, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$AvatarSection$metadata$page - get page => - CopyWith$Query$GetSection$section$$AvatarSection$metadata$page.stub( - _res); + get page => + CopyWith$Query$GetSection$section$$AvatarSection$metadata$page.stub(_res); } class Query$GetSection$section$$AvatarSection$metadata$page @@ -86676,7 +92428,8 @@ class Query$GetSection$section$$AvatarSection$metadata$page }); factory Query$GetSection$section$$AvatarSection$metadata$page.fromJson( - Map json) { + Map json, + ) { final l$code = json['code']; final l$$__typename = json['__typename']; return Query$GetSection$section$$AvatarSection$metadata$page( @@ -86702,10 +92455,7 @@ class Query$GetSection$section$$AvatarSection$metadata$page int get hashCode { final l$code = code; final l$$__typename = $__typename; - return Object.hashAll([ - l$code, - l$$__typename, - ]); + return Object.hashAll([l$code, l$$__typename]); } @override @@ -86734,29 +92484,28 @@ class Query$GetSection$section$$AvatarSection$metadata$page extension UtilityExtension$Query$GetSection$section$$AvatarSection$metadata$page on Query$GetSection$section$$AvatarSection$metadata$page { CopyWith$Query$GetSection$section$$AvatarSection$metadata$page< - Query$GetSection$section$$AvatarSection$metadata$page> - get copyWith => - CopyWith$Query$GetSection$section$$AvatarSection$metadata$page( - this, - (i) => i, - ); + Query$GetSection$section$$AvatarSection$metadata$page + > + get copyWith => + CopyWith$Query$GetSection$section$$AvatarSection$metadata$page( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$AvatarSection$metadata$page< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$AvatarSection$metadata$page( Query$GetSection$section$$AvatarSection$metadata$page instance, TRes Function(Query$GetSection$section$$AvatarSection$metadata$page) then, ) = _CopyWithImpl$Query$GetSection$section$$AvatarSection$metadata$page; factory CopyWith$Query$GetSection$section$$AvatarSection$metadata$page.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata$page; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata$page; - TRes call({ - String? code, - String? $__typename, - }); + TRes call({String? code, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$AvatarSection$metadata$page @@ -86770,38 +92519,35 @@ class _CopyWithImpl$Query$GetSection$section$$AvatarSection$metadata$page final Query$GetSection$section$$AvatarSection$metadata$page _instance; final TRes Function(Query$GetSection$section$$AvatarSection$metadata$page) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? code = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$AvatarSection$metadata$page( - code: code == _undefined || code == null - ? _instance.code - : (code as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? code = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSection$section$$AvatarSection$metadata$page( + code: code == _undefined || code == null + ? _instance.code + : (code as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata$page< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$AvatarSection$metadata$page { _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$metadata$page( - this._res); + this._res, + ); TRes _res; - call({ - String? code, - String? $__typename, - }) => - _res; + call({String? code, String? $__typename}) => _res; } class Query$GetSection$section$$AvatarSection$items @@ -86816,7 +92562,8 @@ class Query$GetSection$section$$AvatarSection$items }); factory Query$GetSection$section$$AvatarSection$items.fromJson( - Map json) { + Map json, + ) { final l$offset = json['offset']; final l$first = json['first']; final l$items = json['items']; @@ -86825,8 +92572,10 @@ class Query$GetSection$section$$AvatarSection$items offset: (l$offset as int), first: (l$first as int), items: (l$items as List) - .map((e) => - Fragment$ItemSectionItem.fromJson((e as Map))) + .map( + (e) => + Fragment$ItemSectionItem.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -86911,11 +92660,10 @@ class Query$GetSection$section$$AvatarSection$items extension UtilityExtension$Query$GetSection$section$$AvatarSection$items on Query$GetSection$section$$AvatarSection$items { CopyWith$Query$GetSection$section$$AvatarSection$items< - Query$GetSection$section$$AvatarSection$items> - get copyWith => CopyWith$Query$GetSection$section$$AvatarSection$items( - this, - (i) => i, - ); + Query$GetSection$section$$AvatarSection$items + > + get copyWith => + CopyWith$Query$GetSection$section$$AvatarSection$items(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$AvatarSection$items { @@ -86925,8 +92673,8 @@ abstract class CopyWith$Query$GetSection$section$$AvatarSection$items { ) = _CopyWithImpl$Query$GetSection$section$$AvatarSection$items; factory CopyWith$Query$GetSection$section$$AvatarSection$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$items; TRes call({ int? offset, @@ -86935,10 +92683,11 @@ abstract class CopyWith$Query$GetSection$section$$AvatarSection$items { String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$AvatarSection$items @@ -86959,34 +92708,35 @@ class _CopyWithImpl$Query$GetSection$section$$AvatarSection$items Object? first = _undefined, Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$AvatarSection$items( - offset: offset == _undefined || offset == null - ? _instance.offset - : (offset as int), - first: first == _undefined || first == null - ? _instance.first - : (first as int), - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$AvatarSection$items( + offset: offset == _undefined || offset == null + ? _instance.offset + : (offset as int), + first: first == _undefined || first == null + ? _instance.first + : (first as int), + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$ItemSectionItem< - Fragment$ItemSectionItem>>) - _fn) => - call( - items: - _fn(_instance.items.map((e) => CopyWith$Fragment$ItemSectionItem( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$ItemSectionItem(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$items @@ -87000,8 +92750,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$AvatarSection$items int? first, List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -87020,7 +92769,8 @@ class Query$GetSection$section$$WebSection }); factory Query$GetSection$section$$WebSection.fromJson( - Map json) { + Map json, + ) { final l$authentication = json['authentication']; final l$widthRatio = json['widthRatio']; final l$height = json['height']; @@ -87156,11 +92906,9 @@ class Query$GetSection$section$$WebSection extension UtilityExtension$Query$GetSection$section$$WebSection on Query$GetSection$section$$WebSection { CopyWith$Query$GetSection$section$$WebSection< - Query$GetSection$section$$WebSection> - get copyWith => CopyWith$Query$GetSection$section$$WebSection( - this, - (i) => i, - ); + Query$GetSection$section$$WebSection + > + get copyWith => CopyWith$Query$GetSection$section$$WebSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$WebSection { @@ -87206,25 +92954,26 @@ class _CopyWithImpl$Query$GetSection$section$$WebSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$WebSection( - authentication: authentication == _undefined || authentication == null - ? _instance.authentication - : (authentication as bool), - widthRatio: widthRatio == _undefined || widthRatio == null - ? _instance.widthRatio - : (widthRatio as double), - height: height == _undefined ? _instance.height : (height as int?), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$WebSection( + authentication: authentication == _undefined || authentication == null + ? _instance.authentication + : (authentication as bool), + widthRatio: widthRatio == _undefined || widthRatio == null + ? _instance.widthRatio + : (widthRatio as double), + height: height == _undefined ? _instance.height : (height as int?), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$WebSection @@ -87242,8 +92991,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$WebSection String? id, String? title, String? description, - }) => - _res; + }) => _res; } class Query$GetSection$section$$MessageSection @@ -87257,7 +93005,8 @@ class Query$GetSection$section$$MessageSection }); factory Query$GetSection$section$$MessageSection.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$messages = json['messages']; final l$$__typename = json['__typename']; @@ -87266,9 +93015,11 @@ class Query$GetSection$section$$MessageSection return Query$GetSection$section$$MessageSection( id: (l$id as String), messages: (l$messages as List?) - ?.map((e) => - Query$GetSection$section$$MessageSection$messages.fromJson( - (e as Map))) + ?.map( + (e) => Query$GetSection$section$$MessageSection$messages.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), title: (l$title as String?), @@ -87369,11 +93120,10 @@ class Query$GetSection$section$$MessageSection extension UtilityExtension$Query$GetSection$section$$MessageSection on Query$GetSection$section$$MessageSection { CopyWith$Query$GetSection$section$$MessageSection< - Query$GetSection$section$$MessageSection> - get copyWith => CopyWith$Query$GetSection$section$$MessageSection( - this, - (i) => i, - ); + Query$GetSection$section$$MessageSection + > + get copyWith => + CopyWith$Query$GetSection$section$$MessageSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$MessageSection { @@ -87393,11 +93143,15 @@ abstract class CopyWith$Query$GetSection$section$$MessageSection { String? description, }); TRes messages( - Iterable? Function( - Iterable< - CopyWith$Query$GetSection$section$$MessageSection$messages< - Query$GetSection$section$$MessageSection$messages>>?) - _fn); + Iterable? Function( + Iterable< + CopyWith$Query$GetSection$section$$MessageSection$messages< + Query$GetSection$section$$MessageSection$messages + > + >?, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSection$section$$MessageSection @@ -87419,34 +93173,42 @@ class _CopyWithImpl$Query$GetSection$section$$MessageSection Object? $__typename = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$MessageSection( - id: id == _undefined || id == null ? _instance.id : (id as String), - messages: messages == _undefined - ? _instance.messages - : (messages + }) => _then( + Query$GetSection$section$$MessageSection( + id: id == _undefined || id == null ? _instance.id : (id as String), + messages: messages == _undefined + ? _instance.messages + : (messages as List?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); TRes messages( - Iterable? Function( - Iterable< - CopyWith$Query$GetSection$section$$MessageSection$messages< - Query$GetSection$section$$MessageSection$messages>>?) - _fn) => - call( - messages: _fn(_instance.messages?.map( - (e) => CopyWith$Query$GetSection$section$$MessageSection$messages( - e, - (i) => i, - )))?.toList()); + Iterable? Function( + Iterable< + CopyWith$Query$GetSection$section$$MessageSection$messages< + Query$GetSection$section$$MessageSection$messages + > + >?, + ) + _fn, + ) => call( + messages: _fn( + _instance.messages?.map( + (e) => CopyWith$Query$GetSection$section$$MessageSection$messages( + e, + (i) => i, + ), + ), + )?.toList(), + ); } class _CopyWithStubImpl$Query$GetSection$section$$MessageSection @@ -87461,8 +93223,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$MessageSection String? $__typename, String? title, String? description, - }) => - _res; + }) => _res; messages(_fn) => _res; } @@ -87476,14 +93237,16 @@ class Query$GetSection$section$$MessageSection$messages }); factory Query$GetSection$section$$MessageSection$messages.fromJson( - Map json) { + Map json, + ) { final l$content = json['content']; final l$style = json['style']; final l$$__typename = json['__typename']; return Query$GetSection$section$$MessageSection$messages( content: (l$content as String), style: Query$GetSection$section$$MessageSection$messages$style.fromJson( - (l$style as Map)), + (l$style as Map), + ), $__typename: (l$$__typename as String), ); } @@ -87510,11 +93273,7 @@ class Query$GetSection$section$$MessageSection$messages final l$content = content; final l$style = style; final l$$__typename = $__typename; - return Object.hashAll([ - l$content, - l$style, - l$$__typename, - ]); + return Object.hashAll([l$content, l$style, l$$__typename]); } @override @@ -87548,24 +93307,25 @@ class Query$GetSection$section$$MessageSection$messages extension UtilityExtension$Query$GetSection$section$$MessageSection$messages on Query$GetSection$section$$MessageSection$messages { CopyWith$Query$GetSection$section$$MessageSection$messages< - Query$GetSection$section$$MessageSection$messages> - get copyWith => - CopyWith$Query$GetSection$section$$MessageSection$messages( - this, - (i) => i, - ); + Query$GetSection$section$$MessageSection$messages + > + get copyWith => CopyWith$Query$GetSection$section$$MessageSection$messages( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$MessageSection$messages< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$MessageSection$messages( Query$GetSection$section$$MessageSection$messages instance, TRes Function(Query$GetSection$section$$MessageSection$messages) then, ) = _CopyWithImpl$Query$GetSection$section$$MessageSection$messages; factory CopyWith$Query$GetSection$section$$MessageSection$messages.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages; TRes call({ String? content, @@ -87573,7 +93333,7 @@ abstract class CopyWith$Query$GetSection$section$$MessageSection$messages< String? $__typename, }); CopyWith$Query$GetSection$section$$MessageSection$messages$style - get style; + get style; } class _CopyWithImpl$Query$GetSection$section$$MessageSection$messages @@ -87594,25 +93354,27 @@ class _CopyWithImpl$Query$GetSection$section$$MessageSection$messages Object? content = _undefined, Object? style = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$MessageSection$messages( - content: content == _undefined || content == null - ? _instance.content - : (content as String), - style: style == _undefined || style == null - ? _instance.style - : (style - as Query$GetSection$section$$MessageSection$messages$style), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$MessageSection$messages( + content: content == _undefined || content == null + ? _instance.content + : (content as String), + style: style == _undefined || style == null + ? _instance.style + : (style as Query$GetSection$section$$MessageSection$messages$style), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSection$section$$MessageSection$messages$style - get style { + get style { final local$style = _instance.style; return CopyWith$Query$GetSection$section$$MessageSection$messages$style( - local$style, (e) => call(style: e)); + local$style, + (e) => call(style: e), + ); } } @@ -87620,7 +93382,8 @@ class _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages implements CopyWith$Query$GetSection$section$$MessageSection$messages { _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages( - this._res); + this._res, + ); TRes _res; @@ -87628,13 +93391,13 @@ class _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages String? content, Query$GetSection$section$$MessageSection$messages$style? style, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSection$section$$MessageSection$messages$style - get style => - CopyWith$Query$GetSection$section$$MessageSection$messages$style.stub( - _res); + get style => + CopyWith$Query$GetSection$section$$MessageSection$messages$style.stub( + _res, + ); } class Query$GetSection$section$$MessageSection$messages$style @@ -87647,7 +93410,8 @@ class Query$GetSection$section$$MessageSection$messages$style }); factory Query$GetSection$section$$MessageSection$messages$style.fromJson( - Map json) { + Map json, + ) { final l$text = json['text']; final l$background = json['background']; final l$border = json['border']; @@ -87687,12 +93451,7 @@ class Query$GetSection$section$$MessageSection$messages$style final l$background = background; final l$border = border; final l$$__typename = $__typename; - return Object.hashAll([ - l$text, - l$background, - l$border, - l$$__typename, - ]); + return Object.hashAll([l$text, l$background, l$border, l$$__typename]); } @override @@ -87731,24 +93490,26 @@ class Query$GetSection$section$$MessageSection$messages$style extension UtilityExtension$Query$GetSection$section$$MessageSection$messages$style on Query$GetSection$section$$MessageSection$messages$style { CopyWith$Query$GetSection$section$$MessageSection$messages$style< - Query$GetSection$section$$MessageSection$messages$style> - get copyWith => - CopyWith$Query$GetSection$section$$MessageSection$messages$style( - this, - (i) => i, - ); + Query$GetSection$section$$MessageSection$messages$style + > + get copyWith => + CopyWith$Query$GetSection$section$$MessageSection$messages$style( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$MessageSection$messages$style< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$MessageSection$messages$style( Query$GetSection$section$$MessageSection$messages$style instance, TRes Function(Query$GetSection$section$$MessageSection$messages$style) then, ) = _CopyWithImpl$Query$GetSection$section$$MessageSection$messages$style; factory CopyWith$Query$GetSection$section$$MessageSection$messages$style.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages$style; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages$style; TRes call({ String? text, @@ -87759,7 +93520,8 @@ abstract class CopyWith$Query$GetSection$section$$MessageSection$messages$style< } class _CopyWithImpl$Query$GetSection$section$$MessageSection$messages$style< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$MessageSection$messages$style { _CopyWithImpl$Query$GetSection$section$$MessageSection$messages$style( @@ -87770,7 +93532,7 @@ class _CopyWithImpl$Query$GetSection$section$$MessageSection$messages$style< final Query$GetSection$section$$MessageSection$messages$style _instance; final TRes Function(Query$GetSection$section$$MessageSection$messages$style) - _then; + _then; static const _undefined = {}; @@ -87779,29 +93541,32 @@ class _CopyWithImpl$Query$GetSection$section$$MessageSection$messages$style< Object? background = _undefined, Object? border = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSection$section$$MessageSection$messages$style( - text: text == _undefined || text == null - ? _instance.text - : (text as String), - background: background == _undefined || background == null - ? _instance.background - : (background as String), - border: border == _undefined || border == null - ? _instance.border - : (border as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$MessageSection$messages$style( + text: text == _undefined || text == null + ? _instance.text + : (text as String), + background: background == _undefined || background == null + ? _instance.background + : (background as String), + border: border == _undefined || border == null + ? _instance.border + : (border as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages$style< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$MessageSection$messages$style { _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages$style( - this._res); + this._res, + ); TRes _res; @@ -87810,8 +93575,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$MessageSection$messages$style< String? background, String? border, String? $__typename, - }) => - _res; + }) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images @@ -87825,7 +93589,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$ima }); factory Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -87858,11 +93623,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$ima final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -87897,51 +93658,53 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$ima extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images on Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images) - then, + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images, + ) + _then; static const _undefined = {}; @@ -87949,35 +93712,33 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$images( - this._res); + this._res, + ); TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress @@ -87991,7 +93752,8 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$les }); factory Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -88024,11 +93786,7 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$les final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -88061,53 +93819,56 @@ class Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$les } extension UtilityExtension$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - on Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress { + on + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress { CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress + > + get copyWith => + CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - instance, + instance, TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress) - then, + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; factory CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( this._instance, this._then, ); final Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress) - _then; + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress, + ) + _then; static const _undefined = {}; @@ -88115,37 +93876,35 @@ class _CopyWithImpl$Query$GetSection$section$$CardListSection$items$items$item$$ Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardListSection$items$items$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images @@ -88159,7 +93918,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images }); factory Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images.fromJson( - Map json) { + Map json, + ) { final l$style = json['style']; final l$url = json['url']; final l$$__typename = json['__typename']; @@ -88192,11 +93952,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images final l$style = style; final l$url = url; final l$$__typename = $__typename; - return Object.hashAll([ - l$style, - l$url, - l$$__typename, - ]); + return Object.hashAll([l$style, l$url, l$$__typename]); } @override @@ -88231,51 +93987,53 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images on Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images) - then, + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images; - TRes call({ - String? style, - String? url, - String? $__typename, - }); + TRes call({String? style, String? url, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images) - _then; + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images, + ) + _then; static const _undefined = {}; @@ -88283,35 +94041,33 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Stud Object? style = _undefined, Object? url = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( - style: style == _undefined || style == null - ? _instance.style - : (style as String), - url: url == _undefined || url == null ? _instance.url : (url as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( + style: style == _undefined || style == null + ? _instance.style + : (style as String), + url: url == _undefined || url == null ? _instance.url : (url as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$images( - this._res); + this._res, + ); TRes _res; - call({ - String? style, - String? url, - String? $__typename, - }) => - _res; + call({String? style, String? url, String? $__typename}) => _res; } class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress @@ -88325,7 +94081,8 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessons }); factory Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.fromJson( - Map json) { + Map json, + ) { final l$completed = json['completed']; final l$total = json['total']; final l$$__typename = json['__typename']; @@ -88358,11 +94115,7 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessons final l$completed = completed; final l$total = total; final l$$__typename = $__typename; - return Object.hashAll([ - l$completed, - l$total, - l$$__typename, - ]); + return Object.hashAll([l$completed, l$total, l$$__typename]); } @override @@ -88395,53 +94148,56 @@ class Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessons } extension UtilityExtension$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - on Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress { + on + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress { CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress> - get copyWith => - CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - this, - (i) => i, - ); + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress + > + get copyWith => + CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes +> { factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - instance, + instance, TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress) - then, + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress, + ) + then, ) = _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; factory CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; + TRes res, + ) = _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress; - TRes call({ - int? completed, - int? total, - String? $__typename, - }); + TRes call({int? completed, int? total, String? $__typename}); } class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( this._instance, this._then, ); final Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress - _instance; + _instance; final TRes Function( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress) - _then; + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress, + ) + _then; static const _undefined = {}; @@ -88449,37 +94205,35 @@ class _CopyWithImpl$Query$GetSection$section$$CardSection$items$items$item$$Stud Object? completed = _undefined, Object? total = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - total: total == _undefined || total == null - ? _instance.total - : (total as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + total: total == _undefined || total == null + ? _instance.total + : (total as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> + TRes +> implements CopyWith$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetSection$section$$CardSection$items$items$item$$StudyTopic$lessonsProgress( - this._res); + this._res, + ); TRes _res; - call({ - int? completed, - int? total, - String? $__typename, - }) => - _res; + call({int? completed, int? total, String? $__typename}) => _res; } class Query$GetSection$section$$PageDetailsSection @@ -88492,7 +94246,8 @@ class Query$GetSection$section$$PageDetailsSection }); factory Query$GetSection$section$$PageDetailsSection.fromJson( - Map json) { + Map json, + ) { final l$title = json['title']; final l$description = json['description']; final l$$__typename = json['__typename']; @@ -88532,12 +94287,7 @@ class Query$GetSection$section$$PageDetailsSection final l$description = description; final l$$__typename = $__typename; final l$id = id; - return Object.hashAll([ - l$title, - l$description, - l$$__typename, - l$id, - ]); + return Object.hashAll([l$title, l$description, l$$__typename, l$id]); } @override @@ -88576,11 +94326,10 @@ class Query$GetSection$section$$PageDetailsSection extension UtilityExtension$Query$GetSection$section$$PageDetailsSection on Query$GetSection$section$$PageDetailsSection { CopyWith$Query$GetSection$section$$PageDetailsSection< - Query$GetSection$section$$PageDetailsSection> - get copyWith => CopyWith$Query$GetSection$section$$PageDetailsSection( - this, - (i) => i, - ); + Query$GetSection$section$$PageDetailsSection + > + get copyWith => + CopyWith$Query$GetSection$section$$PageDetailsSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$PageDetailsSection { @@ -88618,17 +94367,18 @@ class _CopyWithImpl$Query$GetSection$section$$PageDetailsSection Object? description = _undefined, Object? $__typename = _undefined, Object? id = _undefined, - }) => - _then(Query$GetSection$section$$PageDetailsSection( - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - )); + }) => _then( + Query$GetSection$section$$PageDetailsSection( + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$PageDetailsSection @@ -88637,12 +94387,7 @@ class _CopyWithStubImpl$Query$GetSection$section$$PageDetailsSection TRes _res; - call({ - String? title, - String? description, - String? $__typename, - String? id, - }) => + call({String? title, String? description, String? $__typename, String? id}) => _res; } @@ -88657,7 +94402,8 @@ class Query$GetSection$section$$AchievementSection }); factory Query$GetSection$section$$AchievementSection.fromJson( - Map json) { + Map json, + ) { final l$source = json['source']; final l$$__typename = json['__typename']; final l$id = json['id']; @@ -88754,11 +94500,10 @@ class Query$GetSection$section$$AchievementSection extension UtilityExtension$Query$GetSection$section$$AchievementSection on Query$GetSection$section$$AchievementSection { CopyWith$Query$GetSection$section$$AchievementSection< - Query$GetSection$section$$AchievementSection> - get copyWith => CopyWith$Query$GetSection$section$$AchievementSection( - this, - (i) => i, - ); + Query$GetSection$section$$AchievementSection + > + get copyWith => + CopyWith$Query$GetSection$section$$AchievementSection(this, (i) => i); } abstract class CopyWith$Query$GetSection$section$$AchievementSection { @@ -88798,20 +94543,21 @@ class _CopyWithImpl$Query$GetSection$section$$AchievementSection Object? id = _undefined, Object? title = _undefined, Object? description = _undefined, - }) => - _then(Query$GetSection$section$$AchievementSection( - source: source == _undefined || source == null - ? _instance.source - : (source as Enum$AchievementsSource), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined ? _instance.title : (title as String?), - description: description == _undefined - ? _instance.description - : (description as String?), - )); + }) => _then( + Query$GetSection$section$$AchievementSection( + source: source == _undefined || source == null + ? _instance.source + : (source as Enum$AchievementsSource), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined ? _instance.title : (title as String?), + description: description == _undefined + ? _instance.description + : (description as String?), + ), + ); } class _CopyWithStubImpl$Query$GetSection$section$$AchievementSection @@ -88826,6 +94572,5 @@ class _CopyWithStubImpl$Query$GetSection$section$$AchievementSection String? id, String? title, String? description, - }) => - _res; + }) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/send_support_email.graphql.dart b/bccm_core/lib/src/features/graphql/queries/send_support_email.graphql.dart index 3ec7abf..c3a3029 100644 --- a/bccm_core/lib/src/features/graphql/queries/send_support_email.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/send_support_email.graphql.dart @@ -1,5 +1,7 @@ import '../schema/mutations.graphql.dart'; + import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -11,18 +13,18 @@ class Variables$Mutation$sendSupportEmail { required String content, required String html, Input$EmailOptions? options, - }) => - Variables$Mutation$sendSupportEmail._({ - r'title': title, - r'content': content, - r'html': html, - if (options != null) r'options': options, - }); + }) => Variables$Mutation$sendSupportEmail._({ + r'title': title, + r'content': content, + r'html': html, + if (options != null) r'options': options, + }); Variables$Mutation$sendSupportEmail._(this._$data); factory Variables$Mutation$sendSupportEmail.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$title = data['title']; result$data['title'] = (l$title as String); @@ -65,11 +67,9 @@ class Variables$Mutation$sendSupportEmail { } CopyWith$Variables$Mutation$sendSupportEmail< - Variables$Mutation$sendSupportEmail> - get copyWith => CopyWith$Variables$Mutation$sendSupportEmail( - this, - (i) => i, - ); + Variables$Mutation$sendSupportEmail + > + get copyWith => CopyWith$Variables$Mutation$sendSupportEmail(this, (i) => i); @override bool operator ==(Object other) { @@ -140,10 +140,7 @@ abstract class CopyWith$Variables$Mutation$sendSupportEmail { class _CopyWithImpl$Variables$Mutation$sendSupportEmail implements CopyWith$Variables$Mutation$sendSupportEmail { - _CopyWithImpl$Variables$Mutation$sendSupportEmail( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Mutation$sendSupportEmail(this._instance, this._then); final Variables$Mutation$sendSupportEmail _instance; @@ -156,15 +153,16 @@ class _CopyWithImpl$Variables$Mutation$sendSupportEmail Object? content = _undefined, Object? html = _undefined, Object? options = _undefined, - }) => - _then(Variables$Mutation$sendSupportEmail._({ - ..._instance._$data, - if (title != _undefined && title != null) 'title': (title as String), - if (content != _undefined && content != null) - 'content': (content as String), - if (html != _undefined && html != null) 'html': (html as String), - if (options != _undefined) 'options': (options as Input$EmailOptions?), - })); + }) => _then( + Variables$Mutation$sendSupportEmail._({ + ..._instance._$data, + if (title != _undefined && title != null) 'title': (title as String), + if (content != _undefined && content != null) + 'content': (content as String), + if (html != _undefined && html != null) 'html': (html as String), + if (options != _undefined) 'options': (options as Input$EmailOptions?), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$sendSupportEmail @@ -178,8 +176,7 @@ class _CopyWithStubImpl$Variables$Mutation$sendSupportEmail String? content, String? html, Input$EmailOptions? options, - }) => - _res; + }) => _res; } class Mutation$sendSupportEmail { @@ -214,10 +211,7 @@ class Mutation$sendSupportEmail { int get hashCode { final l$sendSupportEmail = sendSupportEmail; final l$$__typename = $__typename; - return Object.hashAll([ - l$sendSupportEmail, - l$$__typename, - ]); + return Object.hashAll([l$sendSupportEmail, l$$__typename]); } @override @@ -246,10 +240,7 @@ class Mutation$sendSupportEmail { extension UtilityExtension$Mutation$sendSupportEmail on Mutation$sendSupportEmail { CopyWith$Mutation$sendSupportEmail get copyWith => - CopyWith$Mutation$sendSupportEmail( - this, - (i) => i, - ); + CopyWith$Mutation$sendSupportEmail(this, (i) => i); } abstract class CopyWith$Mutation$sendSupportEmail { @@ -261,18 +252,12 @@ abstract class CopyWith$Mutation$sendSupportEmail { factory CopyWith$Mutation$sendSupportEmail.stub(TRes res) = _CopyWithStubImpl$Mutation$sendSupportEmail; - TRes call({ - bool? sendSupportEmail, - String? $__typename, - }); + TRes call({bool? sendSupportEmail, String? $__typename}); } class _CopyWithImpl$Mutation$sendSupportEmail implements CopyWith$Mutation$sendSupportEmail { - _CopyWithImpl$Mutation$sendSupportEmail( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$sendSupportEmail(this._instance, this._then); final Mutation$sendSupportEmail _instance; @@ -283,16 +268,17 @@ class _CopyWithImpl$Mutation$sendSupportEmail TRes call({ Object? sendSupportEmail = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$sendSupportEmail( - sendSupportEmail: - sendSupportEmail == _undefined || sendSupportEmail == null - ? _instance.sendSupportEmail - : (sendSupportEmail as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$sendSupportEmail( + sendSupportEmail: + sendSupportEmail == _undefined || sendSupportEmail == null + ? _instance.sendSupportEmail + : (sendSupportEmail as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Mutation$sendSupportEmail @@ -301,94 +287,85 @@ class _CopyWithStubImpl$Mutation$sendSupportEmail TRes _res; - call({ - bool? sendSupportEmail, - String? $__typename, - }) => - _res; + call({bool? sendSupportEmail, String? $__typename}) => _res; } -const documentNodeMutationsendSupportEmail = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'sendSupportEmail'), - variableDefinitions: [ - 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: 'content')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, +const documentNodeMutationsendSupportEmail = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'sendSupportEmail'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'title')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'html')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'content')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'options')), - type: NamedTypeNode( - name: NameNode(value: 'EmailOptions'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'html')), + type: NamedTypeNode(name: NameNode(value: 'String'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'sendSupportEmail'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'title'), - value: VariableNode(name: NameNode(value: 'title')), + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'options')), + type: NamedTypeNode( + name: NameNode(value: 'EmailOptions'), + isNonNull: false, ), - ArgumentNode( - name: NameNode(value: 'content'), - value: VariableNode(name: NameNode(value: 'content')), - ), - ArgumentNode( - name: NameNode(value: 'html'), - value: VariableNode(name: NameNode(value: 'html')), + defaultValue: DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'sendSupportEmail'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'title'), + value: VariableNode(name: NameNode(value: 'title')), + ), + ArgumentNode( + name: NameNode(value: 'content'), + value: VariableNode(name: NameNode(value: 'content')), + ), + ArgumentNode( + name: NameNode(value: 'html'), + value: VariableNode(name: NameNode(value: 'html')), + ), + ArgumentNode( + name: NameNode(value: 'options'), + value: VariableNode(name: NameNode(value: 'options')), + ), + ], + directives: [], + selectionSet: null, ), - ArgumentNode( - name: NameNode(value: 'options'), - value: VariableNode(name: NameNode(value: 'options')), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), ], - directives: [], - selectionSet: null, ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), -]); + ), + ], +); Mutation$sendSupportEmail _parserFn$Mutation$sendSupportEmail( - Map data) => - Mutation$sendSupportEmail.fromJson(data); + Map data, +) => Mutation$sendSupportEmail.fromJson(data); typedef OnMutationCompleted$Mutation$sendSupportEmail = FutureOr Function( Map?, Mutation$sendSupportEmail?, @@ -408,38 +385,38 @@ class Options$Mutation$sendSupportEmail OnMutationCompleted$Mutation$sendSupportEmail? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$sendSupportEmail(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsendSupportEmail, - parserFn: _parserFn$Mutation$sendSupportEmail, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$sendSupportEmail(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsendSupportEmail, + parserFn: _parserFn$Mutation$sendSupportEmail, + ); final OnMutationCompleted$Mutation$sendSupportEmail? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$sendSupportEmail @@ -458,63 +435,61 @@ class WatchOptions$Mutation$sendSupportEmail bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationsendSupportEmail, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$sendSupportEmail, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationsendSupportEmail, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$sendSupportEmail, + ); } extension ClientExtension$Mutation$sendSupportEmail on graphql.GraphQLClient { Future> - mutate$sendSupportEmail( - Options$Mutation$sendSupportEmail options) async => - await this.mutate(options); + mutate$sendSupportEmail(Options$Mutation$sendSupportEmail options) async => + await this.mutate(options); graphql.ObservableQuery - watchMutation$sendSupportEmail( - WatchOptions$Mutation$sendSupportEmail options) => - this.watchMutation(options); + watchMutation$sendSupportEmail( + WatchOptions$Mutation$sendSupportEmail options, + ) => this.watchMutation(options); } class Mutation$sendSupportEmail$HookResult { - Mutation$sendSupportEmail$HookResult( - this.runMutation, - this.result, - ); + Mutation$sendSupportEmail$HookResult(this.runMutation, this.result); final RunMutation$Mutation$sendSupportEmail runMutation; final graphql.QueryResult result; } -Mutation$sendSupportEmail$HookResult useMutation$sendSupportEmail( - [WidgetOptions$Mutation$sendSupportEmail? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$sendSupportEmail()); +Mutation$sendSupportEmail$HookResult useMutation$sendSupportEmail([ + WidgetOptions$Mutation$sendSupportEmail? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$sendSupportEmail(), + ); return Mutation$sendSupportEmail$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$sendSupportEmail( - WatchOptions$Mutation$sendSupportEmail options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$sendSupportEmail( + WatchOptions$Mutation$sendSupportEmail options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$sendSupportEmail extends graphql.MutationOptions { @@ -529,45 +504,45 @@ class WidgetOptions$Mutation$sendSupportEmail OnMutationCompleted$Mutation$sendSupportEmail? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$sendSupportEmail(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsendSupportEmail, - parserFn: _parserFn$Mutation$sendSupportEmail, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$sendSupportEmail(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsendSupportEmail, + parserFn: _parserFn$Mutation$sendSupportEmail, + ); final OnMutationCompleted$Mutation$sendSupportEmail? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } -typedef RunMutation$Mutation$sendSupportEmail - = graphql.MultiSourceResult Function( - Variables$Mutation$sendSupportEmail, { - Object? optimisticResult, - Mutation$sendSupportEmail? typedOptimisticResult, -}); +typedef RunMutation$Mutation$sendSupportEmail = + graphql.MultiSourceResult Function( + Variables$Mutation$sendSupportEmail, { + Object? optimisticResult, + Mutation$sendSupportEmail? typedOptimisticResult, + }); typedef Builder$Mutation$sendSupportEmail = widgets.Widget Function( RunMutation$Mutation$sendSupportEmail, graphql.QueryResult?, @@ -580,24 +555,15 @@ class Mutation$sendSupportEmail$Widget WidgetOptions$Mutation$sendSupportEmail? options, required Builder$Mutation$sendSupportEmail builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$sendSupportEmail(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$sendSupportEmail(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } diff --git a/bccm_core/lib/src/features/graphql/queries/shorts.graphql.dart b/bccm_core/lib/src/features/graphql/queries/shorts.graphql.dart index 732dbf4..6f772cc 100644 --- a/bccm_core/lib/src/features/graphql/queries/shorts.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/shorts.graphql.dart @@ -1,5 +1,7 @@ import 'dart:async'; + import 'episode.graphql.dart'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -24,7 +26,8 @@ class Fragment$PlayableMediaItemShort { id: (l$id as String), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), title: (l$title as String), image: (l$image as String?), @@ -121,10 +124,7 @@ class Fragment$PlayableMediaItemShort { extension UtilityExtension$Fragment$PlayableMediaItemShort on Fragment$PlayableMediaItemShort { CopyWith$Fragment$PlayableMediaItemShort - get copyWith => CopyWith$Fragment$PlayableMediaItemShort( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$PlayableMediaItemShort(this, (i) => i); } abstract class CopyWith$Fragment$PlayableMediaItemShort { @@ -144,17 +144,16 @@ abstract class CopyWith$Fragment$PlayableMediaItemShort { String? $__typename, }); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$PlayableMediaItemShort implements CopyWith$Fragment$PlayableMediaItemShort { - _CopyWithImpl$Fragment$PlayableMediaItemShort( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$PlayableMediaItemShort(this._instance, this._then); final Fragment$PlayableMediaItemShort _instance; @@ -168,31 +167,32 @@ class _CopyWithImpl$Fragment$PlayableMediaItemShort Object? title = _undefined, Object? image = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$PlayableMediaItemShort( - id: id == _undefined || id == null ? _instance.id : (id as String), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - image: image == _undefined ? _instance.image : (image as String?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$PlayableMediaItemShort( + id: id == _undefined || id == null ? _instance.id : (id as String), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + image: image == _undefined ? _instance.image : (image as String?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$PlayableMediaItemShort @@ -207,8 +207,7 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItemShort String? title, String? image, String? $__typename, - }) => - _res; + }) => _res; streams(_fn) => _res; } @@ -216,70 +215,74 @@ class _CopyWithStubImpl$Fragment$PlayableMediaItemShort const fragmentDefinitionPlayableMediaItemShort = FragmentDefinitionNode( name: NameNode(value: 'PlayableMediaItemShort'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Short'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Short'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'streams'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'BasicStream'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'streams'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'BasicStream'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'style'), - value: EnumValueNode(name: NameNode(value: 'poster')), - ) - ], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'style'), + value: EnumValueNode(name: NameNode(value: 'poster')), + ), + ], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentPlayableMediaItemShort = DocumentNode( + definitions: [ + fragmentDefinitionPlayableMediaItemShort, + fragmentDefinitionBasicStream, + ], ); -const documentNodeFragmentPlayableMediaItemShort = DocumentNode(definitions: [ - fragmentDefinitionPlayableMediaItemShort, - fragmentDefinitionBasicStream, -]); extension ClientExtension$Fragment$PlayableMediaItemShort on graphql.GraphQLClient { @@ -287,18 +290,17 @@ extension ClientExtension$Fragment$PlayableMediaItemShort required Fragment$PlayableMediaItemShort data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'PlayableMediaItemShort', - document: documentNodeFragmentPlayableMediaItemShort, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'PlayableMediaItemShort', + document: documentNodeFragmentPlayableMediaItemShort, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$PlayableMediaItemShort? readFragment$PlayableMediaItemShort({ required Map idFields, @@ -352,7 +354,8 @@ class Fragment$Short implements Fragment$PlayableMediaItemShort { : Fragment$Short$source.fromJson((l$source as Map)), streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -478,10 +481,7 @@ class Fragment$Short implements Fragment$PlayableMediaItemShort { extension UtilityExtension$Fragment$Short on Fragment$Short { CopyWith$Fragment$Short get copyWith => - CopyWith$Fragment$Short( - this, - (i) => i, - ); + CopyWith$Fragment$Short(this, (i) => i); } abstract class CopyWith$Fragment$Short { @@ -505,17 +505,16 @@ abstract class CopyWith$Fragment$Short { }); CopyWith$Fragment$Short$source get source; TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Fragment$Short implements CopyWith$Fragment$Short { - _CopyWithImpl$Fragment$Short( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Short(this._instance, this._then); final Fragment$Short _instance; @@ -532,29 +531,30 @@ class _CopyWithImpl$Fragment$Short Object? source = _undefined, Object? streams = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Short( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - description: description == _undefined - ? _instance.description - : (description as String?), - inMyList: inMyList == _undefined || inMyList == null - ? _instance.inMyList - : (inMyList as bool), - image: image == _undefined ? _instance.image : (image as String?), - source: source == _undefined - ? _instance.source - : (source as Fragment$Short$source?), - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Short( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + description: description == _undefined + ? _instance.description + : (description as String?), + inMyList: inMyList == _undefined || inMyList == null + ? _instance.inMyList + : (inMyList as bool), + image: image == _undefined ? _instance.image : (image as String?), + source: source == _undefined + ? _instance.source + : (source as Fragment$Short$source?), + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Short$source get source { final local$source = _instance.source; @@ -564,15 +564,15 @@ class _CopyWithImpl$Fragment$Short } TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$Short @@ -590,8 +590,7 @@ class _CopyWithStubImpl$Fragment$Short Fragment$Short$source? source, List? streams, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Short$source get source => CopyWith$Fragment$Short$source.stub(_res); @@ -602,94 +601,122 @@ class _CopyWithStubImpl$Fragment$Short const fragmentDefinitionShort = FragmentDefinitionNode( name: NameNode(value: 'Short'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Short'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Short'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'description'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'inMyList'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'image'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'style'), - value: EnumValueNode(name: NameNode(value: 'poster')), - ) - ], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'source'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'item'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - InlineFragmentNode( - typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'description'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'inMyList'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'image'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'style'), + value: EnumValueNode(name: NameNode(value: 'poster')), + ), + ], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'source'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'item'), + alias: null, + arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'title'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + InlineFragmentNode( + typeCondition: TypeConditionNode( + on: NamedTypeNode( + name: NameNode(value: 'Episode'), + isNonNull: false, + ), + ), + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: 'start'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'end'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, ), FieldNode( name: NameNode(value: '__typename'), @@ -698,67 +725,47 @@ const fragmentDefinitionShort = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: 'start'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - FieldNode( - name: NameNode(value: 'end'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), - ), - FragmentSpreadNode( - name: NameNode(value: 'PlayableMediaItemShort'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FragmentSpreadNode( + name: NameNode(value: 'PlayableMediaItemShort'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentShort = DocumentNode( + definitions: [ + fragmentDefinitionShort, + fragmentDefinitionPlayableMediaItemShort, + fragmentDefinitionBasicStream, + ], ); -const documentNodeFragmentShort = DocumentNode(definitions: [ - fragmentDefinitionShort, - fragmentDefinitionPlayableMediaItemShort, - fragmentDefinitionBasicStream, -]); extension ClientExtension$Fragment$Short on graphql.GraphQLClient { void writeFragment$Short({ required Fragment$Short data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'Short', - document: documentNodeFragmentShort, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'Short', + document: documentNodeFragmentShort, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$Short? readFragment$Short({ required Map idFields, @@ -792,8 +799,9 @@ class Fragment$Short$source { final l$end = json['end']; final l$$__typename = json['__typename']; return Fragment$Short$source( - item: - Fragment$Short$source$item.fromJson((l$item as Map)), + item: Fragment$Short$source$item.fromJson( + (l$item as Map), + ), start: (l$start as num?)?.toDouble(), end: (l$end as num?)?.toDouble(), $__typename: (l$$__typename as String), @@ -827,12 +835,7 @@ class Fragment$Short$source { final l$start = start; final l$end = end; final l$$__typename = $__typename; - return Object.hashAll([ - l$item, - l$start, - l$end, - l$$__typename, - ]); + return Object.hashAll([l$item, l$start, l$end, l$$__typename]); } @override @@ -869,10 +872,7 @@ class Fragment$Short$source { extension UtilityExtension$Fragment$Short$source on Fragment$Short$source { CopyWith$Fragment$Short$source get copyWith => - CopyWith$Fragment$Short$source( - this, - (i) => i, - ); + CopyWith$Fragment$Short$source(this, (i) => i); } abstract class CopyWith$Fragment$Short$source { @@ -895,10 +895,7 @@ abstract class CopyWith$Fragment$Short$source { class _CopyWithImpl$Fragment$Short$source implements CopyWith$Fragment$Short$source { - _CopyWithImpl$Fragment$Short$source( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Short$source(this._instance, this._then); final Fragment$Short$source _instance; @@ -911,22 +908,25 @@ class _CopyWithImpl$Fragment$Short$source Object? start = _undefined, Object? end = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Short$source( - item: item == _undefined || item == null - ? _instance.item - : (item as Fragment$Short$source$item), - start: start == _undefined ? _instance.start : (start as double?), - end: end == _undefined ? _instance.end : (end as double?), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Short$source( + item: item == _undefined || item == null + ? _instance.item + : (item as Fragment$Short$source$item), + start: start == _undefined ? _instance.start : (start as double?), + end: end == _undefined ? _instance.end : (end as double?), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Short$source$item get item { final local$item = _instance.item; return CopyWith$Fragment$Short$source$item( - local$item, (e) => call(item: e)); + local$item, + (e) => call(item: e), + ); } } @@ -941,8 +941,7 @@ class _CopyWithStubImpl$Fragment$Short$source double? start, double? end, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$Short$source$item get item => CopyWith$Fragment$Short$source$item.stub(_res); @@ -959,7 +958,8 @@ class Fragment$Short$source$item { default: final l$$__typename = json['__typename']; return Fragment$Short$source$item( - $__typename: (l$$__typename as String)); + $__typename: (l$$__typename as String), + ); } } @@ -999,10 +999,7 @@ class Fragment$Short$source$item { extension UtilityExtension$Fragment$Short$source$item on Fragment$Short$source$item { CopyWith$Fragment$Short$source$item - get copyWith => CopyWith$Fragment$Short$source$item( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$Short$source$item(this, (i) => i); _T when<_T>({ required _T Function(Fragment$Short$source$item$$Episode) episode, @@ -1049,10 +1046,7 @@ abstract class CopyWith$Fragment$Short$source$item { class _CopyWithImpl$Fragment$Short$source$item implements CopyWith$Fragment$Short$source$item { - _CopyWithImpl$Fragment$Short$source$item( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Short$source$item(this._instance, this._then); final Fragment$Short$source$item _instance; @@ -1061,10 +1055,12 @@ class _CopyWithImpl$Fragment$Short$source$item static const _undefined = {}; TRes call({Object? $__typename = _undefined}) => _then( - Fragment$Short$source$item( - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String))); + Fragment$Short$source$item( + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Short$source$item @@ -1085,7 +1081,8 @@ class Fragment$Short$source$item$$Episode }); factory Fragment$Short$source$item$$Episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$title = json['title']; final l$$__typename = json['__typename']; @@ -1118,11 +1115,7 @@ class Fragment$Short$source$item$$Episode final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -1156,11 +1149,9 @@ class Fragment$Short$source$item$$Episode extension UtilityExtension$Fragment$Short$source$item$$Episode on Fragment$Short$source$item$$Episode { CopyWith$Fragment$Short$source$item$$Episode< - Fragment$Short$source$item$$Episode> - get copyWith => CopyWith$Fragment$Short$source$item$$Episode( - this, - (i) => i, - ); + Fragment$Short$source$item$$Episode + > + get copyWith => CopyWith$Fragment$Short$source$item$$Episode(this, (i) => i); } abstract class CopyWith$Fragment$Short$source$item$$Episode { @@ -1172,19 +1163,12 @@ abstract class CopyWith$Fragment$Short$source$item$$Episode { factory CopyWith$Fragment$Short$source$item$$Episode.stub(TRes res) = _CopyWithStubImpl$Fragment$Short$source$item$$Episode; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Fragment$Short$source$item$$Episode implements CopyWith$Fragment$Short$source$item$$Episode { - _CopyWithImpl$Fragment$Short$source$item$$Episode( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$Short$source$item$$Episode(this._instance, this._then); final Fragment$Short$source$item$$Episode _instance; @@ -1196,16 +1180,17 @@ class _CopyWithImpl$Fragment$Short$source$item$$Episode Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$Short$source$item$$Episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$Short$source$item$$Episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$Short$source$item$$Episode @@ -1214,12 +1199,7 @@ class _CopyWithStubImpl$Fragment$Short$source$item$$Episode TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } class Variables$Query$getShorts { @@ -1227,12 +1207,11 @@ class Variables$Query$getShorts { String? cursor, int? limit, String? initialShortId, - }) => - Variables$Query$getShorts._({ - if (cursor != null) r'cursor': cursor, - if (limit != null) r'limit': limit, - if (initialShortId != null) r'initialShortId': initialShortId, - }); + }) => Variables$Query$getShorts._({ + if (cursor != null) r'cursor': cursor, + if (limit != null) r'limit': limit, + if (initialShortId != null) r'initialShortId': initialShortId, + }); Variables$Query$getShorts._(this._$data); @@ -1279,10 +1258,7 @@ class Variables$Query$getShorts { } CopyWith$Variables$Query$getShorts get copyWith => - CopyWith$Variables$Query$getShorts( - this, - (i) => i, - ); + CopyWith$Variables$Query$getShorts(this, (i) => i); @override bool operator ==(Object other) { @@ -1343,19 +1319,12 @@ abstract class CopyWith$Variables$Query$getShorts { factory CopyWith$Variables$Query$getShorts.stub(TRes res) = _CopyWithStubImpl$Variables$Query$getShorts; - TRes call({ - String? cursor, - int? limit, - String? initialShortId, - }); + TRes call({String? cursor, int? limit, String? initialShortId}); } class _CopyWithImpl$Variables$Query$getShorts implements CopyWith$Variables$Query$getShorts { - _CopyWithImpl$Variables$Query$getShorts( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$getShorts(this._instance, this._then); final Variables$Query$getShorts _instance; @@ -1367,14 +1336,15 @@ class _CopyWithImpl$Variables$Query$getShorts Object? cursor = _undefined, Object? limit = _undefined, Object? initialShortId = _undefined, - }) => - _then(Variables$Query$getShorts._({ - ..._instance._$data, - if (cursor != _undefined) 'cursor': (cursor as String?), - if (limit != _undefined) 'limit': (limit as int?), - if (initialShortId != _undefined) - 'initialShortId': (initialShortId as String?), - })); + }) => _then( + Variables$Query$getShorts._({ + ..._instance._$data, + if (cursor != _undefined) 'cursor': (cursor as String?), + if (limit != _undefined) 'limit': (limit as int?), + if (initialShortId != _undefined) + 'initialShortId': (initialShortId as String?), + }), + ); } class _CopyWithStubImpl$Variables$Query$getShorts @@ -1383,26 +1353,19 @@ class _CopyWithStubImpl$Variables$Query$getShorts TRes _res; - call({ - String? cursor, - int? limit, - String? initialShortId, - }) => - _res; + call({String? cursor, int? limit, String? initialShortId}) => _res; } class Query$getShorts { - Query$getShorts({ - required this.shorts, - this.$__typename = 'QueryRoot', - }); + Query$getShorts({required this.shorts, this.$__typename = 'QueryRoot'}); factory Query$getShorts.fromJson(Map json) { final l$shorts = json['shorts']; final l$$__typename = json['__typename']; return Query$getShorts( - shorts: - Query$getShorts$shorts.fromJson((l$shorts as Map)), + shorts: Query$getShorts$shorts.fromJson( + (l$shorts as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1424,10 +1387,7 @@ class Query$getShorts { int get hashCode { final l$shorts = shorts; final l$$__typename = $__typename; - return Object.hashAll([ - l$shorts, - l$$__typename, - ]); + return Object.hashAll([l$shorts, l$$__typename]); } @override @@ -1454,10 +1414,7 @@ class Query$getShorts { extension UtilityExtension$Query$getShorts on Query$getShorts { CopyWith$Query$getShorts get copyWith => - CopyWith$Query$getShorts( - this, - (i) => i, - ); + CopyWith$Query$getShorts(this, (i) => i); } abstract class CopyWith$Query$getShorts { @@ -1469,19 +1426,13 @@ abstract class CopyWith$Query$getShorts { factory CopyWith$Query$getShorts.stub(TRes res) = _CopyWithStubImpl$Query$getShorts; - TRes call({ - Query$getShorts$shorts? shorts, - String? $__typename, - }); + TRes call({Query$getShorts$shorts? shorts, String? $__typename}); CopyWith$Query$getShorts$shorts get shorts; } class _CopyWithImpl$Query$getShorts implements CopyWith$Query$getShorts { - _CopyWithImpl$Query$getShorts( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getShorts(this._instance, this._then); final Query$getShorts _instance; @@ -1489,23 +1440,24 @@ class _CopyWithImpl$Query$getShorts static const _undefined = {}; - TRes call({ - Object? shorts = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getShorts( - shorts: shorts == _undefined || shorts == null - ? _instance.shorts - : (shorts as Query$getShorts$shorts), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? shorts = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getShorts( + shorts: shorts == _undefined || shorts == null + ? _instance.shorts + : (shorts as Query$getShorts$shorts), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getShorts$shorts get shorts { final local$shorts = _instance.shorts; return CopyWith$Query$getShorts$shorts( - local$shorts, (e) => call(shorts: e)); + local$shorts, + (e) => call(shorts: e), + ); } } @@ -1515,102 +1467,107 @@ class _CopyWithStubImpl$Query$getShorts TRes _res; - call({ - Query$getShorts$shorts? shorts, - String? $__typename, - }) => - _res; + call({Query$getShorts$shorts? shorts, String? $__typename}) => _res; CopyWith$Query$getShorts$shorts get shorts => CopyWith$Query$getShorts$shorts.stub(_res); } -const documentNodeQuerygetShorts = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getShorts'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'cursor')), - type: NamedTypeNode( - name: NameNode(value: 'String'), - isNonNull: false, +const documentNodeQuerygetShorts = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getShorts'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'cursor')), + type: NamedTypeNode( + name: NameNode(value: 'String'), + isNonNull: false, + ), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'limit')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'limit')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'initialShortId')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: false, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'initialShortId')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: false), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'shorts'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'cursor'), - value: VariableNode(name: NameNode(value: 'cursor')), - ), - ArgumentNode( - name: NameNode(value: 'limit'), - value: VariableNode(name: NameNode(value: 'limit')), - ), - ArgumentNode( - name: NameNode(value: 'initialShortId'), - value: VariableNode(name: NameNode(value: 'initialShortId')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'cursor'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'nextCursor'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'shorts'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Short'), - directives: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'cursor'), + value: VariableNode(name: NameNode(value: 'cursor')), + ), + ArgumentNode( + name: NameNode(value: 'limit'), + value: VariableNode(name: NameNode(value: 'limit')), ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ArgumentNode( + name: NameNode(value: 'initialShortId'), + value: VariableNode(name: NameNode(value: 'initialShortId')), ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'cursor'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'nextCursor'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'shorts'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Short'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1619,21 +1576,14 @@ const documentNodeQuerygetShorts = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionShort, - fragmentDefinitionPlayableMediaItemShort, - fragmentDefinitionBasicStream, -]); + ), + fragmentDefinitionShort, + fragmentDefinitionPlayableMediaItemShort, + fragmentDefinitionBasicStream, + ], +); Query$getShorts _parserFn$Query$getShorts(Map data) => Query$getShorts.fromJson(data); typedef OnQueryComplete$Query$getShorts = FutureOr Function( @@ -1654,36 +1604,36 @@ class Options$Query$getShorts extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$getShorts? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$getShorts(data), - ), - onError: onError, - document: documentNodeQuerygetShorts, - parserFn: _parserFn$Query$getShorts, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$getShorts(data), + ), + onError: onError, + document: documentNodeQuerygetShorts, + parserFn: _parserFn$Query$getShorts, + ); final OnQueryComplete$Query$getShorts? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getShorts @@ -1702,20 +1652,20 @@ class WatchOptions$Query$getShorts bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables?.toJson() ?? {}, - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetShorts, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getShorts, - ); + variables: variables?.toJson() ?? {}, + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetShorts, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getShorts, + ); } class FetchMoreOptions$Query$getShorts extends graphql.FetchMoreOptions { @@ -1723,34 +1673,33 @@ class FetchMoreOptions$Query$getShorts extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, Variables$Query$getShorts? variables, }) : super( - updateQuery: updateQuery, - variables: variables?.toJson() ?? {}, - document: documentNodeQuerygetShorts, - ); + updateQuery: updateQuery, + variables: variables?.toJson() ?? {}, + document: documentNodeQuerygetShorts, + ); } extension ClientExtension$Query$getShorts on graphql.GraphQLClient { - Future> query$getShorts( - [Options$Query$getShorts? options]) async => - await this.query(options ?? Options$Query$getShorts()); + Future> query$getShorts([ + Options$Query$getShorts? options, + ]) async => await this.query(options ?? Options$Query$getShorts()); - graphql.ObservableQuery watchQuery$getShorts( - [WatchOptions$Query$getShorts? options]) => - this.watchQuery(options ?? WatchOptions$Query$getShorts()); + graphql.ObservableQuery watchQuery$getShorts([ + WatchOptions$Query$getShorts? options, + ]) => this.watchQuery(options ?? WatchOptions$Query$getShorts()); void writeQuery$getShorts({ required Query$getShorts data, Variables$Query$getShorts? variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQuerygetShorts), - variables: variables?.toJson() ?? const {}, - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerygetShorts), + variables: variables?.toJson() ?? const {}, + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getShorts? readQuery$getShorts({ Variables$Query$getShorts? variables, @@ -1767,12 +1716,12 @@ extension ClientExtension$Query$getShorts on graphql.GraphQLClient { } } -graphql_flutter.QueryHookResult useQuery$getShorts( - [Options$Query$getShorts? options]) => - graphql_flutter.useQuery(options ?? Options$Query$getShorts()); -graphql.ObservableQuery useWatchQuery$getShorts( - [WatchOptions$Query$getShorts? options]) => - graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$getShorts()); +graphql_flutter.QueryHookResult useQuery$getShorts([ + Options$Query$getShorts? options, +]) => graphql_flutter.useQuery(options ?? Options$Query$getShorts()); +graphql.ObservableQuery useWatchQuery$getShorts([ + WatchOptions$Query$getShorts? options, +]) => graphql_flutter.useWatchQuery(options ?? WatchOptions$Query$getShorts()); class Query$getShorts$Widget extends graphql_flutter.Query { Query$getShorts$Widget({ @@ -1780,10 +1729,10 @@ class Query$getShorts$Widget extends graphql_flutter.Query { Options$Query$getShorts? options, required graphql_flutter.QueryBuilder builder, }) : super( - key: key, - options: options ?? Options$Query$getShorts(), - builder: builder, - ); + key: key, + options: options ?? Options$Query$getShorts(), + builder: builder, + ); } class Query$getShorts$shorts { @@ -1885,10 +1834,7 @@ class Query$getShorts$shorts { extension UtilityExtension$Query$getShorts$shorts on Query$getShorts$shorts { CopyWith$Query$getShorts$shorts get copyWith => - CopyWith$Query$getShorts$shorts( - this, - (i) => i, - ); + CopyWith$Query$getShorts$shorts(this, (i) => i); } abstract class CopyWith$Query$getShorts$shorts { @@ -1907,17 +1853,16 @@ abstract class CopyWith$Query$getShorts$shorts { String? $__typename, }); TRes shorts( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$getShorts$shorts implements CopyWith$Query$getShorts$shorts { - _CopyWithImpl$Query$getShorts$shorts( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getShorts$shorts(this._instance, this._then); final Query$getShorts$shorts _instance; @@ -1930,31 +1875,33 @@ class _CopyWithImpl$Query$getShorts$shorts Object? nextCursor = _undefined, Object? shorts = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$getShorts$shorts( - cursor: cursor == _undefined || cursor == null - ? _instance.cursor - : (cursor as String), - nextCursor: nextCursor == _undefined || nextCursor == null - ? _instance.nextCursor - : (nextCursor as String), - shorts: shorts == _undefined || shorts == null - ? _instance.shorts - : (shorts as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$getShorts$shorts( + cursor: cursor == _undefined || cursor == null + ? _instance.cursor + : (cursor as String), + nextCursor: nextCursor == _undefined || nextCursor == null + ? _instance.nextCursor + : (nextCursor as String), + shorts: shorts == _undefined || shorts == null + ? _instance.shorts + : (shorts as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes shorts( - Iterable Function( - Iterable>) - _fn) => - call( - shorts: _fn(_instance.shorts.map((e) => CopyWith$Fragment$Short( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + shorts: _fn( + _instance.shorts.map((e) => CopyWith$Fragment$Short(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$getShorts$shorts @@ -1968,17 +1915,14 @@ class _CopyWithStubImpl$Query$getShorts$shorts String? nextCursor, List? shorts, String? $__typename, - }) => - _res; + }) => _res; shorts(_fn) => _res; } class Variables$Query$getShort { factory Variables$Query$getShort({required String id}) => - Variables$Query$getShort._({ - r'id': id, - }); + Variables$Query$getShort._({r'id': id}); Variables$Query$getShort._(this._$data); @@ -2001,10 +1945,7 @@ class Variables$Query$getShort { } CopyWith$Variables$Query$getShort get copyWith => - CopyWith$Variables$Query$getShort( - this, - (i) => i, - ); + CopyWith$Variables$Query$getShort(this, (i) => i); @override bool operator ==(Object other) { @@ -2044,10 +1985,7 @@ abstract class CopyWith$Variables$Query$getShort { class _CopyWithImpl$Variables$Query$getShort implements CopyWith$Variables$Query$getShort { - _CopyWithImpl$Variables$Query$getShort( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$getShort(this._instance, this._then); final Variables$Query$getShort _instance; @@ -2055,10 +1993,12 @@ class _CopyWithImpl$Variables$Query$getShort static const _undefined = {}; - TRes call({Object? id = _undefined}) => _then(Variables$Query$getShort._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$getShort._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$getShort @@ -2071,10 +2011,7 @@ class _CopyWithStubImpl$Variables$Query$getShort } class Query$getShort { - Query$getShort({ - required this.short, - this.$__typename = 'QueryRoot', - }); + Query$getShort({required this.short, this.$__typename = 'QueryRoot'}); factory Query$getShort.fromJson(Map json) { final l$short = json['short']; @@ -2102,10 +2039,7 @@ class Query$getShort { int get hashCode { final l$short = short; final l$$__typename = $__typename; - return Object.hashAll([ - l$short, - l$$__typename, - ]); + return Object.hashAll([l$short, l$$__typename]); } @override @@ -2132,10 +2066,7 @@ class Query$getShort { extension UtilityExtension$Query$getShort on Query$getShort { CopyWith$Query$getShort get copyWith => - CopyWith$Query$getShort( - this, - (i) => i, - ); + CopyWith$Query$getShort(this, (i) => i); } abstract class CopyWith$Query$getShort { @@ -2147,19 +2078,13 @@ abstract class CopyWith$Query$getShort { factory CopyWith$Query$getShort.stub(TRes res) = _CopyWithStubImpl$Query$getShort; - TRes call({ - Fragment$Short? short, - String? $__typename, - }); + TRes call({Fragment$Short? short, String? $__typename}); CopyWith$Fragment$Short get short; } class _CopyWithImpl$Query$getShort implements CopyWith$Query$getShort { - _CopyWithImpl$Query$getShort( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getShort(this._instance, this._then); final Query$getShort _instance; @@ -2167,18 +2092,17 @@ class _CopyWithImpl$Query$getShort static const _undefined = {}; - TRes call({ - Object? short = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getShort( - short: short == _undefined || short == null - ? _instance.short - : (short as Fragment$Short), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? short = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getShort( + short: short == _undefined || short == null + ? _instance.short + : (short as Fragment$Short), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Short get short { final local$short = _instance.short; @@ -2192,46 +2116,52 @@ class _CopyWithStubImpl$Query$getShort TRes _res; - call({ - Fragment$Short? short, - String? $__typename, - }) => - _res; + call({Fragment$Short? short, String? $__typename}) => _res; CopyWith$Fragment$Short get short => CopyWith$Fragment$Short.stub(_res); } -const documentNodeQuerygetShort = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getShort'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: true, +const documentNodeQuerygetShort = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getShort'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'short'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Short'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'short'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Short'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2240,21 +2170,14 @@ const documentNodeQuerygetShort = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionShort, - fragmentDefinitionPlayableMediaItemShort, - fragmentDefinitionBasicStream, -]); + ), + fragmentDefinitionShort, + fragmentDefinitionPlayableMediaItemShort, + fragmentDefinitionBasicStream, + ], +); Query$getShort _parserFn$Query$getShort(Map data) => Query$getShort.fromJson(data); typedef OnQueryComplete$Query$getShort = FutureOr Function( @@ -2275,36 +2198,36 @@ class Options$Query$getShort extends graphql.QueryOptions { graphql.Context? context, OnQueryComplete$Query$getShort? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$getShort(data), - ), - onError: onError, - document: documentNodeQuerygetShort, - parserFn: _parserFn$Query$getShort, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$getShort(data), + ), + onError: onError, + document: documentNodeQuerygetShort, + parserFn: _parserFn$Query$getShort, + ); final OnQueryComplete$Query$getShort? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getShort @@ -2323,20 +2246,20 @@ class WatchOptions$Query$getShort bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetShort, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getShort, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetShort, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getShort, + ); } class FetchMoreOptions$Query$getShort extends graphql.FetchMoreOptions { @@ -2344,34 +2267,33 @@ class FetchMoreOptions$Query$getShort extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$getShort variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetShort, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetShort, + ); } extension ClientExtension$Query$getShort on graphql.GraphQLClient { Future> query$getShort( - Options$Query$getShort options) async => - await this.query(options); + Options$Query$getShort options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$getShort( - WatchOptions$Query$getShort options) => - this.watchQuery(options); + WatchOptions$Query$getShort options, + ) => this.watchQuery(options); void writeQuery$getShort({ required Query$getShort data, required Variables$Query$getShort variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation(document: documentNodeQuerygetShort), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerygetShort), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getShort? readQuery$getShort({ required Variables$Query$getShort variables, @@ -2389,22 +2311,18 @@ extension ClientExtension$Query$getShort on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$getShort( - Options$Query$getShort options) => - graphql_flutter.useQuery(options); + Options$Query$getShort options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$getShort( - WatchOptions$Query$getShort options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$getShort options, +) => graphql_flutter.useWatchQuery(options); class Query$getShort$Widget extends graphql_flutter.Query { Query$getShort$Widget({ widgets.Key? key, required Options$Query$getShort options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Variables$Mutation$setShortProgress { @@ -2412,15 +2330,13 @@ class Variables$Mutation$setShortProgress { required String id, required double progress, }) => - Variables$Mutation$setShortProgress._({ - r'id': id, - r'progress': progress, - }); + Variables$Mutation$setShortProgress._({r'id': id, r'progress': progress}); Variables$Mutation$setShortProgress._(this._$data); factory Variables$Mutation$setShortProgress.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -2445,11 +2361,9 @@ class Variables$Mutation$setShortProgress { } CopyWith$Variables$Mutation$setShortProgress< - Variables$Mutation$setShortProgress> - get copyWith => CopyWith$Variables$Mutation$setShortProgress( - this, - (i) => i, - ); + Variables$Mutation$setShortProgress + > + get copyWith => CopyWith$Variables$Mutation$setShortProgress(this, (i) => i); @override bool operator ==(Object other) { @@ -2477,10 +2391,7 @@ class Variables$Mutation$setShortProgress { int get hashCode { final l$id = id; final l$progress = progress; - return Object.hashAll([ - l$id, - l$progress, - ]); + return Object.hashAll([l$id, l$progress]); } } @@ -2493,18 +2404,12 @@ abstract class CopyWith$Variables$Mutation$setShortProgress { factory CopyWith$Variables$Mutation$setShortProgress.stub(TRes res) = _CopyWithStubImpl$Variables$Mutation$setShortProgress; - TRes call({ - String? id, - double? progress, - }); + TRes call({String? id, double? progress}); } class _CopyWithImpl$Variables$Mutation$setShortProgress implements CopyWith$Variables$Mutation$setShortProgress { - _CopyWithImpl$Variables$Mutation$setShortProgress( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Mutation$setShortProgress(this._instance, this._then); final Variables$Mutation$setShortProgress _instance; @@ -2512,16 +2417,14 @@ class _CopyWithImpl$Variables$Mutation$setShortProgress static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? progress = _undefined, - }) => - _then(Variables$Mutation$setShortProgress._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (progress != _undefined && progress != null) - 'progress': (progress as double), - })); + TRes call({Object? id = _undefined, Object? progress = _undefined}) => _then( + Variables$Mutation$setShortProgress._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (progress != _undefined && progress != null) + 'progress': (progress as double), + }), + ); } class _CopyWithStubImpl$Variables$Mutation$setShortProgress @@ -2530,11 +2433,7 @@ class _CopyWithStubImpl$Variables$Mutation$setShortProgress TRes _res; - call({ - String? id, - double? progress, - }) => - _res; + call({String? id, double? progress}) => _res; } class Mutation$setShortProgress { @@ -2547,8 +2446,9 @@ class Mutation$setShortProgress { final l$setShortProgress = json['setShortProgress']; final l$$__typename = json['__typename']; return Mutation$setShortProgress( - setShortProgress: - Fragment$Short.fromJson((l$setShortProgress as Map)), + setShortProgress: Fragment$Short.fromJson( + (l$setShortProgress as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2570,10 +2470,7 @@ class Mutation$setShortProgress { int get hashCode { final l$setShortProgress = setShortProgress; final l$$__typename = $__typename; - return Object.hashAll([ - l$setShortProgress, - l$$__typename, - ]); + return Object.hashAll([l$setShortProgress, l$$__typename]); } @override @@ -2602,10 +2499,7 @@ class Mutation$setShortProgress { extension UtilityExtension$Mutation$setShortProgress on Mutation$setShortProgress { CopyWith$Mutation$setShortProgress get copyWith => - CopyWith$Mutation$setShortProgress( - this, - (i) => i, - ); + CopyWith$Mutation$setShortProgress(this, (i) => i); } abstract class CopyWith$Mutation$setShortProgress { @@ -2617,19 +2511,13 @@ abstract class CopyWith$Mutation$setShortProgress { factory CopyWith$Mutation$setShortProgress.stub(TRes res) = _CopyWithStubImpl$Mutation$setShortProgress; - TRes call({ - Fragment$Short? setShortProgress, - String? $__typename, - }); + TRes call({Fragment$Short? setShortProgress, String? $__typename}); CopyWith$Fragment$Short get setShortProgress; } class _CopyWithImpl$Mutation$setShortProgress implements CopyWith$Mutation$setShortProgress { - _CopyWithImpl$Mutation$setShortProgress( - this._instance, - this._then, - ); + _CopyWithImpl$Mutation$setShortProgress(this._instance, this._then); final Mutation$setShortProgress _instance; @@ -2640,21 +2528,24 @@ class _CopyWithImpl$Mutation$setShortProgress TRes call({ Object? setShortProgress = _undefined, Object? $__typename = _undefined, - }) => - _then(Mutation$setShortProgress( - setShortProgress: - setShortProgress == _undefined || setShortProgress == null - ? _instance.setShortProgress - : (setShortProgress as Fragment$Short), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Mutation$setShortProgress( + setShortProgress: + setShortProgress == _undefined || setShortProgress == null + ? _instance.setShortProgress + : (setShortProgress as Fragment$Short), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$Short get setShortProgress { final local$setShortProgress = _instance.setShortProgress; return CopyWith$Fragment$Short( - local$setShortProgress, (e) => call(setShortProgress: e)); + local$setShortProgress, + (e) => call(setShortProgress: e), + ); } } @@ -2664,60 +2555,63 @@ class _CopyWithStubImpl$Mutation$setShortProgress TRes _res; - call({ - Fragment$Short? setShortProgress, - String? $__typename, - }) => - _res; + call({Fragment$Short? setShortProgress, String? $__typename}) => _res; CopyWith$Fragment$Short get setShortProgress => CopyWith$Fragment$Short.stub(_res); } -const documentNodeMutationsetShortProgress = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.mutation, - name: NameNode(value: 'setShortProgress'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: true, +const documentNodeMutationsetShortProgress = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.mutation, + name: NameNode(value: 'setShortProgress'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'progress')), - type: NamedTypeNode( - name: NameNode(value: 'Float'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'progress')), + type: NamedTypeNode(name: NameNode(value: 'Float'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'setShortProgress'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ), - ArgumentNode( - name: NameNode(value: 'progress'), - value: VariableNode(name: NameNode(value: 'progress')), - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'Short'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'setShortProgress'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ArgumentNode( + name: NameNode(value: 'progress'), + value: VariableNode(name: NameNode(value: 'progress')), + ), + ], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'Short'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2726,24 +2620,17 @@ const documentNodeMutationsetShortProgress = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionShort, - fragmentDefinitionPlayableMediaItemShort, - fragmentDefinitionBasicStream, -]); + ), + fragmentDefinitionShort, + fragmentDefinitionPlayableMediaItemShort, + fragmentDefinitionBasicStream, + ], +); Mutation$setShortProgress _parserFn$Mutation$setShortProgress( - Map data) => - Mutation$setShortProgress.fromJson(data); + Map data, +) => Mutation$setShortProgress.fromJson(data); typedef OnMutationCompleted$Mutation$setShortProgress = FutureOr Function( Map?, Mutation$setShortProgress?, @@ -2763,38 +2650,38 @@ class Options$Mutation$setShortProgress OnMutationCompleted$Mutation$setShortProgress? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$setShortProgress(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsetShortProgress, - parserFn: _parserFn$Mutation$setShortProgress, - ); + }) : onCompletedWithParsed = onCompleted, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$setShortProgress(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsetShortProgress, + parserFn: _parserFn$Mutation$setShortProgress, + ); final OnMutationCompleted$Mutation$setShortProgress? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; } class WatchOptions$Mutation$setShortProgress @@ -2813,63 +2700,61 @@ class WatchOptions$Mutation$setShortProgress bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeMutationsetShortProgress, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Mutation$setShortProgress, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeMutationsetShortProgress, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Mutation$setShortProgress, + ); } extension ClientExtension$Mutation$setShortProgress on graphql.GraphQLClient { Future> - mutate$setShortProgress( - Options$Mutation$setShortProgress options) async => - await this.mutate(options); + mutate$setShortProgress(Options$Mutation$setShortProgress options) async => + await this.mutate(options); graphql.ObservableQuery - watchMutation$setShortProgress( - WatchOptions$Mutation$setShortProgress options) => - this.watchMutation(options); + watchMutation$setShortProgress( + WatchOptions$Mutation$setShortProgress options, + ) => this.watchMutation(options); } class Mutation$setShortProgress$HookResult { - Mutation$setShortProgress$HookResult( - this.runMutation, - this.result, - ); + Mutation$setShortProgress$HookResult(this.runMutation, this.result); final RunMutation$Mutation$setShortProgress runMutation; final graphql.QueryResult result; } -Mutation$setShortProgress$HookResult useMutation$setShortProgress( - [WidgetOptions$Mutation$setShortProgress? options]) { - final result = graphql_flutter - .useMutation(options ?? WidgetOptions$Mutation$setShortProgress()); +Mutation$setShortProgress$HookResult useMutation$setShortProgress([ + WidgetOptions$Mutation$setShortProgress? options, +]) { + final result = graphql_flutter.useMutation( + options ?? WidgetOptions$Mutation$setShortProgress(), + ); return Mutation$setShortProgress$HookResult( (variables, {optimisticResult, typedOptimisticResult}) => result.runMutation( - variables.toJson(), - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - ), + variables.toJson(), + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + ), result.result, ); } graphql.ObservableQuery - useWatchMutation$setShortProgress( - WatchOptions$Mutation$setShortProgress options) => - graphql_flutter.useWatchMutation(options); +useWatchMutation$setShortProgress( + WatchOptions$Mutation$setShortProgress options, +) => graphql_flutter.useWatchMutation(options); class WidgetOptions$Mutation$setShortProgress extends graphql.MutationOptions { @@ -2884,45 +2769,45 @@ class WidgetOptions$Mutation$setShortProgress OnMutationCompleted$Mutation$setShortProgress? onCompleted, graphql.OnMutationUpdate? update, graphql.OnError? onError, - }) : onCompletedWithParsed = onCompleted, - super( - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - onCompleted: onCompleted == null - ? null - : (data) => onCompleted( - data, - data == null - ? null - : _parserFn$Mutation$setShortProgress(data), - ), - update: update, - onError: onError, - document: documentNodeMutationsetShortProgress, - parserFn: _parserFn$Mutation$setShortProgress, - ); + }) : onCompletedWithParsed = onCompleted, + super( + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + onCompleted: onCompleted == null + ? null + : (data) => onCompleted( + data, + data == null + ? null + : _parserFn$Mutation$setShortProgress(data), + ), + update: update, + onError: onError, + document: documentNodeMutationsetShortProgress, + parserFn: _parserFn$Mutation$setShortProgress, + ); final OnMutationCompleted$Mutation$setShortProgress? onCompletedWithParsed; @override List get properties => [ - ...super.onCompleted == null - ? super.properties - : super.properties.where((property) => property != onCompleted), - onCompletedWithParsed, - ]; -} - -typedef RunMutation$Mutation$setShortProgress - = graphql.MultiSourceResult Function( - Variables$Mutation$setShortProgress, { - Object? optimisticResult, - Mutation$setShortProgress? typedOptimisticResult, -}); + ...super.onCompleted == null + ? super.properties + : super.properties.where((property) => property != onCompleted), + onCompletedWithParsed, + ]; +} + +typedef RunMutation$Mutation$setShortProgress = + graphql.MultiSourceResult Function( + Variables$Mutation$setShortProgress, { + Object? optimisticResult, + Mutation$setShortProgress? typedOptimisticResult, + }); typedef Builder$Mutation$setShortProgress = widgets.Widget Function( RunMutation$Mutation$setShortProgress, graphql.QueryResult?, @@ -2935,33 +2820,22 @@ class Mutation$setShortProgress$Widget WidgetOptions$Mutation$setShortProgress? options, required Builder$Mutation$setShortProgress builder, }) : super( - key: key, - options: options ?? WidgetOptions$Mutation$setShortProgress(), - builder: ( - run, - result, - ) => - builder( - ( - variables, { - optimisticResult, - typedOptimisticResult, - }) => - run( - variables.toJson(), - optimisticResult: - optimisticResult ?? typedOptimisticResult?.toJson(), - ), - result, - ), - ); + key: key, + options: options ?? WidgetOptions$Mutation$setShortProgress(), + builder: (run, result) => builder( + (variables, {optimisticResult, typedOptimisticResult}) => run( + variables.toJson(), + optimisticResult: + optimisticResult ?? typedOptimisticResult?.toJson(), + ), + result, + ), + ); } class Variables$Query$getShortStreams { factory Variables$Query$getShortStreams({required String id}) => - Variables$Query$getShortStreams._({ - r'id': id, - }); + Variables$Query$getShortStreams._({r'id': id}); Variables$Query$getShortStreams._(this._$data); @@ -2984,10 +2858,7 @@ class Variables$Query$getShortStreams { } CopyWith$Variables$Query$getShortStreams - get copyWith => CopyWith$Variables$Query$getShortStreams( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$getShortStreams(this, (i) => i); @override bool operator ==(Object other) { @@ -3027,10 +2898,7 @@ abstract class CopyWith$Variables$Query$getShortStreams { class _CopyWithImpl$Variables$Query$getShortStreams implements CopyWith$Variables$Query$getShortStreams { - _CopyWithImpl$Variables$Query$getShortStreams( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$getShortStreams(this._instance, this._then); final Variables$Query$getShortStreams _instance; @@ -3038,11 +2906,12 @@ class _CopyWithImpl$Variables$Query$getShortStreams static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$getShortStreams._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$getShortStreams._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$getShortStreams @@ -3055,17 +2924,15 @@ class _CopyWithStubImpl$Variables$Query$getShortStreams } class Query$getShortStreams { - Query$getShortStreams({ - required this.short, - this.$__typename = 'QueryRoot', - }); + Query$getShortStreams({required this.short, this.$__typename = 'QueryRoot'}); factory Query$getShortStreams.fromJson(Map json) { final l$short = json['short']; final l$$__typename = json['__typename']; return Query$getShortStreams( short: Query$getShortStreams$short.fromJson( - (l$short as Map)), + (l$short as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3087,10 +2954,7 @@ class Query$getShortStreams { int get hashCode { final l$short = short; final l$$__typename = $__typename; - return Object.hashAll([ - l$short, - l$$__typename, - ]); + return Object.hashAll([l$short, l$$__typename]); } @override @@ -3117,10 +2981,7 @@ class Query$getShortStreams { extension UtilityExtension$Query$getShortStreams on Query$getShortStreams { CopyWith$Query$getShortStreams get copyWith => - CopyWith$Query$getShortStreams( - this, - (i) => i, - ); + CopyWith$Query$getShortStreams(this, (i) => i); } abstract class CopyWith$Query$getShortStreams { @@ -3132,19 +2993,13 @@ abstract class CopyWith$Query$getShortStreams { factory CopyWith$Query$getShortStreams.stub(TRes res) = _CopyWithStubImpl$Query$getShortStreams; - TRes call({ - Query$getShortStreams$short? short, - String? $__typename, - }); + TRes call({Query$getShortStreams$short? short, String? $__typename}); CopyWith$Query$getShortStreams$short get short; } class _CopyWithImpl$Query$getShortStreams implements CopyWith$Query$getShortStreams { - _CopyWithImpl$Query$getShortStreams( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getShortStreams(this._instance, this._then); final Query$getShortStreams _instance; @@ -3152,23 +3007,24 @@ class _CopyWithImpl$Query$getShortStreams static const _undefined = {}; - TRes call({ - Object? short = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getShortStreams( - short: short == _undefined || short == null - ? _instance.short - : (short as Query$getShortStreams$short), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? short = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getShortStreams( + short: short == _undefined || short == null + ? _instance.short + : (short as Query$getShortStreams$short), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$getShortStreams$short get short { final local$short = _instance.short; return CopyWith$Query$getShortStreams$short( - local$short, (e) => call(short: e)); + local$short, + (e) => call(short: e), + ); } } @@ -3178,62 +3034,70 @@ class _CopyWithStubImpl$Query$getShortStreams TRes _res; - call({ - Query$getShortStreams$short? short, - String? $__typename, - }) => - _res; + call({Query$getShortStreams$short? short, String? $__typename}) => _res; CopyWith$Query$getShortStreams$short get short => CopyWith$Query$getShortStreams$short.stub(_res); } -const documentNodeQuerygetShortStreams = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'getShortStreams'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'UUID'), - isNonNull: true, +const documentNodeQuerygetShortStreams = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'getShortStreams'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'UUID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'short'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'streams'), + name: NameNode(value: 'short'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'BasicStream'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), ), - ]), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'streams'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'BasicStream'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -3242,22 +3106,15 @@ const documentNodeQuerygetShortStreams = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionBasicStream, -]); + ), + fragmentDefinitionBasicStream, + ], +); Query$getShortStreams _parserFn$Query$getShortStreams( - Map data) => - Query$getShortStreams.fromJson(data); + Map data, +) => Query$getShortStreams.fromJson(data); typedef OnQueryComplete$Query$getShortStreams = FutureOr Function( Map?, Query$getShortStreams?, @@ -3277,36 +3134,36 @@ class Options$Query$getShortStreams graphql.Context? context, OnQueryComplete$Query$getShortStreams? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$getShortStreams(data), - ), - onError: onError, - document: documentNodeQuerygetShortStreams, - parserFn: _parserFn$Query$getShortStreams, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$getShortStreams(data), + ), + onError: onError, + document: documentNodeQuerygetShortStreams, + parserFn: _parserFn$Query$getShortStreams, + ); final OnQueryComplete$Query$getShortStreams? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$getShortStreams @@ -3325,20 +3182,20 @@ class WatchOptions$Query$getShortStreams bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQuerygetShortStreams, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$getShortStreams, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQuerygetShortStreams, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$getShortStreams, + ); } class FetchMoreOptions$Query$getShortStreams extends graphql.FetchMoreOptions { @@ -3346,35 +3203,33 @@ class FetchMoreOptions$Query$getShortStreams extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$getShortStreams variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQuerygetShortStreams, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQuerygetShortStreams, + ); } extension ClientExtension$Query$getShortStreams on graphql.GraphQLClient { Future> query$getShortStreams( - Options$Query$getShortStreams options) async => - await this.query(options); + Options$Query$getShortStreams options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$getShortStreams( - WatchOptions$Query$getShortStreams options) => - this.watchQuery(options); + WatchOptions$Query$getShortStreams options, + ) => this.watchQuery(options); void writeQuery$getShortStreams({ required Query$getShortStreams data, required Variables$Query$getShortStreams variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetShortStreams), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQuerygetShortStreams), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$getShortStreams? readQuery$getShortStreams({ required Variables$Query$getShortStreams variables, @@ -3382,8 +3237,9 @@ extension ClientExtension$Query$getShortStreams on graphql.GraphQLClient { }) { final result = this.readQuery( graphql.Request( - operation: - graphql.Operation(document: documentNodeQuerygetShortStreams), + operation: graphql.Operation( + document: documentNodeQuerygetShortStreams, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -3393,11 +3249,11 @@ extension ClientExtension$Query$getShortStreams on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$getShortStreams( - Options$Query$getShortStreams options) => - graphql_flutter.useQuery(options); + Options$Query$getShortStreams options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$getShortStreams( - WatchOptions$Query$getShortStreams options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$getShortStreams options, +) => graphql_flutter.useWatchQuery(options); class Query$getShortStreams$Widget extends graphql_flutter.Query { @@ -3405,11 +3261,7 @@ class Query$getShortStreams$Widget widgets.Key? key, required Options$Query$getShortStreams options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$getShortStreams$short { @@ -3424,7 +3276,8 @@ class Query$getShortStreams$short { return Query$getShortStreams$short( streams: (l$streams as List) .map( - (e) => Fragment$BasicStream.fromJson((e as Map))) + (e) => Fragment$BasicStream.fromJson((e as Map)), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -3486,10 +3339,7 @@ class Query$getShortStreams$short { extension UtilityExtension$Query$getShortStreams$short on Query$getShortStreams$short { CopyWith$Query$getShortStreams$short - get copyWith => CopyWith$Query$getShortStreams$short( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$getShortStreams$short(this, (i) => i); } abstract class CopyWith$Query$getShortStreams$short { @@ -3501,22 +3351,18 @@ abstract class CopyWith$Query$getShortStreams$short { factory CopyWith$Query$getShortStreams$short.stub(TRes res) = _CopyWithStubImpl$Query$getShortStreams$short; - TRes call({ - List? streams, - String? $__typename, - }); + TRes call({List? streams, String? $__typename}); TRes streams( - Iterable Function( - Iterable>) - _fn); + Iterable Function( + Iterable>, + ) + _fn, + ); } class _CopyWithImpl$Query$getShortStreams$short implements CopyWith$Query$getShortStreams$short { - _CopyWithImpl$Query$getShortStreams$short( - this._instance, - this._then, - ); + _CopyWithImpl$Query$getShortStreams$short(this._instance, this._then); final Query$getShortStreams$short _instance; @@ -3524,29 +3370,28 @@ class _CopyWithImpl$Query$getShortStreams$short static const _undefined = {}; - TRes call({ - Object? streams = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$getShortStreams$short( - streams: streams == _undefined || streams == null - ? _instance.streams - : (streams as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? streams = _undefined, Object? $__typename = _undefined}) => + _then( + Query$getShortStreams$short( + streams: streams == _undefined || streams == null + ? _instance.streams + : (streams as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes streams( - Iterable Function( - Iterable>) - _fn) => - call( - streams: - _fn(_instance.streams.map((e) => CopyWith$Fragment$BasicStream( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable>, + ) + _fn, + ) => call( + streams: _fn( + _instance.streams.map((e) => CopyWith$Fragment$BasicStream(e, (i) => i)), + ).toList(), + ); } class _CopyWithStubImpl$Query$getShortStreams$short @@ -3555,11 +3400,7 @@ class _CopyWithStubImpl$Query$getShortStreams$short TRes _res; - call({ - List? streams, - String? $__typename, - }) => - _res; + call({List? streams, String? $__typename}) => _res; streams(_fn) => _res; } diff --git a/bccm_core/lib/src/features/graphql/queries/studies.graphql.dart b/bccm_core/lib/src/features/graphql/queries/studies.graphql.dart index 231ab1e..65a3db2 100644 --- a/bccm_core/lib/src/features/graphql/queries/studies.graphql.dart +++ b/bccm_core/lib/src/features/graphql/queries/studies.graphql.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; @@ -27,7 +28,8 @@ class Fragment$LessonProgressOverview { completed: (l$completed as bool), showDiscoverPage: (l$showDiscoverPage as bool), progress: Fragment$LessonProgressOverview$progress.fromJson( - (l$progress as Map)), + (l$progress as Map), + ), $__typename: (l$$__typename as String), ); } @@ -125,10 +127,7 @@ class Fragment$LessonProgressOverview { extension UtilityExtension$Fragment$LessonProgressOverview on Fragment$LessonProgressOverview { CopyWith$Fragment$LessonProgressOverview - get copyWith => CopyWith$Fragment$LessonProgressOverview( - this, - (i) => i, - ); + get copyWith => CopyWith$Fragment$LessonProgressOverview(this, (i) => i); } abstract class CopyWith$Fragment$LessonProgressOverview { @@ -153,10 +152,7 @@ abstract class CopyWith$Fragment$LessonProgressOverview { class _CopyWithImpl$Fragment$LessonProgressOverview implements CopyWith$Fragment$LessonProgressOverview { - _CopyWithImpl$Fragment$LessonProgressOverview( - this._instance, - this._then, - ); + _CopyWithImpl$Fragment$LessonProgressOverview(this._instance, this._then); final Fragment$LessonProgressOverview _instance; @@ -171,31 +167,34 @@ class _CopyWithImpl$Fragment$LessonProgressOverview Object? showDiscoverPage = _undefined, Object? progress = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$LessonProgressOverview( - id: id == _undefined || id == null ? _instance.id : (id as String), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as bool), - showDiscoverPage: - showDiscoverPage == _undefined || showDiscoverPage == null - ? _instance.showDiscoverPage - : (showDiscoverPage as bool), - progress: progress == _undefined || progress == null - ? _instance.progress - : (progress as Fragment$LessonProgressOverview$progress), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$LessonProgressOverview( + id: id == _undefined || id == null ? _instance.id : (id as String), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as bool), + showDiscoverPage: + showDiscoverPage == _undefined || showDiscoverPage == null + ? _instance.showDiscoverPage + : (showDiscoverPage as bool), + progress: progress == _undefined || progress == null + ? _instance.progress + : (progress as Fragment$LessonProgressOverview$progress), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$LessonProgressOverview$progress get progress { final local$progress = _instance.progress; return CopyWith$Fragment$LessonProgressOverview$progress( - local$progress, (e) => call(progress: e)); + local$progress, + (e) => call(progress: e), + ); } } @@ -212,8 +211,7 @@ class _CopyWithStubImpl$Fragment$LessonProgressOverview bool? showDiscoverPage, Fragment$LessonProgressOverview$progress? progress, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$LessonProgressOverview$progress get progress => CopyWith$Fragment$LessonProgressOverview$progress.stub(_res); @@ -222,102 +220,104 @@ class _CopyWithStubImpl$Fragment$LessonProgressOverview const fragmentDefinitionLessonProgressOverview = FragmentDefinitionNode( name: NameNode(value: 'LessonProgressOverview'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Lesson'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Lesson'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'completed'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'showDiscoverPage'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'progress'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'total'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'completed'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'alternativesTasksTotal'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'alternativesTasksCompleted'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'alternativesTasksCorrect'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'completed'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'showDiscoverPage'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'progress'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'total'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'completed'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'alternativesTasksTotal'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'alternativesTasksCompleted'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'alternativesTasksCorrect'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentLessonProgressOverview = DocumentNode( + definitions: [fragmentDefinitionLessonProgressOverview], ); -const documentNodeFragmentLessonProgressOverview = DocumentNode(definitions: [ - fragmentDefinitionLessonProgressOverview, -]); extension ClientExtension$Fragment$LessonProgressOverview on graphql.GraphQLClient { @@ -325,18 +325,17 @@ extension ClientExtension$Fragment$LessonProgressOverview required Fragment$LessonProgressOverview data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'LessonProgressOverview', - document: documentNodeFragmentLessonProgressOverview, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'LessonProgressOverview', + document: documentNodeFragmentLessonProgressOverview, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$LessonProgressOverview? readFragment$LessonProgressOverview({ required Map idFields, @@ -369,7 +368,8 @@ class Fragment$LessonProgressOverview$progress { }); factory Fragment$LessonProgressOverview$progress.fromJson( - Map json) { + Map json, + ) { final l$total = json['total']; final l$completed = json['completed']; final l$alternativesTasksTotal = json['alternativesTasksTotal']; @@ -479,11 +479,10 @@ class Fragment$LessonProgressOverview$progress { extension UtilityExtension$Fragment$LessonProgressOverview$progress on Fragment$LessonProgressOverview$progress { CopyWith$Fragment$LessonProgressOverview$progress< - Fragment$LessonProgressOverview$progress> - get copyWith => CopyWith$Fragment$LessonProgressOverview$progress( - this, - (i) => i, - ); + Fragment$LessonProgressOverview$progress + > + get copyWith => + CopyWith$Fragment$LessonProgressOverview$progress(this, (i) => i); } abstract class CopyWith$Fragment$LessonProgressOverview$progress { @@ -525,30 +524,33 @@ class _CopyWithImpl$Fragment$LessonProgressOverview$progress Object? alternativesTasksCompleted = _undefined, Object? alternativesTasksCorrect = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$LessonProgressOverview$progress( - total: total == _undefined || total == null - ? _instance.total - : (total as int), - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as int), - alternativesTasksTotal: alternativesTasksTotal == _undefined || - alternativesTasksTotal == null - ? _instance.alternativesTasksTotal - : (alternativesTasksTotal as int), - alternativesTasksCompleted: alternativesTasksCompleted == _undefined || - alternativesTasksCompleted == null - ? _instance.alternativesTasksCompleted - : (alternativesTasksCompleted as int), - alternativesTasksCorrect: alternativesTasksCorrect == _undefined || - alternativesTasksCorrect == null - ? _instance.alternativesTasksCorrect - : (alternativesTasksCorrect as int), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$LessonProgressOverview$progress( + total: total == _undefined || total == null + ? _instance.total + : (total as int), + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as int), + alternativesTasksTotal: + alternativesTasksTotal == _undefined || alternativesTasksTotal == null + ? _instance.alternativesTasksTotal + : (alternativesTasksTotal as int), + alternativesTasksCompleted: + alternativesTasksCompleted == _undefined || + alternativesTasksCompleted == null + ? _instance.alternativesTasksCompleted + : (alternativesTasksCompleted as int), + alternativesTasksCorrect: + alternativesTasksCorrect == _undefined || + alternativesTasksCorrect == null + ? _instance.alternativesTasksCorrect + : (alternativesTasksCorrect as int), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Fragment$LessonProgressOverview$progress @@ -564,8 +566,7 @@ class _CopyWithStubImpl$Fragment$LessonProgressOverview$progress int? alternativesTasksCompleted, int? alternativesTasksCorrect, String? $__typename, - }) => - _res; + }) => _res; } class Fragment$EpisodeLessonProgressOverview { @@ -576,14 +577,16 @@ class Fragment$EpisodeLessonProgressOverview { }); factory Fragment$EpisodeLessonProgressOverview.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$lessons = json['lessons']; final l$$__typename = json['__typename']; return Fragment$EpisodeLessonProgressOverview( id: (l$id as String), lessons: Fragment$EpisodeLessonProgressOverview$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -610,11 +613,7 @@ class Fragment$EpisodeLessonProgressOverview { final l$id = id; final l$lessons = lessons; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$lessons, - l$$__typename, - ]); + return Object.hashAll([l$id, l$lessons, l$$__typename]); } @override @@ -648,11 +647,10 @@ class Fragment$EpisodeLessonProgressOverview { extension UtilityExtension$Fragment$EpisodeLessonProgressOverview on Fragment$EpisodeLessonProgressOverview { CopyWith$Fragment$EpisodeLessonProgressOverview< - Fragment$EpisodeLessonProgressOverview> - get copyWith => CopyWith$Fragment$EpisodeLessonProgressOverview( - this, - (i) => i, - ); + Fragment$EpisodeLessonProgressOverview + > + get copyWith => + CopyWith$Fragment$EpisodeLessonProgressOverview(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeLessonProgressOverview { @@ -689,21 +687,24 @@ class _CopyWithImpl$Fragment$EpisodeLessonProgressOverview Object? id = _undefined, Object? lessons = _undefined, Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeLessonProgressOverview( - id: id == _undefined || id == null ? _instance.id : (id as String), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Fragment$EpisodeLessonProgressOverview$lessons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Fragment$EpisodeLessonProgressOverview( + id: id == _undefined || id == null ? _instance.id : (id as String), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Fragment$EpisodeLessonProgressOverview$lessons), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Fragment$EpisodeLessonProgressOverview$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Fragment$EpisodeLessonProgressOverview$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } } @@ -717,8 +718,7 @@ class _CopyWithStubImpl$Fragment$EpisodeLessonProgressOverview String? id, Fragment$EpisodeLessonProgressOverview$lessons? lessons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Fragment$EpisodeLessonProgressOverview$lessons get lessons => CopyWith$Fragment$EpisodeLessonProgressOverview$lessons.stub(_res); @@ -727,34 +727,45 @@ class _CopyWithStubImpl$Fragment$EpisodeLessonProgressOverview const fragmentDefinitionEpisodeLessonProgressOverview = FragmentDefinitionNode( name: NameNode(value: 'EpisodeLessonProgressOverview'), typeCondition: TypeConditionNode( - on: NamedTypeNode( - name: NameNode(value: 'Episode'), - isNonNull: false, - )), + on: NamedTypeNode(name: NameNode(value: 'Episode'), isNonNull: false), + ), directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'lessons'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'LessonProgressOverview'), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'lessons'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'LessonProgressOverview'), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -763,31 +774,25 @@ const fragmentDefinitionEpisodeLessonProgressOverview = FragmentDefinitionNode( directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), +); +const documentNodeFragmentEpisodeLessonProgressOverview = DocumentNode( + definitions: [ + fragmentDefinitionEpisodeLessonProgressOverview, + fragmentDefinitionLessonProgressOverview, + ], ); -const documentNodeFragmentEpisodeLessonProgressOverview = - DocumentNode(definitions: [ - fragmentDefinitionEpisodeLessonProgressOverview, - fragmentDefinitionLessonProgressOverview, -]); extension ClientExtension$Fragment$EpisodeLessonProgressOverview on graphql.GraphQLClient { @@ -795,21 +800,20 @@ extension ClientExtension$Fragment$EpisodeLessonProgressOverview required Fragment$EpisodeLessonProgressOverview data, required Map idFields, bool broadcast = true, - }) => - this.writeFragment( - graphql.FragmentRequest( - idFields: idFields, - fragment: const graphql.Fragment( - fragmentName: 'EpisodeLessonProgressOverview', - document: documentNodeFragmentEpisodeLessonProgressOverview, - ), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeFragment( + graphql.FragmentRequest( + idFields: idFields, + fragment: const graphql.Fragment( + fragmentName: 'EpisodeLessonProgressOverview', + document: documentNodeFragmentEpisodeLessonProgressOverview, + ), + ), + data: data.toJson(), + broadcast: broadcast, + ); Fragment$EpisodeLessonProgressOverview? - readFragment$EpisodeLessonProgressOverview({ + readFragment$EpisodeLessonProgressOverview({ required Map idFields, bool optimistic = true, }) { @@ -836,13 +840,17 @@ class Fragment$EpisodeLessonProgressOverview$lessons { }); factory Fragment$EpisodeLessonProgressOverview$lessons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Fragment$EpisodeLessonProgressOverview$lessons( items: (l$items as List) - .map((e) => Fragment$LessonProgressOverview.fromJson( - (e as Map))) + .map( + (e) => Fragment$LessonProgressOverview.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -904,11 +912,10 @@ class Fragment$EpisodeLessonProgressOverview$lessons { extension UtilityExtension$Fragment$EpisodeLessonProgressOverview$lessons on Fragment$EpisodeLessonProgressOverview$lessons { CopyWith$Fragment$EpisodeLessonProgressOverview$lessons< - Fragment$EpisodeLessonProgressOverview$lessons> - get copyWith => CopyWith$Fragment$EpisodeLessonProgressOverview$lessons( - this, - (i) => i, - ); + Fragment$EpisodeLessonProgressOverview$lessons + > + get copyWith => + CopyWith$Fragment$EpisodeLessonProgressOverview$lessons(this, (i) => i); } abstract class CopyWith$Fragment$EpisodeLessonProgressOverview$lessons { @@ -918,19 +925,23 @@ abstract class CopyWith$Fragment$EpisodeLessonProgressOverview$lessons { ) = _CopyWithImpl$Fragment$EpisodeLessonProgressOverview$lessons; factory CopyWith$Fragment$EpisodeLessonProgressOverview$lessons.stub( - TRes res) = - _CopyWithStubImpl$Fragment$EpisodeLessonProgressOverview$lessons; + TRes res, + ) = _CopyWithStubImpl$Fragment$EpisodeLessonProgressOverview$lessons; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$LessonProgressOverview< - Fragment$LessonProgressOverview>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$LessonProgressOverview< + Fragment$LessonProgressOverview + > + >, + ) + _fn, + ); } class _CopyWithImpl$Fragment$EpisodeLessonProgressOverview$lessons @@ -946,31 +957,34 @@ class _CopyWithImpl$Fragment$EpisodeLessonProgressOverview$lessons static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Fragment$EpisodeLessonProgressOverview$lessons( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Fragment$EpisodeLessonProgressOverview$lessons( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$LessonProgressOverview< - Fragment$LessonProgressOverview>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$LessonProgressOverview( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$LessonProgressOverview< + Fragment$LessonProgressOverview + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$LessonProgressOverview(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Fragment$EpisodeLessonProgressOverview$lessons @@ -979,10 +993,7 @@ class _CopyWithStubImpl$Fragment$EpisodeLessonProgressOverview$lessons TRes _res; - call({ - List? items, - String? $__typename, - }) => + call({List? items, String? $__typename}) => _res; items(_fn) => _res; @@ -992,16 +1003,16 @@ class Variables$Query$GetStudyTopicLessonStatuses { factory Variables$Query$GetStudyTopicLessonStatuses({ required String id, required int first, - }) => - Variables$Query$GetStudyTopicLessonStatuses._({ - r'id': id, - r'first': first, - }); + }) => Variables$Query$GetStudyTopicLessonStatuses._({ + r'id': id, + r'first': first, + }); Variables$Query$GetStudyTopicLessonStatuses._(this._$data); factory Variables$Query$GetStudyTopicLessonStatuses.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -1026,11 +1037,10 @@ class Variables$Query$GetStudyTopicLessonStatuses { } CopyWith$Variables$Query$GetStudyTopicLessonStatuses< - Variables$Query$GetStudyTopicLessonStatuses> - get copyWith => CopyWith$Variables$Query$GetStudyTopicLessonStatuses( - this, - (i) => i, - ); + Variables$Query$GetStudyTopicLessonStatuses + > + get copyWith => + CopyWith$Variables$Query$GetStudyTopicLessonStatuses(this, (i) => i); @override bool operator ==(Object other) { @@ -1058,10 +1068,7 @@ class Variables$Query$GetStudyTopicLessonStatuses { int get hashCode { final l$id = id; final l$first = first; - return Object.hashAll([ - l$id, - l$first, - ]); + return Object.hashAll([l$id, l$first]); } } @@ -1074,10 +1081,7 @@ abstract class CopyWith$Variables$Query$GetStudyTopicLessonStatuses { factory CopyWith$Variables$Query$GetStudyTopicLessonStatuses.stub(TRes res) = _CopyWithStubImpl$Variables$Query$GetStudyTopicLessonStatuses; - TRes call({ - String? id, - int? first, - }); + TRes call({String? id, int? first}); } class _CopyWithImpl$Variables$Query$GetStudyTopicLessonStatuses @@ -1093,15 +1097,13 @@ class _CopyWithImpl$Variables$Query$GetStudyTopicLessonStatuses static const _undefined = {}; - TRes call({ - Object? id = _undefined, - Object? first = _undefined, - }) => - _then(Variables$Query$GetStudyTopicLessonStatuses._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - if (first != _undefined && first != null) 'first': (first as int), - })); + TRes call({Object? id = _undefined, Object? first = _undefined}) => _then( + Variables$Query$GetStudyTopicLessonStatuses._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + if (first != _undefined && first != null) 'first': (first as int), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetStudyTopicLessonStatuses @@ -1110,11 +1112,7 @@ class _CopyWithStubImpl$Variables$Query$GetStudyTopicLessonStatuses TRes _res; - call({ - String? id, - int? first, - }) => - _res; + call({String? id, int? first}) => _res; } class Query$GetStudyTopicLessonStatuses { @@ -1124,12 +1122,14 @@ class Query$GetStudyTopicLessonStatuses { }); factory Query$GetStudyTopicLessonStatuses.fromJson( - Map json) { + Map json, + ) { final l$studyTopic = json['studyTopic']; final l$$__typename = json['__typename']; return Query$GetStudyTopicLessonStatuses( studyTopic: Query$GetStudyTopicLessonStatuses$studyTopic.fromJson( - (l$studyTopic as Map)), + (l$studyTopic as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1151,10 +1151,7 @@ class Query$GetStudyTopicLessonStatuses { int get hashCode { final l$studyTopic = studyTopic; final l$$__typename = $__typename; - return Object.hashAll([ - l$studyTopic, - l$$__typename, - ]); + return Object.hashAll([l$studyTopic, l$$__typename]); } @override @@ -1183,10 +1180,7 @@ class Query$GetStudyTopicLessonStatuses { extension UtilityExtension$Query$GetStudyTopicLessonStatuses on Query$GetStudyTopicLessonStatuses { CopyWith$Query$GetStudyTopicLessonStatuses - get copyWith => CopyWith$Query$GetStudyTopicLessonStatuses( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetStudyTopicLessonStatuses(this, (i) => i); } abstract class CopyWith$Query$GetStudyTopicLessonStatuses { @@ -1207,10 +1201,7 @@ abstract class CopyWith$Query$GetStudyTopicLessonStatuses { class _CopyWithImpl$Query$GetStudyTopicLessonStatuses implements CopyWith$Query$GetStudyTopicLessonStatuses { - _CopyWithImpl$Query$GetStudyTopicLessonStatuses( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetStudyTopicLessonStatuses(this._instance, this._then); final Query$GetStudyTopicLessonStatuses _instance; @@ -1221,20 +1212,23 @@ class _CopyWithImpl$Query$GetStudyTopicLessonStatuses TRes call({ Object? studyTopic = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetStudyTopicLessonStatuses( - studyTopic: studyTopic == _undefined || studyTopic == null - ? _instance.studyTopic - : (studyTopic as Query$GetStudyTopicLessonStatuses$studyTopic), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetStudyTopicLessonStatuses( + studyTopic: studyTopic == _undefined || studyTopic == null + ? _instance.studyTopic + : (studyTopic as Query$GetStudyTopicLessonStatuses$studyTopic), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic get studyTopic { final local$studyTopic = _instance.studyTopic; return CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic( - local$studyTopic, (e) => call(studyTopic: e)); + local$studyTopic, + (e) => call(studyTopic: e), + ); } } @@ -1247,120 +1241,141 @@ class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses call({ Query$GetStudyTopicLessonStatuses$studyTopic? studyTopic, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic get studyTopic => CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic.stub(_res); } -const documentNodeQueryGetStudyTopicLessonStatuses = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetStudyTopicLessonStatuses'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetStudyTopicLessonStatuses = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetStudyTopicLessonStatuses'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'first')), - type: NamedTypeNode( - name: NameNode(value: 'Int'), - isNonNull: true, + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'first')), + type: NamedTypeNode(name: NameNode(value: 'Int'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ), - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'studyTopic'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'lessons'), + name: NameNode(value: 'studyTopic'), alias: null, arguments: [ ArgumentNode( - name: NameNode(value: 'first'), - value: VariableNode(name: NameNode(value: 'first')), - ) + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'completed'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'episodes'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'first'), - value: IntValueNode(value: '1'), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'lessons'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: VariableNode(name: NameNode(value: 'first')), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( name: NameNode(value: 'items'), alias: null, arguments: [], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: 'locked'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'completed'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episodes'), + alias: null, + arguments: [ + ArgumentNode( + name: NameNode(value: 'first'), + value: IntValueNode(value: '1'), + ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'locked'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1369,25 +1384,18 @@ const documentNodeQueryGetStudyTopicLessonStatuses = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -1396,26 +1404,19 @@ const documentNodeQueryGetStudyTopicLessonStatuses = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); -Query$GetStudyTopicLessonStatuses _parserFn$Query$GetStudyTopicLessonStatuses( - Map data) => - Query$GetStudyTopicLessonStatuses.fromJson(data); -typedef OnQueryComplete$Query$GetStudyTopicLessonStatuses = FutureOr - Function( - Map?, - Query$GetStudyTopicLessonStatuses?, + ), + ], ); +Query$GetStudyTopicLessonStatuses _parserFn$Query$GetStudyTopicLessonStatuses( + Map data, +) => Query$GetStudyTopicLessonStatuses.fromJson(data); +typedef OnQueryComplete$Query$GetStudyTopicLessonStatuses = + FutureOr Function( + Map?, + Query$GetStudyTopicLessonStatuses?, + ); class Options$Query$GetStudyTopicLessonStatuses extends graphql.QueryOptions { @@ -1431,38 +1432,38 @@ class Options$Query$GetStudyTopicLessonStatuses graphql.Context? context, OnQueryComplete$Query$GetStudyTopicLessonStatuses? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetStudyTopicLessonStatuses(data), - ), - onError: onError, - document: documentNodeQueryGetStudyTopicLessonStatuses, - parserFn: _parserFn$Query$GetStudyTopicLessonStatuses, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$GetStudyTopicLessonStatuses(data), + ), + onError: onError, + document: documentNodeQueryGetStudyTopicLessonStatuses, + parserFn: _parserFn$Query$GetStudyTopicLessonStatuses, + ); final OnQueryComplete$Query$GetStudyTopicLessonStatuses? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetStudyTopicLessonStatuses @@ -1481,20 +1482,20 @@ class WatchOptions$Query$GetStudyTopicLessonStatuses bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetStudyTopicLessonStatuses, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetStudyTopicLessonStatuses, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetStudyTopicLessonStatuses, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetStudyTopicLessonStatuses, + ); } class FetchMoreOptions$Query$GetStudyTopicLessonStatuses @@ -1503,38 +1504,38 @@ class FetchMoreOptions$Query$GetStudyTopicLessonStatuses required graphql.UpdateQuery updateQuery, required Variables$Query$GetStudyTopicLessonStatuses variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetStudyTopicLessonStatuses, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetStudyTopicLessonStatuses, + ); } extension ClientExtension$Query$GetStudyTopicLessonStatuses on graphql.GraphQLClient { Future> - query$GetStudyTopicLessonStatuses( - Options$Query$GetStudyTopicLessonStatuses options) async => - await this.query(options); + query$GetStudyTopicLessonStatuses( + Options$Query$GetStudyTopicLessonStatuses options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$GetStudyTopicLessonStatuses( - WatchOptions$Query$GetStudyTopicLessonStatuses options) => - this.watchQuery(options); + watchQuery$GetStudyTopicLessonStatuses( + WatchOptions$Query$GetStudyTopicLessonStatuses options, + ) => this.watchQuery(options); void writeQuery$GetStudyTopicLessonStatuses({ required Query$GetStudyTopicLessonStatuses data, required Variables$Query$GetStudyTopicLessonStatuses variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryGetStudyTopicLessonStatuses), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetStudyTopicLessonStatuses, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetStudyTopicLessonStatuses? readQuery$GetStudyTopicLessonStatuses({ required Variables$Query$GetStudyTopicLessonStatuses variables, @@ -1543,7 +1544,8 @@ extension ClientExtension$Query$GetStudyTopicLessonStatuses final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQueryGetStudyTopicLessonStatuses), + document: documentNodeQueryGetStudyTopicLessonStatuses, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -1555,13 +1557,13 @@ extension ClientExtension$Query$GetStudyTopicLessonStatuses } graphql_flutter.QueryHookResult - useQuery$GetStudyTopicLessonStatuses( - Options$Query$GetStudyTopicLessonStatuses options) => - graphql_flutter.useQuery(options); +useQuery$GetStudyTopicLessonStatuses( + Options$Query$GetStudyTopicLessonStatuses options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetStudyTopicLessonStatuses( - WatchOptions$Query$GetStudyTopicLessonStatuses options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetStudyTopicLessonStatuses( + WatchOptions$Query$GetStudyTopicLessonStatuses options, +) => graphql_flutter.useWatchQuery(options); class Query$GetStudyTopicLessonStatuses$Widget extends graphql_flutter.Query { @@ -1569,12 +1571,8 @@ class Query$GetStudyTopicLessonStatuses$Widget widgets.Key? key, required Options$Query$GetStudyTopicLessonStatuses options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$GetStudyTopicLessonStatuses$studyTopic { @@ -1584,12 +1582,14 @@ class Query$GetStudyTopicLessonStatuses$studyTopic { }); factory Query$GetStudyTopicLessonStatuses$studyTopic.fromJson( - Map json) { + Map json, + ) { final l$lessons = json['lessons']; final l$$__typename = json['__typename']; return Query$GetStudyTopicLessonStatuses$studyTopic( lessons: Query$GetStudyTopicLessonStatuses$studyTopic$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1611,10 +1611,7 @@ class Query$GetStudyTopicLessonStatuses$studyTopic { int get hashCode { final l$lessons = lessons; final l$$__typename = $__typename; - return Object.hashAll([ - l$lessons, - l$$__typename, - ]); + return Object.hashAll([l$lessons, l$$__typename]); } @override @@ -1643,11 +1640,10 @@ class Query$GetStudyTopicLessonStatuses$studyTopic { extension UtilityExtension$Query$GetStudyTopicLessonStatuses$studyTopic on Query$GetStudyTopicLessonStatuses$studyTopic { CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic< - Query$GetStudyTopicLessonStatuses$studyTopic> - get copyWith => CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic( - this, - (i) => i, - ); + Query$GetStudyTopicLessonStatuses$studyTopic + > + get copyWith => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic(this, (i) => i); } abstract class CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic { @@ -1664,7 +1660,7 @@ abstract class CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic { String? $__typename, }); CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons - get lessons; + get lessons; } class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic @@ -1680,24 +1676,26 @@ class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic static const _undefined = {}; - TRes call({ - Object? lessons = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetStudyTopicLessonStatuses$studyTopic( - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Query$GetStudyTopicLessonStatuses$studyTopic$lessons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? lessons = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetStudyTopicLessonStatuses$studyTopic( + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons + as Query$GetStudyTopicLessonStatuses$studyTopic$lessons), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons - get lessons { + get lessons { final local$lessons = _instance.lessons; return CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } } @@ -1710,13 +1708,11 @@ class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic call({ Query$GetStudyTopicLessonStatuses$studyTopic$lessons? lessons, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons - get lessons => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons.stub( - _res); + get lessons => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons.stub(_res); } class Query$GetStudyTopicLessonStatuses$studyTopic$lessons { @@ -1726,13 +1722,18 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons { }); factory Query$GetStudyTopicLessonStatuses$studyTopic$lessons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetStudyTopicLessonStatuses$studyTopic$lessons( items: (l$items as List) - .map((e) => Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items - .fromJson((e as Map))) + .map( + (e) => + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -1794,35 +1795,41 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons { extension UtilityExtension$Query$GetStudyTopicLessonStatuses$studyTopic$lessons on Query$GetStudyTopicLessonStatuses$studyTopic$lessons { CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons> - get copyWith => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons( - this, - (i) => i, - ); + Query$GetStudyTopicLessonStatuses$studyTopic$lessons + > + get copyWith => CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons< - TRes> { + TRes +> { factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons( Query$GetStudyTopicLessonStatuses$studyTopic$lessons instance, TRes Function(Query$GetStudyTopicLessonStatuses$studyTopic$lessons) then, ) = _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons; factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons.stub( - TRes res) = - _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons; + TRes res, + ) = _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items>>) - _fn); + Iterable + Function( + Iterable< + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons @@ -1836,52 +1843,63 @@ class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons final Query$GetStudyTopicLessonStatuses$studyTopic$lessons _instance; final TRes Function(Query$GetStudyTopicLessonStatuses$studyTopic$lessons) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetStudyTopicLessonStatuses$studyTopic$lessons( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetStudyTopicLessonStatuses$studyTopic$lessons( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( - e, - (i) => i, - ))).toList()); + Iterable + Function( + Iterable< + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons { _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons( - this._res); + this._res, + ); TRes _res; call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -1895,7 +1913,8 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items { }); factory Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$completed = json['completed']; final l$episodes = json['episodes']; @@ -1904,8 +1923,9 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items { id: (l$id as String), completed: (l$completed as bool), episodes: - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes - .fromJson((l$episodes as Map)), + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes.fromJson( + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } @@ -1915,7 +1935,7 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items { final bool completed; final Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes - episodes; + episodes; final String $__typename; @@ -1938,12 +1958,7 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items { final l$completed = completed; final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$completed, - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$id, l$completed, l$episodes, l$$__typename]); } @override @@ -1982,42 +1997,48 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items { extension UtilityExtension$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items on Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items { CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items> - get copyWith => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( - this, - (i) => i, - ); + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items + > + get copyWith => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - TRes> { + TRes +> { factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items instance, TRes Function(Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items) - then, + then, ) = _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items; factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items; TRes call({ String? id, bool? completed, Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes? - episodes, + episodes, String? $__typename, }); CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> get episodes; + TRes + > + get episodes; } class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( this._instance, this._then, @@ -2026,7 +2047,9 @@ class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< final Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items _instance; final TRes Function( - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items) _then; + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items, + ) + _then; static const _undefined = {}; @@ -2035,36 +2058,44 @@ class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< Object? completed = _undefined, Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - completed: completed == _undefined || completed == null - ? _instance.completed - : (completed as bool), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes + }) => _then( + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + completed: completed == _undefined || completed == null + ? _instance.completed + : (completed as bool), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> get episodes { + TRes + > + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items( - this._res); + this._res, + ); TRes _res; @@ -2072,16 +2103,17 @@ class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$ite String? id, bool? completed, Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes? - episodes, + episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> - get episodes => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes - .stub(_res); + TRes + > + get episodes => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes.stub( + _res, + ); } class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes { @@ -2091,22 +2123,27 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes { }); factory Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( items: (l$items as List) - .map((e) => - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items - .fromJson((e as Map))) + .map( + (e) => + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); } final List< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items> - items; + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + > + items; final String $__typename; @@ -2163,104 +2200,137 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes { extension UtilityExtension$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes on Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes { CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes> - get copyWith => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( - this, - (i) => i, - ); + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes + > + get copyWith => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> { + TRes +> { factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes - instance, + instance, TRes Function( - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes) - then, + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes, + ) + then, ) = _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes; factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes; TRes call({ - List? - items, + List< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + >? + items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items>>) - _fn); + Iterable< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + > + Function( + Iterable< + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> { + TRes + > { _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( this._instance, this._then, ); final Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes - _instance; + _instance; final TRes Function( - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes) - _then; + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes, + ) + _then; static const _undefined = {}; TRes call({ Object? items = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items>), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items + as List< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + >), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items>>) - _fn) => - call( - items: _fn(_instance.items.map((e) => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( - e, - (i) => i, - ))).toList()); + Iterable< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + > + Function( + Iterable< + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( + e, + (i) => i, + ), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes( - this._res); + this._res, + ); TRes _res; call({ - List? - items, + List< + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + >? + items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } @@ -2273,7 +2343,8 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items }); factory Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$locked = json['locked']; final l$$__typename = json['__typename']; @@ -2306,11 +2377,7 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items final l$id = id; final l$locked = locked; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$locked, - l$$__typename, - ]); + return Object.hashAll([l$id, l$locked, l$$__typename]); } @override @@ -2345,51 +2412,53 @@ class Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items extension UtilityExtension$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items on Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items { CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items> - get copyWith => - CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( - this, - (i) => i, - ); + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items + > + get copyWith => + CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - TRes> { + TRes +> { factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items - instance, + instance, TRes Function( - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items) - then, + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items, + ) + then, ) = _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items; factory CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items.stub( - TRes res) = - _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items; + TRes res, + ) = _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items; - TRes call({ - String? id, - bool? locked, - String? $__typename, - }); + TRes call({String? id, bool? locked, String? $__typename}); } class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - TRes> { + TRes + > { _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( this._instance, this._then, ); final Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items - _instance; + _instance; final TRes Function( - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items) - _then; + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items, + ) + _then; static const _undefined = {}; @@ -2397,47 +2466,44 @@ class _CopyWithImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$e Object? id = _undefined, Object? locked = _undefined, Object? $__typename = _undefined, - }) => - _then( - Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( - id: id == _undefined || id == null ? _instance.id : (id as String), - locked: locked == _undefined || locked == null - ? _instance.locked - : (locked as bool), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( + id: id == _undefined || id == null ? _instance.id : (id as String), + locked: locked == _undefined || locked == null + ? _instance.locked + : (locked as bool), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - TRes> + TRes +> implements CopyWith$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items< - TRes> { + TRes + > { _CopyWithStubImpl$Query$GetStudyTopicLessonStatuses$studyTopic$lessons$items$episodes$items( - this._res); + this._res, + ); TRes _res; - call({ - String? id, - bool? locked, - String? $__typename, - }) => - _res; + call({String? id, bool? locked, String? $__typename}) => _res; } class Variables$Query$GetEpisodeLessonProgress { factory Variables$Query$GetEpisodeLessonProgress({required String id}) => - Variables$Query$GetEpisodeLessonProgress._({ - r'id': id, - }); + Variables$Query$GetEpisodeLessonProgress._({r'id': id}); Variables$Query$GetEpisodeLessonProgress._(this._$data); factory Variables$Query$GetEpisodeLessonProgress.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -2456,11 +2522,10 @@ class Variables$Query$GetEpisodeLessonProgress { } CopyWith$Variables$Query$GetEpisodeLessonProgress< - Variables$Query$GetEpisodeLessonProgress> - get copyWith => CopyWith$Variables$Query$GetEpisodeLessonProgress( - this, - (i) => i, - ); + Variables$Query$GetEpisodeLessonProgress + > + get copyWith => + CopyWith$Variables$Query$GetEpisodeLessonProgress(this, (i) => i); @override bool operator ==(Object other) { @@ -2511,11 +2576,12 @@ class _CopyWithImpl$Variables$Query$GetEpisodeLessonProgress static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetEpisodeLessonProgress._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetEpisodeLessonProgress._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetEpisodeLessonProgress @@ -2538,7 +2604,8 @@ class Query$GetEpisodeLessonProgress { final l$$__typename = json['__typename']; return Query$GetEpisodeLessonProgress( episode: Query$GetEpisodeLessonProgress$episode.fromJson( - (l$episode as Map)), + (l$episode as Map), + ), $__typename: (l$$__typename as String), ); } @@ -2560,10 +2627,7 @@ class Query$GetEpisodeLessonProgress { int get hashCode { final l$episode = episode; final l$$__typename = $__typename; - return Object.hashAll([ - l$episode, - l$$__typename, - ]); + return Object.hashAll([l$episode, l$$__typename]); } @override @@ -2592,10 +2656,7 @@ class Query$GetEpisodeLessonProgress { extension UtilityExtension$Query$GetEpisodeLessonProgress on Query$GetEpisodeLessonProgress { CopyWith$Query$GetEpisodeLessonProgress - get copyWith => CopyWith$Query$GetEpisodeLessonProgress( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetEpisodeLessonProgress(this, (i) => i); } abstract class CopyWith$Query$GetEpisodeLessonProgress { @@ -2616,10 +2677,7 @@ abstract class CopyWith$Query$GetEpisodeLessonProgress { class _CopyWithImpl$Query$GetEpisodeLessonProgress implements CopyWith$Query$GetEpisodeLessonProgress { - _CopyWithImpl$Query$GetEpisodeLessonProgress( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetEpisodeLessonProgress(this._instance, this._then); final Query$GetEpisodeLessonProgress _instance; @@ -2627,23 +2685,24 @@ class _CopyWithImpl$Query$GetEpisodeLessonProgress static const _undefined = {}; - TRes call({ - Object? episode = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetEpisodeLessonProgress( - episode: episode == _undefined || episode == null - ? _instance.episode - : (episode as Query$GetEpisodeLessonProgress$episode), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? episode = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetEpisodeLessonProgress( + episode: episode == _undefined || episode == null + ? _instance.episode + : (episode as Query$GetEpisodeLessonProgress$episode), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetEpisodeLessonProgress$episode get episode { final local$episode = _instance.episode; return CopyWith$Query$GetEpisodeLessonProgress$episode( - local$episode, (e) => call(episode: e)); + local$episode, + (e) => call(episode: e), + ); } } @@ -2656,73 +2715,97 @@ class _CopyWithStubImpl$Query$GetEpisodeLessonProgress call({ Query$GetEpisodeLessonProgress$episode? episode, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetEpisodeLessonProgress$episode get episode => CopyWith$Query$GetEpisodeLessonProgress$episode.stub(_res); } -const documentNodeQueryGetEpisodeLessonProgress = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetEpisodeLessonProgress'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetEpisodeLessonProgress = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetEpisodeLessonProgress'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'episode'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeLessonProgressOverview'), - directives: [], - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'season'), + name: NameNode(value: 'episode'), alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( + arguments: [ + ArgumentNode( name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + value: VariableNode(name: NameNode(value: 'id')), ), - FieldNode( - name: NameNode(value: 'episodes'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeLessonProgressOverview'), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode(value: 'EpisodeLessonProgressOverview'), + directives: [], + ), + FieldNode( + name: NameNode(value: 'season'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'episodes'), + alias: null, + arguments: [], directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode( + value: 'EpisodeLessonProgressOverview', + ), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2731,25 +2814,18 @@ const documentNodeQueryGetEpisodeLessonProgress = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -2758,28 +2834,21 @@ const documentNodeQueryGetEpisodeLessonProgress = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionEpisodeLessonProgressOverview, - fragmentDefinitionLessonProgressOverview, -]); -Query$GetEpisodeLessonProgress _parserFn$Query$GetEpisodeLessonProgress( - Map data) => - Query$GetEpisodeLessonProgress.fromJson(data); -typedef OnQueryComplete$Query$GetEpisodeLessonProgress = FutureOr - Function( - Map?, - Query$GetEpisodeLessonProgress?, + ), + fragmentDefinitionEpisodeLessonProgressOverview, + fragmentDefinitionLessonProgressOverview, + ], ); +Query$GetEpisodeLessonProgress _parserFn$Query$GetEpisodeLessonProgress( + Map data, +) => Query$GetEpisodeLessonProgress.fromJson(data); +typedef OnQueryComplete$Query$GetEpisodeLessonProgress = + FutureOr Function( + Map?, + Query$GetEpisodeLessonProgress?, + ); class Options$Query$GetEpisodeLessonProgress extends graphql.QueryOptions { @@ -2795,38 +2864,38 @@ class Options$Query$GetEpisodeLessonProgress graphql.Context? context, OnQueryComplete$Query$GetEpisodeLessonProgress? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetEpisodeLessonProgress(data), - ), - onError: onError, - document: documentNodeQueryGetEpisodeLessonProgress, - parserFn: _parserFn$Query$GetEpisodeLessonProgress, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$GetEpisodeLessonProgress(data), + ), + onError: onError, + document: documentNodeQueryGetEpisodeLessonProgress, + parserFn: _parserFn$Query$GetEpisodeLessonProgress, + ); final OnQueryComplete$Query$GetEpisodeLessonProgress? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetEpisodeLessonProgress @@ -2845,20 +2914,20 @@ class WatchOptions$Query$GetEpisodeLessonProgress bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetEpisodeLessonProgress, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetEpisodeLessonProgress, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetEpisodeLessonProgress, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetEpisodeLessonProgress, + ); } class FetchMoreOptions$Query$GetEpisodeLessonProgress @@ -2867,38 +2936,38 @@ class FetchMoreOptions$Query$GetEpisodeLessonProgress required graphql.UpdateQuery updateQuery, required Variables$Query$GetEpisodeLessonProgress variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetEpisodeLessonProgress, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetEpisodeLessonProgress, + ); } extension ClientExtension$Query$GetEpisodeLessonProgress on graphql.GraphQLClient { Future> - query$GetEpisodeLessonProgress( - Options$Query$GetEpisodeLessonProgress options) async => - await this.query(options); + query$GetEpisodeLessonProgress( + Options$Query$GetEpisodeLessonProgress options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$GetEpisodeLessonProgress( - WatchOptions$Query$GetEpisodeLessonProgress options) => - this.watchQuery(options); + watchQuery$GetEpisodeLessonProgress( + WatchOptions$Query$GetEpisodeLessonProgress options, + ) => this.watchQuery(options); void writeQuery$GetEpisodeLessonProgress({ required Query$GetEpisodeLessonProgress data, required Variables$Query$GetEpisodeLessonProgress variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryGetEpisodeLessonProgress), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetEpisodeLessonProgress, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetEpisodeLessonProgress? readQuery$GetEpisodeLessonProgress({ required Variables$Query$GetEpisodeLessonProgress variables, @@ -2907,7 +2976,8 @@ extension ClientExtension$Query$GetEpisodeLessonProgress final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQueryGetEpisodeLessonProgress), + document: documentNodeQueryGetEpisodeLessonProgress, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -2919,13 +2989,13 @@ extension ClientExtension$Query$GetEpisodeLessonProgress } graphql_flutter.QueryHookResult - useQuery$GetEpisodeLessonProgress( - Options$Query$GetEpisodeLessonProgress options) => - graphql_flutter.useQuery(options); +useQuery$GetEpisodeLessonProgress( + Options$Query$GetEpisodeLessonProgress options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetEpisodeLessonProgress( - WatchOptions$Query$GetEpisodeLessonProgress options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetEpisodeLessonProgress( + WatchOptions$Query$GetEpisodeLessonProgress options, +) => graphql_flutter.useWatchQuery(options); class Query$GetEpisodeLessonProgress$Widget extends graphql_flutter.Query { @@ -2933,12 +3003,8 @@ class Query$GetEpisodeLessonProgress$Widget widgets.Key? key, required Options$Query$GetEpisodeLessonProgress options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$GetEpisodeLessonProgress$episode @@ -2951,7 +3017,8 @@ class Query$GetEpisodeLessonProgress$episode }); factory Query$GetEpisodeLessonProgress$episode.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$lessons = json['lessons']; final l$$__typename = json['__typename']; @@ -2959,12 +3026,14 @@ class Query$GetEpisodeLessonProgress$episode return Query$GetEpisodeLessonProgress$episode( id: (l$id as String), lessons: Query$GetEpisodeLessonProgress$episode$lessons.fromJson( - (l$lessons as Map)), + (l$lessons as Map), + ), $__typename: (l$$__typename as String), season: l$season == null ? null : Query$GetEpisodeLessonProgress$episode$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), ); } @@ -2995,12 +3064,7 @@ class Query$GetEpisodeLessonProgress$episode final l$lessons = lessons; final l$$__typename = $__typename; final l$season = season; - return Object.hashAll([ - l$id, - l$lessons, - l$$__typename, - l$season, - ]); + return Object.hashAll([l$id, l$lessons, l$$__typename, l$season]); } @override @@ -3039,11 +3103,10 @@ class Query$GetEpisodeLessonProgress$episode extension UtilityExtension$Query$GetEpisodeLessonProgress$episode on Query$GetEpisodeLessonProgress$episode { CopyWith$Query$GetEpisodeLessonProgress$episode< - Query$GetEpisodeLessonProgress$episode> - get copyWith => CopyWith$Query$GetEpisodeLessonProgress$episode( - this, - (i) => i, - ); + Query$GetEpisodeLessonProgress$episode + > + get copyWith => + CopyWith$Query$GetEpisodeLessonProgress$episode(this, (i) => i); } abstract class CopyWith$Query$GetEpisodeLessonProgress$episode { @@ -3083,33 +3146,39 @@ class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode Object? lessons = _undefined, Object? $__typename = _undefined, Object? season = _undefined, - }) => - _then(Query$GetEpisodeLessonProgress$episode( - id: id == _undefined || id == null ? _instance.id : (id as String), - lessons: lessons == _undefined || lessons == null - ? _instance.lessons - : (lessons as Query$GetEpisodeLessonProgress$episode$lessons), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - season: season == _undefined - ? _instance.season - : (season as Query$GetEpisodeLessonProgress$episode$season?), - )); + }) => _then( + Query$GetEpisodeLessonProgress$episode( + id: id == _undefined || id == null ? _instance.id : (id as String), + lessons: lessons == _undefined || lessons == null + ? _instance.lessons + : (lessons as Query$GetEpisodeLessonProgress$episode$lessons), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + season: season == _undefined + ? _instance.season + : (season as Query$GetEpisodeLessonProgress$episode$season?), + ), + ); CopyWith$Query$GetEpisodeLessonProgress$episode$lessons get lessons { final local$lessons = _instance.lessons; return CopyWith$Query$GetEpisodeLessonProgress$episode$lessons( - local$lessons, (e) => call(lessons: e)); + local$lessons, + (e) => call(lessons: e), + ); } CopyWith$Query$GetEpisodeLessonProgress$episode$season get season { final local$season = _instance.season; return local$season == null ? CopyWith$Query$GetEpisodeLessonProgress$episode$season.stub( - _then(_instance)) + _then(_instance), + ) : CopyWith$Query$GetEpisodeLessonProgress$episode$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -3124,8 +3193,7 @@ class _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode Query$GetEpisodeLessonProgress$episode$lessons? lessons, String? $__typename, Query$GetEpisodeLessonProgress$episode$season? season, - }) => - _res; + }) => _res; CopyWith$Query$GetEpisodeLessonProgress$episode$lessons get lessons => CopyWith$Query$GetEpisodeLessonProgress$episode$lessons.stub(_res); @@ -3142,13 +3210,17 @@ class Query$GetEpisodeLessonProgress$episode$lessons }); factory Query$GetEpisodeLessonProgress$episode$lessons.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetEpisodeLessonProgress$episode$lessons( items: (l$items as List) - .map((e) => Fragment$LessonProgressOverview.fromJson( - (e as Map))) + .map( + (e) => Fragment$LessonProgressOverview.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -3210,11 +3282,10 @@ class Query$GetEpisodeLessonProgress$episode$lessons extension UtilityExtension$Query$GetEpisodeLessonProgress$episode$lessons on Query$GetEpisodeLessonProgress$episode$lessons { CopyWith$Query$GetEpisodeLessonProgress$episode$lessons< - Query$GetEpisodeLessonProgress$episode$lessons> - get copyWith => CopyWith$Query$GetEpisodeLessonProgress$episode$lessons( - this, - (i) => i, - ); + Query$GetEpisodeLessonProgress$episode$lessons + > + get copyWith => + CopyWith$Query$GetEpisodeLessonProgress$episode$lessons(this, (i) => i); } abstract class CopyWith$Query$GetEpisodeLessonProgress$episode$lessons { @@ -3224,19 +3295,23 @@ abstract class CopyWith$Query$GetEpisodeLessonProgress$episode$lessons { ) = _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$lessons; factory CopyWith$Query$GetEpisodeLessonProgress$episode$lessons.stub( - TRes res) = - _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$lessons; + TRes res, + ) = _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$lessons; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$LessonProgressOverview< - Fragment$LessonProgressOverview>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$LessonProgressOverview< + Fragment$LessonProgressOverview + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$lessons @@ -3252,31 +3327,34 @@ class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$lessons static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetEpisodeLessonProgress$episode$lessons( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetEpisodeLessonProgress$episode$lessons( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$LessonProgressOverview< - Fragment$LessonProgressOverview>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$LessonProgressOverview( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$LessonProgressOverview< + Fragment$LessonProgressOverview + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$LessonProgressOverview(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$lessons @@ -3285,10 +3363,7 @@ class _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$lessons TRes _res; - call({ - List? items, - String? $__typename, - }) => + call({List? items, String? $__typename}) => _res; items(_fn) => _res; @@ -3302,14 +3377,16 @@ class Query$GetEpisodeLessonProgress$episode$season { }); factory Query$GetEpisodeLessonProgress$episode$season.fromJson( - Map json) { + Map json, + ) { final l$id = json['id']; final l$episodes = json['episodes']; final l$$__typename = json['__typename']; return Query$GetEpisodeLessonProgress$episode$season( id: (l$id as String), episodes: Query$GetEpisodeLessonProgress$episode$season$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3336,11 +3413,7 @@ class Query$GetEpisodeLessonProgress$episode$season { final l$id = id; final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$id, l$episodes, l$$__typename]); } @override @@ -3374,11 +3447,10 @@ class Query$GetEpisodeLessonProgress$episode$season { extension UtilityExtension$Query$GetEpisodeLessonProgress$episode$season on Query$GetEpisodeLessonProgress$episode$season { CopyWith$Query$GetEpisodeLessonProgress$episode$season< - Query$GetEpisodeLessonProgress$episode$season> - get copyWith => CopyWith$Query$GetEpisodeLessonProgress$episode$season( - this, - (i) => i, - ); + Query$GetEpisodeLessonProgress$episode$season + > + get copyWith => + CopyWith$Query$GetEpisodeLessonProgress$episode$season(this, (i) => i); } abstract class CopyWith$Query$GetEpisodeLessonProgress$episode$season { @@ -3388,8 +3460,8 @@ abstract class CopyWith$Query$GetEpisodeLessonProgress$episode$season { ) = _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$season; factory CopyWith$Query$GetEpisodeLessonProgress$episode$season.stub( - TRes res) = - _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season; + TRes res, + ) = _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season; TRes call({ String? id, @@ -3397,7 +3469,7 @@ abstract class CopyWith$Query$GetEpisodeLessonProgress$episode$season { String? $__typename, }); CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes - get episodes; + get episodes; } class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$season @@ -3417,23 +3489,26 @@ class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$season Object? id = _undefined, Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetEpisodeLessonProgress$episode$season( - id: id == _undefined || id == null ? _instance.id : (id as String), - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes + }) => _then( + Query$GetEpisodeLessonProgress$episode$season( + id: id == _undefined || id == null ? _instance.id : (id as String), + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetEpisodeLessonProgress$episode$season$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes - get episodes { + get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } @@ -3447,13 +3522,13 @@ class _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season String? id, Query$GetEpisodeLessonProgress$episode$season$episodes? episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes - get episodes => - CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes.stub( - _res); + get episodes => + CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes.stub( + _res, + ); } class Query$GetEpisodeLessonProgress$episode$season$episodes { @@ -3463,13 +3538,17 @@ class Query$GetEpisodeLessonProgress$episode$season$episodes { }); factory Query$GetEpisodeLessonProgress$episode$season$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetEpisodeLessonProgress$episode$season$episodes( items: (l$items as List) - .map((e) => Fragment$EpisodeLessonProgressOverview.fromJson( - (e as Map))) + .map( + (e) => Fragment$EpisodeLessonProgressOverview.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -3531,35 +3610,41 @@ class Query$GetEpisodeLessonProgress$episode$season$episodes { extension UtilityExtension$Query$GetEpisodeLessonProgress$episode$season$episodes on Query$GetEpisodeLessonProgress$episode$season$episodes { CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes< - Query$GetEpisodeLessonProgress$episode$season$episodes> - get copyWith => - CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes( - this, - (i) => i, - ); + Query$GetEpisodeLessonProgress$episode$season$episodes + > + get copyWith => + CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes( + this, + (i) => i, + ); } abstract class CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes< - TRes> { + TRes +> { factory CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes( Query$GetEpisodeLessonProgress$episode$season$episodes instance, TRes Function(Query$GetEpisodeLessonProgress$episode$season$episodes) then, ) = _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$season$episodes; factory CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season$episodes; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeLessonProgressOverview< - Fragment$EpisodeLessonProgressOverview>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeLessonProgressOverview< + Fragment$EpisodeLessonProgressOverview + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$season$episodes @@ -3573,65 +3658,68 @@ class _CopyWithImpl$Query$GetEpisodeLessonProgress$episode$season$episodes final Query$GetEpisodeLessonProgress$episode$season$episodes _instance; final TRes Function(Query$GetEpisodeLessonProgress$episode$season$episodes) - _then; + _then; static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetEpisodeLessonProgress$episode$season$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetEpisodeLessonProgress$episode$season$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeLessonProgressOverview< - Fragment$EpisodeLessonProgressOverview>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$EpisodeLessonProgressOverview( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeLessonProgressOverview< + Fragment$EpisodeLessonProgressOverview + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$EpisodeLessonProgressOverview(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season$episodes< - TRes> + TRes +> implements CopyWith$Query$GetEpisodeLessonProgress$episode$season$episodes { _CopyWithStubImpl$Query$GetEpisodeLessonProgress$episode$season$episodes( - this._res); + this._res, + ); TRes _res; call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } class Variables$Query$GetSeasonLessonProgress { factory Variables$Query$GetSeasonLessonProgress({required String id}) => - Variables$Query$GetSeasonLessonProgress._({ - r'id': id, - }); + Variables$Query$GetSeasonLessonProgress._({r'id': id}); Variables$Query$GetSeasonLessonProgress._(this._$data); factory Variables$Query$GetSeasonLessonProgress.fromJson( - Map data) { + Map data, + ) { final result$data = {}; final l$id = data['id']; result$data['id'] = (l$id as String); @@ -3650,11 +3738,10 @@ class Variables$Query$GetSeasonLessonProgress { } CopyWith$Variables$Query$GetSeasonLessonProgress< - Variables$Query$GetSeasonLessonProgress> - get copyWith => CopyWith$Variables$Query$GetSeasonLessonProgress( - this, - (i) => i, - ); + Variables$Query$GetSeasonLessonProgress + > + get copyWith => + CopyWith$Variables$Query$GetSeasonLessonProgress(this, (i) => i); @override bool operator ==(Object other) { @@ -3705,11 +3792,12 @@ class _CopyWithImpl$Variables$Query$GetSeasonLessonProgress static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetSeasonLessonProgress._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetSeasonLessonProgress._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetSeasonLessonProgress @@ -3732,7 +3820,8 @@ class Query$GetSeasonLessonProgress { final l$$__typename = json['__typename']; return Query$GetSeasonLessonProgress( season: Query$GetSeasonLessonProgress$season.fromJson( - (l$season as Map)), + (l$season as Map), + ), $__typename: (l$$__typename as String), ); } @@ -3754,10 +3843,7 @@ class Query$GetSeasonLessonProgress { int get hashCode { final l$season = season; final l$$__typename = $__typename; - return Object.hashAll([ - l$season, - l$$__typename, - ]); + return Object.hashAll([l$season, l$$__typename]); } @override @@ -3786,10 +3872,7 @@ class Query$GetSeasonLessonProgress { extension UtilityExtension$Query$GetSeasonLessonProgress on Query$GetSeasonLessonProgress { CopyWith$Query$GetSeasonLessonProgress - get copyWith => CopyWith$Query$GetSeasonLessonProgress( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetSeasonLessonProgress(this, (i) => i); } abstract class CopyWith$Query$GetSeasonLessonProgress { @@ -3810,10 +3893,7 @@ abstract class CopyWith$Query$GetSeasonLessonProgress { class _CopyWithImpl$Query$GetSeasonLessonProgress implements CopyWith$Query$GetSeasonLessonProgress { - _CopyWithImpl$Query$GetSeasonLessonProgress( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetSeasonLessonProgress(this._instance, this._then); final Query$GetSeasonLessonProgress _instance; @@ -3821,23 +3901,24 @@ class _CopyWithImpl$Query$GetSeasonLessonProgress static const _undefined = {}; - TRes call({ - Object? season = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSeasonLessonProgress( - season: season == _undefined || season == null - ? _instance.season - : (season as Query$GetSeasonLessonProgress$season), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? season = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSeasonLessonProgress( + season: season == _undefined || season == null + ? _instance.season + : (season as Query$GetSeasonLessonProgress$season), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSeasonLessonProgress$season get season { final local$season = _instance.season; return CopyWith$Query$GetSeasonLessonProgress$season( - local$season, (e) => call(season: e)); + local$season, + (e) => call(season: e), + ); } } @@ -3847,77 +3928,90 @@ class _CopyWithStubImpl$Query$GetSeasonLessonProgress TRes _res; - call({ - Query$GetSeasonLessonProgress$season? season, - String? $__typename, - }) => + call({Query$GetSeasonLessonProgress$season? season, String? $__typename}) => _res; CopyWith$Query$GetSeasonLessonProgress$season get season => CopyWith$Query$GetSeasonLessonProgress$season.stub(_res); } -const documentNodeQueryGetSeasonLessonProgress = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetSeasonLessonProgress'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetSeasonLessonProgress = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetSeasonLessonProgress'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'season'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'episodes'), + name: NameNode(value: 'season'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'items'), - alias: null, - arguments: [], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FragmentSpreadNode( - name: NameNode(value: 'EpisodeLessonProgressOverview'), - directives: [], - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'episodes'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'items'), + alias: null, + arguments: [], + directives: [], + selectionSet: SelectionSetNode( + selections: [ + FragmentSpreadNode( + name: NameNode( + value: 'EpisodeLessonProgressOverview', + ), + directives: [], + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - ]), + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -3926,23 +4020,16 @@ const documentNodeQueryGetSeasonLessonProgress = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), - fragmentDefinitionEpisodeLessonProgressOverview, - fragmentDefinitionLessonProgressOverview, -]); + ), + fragmentDefinitionEpisodeLessonProgressOverview, + fragmentDefinitionLessonProgressOverview, + ], +); Query$GetSeasonLessonProgress _parserFn$Query$GetSeasonLessonProgress( - Map data) => - Query$GetSeasonLessonProgress.fromJson(data); + Map data, +) => Query$GetSeasonLessonProgress.fromJson(data); typedef OnQueryComplete$Query$GetSeasonLessonProgress = FutureOr Function( Map?, Query$GetSeasonLessonProgress?, @@ -3962,38 +4049,38 @@ class Options$Query$GetSeasonLessonProgress graphql.Context? context, OnQueryComplete$Query$GetSeasonLessonProgress? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null - ? null - : _parserFn$Query$GetSeasonLessonProgress(data), - ), - onError: onError, - document: documentNodeQueryGetSeasonLessonProgress, - parserFn: _parserFn$Query$GetSeasonLessonProgress, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null + ? null + : _parserFn$Query$GetSeasonLessonProgress(data), + ), + onError: onError, + document: documentNodeQueryGetSeasonLessonProgress, + parserFn: _parserFn$Query$GetSeasonLessonProgress, + ); final OnQueryComplete$Query$GetSeasonLessonProgress? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetSeasonLessonProgress @@ -4012,20 +4099,20 @@ class WatchOptions$Query$GetSeasonLessonProgress bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetSeasonLessonProgress, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetSeasonLessonProgress, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetSeasonLessonProgress, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetSeasonLessonProgress, + ); } class FetchMoreOptions$Query$GetSeasonLessonProgress @@ -4034,38 +4121,38 @@ class FetchMoreOptions$Query$GetSeasonLessonProgress required graphql.UpdateQuery updateQuery, required Variables$Query$GetSeasonLessonProgress variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetSeasonLessonProgress, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetSeasonLessonProgress, + ); } extension ClientExtension$Query$GetSeasonLessonProgress on graphql.GraphQLClient { Future> - query$GetSeasonLessonProgress( - Options$Query$GetSeasonLessonProgress options) async => - await this.query(options); + query$GetSeasonLessonProgress( + Options$Query$GetSeasonLessonProgress options, + ) async => await this.query(options); graphql.ObservableQuery - watchQuery$GetSeasonLessonProgress( - WatchOptions$Query$GetSeasonLessonProgress options) => - this.watchQuery(options); + watchQuery$GetSeasonLessonProgress( + WatchOptions$Query$GetSeasonLessonProgress options, + ) => this.watchQuery(options); void writeQuery$GetSeasonLessonProgress({ required Query$GetSeasonLessonProgress data, required Variables$Query$GetSeasonLessonProgress variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: graphql.Operation( - document: documentNodeQueryGetSeasonLessonProgress), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation( + document: documentNodeQueryGetSeasonLessonProgress, + ), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetSeasonLessonProgress? readQuery$GetSeasonLessonProgress({ required Variables$Query$GetSeasonLessonProgress variables, @@ -4074,7 +4161,8 @@ extension ClientExtension$Query$GetSeasonLessonProgress final result = this.readQuery( graphql.Request( operation: graphql.Operation( - document: documentNodeQueryGetSeasonLessonProgress), + document: documentNodeQueryGetSeasonLessonProgress, + ), variables: variables.toJson(), ), optimistic: optimistic, @@ -4086,13 +4174,13 @@ extension ClientExtension$Query$GetSeasonLessonProgress } graphql_flutter.QueryHookResult - useQuery$GetSeasonLessonProgress( - Options$Query$GetSeasonLessonProgress options) => - graphql_flutter.useQuery(options); +useQuery$GetSeasonLessonProgress( + Options$Query$GetSeasonLessonProgress options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery - useWatchQuery$GetSeasonLessonProgress( - WatchOptions$Query$GetSeasonLessonProgress options) => - graphql_flutter.useWatchQuery(options); +useWatchQuery$GetSeasonLessonProgress( + WatchOptions$Query$GetSeasonLessonProgress options, +) => graphql_flutter.useWatchQuery(options); class Query$GetSeasonLessonProgress$Widget extends graphql_flutter.Query { @@ -4100,12 +4188,8 @@ class Query$GetSeasonLessonProgress$Widget widgets.Key? key, required Options$Query$GetSeasonLessonProgress options, required graphql_flutter.QueryBuilder - builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + builder, + }) : super(key: key, options: options, builder: builder); } class Query$GetSeasonLessonProgress$season { @@ -4115,12 +4199,14 @@ class Query$GetSeasonLessonProgress$season { }); factory Query$GetSeasonLessonProgress$season.fromJson( - Map json) { + Map json, + ) { final l$episodes = json['episodes']; final l$$__typename = json['__typename']; return Query$GetSeasonLessonProgress$season( episodes: Query$GetSeasonLessonProgress$season$episodes.fromJson( - (l$episodes as Map)), + (l$episodes as Map), + ), $__typename: (l$$__typename as String), ); } @@ -4142,10 +4228,7 @@ class Query$GetSeasonLessonProgress$season { int get hashCode { final l$episodes = episodes; final l$$__typename = $__typename; - return Object.hashAll([ - l$episodes, - l$$__typename, - ]); + return Object.hashAll([l$episodes, l$$__typename]); } @override @@ -4174,11 +4257,9 @@ class Query$GetSeasonLessonProgress$season { extension UtilityExtension$Query$GetSeasonLessonProgress$season on Query$GetSeasonLessonProgress$season { CopyWith$Query$GetSeasonLessonProgress$season< - Query$GetSeasonLessonProgress$season> - get copyWith => CopyWith$Query$GetSeasonLessonProgress$season( - this, - (i) => i, - ); + Query$GetSeasonLessonProgress$season + > + get copyWith => CopyWith$Query$GetSeasonLessonProgress$season(this, (i) => i); } abstract class CopyWith$Query$GetSeasonLessonProgress$season { @@ -4213,20 +4294,23 @@ class _CopyWithImpl$Query$GetSeasonLessonProgress$season TRes call({ Object? episodes = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetSeasonLessonProgress$season( - episodes: episodes == _undefined || episodes == null - ? _instance.episodes - : (episodes as Query$GetSeasonLessonProgress$season$episodes), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetSeasonLessonProgress$season( + episodes: episodes == _undefined || episodes == null + ? _instance.episodes + : (episodes as Query$GetSeasonLessonProgress$season$episodes), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetSeasonLessonProgress$season$episodes get episodes { final local$episodes = _instance.episodes; return CopyWith$Query$GetSeasonLessonProgress$season$episodes( - local$episodes, (e) => call(episodes: e)); + local$episodes, + (e) => call(episodes: e), + ); } } @@ -4239,8 +4323,7 @@ class _CopyWithStubImpl$Query$GetSeasonLessonProgress$season call({ Query$GetSeasonLessonProgress$season$episodes? episodes, String? $__typename, - }) => - _res; + }) => _res; CopyWith$Query$GetSeasonLessonProgress$season$episodes get episodes => CopyWith$Query$GetSeasonLessonProgress$season$episodes.stub(_res); @@ -4253,13 +4336,17 @@ class Query$GetSeasonLessonProgress$season$episodes { }); factory Query$GetSeasonLessonProgress$season$episodes.fromJson( - Map json) { + Map json, + ) { final l$items = json['items']; final l$$__typename = json['__typename']; return Query$GetSeasonLessonProgress$season$episodes( items: (l$items as List) - .map((e) => Fragment$EpisodeLessonProgressOverview.fromJson( - (e as Map))) + .map( + (e) => Fragment$EpisodeLessonProgressOverview.fromJson( + (e as Map), + ), + ) .toList(), $__typename: (l$$__typename as String), ); @@ -4321,11 +4408,10 @@ class Query$GetSeasonLessonProgress$season$episodes { extension UtilityExtension$Query$GetSeasonLessonProgress$season$episodes on Query$GetSeasonLessonProgress$season$episodes { CopyWith$Query$GetSeasonLessonProgress$season$episodes< - Query$GetSeasonLessonProgress$season$episodes> - get copyWith => CopyWith$Query$GetSeasonLessonProgress$season$episodes( - this, - (i) => i, - ); + Query$GetSeasonLessonProgress$season$episodes + > + get copyWith => + CopyWith$Query$GetSeasonLessonProgress$season$episodes(this, (i) => i); } abstract class CopyWith$Query$GetSeasonLessonProgress$season$episodes { @@ -4335,19 +4421,23 @@ abstract class CopyWith$Query$GetSeasonLessonProgress$season$episodes { ) = _CopyWithImpl$Query$GetSeasonLessonProgress$season$episodes; factory CopyWith$Query$GetSeasonLessonProgress$season$episodes.stub( - TRes res) = - _CopyWithStubImpl$Query$GetSeasonLessonProgress$season$episodes; + TRes res, + ) = _CopyWithStubImpl$Query$GetSeasonLessonProgress$season$episodes; TRes call({ List? items, String? $__typename, }); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeLessonProgressOverview< - Fragment$EpisodeLessonProgressOverview>>) - _fn); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeLessonProgressOverview< + Fragment$EpisodeLessonProgressOverview + > + >, + ) + _fn, + ); } class _CopyWithImpl$Query$GetSeasonLessonProgress$season$episodes @@ -4363,31 +4453,34 @@ class _CopyWithImpl$Query$GetSeasonLessonProgress$season$episodes static const _undefined = {}; - TRes call({ - Object? items = _undefined, - Object? $__typename = _undefined, - }) => - _then(Query$GetSeasonLessonProgress$season$episodes( - items: items == _undefined || items == null - ? _instance.items - : (items as List), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + TRes call({Object? items = _undefined, Object? $__typename = _undefined}) => + _then( + Query$GetSeasonLessonProgress$season$episodes( + items: items == _undefined || items == null + ? _instance.items + : (items as List), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); TRes items( - Iterable Function( - Iterable< - CopyWith$Fragment$EpisodeLessonProgressOverview< - Fragment$EpisodeLessonProgressOverview>>) - _fn) => - call( - items: _fn(_instance.items - .map((e) => CopyWith$Fragment$EpisodeLessonProgressOverview( - e, - (i) => i, - ))).toList()); + Iterable Function( + Iterable< + CopyWith$Fragment$EpisodeLessonProgressOverview< + Fragment$EpisodeLessonProgressOverview + > + >, + ) + _fn, + ) => call( + items: _fn( + _instance.items.map( + (e) => CopyWith$Fragment$EpisodeLessonProgressOverview(e, (i) => i), + ), + ).toList(), + ); } class _CopyWithStubImpl$Query$GetSeasonLessonProgress$season$episodes @@ -4399,17 +4492,14 @@ class _CopyWithStubImpl$Query$GetSeasonLessonProgress$season$episodes call({ List? items, String? $__typename, - }) => - _res; + }) => _res; items(_fn) => _res; } class Variables$Query$GetLessonTitle { factory Variables$Query$GetLessonTitle({required String id}) => - Variables$Query$GetLessonTitle._({ - r'id': id, - }); + Variables$Query$GetLessonTitle._({r'id': id}); Variables$Query$GetLessonTitle._(this._$data); @@ -4432,10 +4522,7 @@ class Variables$Query$GetLessonTitle { } CopyWith$Variables$Query$GetLessonTitle - get copyWith => CopyWith$Variables$Query$GetLessonTitle( - this, - (i) => i, - ); + get copyWith => CopyWith$Variables$Query$GetLessonTitle(this, (i) => i); @override bool operator ==(Object other) { @@ -4475,10 +4562,7 @@ abstract class CopyWith$Variables$Query$GetLessonTitle { class _CopyWithImpl$Variables$Query$GetLessonTitle implements CopyWith$Variables$Query$GetLessonTitle { - _CopyWithImpl$Variables$Query$GetLessonTitle( - this._instance, - this._then, - ); + _CopyWithImpl$Variables$Query$GetLessonTitle(this._instance, this._then); final Variables$Query$GetLessonTitle _instance; @@ -4486,11 +4570,12 @@ class _CopyWithImpl$Variables$Query$GetLessonTitle static const _undefined = {}; - TRes call({Object? id = _undefined}) => - _then(Variables$Query$GetLessonTitle._({ - ..._instance._$data, - if (id != _undefined && id != null) 'id': (id as String), - })); + TRes call({Object? id = _undefined}) => _then( + Variables$Query$GetLessonTitle._({ + ..._instance._$data, + if (id != _undefined && id != null) 'id': (id as String), + }), + ); } class _CopyWithStubImpl$Variables$Query$GetLessonTitle @@ -4513,7 +4598,8 @@ class Query$GetLessonTitle { final l$$__typename = json['__typename']; return Query$GetLessonTitle( studyLesson: Query$GetLessonTitle$studyLesson.fromJson( - (l$studyLesson as Map)), + (l$studyLesson as Map), + ), $__typename: (l$$__typename as String), ); } @@ -4535,10 +4621,7 @@ class Query$GetLessonTitle { int get hashCode { final l$studyLesson = studyLesson; final l$$__typename = $__typename; - return Object.hashAll([ - l$studyLesson, - l$$__typename, - ]); + return Object.hashAll([l$studyLesson, l$$__typename]); } @override @@ -4565,10 +4648,7 @@ class Query$GetLessonTitle { extension UtilityExtension$Query$GetLessonTitle on Query$GetLessonTitle { CopyWith$Query$GetLessonTitle get copyWith => - CopyWith$Query$GetLessonTitle( - this, - (i) => i, - ); + CopyWith$Query$GetLessonTitle(this, (i) => i); } abstract class CopyWith$Query$GetLessonTitle { @@ -4589,10 +4669,7 @@ abstract class CopyWith$Query$GetLessonTitle { class _CopyWithImpl$Query$GetLessonTitle implements CopyWith$Query$GetLessonTitle { - _CopyWithImpl$Query$GetLessonTitle( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetLessonTitle(this._instance, this._then); final Query$GetLessonTitle _instance; @@ -4603,20 +4680,23 @@ class _CopyWithImpl$Query$GetLessonTitle TRes call({ Object? studyLesson = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetLessonTitle( - studyLesson: studyLesson == _undefined || studyLesson == null - ? _instance.studyLesson - : (studyLesson as Query$GetLessonTitle$studyLesson), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetLessonTitle( + studyLesson: studyLesson == _undefined || studyLesson == null + ? _instance.studyLesson + : (studyLesson as Query$GetLessonTitle$studyLesson), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); CopyWith$Query$GetLessonTitle$studyLesson get studyLesson { final local$studyLesson = _instance.studyLesson; return CopyWith$Query$GetLessonTitle$studyLesson( - local$studyLesson, (e) => call(studyLesson: e)); + local$studyLesson, + (e) => call(studyLesson: e), + ); } } @@ -4626,57 +4706,64 @@ class _CopyWithStubImpl$Query$GetLessonTitle TRes _res; - call({ - Query$GetLessonTitle$studyLesson? studyLesson, - String? $__typename, - }) => + call({Query$GetLessonTitle$studyLesson? studyLesson, String? $__typename}) => _res; CopyWith$Query$GetLessonTitle$studyLesson get studyLesson => CopyWith$Query$GetLessonTitle$studyLesson.stub(_res); } -const documentNodeQueryGetLessonTitle = DocumentNode(definitions: [ - OperationDefinitionNode( - type: OperationType.query, - name: NameNode(value: 'GetLessonTitle'), - variableDefinitions: [ - VariableDefinitionNode( - variable: VariableNode(name: NameNode(value: 'id')), - type: NamedTypeNode( - name: NameNode(value: 'ID'), - isNonNull: true, +const documentNodeQueryGetLessonTitle = DocumentNode( + definitions: [ + OperationDefinitionNode( + type: OperationType.query, + name: NameNode(value: 'GetLessonTitle'), + variableDefinitions: [ + VariableDefinitionNode( + variable: VariableNode(name: NameNode(value: 'id')), + type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), + defaultValue: DefaultValueNode(value: null), + directives: [], ), - defaultValue: DefaultValueNode(value: null), - directives: [], - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'studyLesson'), - alias: null, - arguments: [ - ArgumentNode( - name: NameNode(value: 'id'), - value: VariableNode(name: NameNode(value: 'id')), - ) - ], - directives: [], - selectionSet: SelectionSetNode(selections: [ - FieldNode( - name: NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), + ], + directives: [], + selectionSet: SelectionSetNode( + selections: [ FieldNode( - name: NameNode(value: 'title'), + name: NameNode(value: 'studyLesson'), alias: null, - arguments: [], + arguments: [ + ArgumentNode( + name: NameNode(value: 'id'), + value: VariableNode(name: NameNode(value: 'id')), + ), + ], directives: [], - selectionSet: null, + selectionSet: SelectionSetNode( + selections: [ + FieldNode( + name: NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: 'title'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + FieldNode( + name: NameNode(value: '__typename'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ], + ), ), FieldNode( name: NameNode(value: '__typename'), @@ -4685,21 +4772,14 @@ const documentNodeQueryGetLessonTitle = DocumentNode(definitions: [ directives: [], selectionSet: null, ), - ]), - ), - FieldNode( - name: NameNode(value: '__typename'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + ], ), - ]), - ), -]); + ), + ], +); Query$GetLessonTitle _parserFn$Query$GetLessonTitle( - Map data) => - Query$GetLessonTitle.fromJson(data); + Map data, +) => Query$GetLessonTitle.fromJson(data); typedef OnQueryComplete$Query$GetLessonTitle = FutureOr Function( Map?, Query$GetLessonTitle?, @@ -4719,36 +4799,36 @@ class Options$Query$GetLessonTitle graphql.Context? context, OnQueryComplete$Query$GetLessonTitle? onComplete, graphql.OnQueryError? onError, - }) : onCompleteWithParsed = onComplete, - super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - pollInterval: pollInterval, - context: context, - onComplete: onComplete == null - ? null - : (data) => onComplete( - data, - data == null ? null : _parserFn$Query$GetLessonTitle(data), - ), - onError: onError, - document: documentNodeQueryGetLessonTitle, - parserFn: _parserFn$Query$GetLessonTitle, - ); + }) : onCompleteWithParsed = onComplete, + super( + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + pollInterval: pollInterval, + context: context, + onComplete: onComplete == null + ? null + : (data) => onComplete( + data, + data == null ? null : _parserFn$Query$GetLessonTitle(data), + ), + onError: onError, + document: documentNodeQueryGetLessonTitle, + parserFn: _parserFn$Query$GetLessonTitle, + ); final OnQueryComplete$Query$GetLessonTitle? onCompleteWithParsed; @override List get properties => [ - ...super.onComplete == null - ? super.properties - : super.properties.where((property) => property != onComplete), - onCompleteWithParsed, - ]; + ...super.onComplete == null + ? super.properties + : super.properties.where((property) => property != onComplete), + onCompleteWithParsed, + ]; } class WatchOptions$Query$GetLessonTitle @@ -4767,20 +4847,20 @@ class WatchOptions$Query$GetLessonTitle bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( - variables: variables.toJson(), - operationName: operationName, - fetchPolicy: fetchPolicy, - errorPolicy: errorPolicy, - cacheRereadPolicy: cacheRereadPolicy, - optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), - context: context, - document: documentNodeQueryGetLessonTitle, - pollInterval: pollInterval, - eagerlyFetchResults: eagerlyFetchResults, - carryForwardDataOnException: carryForwardDataOnException, - fetchResults: fetchResults, - parserFn: _parserFn$Query$GetLessonTitle, - ); + variables: variables.toJson(), + operationName: operationName, + fetchPolicy: fetchPolicy, + errorPolicy: errorPolicy, + cacheRereadPolicy: cacheRereadPolicy, + optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), + context: context, + document: documentNodeQueryGetLessonTitle, + pollInterval: pollInterval, + eagerlyFetchResults: eagerlyFetchResults, + carryForwardDataOnException: carryForwardDataOnException, + fetchResults: fetchResults, + parserFn: _parserFn$Query$GetLessonTitle, + ); } class FetchMoreOptions$Query$GetLessonTitle extends graphql.FetchMoreOptions { @@ -4788,35 +4868,33 @@ class FetchMoreOptions$Query$GetLessonTitle extends graphql.FetchMoreOptions { required graphql.UpdateQuery updateQuery, required Variables$Query$GetLessonTitle variables, }) : super( - updateQuery: updateQuery, - variables: variables.toJson(), - document: documentNodeQueryGetLessonTitle, - ); + updateQuery: updateQuery, + variables: variables.toJson(), + document: documentNodeQueryGetLessonTitle, + ); } extension ClientExtension$Query$GetLessonTitle on graphql.GraphQLClient { Future> query$GetLessonTitle( - Options$Query$GetLessonTitle options) async => - await this.query(options); + Options$Query$GetLessonTitle options, + ) async => await this.query(options); graphql.ObservableQuery watchQuery$GetLessonTitle( - WatchOptions$Query$GetLessonTitle options) => - this.watchQuery(options); + WatchOptions$Query$GetLessonTitle options, + ) => this.watchQuery(options); void writeQuery$GetLessonTitle({ required Query$GetLessonTitle data, required Variables$Query$GetLessonTitle variables, bool broadcast = true, - }) => - this.writeQuery( - graphql.Request( - operation: - graphql.Operation(document: documentNodeQueryGetLessonTitle), - variables: variables.toJson(), - ), - data: data.toJson(), - broadcast: broadcast, - ); + }) => this.writeQuery( + graphql.Request( + operation: graphql.Operation(document: documentNodeQueryGetLessonTitle), + variables: variables.toJson(), + ), + data: data.toJson(), + broadcast: broadcast, + ); Query$GetLessonTitle? readQuery$GetLessonTitle({ required Variables$Query$GetLessonTitle variables, @@ -4834,11 +4912,11 @@ extension ClientExtension$Query$GetLessonTitle on graphql.GraphQLClient { } graphql_flutter.QueryHookResult useQuery$GetLessonTitle( - Options$Query$GetLessonTitle options) => - graphql_flutter.useQuery(options); + Options$Query$GetLessonTitle options, +) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$GetLessonTitle( - WatchOptions$Query$GetLessonTitle options) => - graphql_flutter.useWatchQuery(options); + WatchOptions$Query$GetLessonTitle options, +) => graphql_flutter.useWatchQuery(options); class Query$GetLessonTitle$Widget extends graphql_flutter.Query { @@ -4846,11 +4924,7 @@ class Query$GetLessonTitle$Widget widgets.Key? key, required Options$Query$GetLessonTitle options, required graphql_flutter.QueryBuilder builder, - }) : super( - key: key, - options: options, - builder: builder, - ); + }) : super(key: key, options: options, builder: builder); } class Query$GetLessonTitle$studyLesson { @@ -4893,11 +4967,7 @@ class Query$GetLessonTitle$studyLesson { final l$id = id; final l$title = title; final l$$__typename = $__typename; - return Object.hashAll([ - l$id, - l$title, - l$$__typename, - ]); + return Object.hashAll([l$id, l$title, l$$__typename]); } @override @@ -4931,10 +5001,7 @@ class Query$GetLessonTitle$studyLesson { extension UtilityExtension$Query$GetLessonTitle$studyLesson on Query$GetLessonTitle$studyLesson { CopyWith$Query$GetLessonTitle$studyLesson - get copyWith => CopyWith$Query$GetLessonTitle$studyLesson( - this, - (i) => i, - ); + get copyWith => CopyWith$Query$GetLessonTitle$studyLesson(this, (i) => i); } abstract class CopyWith$Query$GetLessonTitle$studyLesson { @@ -4946,19 +5013,12 @@ abstract class CopyWith$Query$GetLessonTitle$studyLesson { factory CopyWith$Query$GetLessonTitle$studyLesson.stub(TRes res) = _CopyWithStubImpl$Query$GetLessonTitle$studyLesson; - TRes call({ - String? id, - String? title, - String? $__typename, - }); + TRes call({String? id, String? title, String? $__typename}); } class _CopyWithImpl$Query$GetLessonTitle$studyLesson implements CopyWith$Query$GetLessonTitle$studyLesson { - _CopyWithImpl$Query$GetLessonTitle$studyLesson( - this._instance, - this._then, - ); + _CopyWithImpl$Query$GetLessonTitle$studyLesson(this._instance, this._then); final Query$GetLessonTitle$studyLesson _instance; @@ -4970,16 +5030,17 @@ class _CopyWithImpl$Query$GetLessonTitle$studyLesson Object? id = _undefined, Object? title = _undefined, Object? $__typename = _undefined, - }) => - _then(Query$GetLessonTitle$studyLesson( - id: id == _undefined || id == null ? _instance.id : (id as String), - title: title == _undefined || title == null - ? _instance.title - : (title as String), - $__typename: $__typename == _undefined || $__typename == null - ? _instance.$__typename - : ($__typename as String), - )); + }) => _then( + Query$GetLessonTitle$studyLesson( + id: id == _undefined || id == null ? _instance.id : (id as String), + title: title == _undefined || title == null + ? _instance.title + : (title as String), + $__typename: $__typename == _undefined || $__typename == null + ? _instance.$__typename + : ($__typename as String), + ), + ); } class _CopyWithStubImpl$Query$GetLessonTitle$studyLesson @@ -4988,10 +5049,5 @@ class _CopyWithStubImpl$Query$GetLessonTitle$studyLesson TRes _res; - call({ - String? id, - String? title, - String? $__typename, - }) => - _res; + call({String? id, String? title, String? $__typename}) => _res; } diff --git a/bccm_core/lib/src/features/graphql/schema/mutations.graphql.dart b/bccm_core/lib/src/features/graphql/schema/mutations.graphql.dart index eb38296..b824ac2 100644 --- a/bccm_core/lib/src/features/graphql/schema/mutations.graphql.dart +++ b/bccm_core/lib/src/features/graphql/schema/mutations.graphql.dart @@ -1,7 +1,6 @@ class Input$BirthOptions { - factory Input$BirthOptions({required int year}) => Input$BirthOptions._({ - r'year': year, - }); + factory Input$BirthOptions({required int year}) => + Input$BirthOptions._({r'year': year}); Input$BirthOptions._(this._$data); @@ -24,10 +23,7 @@ class Input$BirthOptions { } CopyWith$Input$BirthOptions get copyWith => - CopyWith$Input$BirthOptions( - this, - (i) => i, - ); + CopyWith$Input$BirthOptions(this, (i) => i); @override bool operator ==(Object other) { @@ -66,10 +62,7 @@ abstract class CopyWith$Input$BirthOptions { class _CopyWithImpl$Input$BirthOptions implements CopyWith$Input$BirthOptions { - _CopyWithImpl$Input$BirthOptions( - this._instance, - this._then, - ); + _CopyWithImpl$Input$BirthOptions(this._instance, this._then); final Input$BirthOptions _instance; @@ -77,10 +70,12 @@ class _CopyWithImpl$Input$BirthOptions static const _undefined = {}; - TRes call({Object? year = _undefined}) => _then(Input$BirthOptions._({ - ..._instance._$data, - if (year != _undefined && year != null) 'year': (year as int), - })); + TRes call({Object? year = _undefined}) => _then( + Input$BirthOptions._({ + ..._instance._$data, + if (year != _undefined && year != null) 'year': (year as int), + }), + ); } class _CopyWithStubImpl$Input$BirthOptions @@ -93,14 +88,8 @@ class _CopyWithStubImpl$Input$BirthOptions } class Input$NameOptions { - factory Input$NameOptions({ - required String first, - required String last, - }) => - Input$NameOptions._({ - r'first': first, - r'last': last, - }); + factory Input$NameOptions({required String first, required String last}) => + Input$NameOptions._({r'first': first, r'last': last}); Input$NameOptions._(this._$data); @@ -129,10 +118,7 @@ class Input$NameOptions { } CopyWith$Input$NameOptions get copyWith => - CopyWith$Input$NameOptions( - this, - (i) => i, - ); + CopyWith$Input$NameOptions(this, (i) => i); @override bool operator ==(Object other) { @@ -159,10 +145,7 @@ class Input$NameOptions { int get hashCode { final l$first = first; final l$last = last; - return Object.hashAll([ - l$first, - l$last, - ]); + return Object.hashAll([l$first, l$last]); } } @@ -175,18 +158,12 @@ abstract class CopyWith$Input$NameOptions { factory CopyWith$Input$NameOptions.stub(TRes res) = _CopyWithStubImpl$Input$NameOptions; - TRes call({ - String? first, - String? last, - }); + TRes call({String? first, String? last}); } class _CopyWithImpl$Input$NameOptions implements CopyWith$Input$NameOptions { - _CopyWithImpl$Input$NameOptions( - this._instance, - this._then, - ); + _CopyWithImpl$Input$NameOptions(this._instance, this._then); final Input$NameOptions _instance; @@ -194,15 +171,13 @@ class _CopyWithImpl$Input$NameOptions static const _undefined = {}; - TRes call({ - Object? first = _undefined, - Object? last = _undefined, - }) => - _then(Input$NameOptions._({ - ..._instance._$data, - if (first != _undefined && first != null) 'first': (first as String), - if (last != _undefined && last != null) 'last': (last as String), - })); + TRes call({Object? first = _undefined, Object? last = _undefined}) => _then( + Input$NameOptions._({ + ..._instance._$data, + if (first != _undefined && first != null) 'first': (first as String), + if (last != _undefined && last != null) 'last': (last as String), + }), + ); } class _CopyWithStubImpl$Input$NameOptions @@ -211,22 +186,12 @@ class _CopyWithStubImpl$Input$NameOptions TRes _res; - call({ - String? first, - String? last, - }) => - _res; + call({String? first, String? last}) => _res; } class Input$EmailOptions { - factory Input$EmailOptions({ - required String name, - required String email, - }) => - Input$EmailOptions._({ - r'name': name, - r'email': email, - }); + factory Input$EmailOptions({required String name, required String email}) => + Input$EmailOptions._({r'name': name, r'email': email}); Input$EmailOptions._(this._$data); @@ -255,10 +220,7 @@ class Input$EmailOptions { } CopyWith$Input$EmailOptions get copyWith => - CopyWith$Input$EmailOptions( - this, - (i) => i, - ); + CopyWith$Input$EmailOptions(this, (i) => i); @override bool operator ==(Object other) { @@ -285,10 +247,7 @@ class Input$EmailOptions { int get hashCode { final l$name = name; final l$email = email; - return Object.hashAll([ - l$name, - l$email, - ]); + return Object.hashAll([l$name, l$email]); } } @@ -301,18 +260,12 @@ abstract class CopyWith$Input$EmailOptions { factory CopyWith$Input$EmailOptions.stub(TRes res) = _CopyWithStubImpl$Input$EmailOptions; - TRes call({ - String? name, - String? email, - }); + TRes call({String? name, String? email}); } class _CopyWithImpl$Input$EmailOptions implements CopyWith$Input$EmailOptions { - _CopyWithImpl$Input$EmailOptions( - this._instance, - this._then, - ); + _CopyWithImpl$Input$EmailOptions(this._instance, this._then); final Input$EmailOptions _instance; @@ -320,15 +273,13 @@ class _CopyWithImpl$Input$EmailOptions static const _undefined = {}; - TRes call({ - Object? name = _undefined, - Object? email = _undefined, - }) => - _then(Input$EmailOptions._({ - ..._instance._$data, - if (name != _undefined && name != null) 'name': (name as String), - if (email != _undefined && email != null) 'email': (email as String), - })); + TRes call({Object? name = _undefined, Object? email = _undefined}) => _then( + Input$EmailOptions._({ + ..._instance._$data, + if (name != _undefined && name != null) 'name': (name as String), + if (email != _undefined && email != null) 'email': (email as String), + }), + ); } class _CopyWithStubImpl$Input$EmailOptions @@ -337,11 +288,7 @@ class _CopyWithStubImpl$Input$EmailOptions TRes _res; - call({ - String? name, - String? email, - }) => - _res; + call({String? name, String? email}) => _res; } enum Enum$OS { diff --git a/bccm_core/lib/src/features/graphql/schema/schema.graphql.dart b/bccm_core/lib/src/features/graphql/schema/schema.graphql.dart index d93630f..c1ba79a 100644 --- a/bccm_core/lib/src/features/graphql/schema/schema.graphql.dart +++ b/bccm_core/lib/src/features/graphql/schema/schema.graphql.dart @@ -1,8 +1,5 @@ class Input$LegacyIDLookupOptions { - factory Input$LegacyIDLookupOptions({ - int? episodeID, - int? programID, - }) => + factory Input$LegacyIDLookupOptions({int? episodeID, int? programID}) => Input$LegacyIDLookupOptions._({ if (episodeID != null) r'episodeID': episodeID, if (programID != null) r'programID': programID, @@ -43,10 +40,7 @@ class Input$LegacyIDLookupOptions { } CopyWith$Input$LegacyIDLookupOptions - get copyWith => CopyWith$Input$LegacyIDLookupOptions( - this, - (i) => i, - ); + get copyWith => CopyWith$Input$LegacyIDLookupOptions(this, (i) => i); @override bool operator ==(Object other) { @@ -98,18 +92,12 @@ abstract class CopyWith$Input$LegacyIDLookupOptions { factory CopyWith$Input$LegacyIDLookupOptions.stub(TRes res) = _CopyWithStubImpl$Input$LegacyIDLookupOptions; - TRes call({ - int? episodeID, - int? programID, - }); + TRes call({int? episodeID, int? programID}); } class _CopyWithImpl$Input$LegacyIDLookupOptions implements CopyWith$Input$LegacyIDLookupOptions { - _CopyWithImpl$Input$LegacyIDLookupOptions( - this._instance, - this._then, - ); + _CopyWithImpl$Input$LegacyIDLookupOptions(this._instance, this._then); final Input$LegacyIDLookupOptions _instance; @@ -117,15 +105,14 @@ class _CopyWithImpl$Input$LegacyIDLookupOptions static const _undefined = {}; - TRes call({ - Object? episodeID = _undefined, - Object? programID = _undefined, - }) => - _then(Input$LegacyIDLookupOptions._({ - ..._instance._$data, - if (episodeID != _undefined) 'episodeID': (episodeID as int?), - if (programID != _undefined) 'programID': (programID as int?), - })); + TRes call({Object? episodeID = _undefined, Object? programID = _undefined}) => + _then( + Input$LegacyIDLookupOptions._({ + ..._instance._$data, + if (episodeID != _undefined) 'episodeID': (episodeID as int?), + if (programID != _undefined) 'programID': (programID as int?), + }), + ); } class _CopyWithStubImpl$Input$LegacyIDLookupOptions @@ -134,11 +121,7 @@ class _CopyWithStubImpl$Input$LegacyIDLookupOptions TRes _res; - call({ - int? episodeID, - int? programID, - }) => - _res; + call({int? episodeID, int? programID}) => _res; } class Input$EpisodeContext { @@ -147,13 +130,12 @@ class Input$EpisodeContext { String? playlistId, bool? shuffle, String? cursor, - }) => - Input$EpisodeContext._({ - if (collectionId != null) r'collectionId': collectionId, - if (playlistId != null) r'playlistId': playlistId, - if (shuffle != null) r'shuffle': shuffle, - if (cursor != null) r'cursor': cursor, - }); + }) => Input$EpisodeContext._({ + if (collectionId != null) r'collectionId': collectionId, + if (playlistId != null) r'playlistId': playlistId, + if (shuffle != null) r'shuffle': shuffle, + if (cursor != null) r'cursor': cursor, + }); Input$EpisodeContext._(this._$data); @@ -210,10 +192,7 @@ class Input$EpisodeContext { } CopyWith$Input$EpisodeContext get copyWith => - CopyWith$Input$EpisodeContext( - this, - (i) => i, - ); + CopyWith$Input$EpisodeContext(this, (i) => i); @override bool operator ==(Object other) { @@ -294,10 +273,7 @@ abstract class CopyWith$Input$EpisodeContext { class _CopyWithImpl$Input$EpisodeContext implements CopyWith$Input$EpisodeContext { - _CopyWithImpl$Input$EpisodeContext( - this._instance, - this._then, - ); + _CopyWithImpl$Input$EpisodeContext(this._instance, this._then); final Input$EpisodeContext _instance; @@ -310,15 +286,15 @@ class _CopyWithImpl$Input$EpisodeContext Object? playlistId = _undefined, Object? shuffle = _undefined, Object? cursor = _undefined, - }) => - _then(Input$EpisodeContext._({ - ..._instance._$data, - if (collectionId != _undefined) - 'collectionId': (collectionId as String?), - if (playlistId != _undefined) 'playlistId': (playlistId as String?), - if (shuffle != _undefined) 'shuffle': (shuffle as bool?), - if (cursor != _undefined) 'cursor': (cursor as String?), - })); + }) => _then( + Input$EpisodeContext._({ + ..._instance._$data, + if (collectionId != _undefined) 'collectionId': (collectionId as String?), + if (playlistId != _undefined) 'playlistId': (playlistId as String?), + if (shuffle != _undefined) 'shuffle': (shuffle as bool?), + if (cursor != _undefined) 'cursor': (cursor as String?), + }), + ); } class _CopyWithStubImpl$Input$EpisodeContext @@ -332,8 +308,7 @@ class _CopyWithStubImpl$Input$EpisodeContext String? playlistId, bool? shuffle, String? cursor, - }) => - _res; + }) => _res; } enum Enum$ImageStyle { @@ -589,31 +564,47 @@ Enum$__DirectiveLocation fromJson$Enum$__DirectiveLocation(String value) { const possibleTypesMap = >{ 'Pagination': { - 'SurveyQuestionPagination', + 'AchievementPagination', + 'AchievementGroupPagination', + 'EpisodePagination', + 'QuestionPagination', + 'FAQCategoryPagination', 'LinkPagination', - 'UserCollectionEntryPagination', - 'SectionPagination', - 'SectionItemPagination', - 'PlaylistItemPagination', 'ContributionsPagination', + 'PlaylistItemPagination', 'SeasonPagination', - 'QuestionPagination', - 'FAQCategoryPagination', + 'SectionPagination', + 'SectionItemPagination', 'LessonPagination', 'TaskPagination', - 'AchievementPagination', - 'AchievementGroupPagination', - 'EpisodePagination', + 'SurveyQuestionPagination', + 'UserCollectionEntryPagination', }, - 'SurveyQuestion': { - 'SurveyTextQuestion', - 'SurveyRatingQuestion', - 'SurveyLinkQuestion', + 'CalendarEntry': { + 'SimpleCalendarEntry', + 'EpisodeCalendarEntry', + 'SeasonCalendarEntry', + 'ShowCalendarEntry', }, - 'UserCollectionEntryItem': { - 'Show', + 'EpisodeContextUnion': {'Season', 'ContextCollection', 'Playlist'}, + 'CollectionItem': { 'Episode', + 'Chapter', + 'Game', + 'Playlist', + 'Season', 'Short', + 'Show', + 'StudyTopic', + }, + 'PlaylistItem': {'Episode', 'Short'}, + 'MediaItem': {'Episode', 'Short'}, + 'ContributionItem': {'Episode', 'Chapter'}, + 'Prompt': {'SurveyPrompt'}, + 'SearchResultItem': { + 'EpisodeSearchItem', + 'SeasonSearchItem', + 'ShowSearchItem', }, 'Section': { 'PosterSection', @@ -647,11 +638,7 @@ const possibleTypesMap = >{ 'LabelSection', 'AvatarSection', }, - 'GridSection': { - 'DefaultGridSection', - 'PosterGridSection', - 'IconGridSection', - }, + 'GridSection': {'DefaultGridSection', 'PosterGridSection', 'IconGridSection'}, 'SectionItemType': { 'Show', 'Season', @@ -664,32 +651,7 @@ const possibleTypesMap = >{ 'Short', 'Person', }, - 'CollectionItem': { - 'Playlist', - 'Game', - 'Season', - 'StudyTopic', - 'Short', - 'Episode', - 'Chapter', - 'Show', - }, - 'CalendarEntry': { - 'SimpleCalendarEntry', - 'EpisodeCalendarEntry', - 'SeasonCalendarEntry', - 'ShowCalendarEntry', - }, - 'ContributionItem': { - 'Episode', - 'Chapter', - }, - 'SearchResultItem': { - 'EpisodeSearchItem', - 'SeasonSearchItem', - 'ShowSearchItem', - }, - 'Prompt': {'SurveyPrompt'}, + 'SubclipSourceItem': {'Episode'}, 'Task': { 'AlternativesTask', 'TextTask', @@ -698,18 +660,10 @@ const possibleTypesMap = >{ 'VideoTask', 'LinkTask', }, - 'PlaylistItem': { - 'Short', - 'Episode', - }, - 'MediaItem': { - 'Short', - 'Episode', - }, - 'SubclipSourceItem': {'Episode'}, - 'EpisodeContextUnion': { - 'Season', - 'ContextCollection', - 'Playlist', + 'SurveyQuestion': { + 'SurveyTextQuestion', + 'SurveyRatingQuestion', + 'SurveyLinkQuestion', }, + 'UserCollectionEntryItem': {'Show', 'Episode', 'Short'}, }; diff --git a/bccm_core/lib/src/models/analytics/achievement_clicked.freezed.dart b/bccm_core/lib/src/models/analytics/achievement_clicked.freezed.dart index b6e95a2..fd21b09 100644 --- a/bccm_core/lib/src/models/analytics/achievement_clicked.freezed.dart +++ b/bccm_core/lib/src/models/analytics/achievement_clicked.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'achievement_clicked.dart'; @@ -9,193 +9,280 @@ part of 'achievement_clicked.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -AchievementClickedEvent _$AchievementClickedEventFromJson( - Map json, -) { - return _AchievementClickedEvent.fromJson(json); -} - /// @nodoc mixin _$AchievementClickedEvent { - int get elementPosition => throw _privateConstructorUsedError; - String get elementTitle => throw _privateConstructorUsedError; + + int get elementPosition; String get elementTitle; +/// Create a copy of AchievementClickedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AchievementClickedEventCopyWith get copyWith => _$AchievementClickedEventCopyWithImpl(this as AchievementClickedEvent, _$identity); /// Serializes this AchievementClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of AchievementClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $AchievementClickedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as AchievementClickedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is AchievementClickedEvent&&(identical(other.elementPosition, _this.elementPosition) || other.elementPosition == _this.elementPosition)&&(identical(other.elementTitle, _this.elementTitle) || other.elementTitle == _this.elementTitle)); } -/// @nodoc -abstract class $AchievementClickedEventCopyWith<$Res> { - factory $AchievementClickedEventCopyWith( - AchievementClickedEvent value, - $Res Function(AchievementClickedEvent) then, - ) = _$AchievementClickedEventCopyWithImpl<$Res, AchievementClickedEvent>; - @useResult - $Res call({int elementPosition, String elementTitle}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as AchievementClickedEvent; + return Object.hash(runtimeType,_this.elementPosition,_this.elementTitle); } -/// @nodoc -class _$AchievementClickedEventCopyWithImpl< - $Res, - $Val extends AchievementClickedEvent -> - implements $AchievementClickedEventCopyWith<$Res> { - _$AchievementClickedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of AchievementClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? elementPosition = null, Object? elementTitle = null}) { - return _then( - _value.copyWith( - elementPosition: null == elementPosition - ? _value.elementPosition - : elementPosition // ignore: cast_nullable_to_non_nullable - as int, - elementTitle: null == elementTitle - ? _value.elementTitle - : elementTitle // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as AchievementClickedEvent; + return 'AchievementClickedEvent(elementPosition: ${_this.elementPosition}, elementTitle: ${_this.elementTitle})'; } + +} + +/// @nodoc +abstract mixin class $AchievementClickedEventCopyWith<$Res> { + factory $AchievementClickedEventCopyWith(AchievementClickedEvent value, $Res Function(AchievementClickedEvent) _then) = _$AchievementClickedEventCopyWithImpl; +@useResult +$Res call({ + int elementPosition, String elementTitle +}); + + + + +} /// @nodoc -abstract class _$$AchievementClickedEventImplCopyWith<$Res> +class _$AchievementClickedEventCopyWithImpl<$Res> implements $AchievementClickedEventCopyWith<$Res> { - factory _$$AchievementClickedEventImplCopyWith( - _$AchievementClickedEventImpl value, - $Res Function(_$AchievementClickedEventImpl) then, - ) = __$$AchievementClickedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({int elementPosition, String elementTitle}); + _$AchievementClickedEventCopyWithImpl(this._self, this._then); + + final AchievementClickedEvent _self; + final $Res Function(AchievementClickedEvent) _then; + +/// Create a copy of AchievementClickedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? elementPosition = null,Object? elementTitle = null,}) { + return _then(AchievementClickedEvent( +elementPosition: null == elementPosition ? _self.elementPosition : elementPosition // ignore: cast_nullable_to_non_nullable +as int,elementTitle: null == elementTitle ? _self.elementTitle : elementTitle // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [AchievementClickedEvent]. +extension AchievementClickedEventPatterns on AchievementClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _AchievementClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _AchievementClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _AchievementClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _AchievementClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _AchievementClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _AchievementClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( int elementPosition, String elementTitle)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _AchievementClickedEvent() when $default != null: +return $default(_that.elementPosition,_that.elementTitle);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( int elementPosition, String elementTitle) $default,) {final _that = this; +switch (_that) { +case _AchievementClickedEvent(): +return $default(_that.elementPosition,_that.elementTitle);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( int elementPosition, String elementTitle)? $default,) {final _that = this; +switch (_that) { +case _AchievementClickedEvent() when $default != null: +return $default(_that.elementPosition,_that.elementTitle);case _: + return null; + +} } -/// @nodoc -class __$$AchievementClickedEventImplCopyWithImpl<$Res> - extends - _$AchievementClickedEventCopyWithImpl< - $Res, - _$AchievementClickedEventImpl - > - implements _$$AchievementClickedEventImplCopyWith<$Res> { - __$$AchievementClickedEventImplCopyWithImpl( - _$AchievementClickedEventImpl _value, - $Res Function(_$AchievementClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of AchievementClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? elementPosition = null, Object? elementTitle = null}) { - return _then( - _$AchievementClickedEventImpl( - elementPosition: null == elementPosition - ? _value.elementPosition - : elementPosition // ignore: cast_nullable_to_non_nullable - as int, - elementTitle: null == elementTitle - ? _value.elementTitle - : elementTitle // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$AchievementClickedEventImpl implements _AchievementClickedEvent { - const _$AchievementClickedEventImpl({ - required this.elementPosition, - required this.elementTitle, - }); - - factory _$AchievementClickedEventImpl.fromJson(Map json) => - _$$AchievementClickedEventImplFromJson(json); - - @override - final int elementPosition; - @override - final String elementTitle; - - @override - String toString() { + +class _AchievementClickedEvent implements AchievementClickedEvent { + const _AchievementClickedEvent({required this.elementPosition, required this.elementTitle}); + factory _AchievementClickedEvent.fromJson(Map json) => _$AchievementClickedEventFromJson(json); + +@override final int elementPosition; +@override final String elementTitle; + +/// Create a copy of AchievementClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$AchievementClickedEventCopyWith<_AchievementClickedEvent> get copyWith => __$AchievementClickedEventCopyWithImpl<_AchievementClickedEvent>(this, _$identity); + +@override +Map toJson() { + return _$AchievementClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AchievementClickedEvent&&(identical(other.elementPosition, elementPosition) || other.elementPosition == elementPosition)&&(identical(other.elementTitle, elementTitle) || other.elementTitle == elementTitle)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,elementPosition,elementTitle); +} + +@override +String toString() { return 'AchievementClickedEvent(elementPosition: $elementPosition, elementTitle: $elementTitle)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$AchievementClickedEventImpl && - (identical(other.elementPosition, elementPosition) || - other.elementPosition == elementPosition) && - (identical(other.elementTitle, elementTitle) || - other.elementTitle == elementTitle)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, elementPosition, elementTitle); - - /// Create a copy of AchievementClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$AchievementClickedEventImplCopyWith<_$AchievementClickedEventImpl> - get copyWith => - __$$AchievementClickedEventImplCopyWithImpl< - _$AchievementClickedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$AchievementClickedEventImplToJson(this); - } -} - -abstract class _AchievementClickedEvent implements AchievementClickedEvent { - const factory _AchievementClickedEvent({ - required final int elementPosition, - required final String elementTitle, - }) = _$AchievementClickedEventImpl; - - factory _AchievementClickedEvent.fromJson(Map json) = - _$AchievementClickedEventImpl.fromJson; - - @override - int get elementPosition; - @override - String get elementTitle; - - /// Create a copy of AchievementClickedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$AchievementClickedEventImplCopyWith<_$AchievementClickedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$AchievementClickedEventCopyWith<$Res> implements $AchievementClickedEventCopyWith<$Res> { + factory _$AchievementClickedEventCopyWith(_AchievementClickedEvent value, $Res Function(_AchievementClickedEvent) _then) = __$AchievementClickedEventCopyWithImpl; +@override @useResult +$Res call({ + int elementPosition, String elementTitle +}); + + + + +} +/// @nodoc +class __$AchievementClickedEventCopyWithImpl<$Res> + implements _$AchievementClickedEventCopyWith<$Res> { + __$AchievementClickedEventCopyWithImpl(this._self, this._then); + + final _AchievementClickedEvent _self; + final $Res Function(_AchievementClickedEvent) _then; + +/// Create a copy of AchievementClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? elementPosition = null,Object? elementTitle = null,}) { + return _then(_AchievementClickedEvent( +elementPosition: null == elementPosition ? _self.elementPosition : elementPosition // ignore: cast_nullable_to_non_nullable +as int,elementTitle: null == elementTitle ? _self.elementTitle : elementTitle // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/achievement_clicked.g.dart b/bccm_core/lib/src/models/analytics/achievement_clicked.g.dart index cc74630..ff9baed 100644 --- a/bccm_core/lib/src/models/analytics/achievement_clicked.g.dart +++ b/bccm_core/lib/src/models/analytics/achievement_clicked.g.dart @@ -6,15 +6,15 @@ part of 'achievement_clicked.dart'; // JsonSerializableGenerator // ************************************************************************** -_$AchievementClickedEventImpl _$$AchievementClickedEventImplFromJson( +_AchievementClickedEvent _$AchievementClickedEventFromJson( Map json, -) => _$AchievementClickedEventImpl( +) => _AchievementClickedEvent( elementPosition: (json['elementPosition'] as num).toInt(), elementTitle: json['elementTitle'] as String, ); -Map _$$AchievementClickedEventImplToJson( - _$AchievementClickedEventImpl instance, +Map _$AchievementClickedEventToJson( + _AchievementClickedEvent instance, ) => { 'elementPosition': instance.elementPosition, 'elementTitle': instance.elementTitle, diff --git a/bccm_core/lib/src/models/analytics/achievement_shared.freezed.dart b/bccm_core/lib/src/models/analytics/achievement_shared.freezed.dart index 93a682c..b08ba09 100644 --- a/bccm_core/lib/src/models/analytics/achievement_shared.freezed.dart +++ b/bccm_core/lib/src/models/analytics/achievement_shared.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'achievement_shared.dart'; @@ -9,171 +9,277 @@ part of 'achievement_shared.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -AchievementSharedEvent _$AchievementSharedEventFromJson( - Map json, -) { - return _AchievementSharedEvent.fromJson(json); -} - /// @nodoc mixin _$AchievementSharedEvent { - String get elementTitle => throw _privateConstructorUsedError; + + String get elementTitle; +/// Create a copy of AchievementSharedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AchievementSharedEventCopyWith get copyWith => _$AchievementSharedEventCopyWithImpl(this as AchievementSharedEvent, _$identity); /// Serializes this AchievementSharedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of AchievementSharedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $AchievementSharedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as AchievementSharedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is AchievementSharedEvent&&(identical(other.elementTitle, _this.elementTitle) || other.elementTitle == _this.elementTitle)); } -/// @nodoc -abstract class $AchievementSharedEventCopyWith<$Res> { - factory $AchievementSharedEventCopyWith( - AchievementSharedEvent value, - $Res Function(AchievementSharedEvent) then, - ) = _$AchievementSharedEventCopyWithImpl<$Res, AchievementSharedEvent>; - @useResult - $Res call({String elementTitle}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as AchievementSharedEvent; + return Object.hash(runtimeType,_this.elementTitle); } -/// @nodoc -class _$AchievementSharedEventCopyWithImpl< - $Res, - $Val extends AchievementSharedEvent -> - implements $AchievementSharedEventCopyWith<$Res> { - _$AchievementSharedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of AchievementSharedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? elementTitle = null}) { - return _then( - _value.copyWith( - elementTitle: null == elementTitle - ? _value.elementTitle - : elementTitle // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as AchievementSharedEvent; + return 'AchievementSharedEvent(elementTitle: ${_this.elementTitle})'; } + +} + +/// @nodoc +abstract mixin class $AchievementSharedEventCopyWith<$Res> { + factory $AchievementSharedEventCopyWith(AchievementSharedEvent value, $Res Function(AchievementSharedEvent) _then) = _$AchievementSharedEventCopyWithImpl; +@useResult +$Res call({ + String elementTitle +}); + + + + +} /// @nodoc -abstract class _$$AchievementSharedEventImplCopyWith<$Res> +class _$AchievementSharedEventCopyWithImpl<$Res> implements $AchievementSharedEventCopyWith<$Res> { - factory _$$AchievementSharedEventImplCopyWith( - _$AchievementSharedEventImpl value, - $Res Function(_$AchievementSharedEventImpl) then, - ) = __$$AchievementSharedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String elementTitle}); + _$AchievementSharedEventCopyWithImpl(this._self, this._then); + + final AchievementSharedEvent _self; + final $Res Function(AchievementSharedEvent) _then; + +/// Create a copy of AchievementSharedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? elementTitle = null,}) { + return _then(AchievementSharedEvent( +elementTitle: null == elementTitle ? _self.elementTitle : elementTitle // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [AchievementSharedEvent]. +extension AchievementSharedEventPatterns on AchievementSharedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _AchievementSharedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _AchievementSharedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _AchievementSharedEvent value) $default,){ +final _that = this; +switch (_that) { +case _AchievementSharedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _AchievementSharedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _AchievementSharedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String elementTitle)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _AchievementSharedEvent() when $default != null: +return $default(_that.elementTitle);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String elementTitle) $default,) {final _that = this; +switch (_that) { +case _AchievementSharedEvent(): +return $default(_that.elementTitle);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String elementTitle)? $default,) {final _that = this; +switch (_that) { +case _AchievementSharedEvent() when $default != null: +return $default(_that.elementTitle);case _: + return null; + +} } -/// @nodoc -class __$$AchievementSharedEventImplCopyWithImpl<$Res> - extends - _$AchievementSharedEventCopyWithImpl<$Res, _$AchievementSharedEventImpl> - implements _$$AchievementSharedEventImplCopyWith<$Res> { - __$$AchievementSharedEventImplCopyWithImpl( - _$AchievementSharedEventImpl _value, - $Res Function(_$AchievementSharedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of AchievementSharedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? elementTitle = null}) { - return _then( - _$AchievementSharedEventImpl( - elementTitle: null == elementTitle - ? _value.elementTitle - : elementTitle // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$AchievementSharedEventImpl implements _AchievementSharedEvent { - const _$AchievementSharedEventImpl({required this.elementTitle}); - factory _$AchievementSharedEventImpl.fromJson(Map json) => - _$$AchievementSharedEventImplFromJson(json); +class _AchievementSharedEvent implements AchievementSharedEvent { + const _AchievementSharedEvent({required this.elementTitle}); + factory _AchievementSharedEvent.fromJson(Map json) => _$AchievementSharedEventFromJson(json); + +@override final String elementTitle; + +/// Create a copy of AchievementSharedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$AchievementSharedEventCopyWith<_AchievementSharedEvent> get copyWith => __$AchievementSharedEventCopyWithImpl<_AchievementSharedEvent>(this, _$identity); + +@override +Map toJson() { + return _$AchievementSharedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AchievementSharedEvent&&(identical(other.elementTitle, elementTitle) || other.elementTitle == elementTitle)); +} - @override - final String elementTitle; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,elementTitle); +} - @override - String toString() { +@override +String toString() { return 'AchievementSharedEvent(elementTitle: $elementTitle)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$AchievementSharedEventImpl && - (identical(other.elementTitle, elementTitle) || - other.elementTitle == elementTitle)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, elementTitle); - - /// Create a copy of AchievementSharedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$AchievementSharedEventImplCopyWith<_$AchievementSharedEventImpl> - get copyWith => - __$$AchievementSharedEventImplCopyWithImpl<_$AchievementSharedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$AchievementSharedEventImplToJson(this); - } -} - -abstract class _AchievementSharedEvent implements AchievementSharedEvent { - const factory _AchievementSharedEvent({required final String elementTitle}) = - _$AchievementSharedEventImpl; - - factory _AchievementSharedEvent.fromJson(Map json) = - _$AchievementSharedEventImpl.fromJson; - - @override - String get elementTitle; - - /// Create a copy of AchievementSharedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$AchievementSharedEventImplCopyWith<_$AchievementSharedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$AchievementSharedEventCopyWith<$Res> implements $AchievementSharedEventCopyWith<$Res> { + factory _$AchievementSharedEventCopyWith(_AchievementSharedEvent value, $Res Function(_AchievementSharedEvent) _then) = __$AchievementSharedEventCopyWithImpl; +@override @useResult +$Res call({ + String elementTitle +}); + + + + +} +/// @nodoc +class __$AchievementSharedEventCopyWithImpl<$Res> + implements _$AchievementSharedEventCopyWith<$Res> { + __$AchievementSharedEventCopyWithImpl(this._self, this._then); + + final _AchievementSharedEvent _self; + final $Res Function(_AchievementSharedEvent) _then; + +/// Create a copy of AchievementSharedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? elementTitle = null,}) { + return _then(_AchievementSharedEvent( +elementTitle: null == elementTitle ? _self.elementTitle : elementTitle // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/achievement_shared.g.dart b/bccm_core/lib/src/models/analytics/achievement_shared.g.dart index a4de0e1..eab570f 100644 --- a/bccm_core/lib/src/models/analytics/achievement_shared.g.dart +++ b/bccm_core/lib/src/models/analytics/achievement_shared.g.dart @@ -6,10 +6,10 @@ part of 'achievement_shared.dart'; // JsonSerializableGenerator // ************************************************************************** -_$AchievementSharedEventImpl _$$AchievementSharedEventImplFromJson( +_AchievementSharedEvent _$AchievementSharedEventFromJson( Map json, -) => _$AchievementSharedEventImpl(elementTitle: json['elementTitle'] as String); +) => _AchievementSharedEvent(elementTitle: json['elementTitle'] as String); -Map _$$AchievementSharedEventImplToJson( - _$AchievementSharedEventImpl instance, +Map _$AchievementSharedEventToJson( + _AchievementSharedEvent instance, ) => {'elementTitle': instance.elementTitle}; diff --git a/bccm_core/lib/src/models/analytics/audio_only_clicked.freezed.dart b/bccm_core/lib/src/models/analytics/audio_only_clicked.freezed.dart index 9b9203d..aa97f74 100644 --- a/bccm_core/lib/src/models/analytics/audio_only_clicked.freezed.dart +++ b/bccm_core/lib/src/models/analytics/audio_only_clicked.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'audio_only_clicked.dart'; @@ -9,171 +9,277 @@ part of 'audio_only_clicked.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -AudioOnlyClickedEvent _$AudioOnlyClickedEventFromJson( - Map json, -) { - return _AudioOnlyClickedEvent.fromJson(json); -} - /// @nodoc mixin _$AudioOnlyClickedEvent { - bool get audioOnly => throw _privateConstructorUsedError; + + bool get audioOnly; +/// Create a copy of AudioOnlyClickedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AudioOnlyClickedEventCopyWith get copyWith => _$AudioOnlyClickedEventCopyWithImpl(this as AudioOnlyClickedEvent, _$identity); /// Serializes this AudioOnlyClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of AudioOnlyClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $AudioOnlyClickedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as AudioOnlyClickedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is AudioOnlyClickedEvent&&(identical(other.audioOnly, _this.audioOnly) || other.audioOnly == _this.audioOnly)); } -/// @nodoc -abstract class $AudioOnlyClickedEventCopyWith<$Res> { - factory $AudioOnlyClickedEventCopyWith( - AudioOnlyClickedEvent value, - $Res Function(AudioOnlyClickedEvent) then, - ) = _$AudioOnlyClickedEventCopyWithImpl<$Res, AudioOnlyClickedEvent>; - @useResult - $Res call({bool audioOnly}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as AudioOnlyClickedEvent; + return Object.hash(runtimeType,_this.audioOnly); } -/// @nodoc -class _$AudioOnlyClickedEventCopyWithImpl< - $Res, - $Val extends AudioOnlyClickedEvent -> - implements $AudioOnlyClickedEventCopyWith<$Res> { - _$AudioOnlyClickedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of AudioOnlyClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? audioOnly = null}) { - return _then( - _value.copyWith( - audioOnly: null == audioOnly - ? _value.audioOnly - : audioOnly // ignore: cast_nullable_to_non_nullable - as bool, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as AudioOnlyClickedEvent; + return 'AudioOnlyClickedEvent(audioOnly: ${_this.audioOnly})'; } + +} + +/// @nodoc +abstract mixin class $AudioOnlyClickedEventCopyWith<$Res> { + factory $AudioOnlyClickedEventCopyWith(AudioOnlyClickedEvent value, $Res Function(AudioOnlyClickedEvent) _then) = _$AudioOnlyClickedEventCopyWithImpl; +@useResult +$Res call({ + bool audioOnly +}); + + + + +} /// @nodoc -abstract class _$$AudioOnlyClickedEventImplCopyWith<$Res> +class _$AudioOnlyClickedEventCopyWithImpl<$Res> implements $AudioOnlyClickedEventCopyWith<$Res> { - factory _$$AudioOnlyClickedEventImplCopyWith( - _$AudioOnlyClickedEventImpl value, - $Res Function(_$AudioOnlyClickedEventImpl) then, - ) = __$$AudioOnlyClickedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({bool audioOnly}); + _$AudioOnlyClickedEventCopyWithImpl(this._self, this._then); + + final AudioOnlyClickedEvent _self; + final $Res Function(AudioOnlyClickedEvent) _then; + +/// Create a copy of AudioOnlyClickedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? audioOnly = null,}) { + return _then(AudioOnlyClickedEvent( +audioOnly: null == audioOnly ? _self.audioOnly : audioOnly // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + +} + + +/// Adds pattern-matching-related methods to [AudioOnlyClickedEvent]. +extension AudioOnlyClickedEventPatterns on AudioOnlyClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _AudioOnlyClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _AudioOnlyClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _AudioOnlyClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _AudioOnlyClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _AudioOnlyClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _AudioOnlyClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( bool audioOnly)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _AudioOnlyClickedEvent() when $default != null: +return $default(_that.audioOnly);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( bool audioOnly) $default,) {final _that = this; +switch (_that) { +case _AudioOnlyClickedEvent(): +return $default(_that.audioOnly);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( bool audioOnly)? $default,) {final _that = this; +switch (_that) { +case _AudioOnlyClickedEvent() when $default != null: +return $default(_that.audioOnly);case _: + return null; + +} } -/// @nodoc -class __$$AudioOnlyClickedEventImplCopyWithImpl<$Res> - extends - _$AudioOnlyClickedEventCopyWithImpl<$Res, _$AudioOnlyClickedEventImpl> - implements _$$AudioOnlyClickedEventImplCopyWith<$Res> { - __$$AudioOnlyClickedEventImplCopyWithImpl( - _$AudioOnlyClickedEventImpl _value, - $Res Function(_$AudioOnlyClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of AudioOnlyClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? audioOnly = null}) { - return _then( - _$AudioOnlyClickedEventImpl( - audioOnly: null == audioOnly - ? _value.audioOnly - : audioOnly // ignore: cast_nullable_to_non_nullable - as bool, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$AudioOnlyClickedEventImpl implements _AudioOnlyClickedEvent { - const _$AudioOnlyClickedEventImpl({required this.audioOnly}); - factory _$AudioOnlyClickedEventImpl.fromJson(Map json) => - _$$AudioOnlyClickedEventImplFromJson(json); +class _AudioOnlyClickedEvent implements AudioOnlyClickedEvent { + const _AudioOnlyClickedEvent({required this.audioOnly}); + factory _AudioOnlyClickedEvent.fromJson(Map json) => _$AudioOnlyClickedEventFromJson(json); + +@override final bool audioOnly; + +/// Create a copy of AudioOnlyClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$AudioOnlyClickedEventCopyWith<_AudioOnlyClickedEvent> get copyWith => __$AudioOnlyClickedEventCopyWithImpl<_AudioOnlyClickedEvent>(this, _$identity); + +@override +Map toJson() { + return _$AudioOnlyClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AudioOnlyClickedEvent&&(identical(other.audioOnly, audioOnly) || other.audioOnly == audioOnly)); +} - @override - final bool audioOnly; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,audioOnly); +} - @override - String toString() { +@override +String toString() { return 'AudioOnlyClickedEvent(audioOnly: $audioOnly)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$AudioOnlyClickedEventImpl && - (identical(other.audioOnly, audioOnly) || - other.audioOnly == audioOnly)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, audioOnly); - - /// Create a copy of AudioOnlyClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$AudioOnlyClickedEventImplCopyWith<_$AudioOnlyClickedEventImpl> - get copyWith => - __$$AudioOnlyClickedEventImplCopyWithImpl<_$AudioOnlyClickedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$AudioOnlyClickedEventImplToJson(this); - } -} - -abstract class _AudioOnlyClickedEvent implements AudioOnlyClickedEvent { - const factory _AudioOnlyClickedEvent({required final bool audioOnly}) = - _$AudioOnlyClickedEventImpl; - - factory _AudioOnlyClickedEvent.fromJson(Map json) = - _$AudioOnlyClickedEventImpl.fromJson; - - @override - bool get audioOnly; - - /// Create a copy of AudioOnlyClickedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$AudioOnlyClickedEventImplCopyWith<_$AudioOnlyClickedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$AudioOnlyClickedEventCopyWith<$Res> implements $AudioOnlyClickedEventCopyWith<$Res> { + factory _$AudioOnlyClickedEventCopyWith(_AudioOnlyClickedEvent value, $Res Function(_AudioOnlyClickedEvent) _then) = __$AudioOnlyClickedEventCopyWithImpl; +@override @useResult +$Res call({ + bool audioOnly +}); + + + + +} +/// @nodoc +class __$AudioOnlyClickedEventCopyWithImpl<$Res> + implements _$AudioOnlyClickedEventCopyWith<$Res> { + __$AudioOnlyClickedEventCopyWithImpl(this._self, this._then); + + final _AudioOnlyClickedEvent _self; + final $Res Function(_AudioOnlyClickedEvent) _then; + +/// Create a copy of AudioOnlyClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? audioOnly = null,}) { + return _then(_AudioOnlyClickedEvent( +audioOnly: null == audioOnly ? _self.audioOnly : audioOnly // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/audio_only_clicked.g.dart b/bccm_core/lib/src/models/analytics/audio_only_clicked.g.dart index bfa7da6..5e7c196 100644 --- a/bccm_core/lib/src/models/analytics/audio_only_clicked.g.dart +++ b/bccm_core/lib/src/models/analytics/audio_only_clicked.g.dart @@ -6,10 +6,10 @@ part of 'audio_only_clicked.dart'; // JsonSerializableGenerator // ************************************************************************** -_$AudioOnlyClickedEventImpl _$$AudioOnlyClickedEventImplFromJson( +_AudioOnlyClickedEvent _$AudioOnlyClickedEventFromJson( Map json, -) => _$AudioOnlyClickedEventImpl(audioOnly: json['audioOnly'] as bool); +) => _AudioOnlyClickedEvent(audioOnly: json['audioOnly'] as bool); -Map _$$AudioOnlyClickedEventImplToJson( - _$AudioOnlyClickedEventImpl instance, +Map _$AudioOnlyClickedEventToJson( + _AudioOnlyClickedEvent instance, ) => {'audioOnly': instance.audioOnly}; diff --git a/bccm_core/lib/src/models/analytics/calendar_day_clicked.freezed.dart b/bccm_core/lib/src/models/analytics/calendar_day_clicked.freezed.dart index 98d1020..9190dd1 100644 --- a/bccm_core/lib/src/models/analytics/calendar_day_clicked.freezed.dart +++ b/bccm_core/lib/src/models/analytics/calendar_day_clicked.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'calendar_day_clicked.dart'; @@ -9,219 +9,283 @@ part of 'calendar_day_clicked.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -CalendarDayClickedEvent _$CalendarDayClickedEventFromJson( - Map json, -) { - return _CalendarDayClickedEvent.fromJson(json); -} - /// @nodoc mixin _$CalendarDayClickedEvent { - String get pageCode => throw _privateConstructorUsedError; - String get calendarView => throw _privateConstructorUsedError; - String get calendarDate => throw _privateConstructorUsedError; + + String get pageCode; String get calendarView; String get calendarDate; +/// Create a copy of CalendarDayClickedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$CalendarDayClickedEventCopyWith get copyWith => _$CalendarDayClickedEventCopyWithImpl(this as CalendarDayClickedEvent, _$identity); /// Serializes this CalendarDayClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of CalendarDayClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $CalendarDayClickedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as CalendarDayClickedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is CalendarDayClickedEvent&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&(identical(other.calendarView, _this.calendarView) || other.calendarView == _this.calendarView)&&(identical(other.calendarDate, _this.calendarDate) || other.calendarDate == _this.calendarDate)); } -/// @nodoc -abstract class $CalendarDayClickedEventCopyWith<$Res> { - factory $CalendarDayClickedEventCopyWith( - CalendarDayClickedEvent value, - $Res Function(CalendarDayClickedEvent) then, - ) = _$CalendarDayClickedEventCopyWithImpl<$Res, CalendarDayClickedEvent>; - @useResult - $Res call({String pageCode, String calendarView, String calendarDate}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as CalendarDayClickedEvent; + return Object.hash(runtimeType,_this.pageCode,_this.calendarView,_this.calendarDate); } -/// @nodoc -class _$CalendarDayClickedEventCopyWithImpl< - $Res, - $Val extends CalendarDayClickedEvent -> - implements $CalendarDayClickedEventCopyWith<$Res> { - _$CalendarDayClickedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of CalendarDayClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? pageCode = null, - Object? calendarView = null, - Object? calendarDate = null, - }) { - return _then( - _value.copyWith( - pageCode: null == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String, - calendarView: null == calendarView - ? _value.calendarView - : calendarView // ignore: cast_nullable_to_non_nullable - as String, - calendarDate: null == calendarDate - ? _value.calendarDate - : calendarDate // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as CalendarDayClickedEvent; + return 'CalendarDayClickedEvent(pageCode: ${_this.pageCode}, calendarView: ${_this.calendarView}, calendarDate: ${_this.calendarDate})'; } + +} + +/// @nodoc +abstract mixin class $CalendarDayClickedEventCopyWith<$Res> { + factory $CalendarDayClickedEventCopyWith(CalendarDayClickedEvent value, $Res Function(CalendarDayClickedEvent) _then) = _$CalendarDayClickedEventCopyWithImpl; +@useResult +$Res call({ + String pageCode, String calendarView, String calendarDate +}); + + + + +} /// @nodoc -abstract class _$$CalendarDayClickedEventImplCopyWith<$Res> +class _$CalendarDayClickedEventCopyWithImpl<$Res> implements $CalendarDayClickedEventCopyWith<$Res> { - factory _$$CalendarDayClickedEventImplCopyWith( - _$CalendarDayClickedEventImpl value, - $Res Function(_$CalendarDayClickedEventImpl) then, - ) = __$$CalendarDayClickedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String pageCode, String calendarView, String calendarDate}); + _$CalendarDayClickedEventCopyWithImpl(this._self, this._then); + + final CalendarDayClickedEvent _self; + final $Res Function(CalendarDayClickedEvent) _then; + +/// Create a copy of CalendarDayClickedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? pageCode = null,Object? calendarView = null,Object? calendarDate = null,}) { + return _then(CalendarDayClickedEvent( +pageCode: null == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String,calendarView: null == calendarView ? _self.calendarView : calendarView // ignore: cast_nullable_to_non_nullable +as String,calendarDate: null == calendarDate ? _self.calendarDate : calendarDate // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [CalendarDayClickedEvent]. +extension CalendarDayClickedEventPatterns on CalendarDayClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _CalendarDayClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _CalendarDayClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _CalendarDayClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _CalendarDayClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _CalendarDayClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _CalendarDayClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String pageCode, String calendarView, String calendarDate)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _CalendarDayClickedEvent() when $default != null: +return $default(_that.pageCode,_that.calendarView,_that.calendarDate);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String pageCode, String calendarView, String calendarDate) $default,) {final _that = this; +switch (_that) { +case _CalendarDayClickedEvent(): +return $default(_that.pageCode,_that.calendarView,_that.calendarDate);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String pageCode, String calendarView, String calendarDate)? $default,) {final _that = this; +switch (_that) { +case _CalendarDayClickedEvent() when $default != null: +return $default(_that.pageCode,_that.calendarView,_that.calendarDate);case _: + return null; + +} } -/// @nodoc -class __$$CalendarDayClickedEventImplCopyWithImpl<$Res> - extends - _$CalendarDayClickedEventCopyWithImpl< - $Res, - _$CalendarDayClickedEventImpl - > - implements _$$CalendarDayClickedEventImplCopyWith<$Res> { - __$$CalendarDayClickedEventImplCopyWithImpl( - _$CalendarDayClickedEventImpl _value, - $Res Function(_$CalendarDayClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of CalendarDayClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? pageCode = null, - Object? calendarView = null, - Object? calendarDate = null, - }) { - return _then( - _$CalendarDayClickedEventImpl( - pageCode: null == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String, - calendarView: null == calendarView - ? _value.calendarView - : calendarView // ignore: cast_nullable_to_non_nullable - as String, - calendarDate: null == calendarDate - ? _value.calendarDate - : calendarDate // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$CalendarDayClickedEventImpl implements _CalendarDayClickedEvent { - const _$CalendarDayClickedEventImpl({ - required this.pageCode, - required this.calendarView, - required this.calendarDate, - }); - - factory _$CalendarDayClickedEventImpl.fromJson(Map json) => - _$$CalendarDayClickedEventImplFromJson(json); - - @override - final String pageCode; - @override - final String calendarView; - @override - final String calendarDate; - - @override - String toString() { + +class _CalendarDayClickedEvent implements CalendarDayClickedEvent { + const _CalendarDayClickedEvent({required this.pageCode, required this.calendarView, required this.calendarDate}); + factory _CalendarDayClickedEvent.fromJson(Map json) => _$CalendarDayClickedEventFromJson(json); + +@override final String pageCode; +@override final String calendarView; +@override final String calendarDate; + +/// Create a copy of CalendarDayClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$CalendarDayClickedEventCopyWith<_CalendarDayClickedEvent> get copyWith => __$CalendarDayClickedEventCopyWithImpl<_CalendarDayClickedEvent>(this, _$identity); + +@override +Map toJson() { + return _$CalendarDayClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _CalendarDayClickedEvent&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&(identical(other.calendarView, calendarView) || other.calendarView == calendarView)&&(identical(other.calendarDate, calendarDate) || other.calendarDate == calendarDate)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,pageCode,calendarView,calendarDate); +} + +@override +String toString() { return 'CalendarDayClickedEvent(pageCode: $pageCode, calendarView: $calendarView, calendarDate: $calendarDate)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$CalendarDayClickedEventImpl && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - (identical(other.calendarView, calendarView) || - other.calendarView == calendarView) && - (identical(other.calendarDate, calendarDate) || - other.calendarDate == calendarDate)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, pageCode, calendarView, calendarDate); - - /// Create a copy of CalendarDayClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$CalendarDayClickedEventImplCopyWith<_$CalendarDayClickedEventImpl> - get copyWith => - __$$CalendarDayClickedEventImplCopyWithImpl< - _$CalendarDayClickedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$CalendarDayClickedEventImplToJson(this); - } -} - -abstract class _CalendarDayClickedEvent implements CalendarDayClickedEvent { - const factory _CalendarDayClickedEvent({ - required final String pageCode, - required final String calendarView, - required final String calendarDate, - }) = _$CalendarDayClickedEventImpl; - - factory _CalendarDayClickedEvent.fromJson(Map json) = - _$CalendarDayClickedEventImpl.fromJson; - - @override - String get pageCode; - @override - String get calendarView; - @override - String get calendarDate; - - /// Create a copy of CalendarDayClickedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$CalendarDayClickedEventImplCopyWith<_$CalendarDayClickedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$CalendarDayClickedEventCopyWith<$Res> implements $CalendarDayClickedEventCopyWith<$Res> { + factory _$CalendarDayClickedEventCopyWith(_CalendarDayClickedEvent value, $Res Function(_CalendarDayClickedEvent) _then) = __$CalendarDayClickedEventCopyWithImpl; +@override @useResult +$Res call({ + String pageCode, String calendarView, String calendarDate +}); + + + + +} +/// @nodoc +class __$CalendarDayClickedEventCopyWithImpl<$Res> + implements _$CalendarDayClickedEventCopyWith<$Res> { + __$CalendarDayClickedEventCopyWithImpl(this._self, this._then); + + final _CalendarDayClickedEvent _self; + final $Res Function(_CalendarDayClickedEvent) _then; + +/// Create a copy of CalendarDayClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? pageCode = null,Object? calendarView = null,Object? calendarDate = null,}) { + return _then(_CalendarDayClickedEvent( +pageCode: null == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String,calendarView: null == calendarView ? _self.calendarView : calendarView // ignore: cast_nullable_to_non_nullable +as String,calendarDate: null == calendarDate ? _self.calendarDate : calendarDate // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/calendar_day_clicked.g.dart b/bccm_core/lib/src/models/analytics/calendar_day_clicked.g.dart index 0ca7ee8..64a0a8c 100644 --- a/bccm_core/lib/src/models/analytics/calendar_day_clicked.g.dart +++ b/bccm_core/lib/src/models/analytics/calendar_day_clicked.g.dart @@ -6,16 +6,16 @@ part of 'calendar_day_clicked.dart'; // JsonSerializableGenerator // ************************************************************************** -_$CalendarDayClickedEventImpl _$$CalendarDayClickedEventImplFromJson( +_CalendarDayClickedEvent _$CalendarDayClickedEventFromJson( Map json, -) => _$CalendarDayClickedEventImpl( +) => _CalendarDayClickedEvent( pageCode: json['pageCode'] as String, calendarView: json['calendarView'] as String, calendarDate: json['calendarDate'] as String, ); -Map _$$CalendarDayClickedEventImplToJson( - _$CalendarDayClickedEventImpl instance, +Map _$CalendarDayClickedEventToJson( + _CalendarDayClickedEvent instance, ) => { 'pageCode': instance.pageCode, 'calendarView': instance.calendarView, diff --git a/bccm_core/lib/src/models/analytics/chapter_clicked.freezed.dart b/bccm_core/lib/src/models/analytics/chapter_clicked.freezed.dart index 380e54c..c109440 100644 --- a/bccm_core/lib/src/models/analytics/chapter_clicked.freezed.dart +++ b/bccm_core/lib/src/models/analytics/chapter_clicked.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'chapter_clicked.dart'; @@ -9,239 +9,286 @@ part of 'chapter_clicked.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -ChapterClickedEvent _$ChapterClickedEventFromJson(Map json) { - return _ChapterClickedEvent.fromJson(json); -} - /// @nodoc mixin _$ChapterClickedEvent { - String get elementType => throw _privateConstructorUsedError; - String get elementId => throw _privateConstructorUsedError; - String get chapterId => throw _privateConstructorUsedError; - int get chapterStart => throw _privateConstructorUsedError; + + String get elementType; String get elementId; String get chapterId; int get chapterStart; +/// Create a copy of ChapterClickedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ChapterClickedEventCopyWith get copyWith => _$ChapterClickedEventCopyWithImpl(this as ChapterClickedEvent, _$identity); /// Serializes this ChapterClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of ChapterClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $ChapterClickedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as ChapterClickedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ChapterClickedEvent&&(identical(other.elementType, _this.elementType) || other.elementType == _this.elementType)&&(identical(other.elementId, _this.elementId) || other.elementId == _this.elementId)&&(identical(other.chapterId, _this.chapterId) || other.chapterId == _this.chapterId)&&(identical(other.chapterStart, _this.chapterStart) || other.chapterStart == _this.chapterStart)); } -/// @nodoc -abstract class $ChapterClickedEventCopyWith<$Res> { - factory $ChapterClickedEventCopyWith( - ChapterClickedEvent value, - $Res Function(ChapterClickedEvent) then, - ) = _$ChapterClickedEventCopyWithImpl<$Res, ChapterClickedEvent>; - @useResult - $Res call({ - String elementType, - String elementId, - String chapterId, - int chapterStart, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as ChapterClickedEvent; + return Object.hash(runtimeType,_this.elementType,_this.elementId,_this.chapterId,_this.chapterStart); } -/// @nodoc -class _$ChapterClickedEventCopyWithImpl<$Res, $Val extends ChapterClickedEvent> - implements $ChapterClickedEventCopyWith<$Res> { - _$ChapterClickedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of ChapterClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? elementType = null, - Object? elementId = null, - Object? chapterId = null, - Object? chapterStart = null, - }) { - return _then( - _value.copyWith( - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - chapterId: null == chapterId - ? _value.chapterId - : chapterId // ignore: cast_nullable_to_non_nullable - as String, - chapterStart: null == chapterStart - ? _value.chapterStart - : chapterStart // ignore: cast_nullable_to_non_nullable - as int, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as ChapterClickedEvent; + return 'ChapterClickedEvent(elementType: ${_this.elementType}, elementId: ${_this.elementId}, chapterId: ${_this.chapterId}, chapterStart: ${_this.chapterStart})'; } + +} + +/// @nodoc +abstract mixin class $ChapterClickedEventCopyWith<$Res> { + factory $ChapterClickedEventCopyWith(ChapterClickedEvent value, $Res Function(ChapterClickedEvent) _then) = _$ChapterClickedEventCopyWithImpl; +@useResult +$Res call({ + String elementType, String elementId, String chapterId, int chapterStart +}); + + + + +} /// @nodoc -abstract class _$$ChapterClickedEventImplCopyWith<$Res> +class _$ChapterClickedEventCopyWithImpl<$Res> implements $ChapterClickedEventCopyWith<$Res> { - factory _$$ChapterClickedEventImplCopyWith( - _$ChapterClickedEventImpl value, - $Res Function(_$ChapterClickedEventImpl) then, - ) = __$$ChapterClickedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String elementType, - String elementId, - String chapterId, - int chapterStart, - }); + _$ChapterClickedEventCopyWithImpl(this._self, this._then); + + final ChapterClickedEvent _self; + final $Res Function(ChapterClickedEvent) _then; + +/// Create a copy of ChapterClickedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? elementType = null,Object? elementId = null,Object? chapterId = null,Object? chapterStart = null,}) { + return _then(ChapterClickedEvent( +elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,chapterId: null == chapterId ? _self.chapterId : chapterId // ignore: cast_nullable_to_non_nullable +as String,chapterStart: null == chapterStart ? _self.chapterStart : chapterStart // ignore: cast_nullable_to_non_nullable +as int, + )); +} + +} + + +/// Adds pattern-matching-related methods to [ChapterClickedEvent]. +extension ChapterClickedEventPatterns on ChapterClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _ChapterClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _ChapterClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _ChapterClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _ChapterClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _ChapterClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _ChapterClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String elementType, String elementId, String chapterId, int chapterStart)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _ChapterClickedEvent() when $default != null: +return $default(_that.elementType,_that.elementId,_that.chapterId,_that.chapterStart);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String elementType, String elementId, String chapterId, int chapterStart) $default,) {final _that = this; +switch (_that) { +case _ChapterClickedEvent(): +return $default(_that.elementType,_that.elementId,_that.chapterId,_that.chapterStart);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String elementType, String elementId, String chapterId, int chapterStart)? $default,) {final _that = this; +switch (_that) { +case _ChapterClickedEvent() when $default != null: +return $default(_that.elementType,_that.elementId,_that.chapterId,_that.chapterStart);case _: + return null; + +} } -/// @nodoc -class __$$ChapterClickedEventImplCopyWithImpl<$Res> - extends _$ChapterClickedEventCopyWithImpl<$Res, _$ChapterClickedEventImpl> - implements _$$ChapterClickedEventImplCopyWith<$Res> { - __$$ChapterClickedEventImplCopyWithImpl( - _$ChapterClickedEventImpl _value, - $Res Function(_$ChapterClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ChapterClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? elementType = null, - Object? elementId = null, - Object? chapterId = null, - Object? chapterStart = null, - }) { - return _then( - _$ChapterClickedEventImpl( - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - chapterId: null == chapterId - ? _value.chapterId - : chapterId // ignore: cast_nullable_to_non_nullable - as String, - chapterStart: null == chapterStart - ? _value.chapterStart - : chapterStart // ignore: cast_nullable_to_non_nullable - as int, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$ChapterClickedEventImpl implements _ChapterClickedEvent { - const _$ChapterClickedEventImpl({ - required this.elementType, - required this.elementId, - required this.chapterId, - required this.chapterStart, - }); - - factory _$ChapterClickedEventImpl.fromJson(Map json) => - _$$ChapterClickedEventImplFromJson(json); - - @override - final String elementType; - @override - final String elementId; - @override - final String chapterId; - @override - final int chapterStart; - - @override - String toString() { + +class _ChapterClickedEvent implements ChapterClickedEvent { + const _ChapterClickedEvent({required this.elementType, required this.elementId, required this.chapterId, required this.chapterStart}); + factory _ChapterClickedEvent.fromJson(Map json) => _$ChapterClickedEventFromJson(json); + +@override final String elementType; +@override final String elementId; +@override final String chapterId; +@override final int chapterStart; + +/// Create a copy of ChapterClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$ChapterClickedEventCopyWith<_ChapterClickedEvent> get copyWith => __$ChapterClickedEventCopyWithImpl<_ChapterClickedEvent>(this, _$identity); + +@override +Map toJson() { + return _$ChapterClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ChapterClickedEvent&&(identical(other.elementType, elementType) || other.elementType == elementType)&&(identical(other.elementId, elementId) || other.elementId == elementId)&&(identical(other.chapterId, chapterId) || other.chapterId == chapterId)&&(identical(other.chapterStart, chapterStart) || other.chapterStart == chapterStart)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,elementType,elementId,chapterId,chapterStart); +} + +@override +String toString() { return 'ChapterClickedEvent(elementType: $elementType, elementId: $elementId, chapterId: $chapterId, chapterStart: $chapterStart)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ChapterClickedEventImpl && - (identical(other.elementType, elementType) || - other.elementType == elementType) && - (identical(other.elementId, elementId) || - other.elementId == elementId) && - (identical(other.chapterId, chapterId) || - other.chapterId == chapterId) && - (identical(other.chapterStart, chapterStart) || - other.chapterStart == chapterStart)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, elementType, elementId, chapterId, chapterStart); - - /// Create a copy of ChapterClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ChapterClickedEventImplCopyWith<_$ChapterClickedEventImpl> get copyWith => - __$$ChapterClickedEventImplCopyWithImpl<_$ChapterClickedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$ChapterClickedEventImplToJson(this); - } -} - -abstract class _ChapterClickedEvent implements ChapterClickedEvent { - const factory _ChapterClickedEvent({ - required final String elementType, - required final String elementId, - required final String chapterId, - required final int chapterStart, - }) = _$ChapterClickedEventImpl; - - factory _ChapterClickedEvent.fromJson(Map json) = - _$ChapterClickedEventImpl.fromJson; - - @override - String get elementType; - @override - String get elementId; - @override - String get chapterId; - @override - int get chapterStart; - - /// Create a copy of ChapterClickedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ChapterClickedEventImplCopyWith<_$ChapterClickedEventImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$ChapterClickedEventCopyWith<$Res> implements $ChapterClickedEventCopyWith<$Res> { + factory _$ChapterClickedEventCopyWith(_ChapterClickedEvent value, $Res Function(_ChapterClickedEvent) _then) = __$ChapterClickedEventCopyWithImpl; +@override @useResult +$Res call({ + String elementType, String elementId, String chapterId, int chapterStart +}); + + + + +} +/// @nodoc +class __$ChapterClickedEventCopyWithImpl<$Res> + implements _$ChapterClickedEventCopyWith<$Res> { + __$ChapterClickedEventCopyWithImpl(this._self, this._then); + + final _ChapterClickedEvent _self; + final $Res Function(_ChapterClickedEvent) _then; + +/// Create a copy of ChapterClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? elementType = null,Object? elementId = null,Object? chapterId = null,Object? chapterStart = null,}) { + return _then(_ChapterClickedEvent( +elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,chapterId: null == chapterId ? _self.chapterId : chapterId // ignore: cast_nullable_to_non_nullable +as String,chapterStart: null == chapterStart ? _self.chapterStart : chapterStart // ignore: cast_nullable_to_non_nullable +as int, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/chapter_clicked.g.dart b/bccm_core/lib/src/models/analytics/chapter_clicked.g.dart index 8fa170a..79d010d 100644 --- a/bccm_core/lib/src/models/analytics/chapter_clicked.g.dart +++ b/bccm_core/lib/src/models/analytics/chapter_clicked.g.dart @@ -6,17 +6,16 @@ part of 'chapter_clicked.dart'; // JsonSerializableGenerator // ************************************************************************** -_$ChapterClickedEventImpl _$$ChapterClickedEventImplFromJson( - Map json, -) => _$ChapterClickedEventImpl( - elementType: json['elementType'] as String, - elementId: json['elementId'] as String, - chapterId: json['chapterId'] as String, - chapterStart: (json['chapterStart'] as num).toInt(), -); +_ChapterClickedEvent _$ChapterClickedEventFromJson(Map json) => + _ChapterClickedEvent( + elementType: json['elementType'] as String, + elementId: json['elementId'] as String, + chapterId: json['chapterId'] as String, + chapterStart: (json['chapterStart'] as num).toInt(), + ); -Map _$$ChapterClickedEventImplToJson( - _$ChapterClickedEventImpl instance, +Map _$ChapterClickedEventToJson( + _ChapterClickedEvent instance, ) => { 'elementType': instance.elementType, 'elementId': instance.elementId, diff --git a/bccm_core/lib/src/models/analytics/content_shared.freezed.dart b/bccm_core/lib/src/models/analytics/content_shared.freezed.dart index db51446..cc6e3e4 100644 --- a/bccm_core/lib/src/models/analytics/content_shared.freezed.dart +++ b/bccm_core/lib/src/models/analytics/content_shared.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'content_shared.dart'; @@ -9,239 +9,286 @@ part of 'content_shared.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -ContentSharedEvent _$ContentSharedEventFromJson(Map json) { - return _ContentSharedEvent.fromJson(json); -} - /// @nodoc mixin _$ContentSharedEvent { - String get pageCode => throw _privateConstructorUsedError; - String get elementType => throw _privateConstructorUsedError; - String get elementId => throw _privateConstructorUsedError; - int? get position => throw _privateConstructorUsedError; + + String get pageCode; String get elementType; String get elementId; int? get position; +/// Create a copy of ContentSharedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ContentSharedEventCopyWith get copyWith => _$ContentSharedEventCopyWithImpl(this as ContentSharedEvent, _$identity); /// Serializes this ContentSharedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of ContentSharedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $ContentSharedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as ContentSharedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ContentSharedEvent&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&(identical(other.elementType, _this.elementType) || other.elementType == _this.elementType)&&(identical(other.elementId, _this.elementId) || other.elementId == _this.elementId)&&(identical(other.position, _this.position) || other.position == _this.position)); } -/// @nodoc -abstract class $ContentSharedEventCopyWith<$Res> { - factory $ContentSharedEventCopyWith( - ContentSharedEvent value, - $Res Function(ContentSharedEvent) then, - ) = _$ContentSharedEventCopyWithImpl<$Res, ContentSharedEvent>; - @useResult - $Res call({ - String pageCode, - String elementType, - String elementId, - int? position, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as ContentSharedEvent; + return Object.hash(runtimeType,_this.pageCode,_this.elementType,_this.elementId,_this.position); } -/// @nodoc -class _$ContentSharedEventCopyWithImpl<$Res, $Val extends ContentSharedEvent> - implements $ContentSharedEventCopyWith<$Res> { - _$ContentSharedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of ContentSharedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? pageCode = null, - Object? elementType = null, - Object? elementId = null, - Object? position = freezed, - }) { - return _then( - _value.copyWith( - pageCode: null == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String, - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - position: freezed == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as ContentSharedEvent; + return 'ContentSharedEvent(pageCode: ${_this.pageCode}, elementType: ${_this.elementType}, elementId: ${_this.elementId}, position: ${_this.position})'; } + +} + +/// @nodoc +abstract mixin class $ContentSharedEventCopyWith<$Res> { + factory $ContentSharedEventCopyWith(ContentSharedEvent value, $Res Function(ContentSharedEvent) _then) = _$ContentSharedEventCopyWithImpl; +@useResult +$Res call({ + String pageCode, String elementType, String elementId, int? position +}); + + + + +} /// @nodoc -abstract class _$$ContentSharedEventImplCopyWith<$Res> +class _$ContentSharedEventCopyWithImpl<$Res> implements $ContentSharedEventCopyWith<$Res> { - factory _$$ContentSharedEventImplCopyWith( - _$ContentSharedEventImpl value, - $Res Function(_$ContentSharedEventImpl) then, - ) = __$$ContentSharedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String pageCode, - String elementType, - String elementId, - int? position, - }); + _$ContentSharedEventCopyWithImpl(this._self, this._then); + + final ContentSharedEvent _self; + final $Res Function(ContentSharedEvent) _then; + +/// Create a copy of ContentSharedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? pageCode = null,Object? elementType = null,Object? elementId = null,Object? position = freezed,}) { + return _then(ContentSharedEvent( +pageCode: null == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String,elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,position: freezed == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [ContentSharedEvent]. +extension ContentSharedEventPatterns on ContentSharedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _ContentSharedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _ContentSharedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _ContentSharedEvent value) $default,){ +final _that = this; +switch (_that) { +case _ContentSharedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _ContentSharedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _ContentSharedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String pageCode, String elementType, String elementId, int? position)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _ContentSharedEvent() when $default != null: +return $default(_that.pageCode,_that.elementType,_that.elementId,_that.position);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String pageCode, String elementType, String elementId, int? position) $default,) {final _that = this; +switch (_that) { +case _ContentSharedEvent(): +return $default(_that.pageCode,_that.elementType,_that.elementId,_that.position);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String pageCode, String elementType, String elementId, int? position)? $default,) {final _that = this; +switch (_that) { +case _ContentSharedEvent() when $default != null: +return $default(_that.pageCode,_that.elementType,_that.elementId,_that.position);case _: + return null; + +} } -/// @nodoc -class __$$ContentSharedEventImplCopyWithImpl<$Res> - extends _$ContentSharedEventCopyWithImpl<$Res, _$ContentSharedEventImpl> - implements _$$ContentSharedEventImplCopyWith<$Res> { - __$$ContentSharedEventImplCopyWithImpl( - _$ContentSharedEventImpl _value, - $Res Function(_$ContentSharedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ContentSharedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? pageCode = null, - Object? elementType = null, - Object? elementId = null, - Object? position = freezed, - }) { - return _then( - _$ContentSharedEventImpl( - pageCode: null == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String, - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - position: freezed == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$ContentSharedEventImpl implements _ContentSharedEvent { - const _$ContentSharedEventImpl({ - required this.pageCode, - required this.elementType, - required this.elementId, - this.position, - }); - - factory _$ContentSharedEventImpl.fromJson(Map json) => - _$$ContentSharedEventImplFromJson(json); - - @override - final String pageCode; - @override - final String elementType; - @override - final String elementId; - @override - final int? position; - - @override - String toString() { + +class _ContentSharedEvent implements ContentSharedEvent { + const _ContentSharedEvent({required this.pageCode, required this.elementType, required this.elementId, this.position}); + factory _ContentSharedEvent.fromJson(Map json) => _$ContentSharedEventFromJson(json); + +@override final String pageCode; +@override final String elementType; +@override final String elementId; +@override final int? position; + +/// Create a copy of ContentSharedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$ContentSharedEventCopyWith<_ContentSharedEvent> get copyWith => __$ContentSharedEventCopyWithImpl<_ContentSharedEvent>(this, _$identity); + +@override +Map toJson() { + return _$ContentSharedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ContentSharedEvent&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&(identical(other.elementType, elementType) || other.elementType == elementType)&&(identical(other.elementId, elementId) || other.elementId == elementId)&&(identical(other.position, position) || other.position == position)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,pageCode,elementType,elementId,position); +} + +@override +String toString() { return 'ContentSharedEvent(pageCode: $pageCode, elementType: $elementType, elementId: $elementId, position: $position)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ContentSharedEventImpl && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - (identical(other.elementType, elementType) || - other.elementType == elementType) && - (identical(other.elementId, elementId) || - other.elementId == elementId) && - (identical(other.position, position) || - other.position == position)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, pageCode, elementType, elementId, position); - - /// Create a copy of ContentSharedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ContentSharedEventImplCopyWith<_$ContentSharedEventImpl> get copyWith => - __$$ContentSharedEventImplCopyWithImpl<_$ContentSharedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$ContentSharedEventImplToJson(this); - } -} - -abstract class _ContentSharedEvent implements ContentSharedEvent { - const factory _ContentSharedEvent({ - required final String pageCode, - required final String elementType, - required final String elementId, - final int? position, - }) = _$ContentSharedEventImpl; - - factory _ContentSharedEvent.fromJson(Map json) = - _$ContentSharedEventImpl.fromJson; - - @override - String get pageCode; - @override - String get elementType; - @override - String get elementId; - @override - int? get position; - - /// Create a copy of ContentSharedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ContentSharedEventImplCopyWith<_$ContentSharedEventImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$ContentSharedEventCopyWith<$Res> implements $ContentSharedEventCopyWith<$Res> { + factory _$ContentSharedEventCopyWith(_ContentSharedEvent value, $Res Function(_ContentSharedEvent) _then) = __$ContentSharedEventCopyWithImpl; +@override @useResult +$Res call({ + String pageCode, String elementType, String elementId, int? position +}); + + + + +} +/// @nodoc +class __$ContentSharedEventCopyWithImpl<$Res> + implements _$ContentSharedEventCopyWith<$Res> { + __$ContentSharedEventCopyWithImpl(this._self, this._then); + + final _ContentSharedEvent _self; + final $Res Function(_ContentSharedEvent) _then; + +/// Create a copy of ContentSharedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? pageCode = null,Object? elementType = null,Object? elementId = null,Object? position = freezed,}) { + return _then(_ContentSharedEvent( +pageCode: null == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String,elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,position: freezed == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/content_shared.g.dart b/bccm_core/lib/src/models/analytics/content_shared.g.dart index db1ce73..62d1ba0 100644 --- a/bccm_core/lib/src/models/analytics/content_shared.g.dart +++ b/bccm_core/lib/src/models/analytics/content_shared.g.dart @@ -6,20 +6,18 @@ part of 'content_shared.dart'; // JsonSerializableGenerator // ************************************************************************** -_$ContentSharedEventImpl _$$ContentSharedEventImplFromJson( - Map json, -) => _$ContentSharedEventImpl( - pageCode: json['pageCode'] as String, - elementType: json['elementType'] as String, - elementId: json['elementId'] as String, - position: (json['position'] as num?)?.toInt(), -); +_ContentSharedEvent _$ContentSharedEventFromJson(Map json) => + _ContentSharedEvent( + pageCode: json['pageCode'] as String, + elementType: json['elementType'] as String, + elementId: json['elementId'] as String, + position: (json['position'] as num?)?.toInt(), + ); -Map _$$ContentSharedEventImplToJson( - _$ContentSharedEventImpl instance, -) => { - 'pageCode': instance.pageCode, - 'elementType': instance.elementType, - 'elementId': instance.elementId, - 'position': instance.position, -}; +Map _$ContentSharedEventToJson(_ContentSharedEvent instance) => + { + 'pageCode': instance.pageCode, + 'elementType': instance.elementType, + 'elementId': instance.elementId, + 'position': instance.position, + }; diff --git a/bccm_core/lib/src/models/analytics/deep_link_opened.freezed.dart b/bccm_core/lib/src/models/analytics/deep_link_opened.freezed.dart index b20c078..39fb89a 100644 --- a/bccm_core/lib/src/models/analytics/deep_link_opened.freezed.dart +++ b/bccm_core/lib/src/models/analytics/deep_link_opened.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'deep_link_opened.dart'; @@ -9,207 +9,283 @@ part of 'deep_link_opened.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -DeepLinkOpenedEvent _$DeepLinkOpenedEventFromJson(Map json) { - return _DeepLinkOpenedEvent.fromJson(json); -} - /// @nodoc mixin _$DeepLinkOpenedEvent { - String get url => throw _privateConstructorUsedError; - String get source => throw _privateConstructorUsedError; - String get campaignId => throw _privateConstructorUsedError; + + String get url; String get source; String get campaignId; +/// Create a copy of DeepLinkOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$DeepLinkOpenedEventCopyWith get copyWith => _$DeepLinkOpenedEventCopyWithImpl(this as DeepLinkOpenedEvent, _$identity); /// Serializes this DeepLinkOpenedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of DeepLinkOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $DeepLinkOpenedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as DeepLinkOpenedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is DeepLinkOpenedEvent&&(identical(other.url, _this.url) || other.url == _this.url)&&(identical(other.source, _this.source) || other.source == _this.source)&&(identical(other.campaignId, _this.campaignId) || other.campaignId == _this.campaignId)); } -/// @nodoc -abstract class $DeepLinkOpenedEventCopyWith<$Res> { - factory $DeepLinkOpenedEventCopyWith( - DeepLinkOpenedEvent value, - $Res Function(DeepLinkOpenedEvent) then, - ) = _$DeepLinkOpenedEventCopyWithImpl<$Res, DeepLinkOpenedEvent>; - @useResult - $Res call({String url, String source, String campaignId}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as DeepLinkOpenedEvent; + return Object.hash(runtimeType,_this.url,_this.source,_this.campaignId); } -/// @nodoc -class _$DeepLinkOpenedEventCopyWithImpl<$Res, $Val extends DeepLinkOpenedEvent> - implements $DeepLinkOpenedEventCopyWith<$Res> { - _$DeepLinkOpenedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of DeepLinkOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? url = null, - Object? source = null, - Object? campaignId = null, - }) { - return _then( - _value.copyWith( - url: null == url - ? _value.url - : url // ignore: cast_nullable_to_non_nullable - as String, - source: null == source - ? _value.source - : source // ignore: cast_nullable_to_non_nullable - as String, - campaignId: null == campaignId - ? _value.campaignId - : campaignId // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as DeepLinkOpenedEvent; + return 'DeepLinkOpenedEvent(url: ${_this.url}, source: ${_this.source}, campaignId: ${_this.campaignId})'; } + +} + +/// @nodoc +abstract mixin class $DeepLinkOpenedEventCopyWith<$Res> { + factory $DeepLinkOpenedEventCopyWith(DeepLinkOpenedEvent value, $Res Function(DeepLinkOpenedEvent) _then) = _$DeepLinkOpenedEventCopyWithImpl; +@useResult +$Res call({ + String url, String source, String campaignId +}); + + + + +} /// @nodoc -abstract class _$$DeepLinkOpenedEventImplCopyWith<$Res> +class _$DeepLinkOpenedEventCopyWithImpl<$Res> implements $DeepLinkOpenedEventCopyWith<$Res> { - factory _$$DeepLinkOpenedEventImplCopyWith( - _$DeepLinkOpenedEventImpl value, - $Res Function(_$DeepLinkOpenedEventImpl) then, - ) = __$$DeepLinkOpenedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String url, String source, String campaignId}); + _$DeepLinkOpenedEventCopyWithImpl(this._self, this._then); + + final DeepLinkOpenedEvent _self; + final $Res Function(DeepLinkOpenedEvent) _then; + +/// Create a copy of DeepLinkOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? url = null,Object? source = null,Object? campaignId = null,}) { + return _then(DeepLinkOpenedEvent( +url: null == url ? _self.url : url // ignore: cast_nullable_to_non_nullable +as String,source: null == source ? _self.source : source // ignore: cast_nullable_to_non_nullable +as String,campaignId: null == campaignId ? _self.campaignId : campaignId // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [DeepLinkOpenedEvent]. +extension DeepLinkOpenedEventPatterns on DeepLinkOpenedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _DeepLinkOpenedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _DeepLinkOpenedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _DeepLinkOpenedEvent value) $default,){ +final _that = this; +switch (_that) { +case _DeepLinkOpenedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _DeepLinkOpenedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _DeepLinkOpenedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String url, String source, String campaignId)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _DeepLinkOpenedEvent() when $default != null: +return $default(_that.url,_that.source,_that.campaignId);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String url, String source, String campaignId) $default,) {final _that = this; +switch (_that) { +case _DeepLinkOpenedEvent(): +return $default(_that.url,_that.source,_that.campaignId);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String url, String source, String campaignId)? $default,) {final _that = this; +switch (_that) { +case _DeepLinkOpenedEvent() when $default != null: +return $default(_that.url,_that.source,_that.campaignId);case _: + return null; + +} } -/// @nodoc -class __$$DeepLinkOpenedEventImplCopyWithImpl<$Res> - extends _$DeepLinkOpenedEventCopyWithImpl<$Res, _$DeepLinkOpenedEventImpl> - implements _$$DeepLinkOpenedEventImplCopyWith<$Res> { - __$$DeepLinkOpenedEventImplCopyWithImpl( - _$DeepLinkOpenedEventImpl _value, - $Res Function(_$DeepLinkOpenedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of DeepLinkOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? url = null, - Object? source = null, - Object? campaignId = null, - }) { - return _then( - _$DeepLinkOpenedEventImpl( - url: null == url - ? _value.url - : url // ignore: cast_nullable_to_non_nullable - as String, - source: null == source - ? _value.source - : source // ignore: cast_nullable_to_non_nullable - as String, - campaignId: null == campaignId - ? _value.campaignId - : campaignId // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$DeepLinkOpenedEventImpl implements _DeepLinkOpenedEvent { - const _$DeepLinkOpenedEventImpl({ - required this.url, - required this.source, - required this.campaignId, - }); - - factory _$DeepLinkOpenedEventImpl.fromJson(Map json) => - _$$DeepLinkOpenedEventImplFromJson(json); - - @override - final String url; - @override - final String source; - @override - final String campaignId; - - @override - String toString() { + +class _DeepLinkOpenedEvent implements DeepLinkOpenedEvent { + const _DeepLinkOpenedEvent({required this.url, required this.source, required this.campaignId}); + factory _DeepLinkOpenedEvent.fromJson(Map json) => _$DeepLinkOpenedEventFromJson(json); + +@override final String url; +@override final String source; +@override final String campaignId; + +/// Create a copy of DeepLinkOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$DeepLinkOpenedEventCopyWith<_DeepLinkOpenedEvent> get copyWith => __$DeepLinkOpenedEventCopyWithImpl<_DeepLinkOpenedEvent>(this, _$identity); + +@override +Map toJson() { + return _$DeepLinkOpenedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeepLinkOpenedEvent&&(identical(other.url, url) || other.url == url)&&(identical(other.source, source) || other.source == source)&&(identical(other.campaignId, campaignId) || other.campaignId == campaignId)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,url,source,campaignId); +} + +@override +String toString() { return 'DeepLinkOpenedEvent(url: $url, source: $source, campaignId: $campaignId)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$DeepLinkOpenedEventImpl && - (identical(other.url, url) || other.url == url) && - (identical(other.source, source) || other.source == source) && - (identical(other.campaignId, campaignId) || - other.campaignId == campaignId)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, url, source, campaignId); - - /// Create a copy of DeepLinkOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$DeepLinkOpenedEventImplCopyWith<_$DeepLinkOpenedEventImpl> get copyWith => - __$$DeepLinkOpenedEventImplCopyWithImpl<_$DeepLinkOpenedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$DeepLinkOpenedEventImplToJson(this); - } -} - -abstract class _DeepLinkOpenedEvent implements DeepLinkOpenedEvent { - const factory _DeepLinkOpenedEvent({ - required final String url, - required final String source, - required final String campaignId, - }) = _$DeepLinkOpenedEventImpl; - - factory _DeepLinkOpenedEvent.fromJson(Map json) = - _$DeepLinkOpenedEventImpl.fromJson; - - @override - String get url; - @override - String get source; - @override - String get campaignId; - - /// Create a copy of DeepLinkOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$DeepLinkOpenedEventImplCopyWith<_$DeepLinkOpenedEventImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$DeepLinkOpenedEventCopyWith<$Res> implements $DeepLinkOpenedEventCopyWith<$Res> { + factory _$DeepLinkOpenedEventCopyWith(_DeepLinkOpenedEvent value, $Res Function(_DeepLinkOpenedEvent) _then) = __$DeepLinkOpenedEventCopyWithImpl; +@override @useResult +$Res call({ + String url, String source, String campaignId +}); + + + + +} +/// @nodoc +class __$DeepLinkOpenedEventCopyWithImpl<$Res> + implements _$DeepLinkOpenedEventCopyWith<$Res> { + __$DeepLinkOpenedEventCopyWithImpl(this._self, this._then); + + final _DeepLinkOpenedEvent _self; + final $Res Function(_DeepLinkOpenedEvent) _then; + +/// Create a copy of DeepLinkOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? url = null,Object? source = null,Object? campaignId = null,}) { + return _then(_DeepLinkOpenedEvent( +url: null == url ? _self.url : url // ignore: cast_nullable_to_non_nullable +as String,source: null == source ? _self.source : source // ignore: cast_nullable_to_non_nullable +as String,campaignId: null == campaignId ? _self.campaignId : campaignId // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/deep_link_opened.g.dart b/bccm_core/lib/src/models/analytics/deep_link_opened.g.dart index a6cce27..e5f9a41 100644 --- a/bccm_core/lib/src/models/analytics/deep_link_opened.g.dart +++ b/bccm_core/lib/src/models/analytics/deep_link_opened.g.dart @@ -6,16 +6,15 @@ part of 'deep_link_opened.dart'; // JsonSerializableGenerator // ************************************************************************** -_$DeepLinkOpenedEventImpl _$$DeepLinkOpenedEventImplFromJson( - Map json, -) => _$DeepLinkOpenedEventImpl( - url: json['url'] as String, - source: json['source'] as String, - campaignId: json['campaignId'] as String, -); +_DeepLinkOpenedEvent _$DeepLinkOpenedEventFromJson(Map json) => + _DeepLinkOpenedEvent( + url: json['url'] as String, + source: json['source'] as String, + campaignId: json['campaignId'] as String, + ); -Map _$$DeepLinkOpenedEventImplToJson( - _$DeepLinkOpenedEventImpl instance, +Map _$DeepLinkOpenedEventToJson( + _DeepLinkOpenedEvent instance, ) => { 'url': instance.url, 'source': instance.source, diff --git a/bccm_core/lib/src/models/analytics/downloads.freezed.dart b/bccm_core/lib/src/models/analytics/downloads.freezed.dart index 7f89074..b222228 100644 --- a/bccm_core/lib/src/models/analytics/downloads.freezed.dart +++ b/bccm_core/lib/src/models/analytics/downloads.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'downloads.dart'; @@ -9,617 +9,832 @@ part of 'downloads.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -VideoDownloadStartedEvent _$VideoDownloadStartedEventFromJson( - Map json, -) { - return _VideoDownloadStartedEvent.fromJson(json); -} - /// @nodoc mixin _$VideoDownloadStartedEvent { - String get downloadId => throw _privateConstructorUsedError; - String get episodeId => throw _privateConstructorUsedError; - String? get quality => throw _privateConstructorUsedError; - String? get audioLanguage => throw _privateConstructorUsedError; + + String get downloadId; String get episodeId; String? get quality; String? get audioLanguage; +/// Create a copy of VideoDownloadStartedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$VideoDownloadStartedEventCopyWith get copyWith => _$VideoDownloadStartedEventCopyWithImpl(this as VideoDownloadStartedEvent, _$identity); /// Serializes this VideoDownloadStartedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of VideoDownloadStartedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $VideoDownloadStartedEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as VideoDownloadStartedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is VideoDownloadStartedEvent&&(identical(other.downloadId, _this.downloadId) || other.downloadId == _this.downloadId)&&(identical(other.episodeId, _this.episodeId) || other.episodeId == _this.episodeId)&&(identical(other.quality, _this.quality) || other.quality == _this.quality)&&(identical(other.audioLanguage, _this.audioLanguage) || other.audioLanguage == _this.audioLanguage)); } -/// @nodoc -abstract class $VideoDownloadStartedEventCopyWith<$Res> { - factory $VideoDownloadStartedEventCopyWith( - VideoDownloadStartedEvent value, - $Res Function(VideoDownloadStartedEvent) then, - ) = _$VideoDownloadStartedEventCopyWithImpl<$Res, VideoDownloadStartedEvent>; - @useResult - $Res call({ - String downloadId, - String episodeId, - String? quality, - String? audioLanguage, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as VideoDownloadStartedEvent; + return Object.hash(runtimeType,_this.downloadId,_this.episodeId,_this.quality,_this.audioLanguage); } -/// @nodoc -class _$VideoDownloadStartedEventCopyWithImpl< - $Res, - $Val extends VideoDownloadStartedEvent -> - implements $VideoDownloadStartedEventCopyWith<$Res> { - _$VideoDownloadStartedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of VideoDownloadStartedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? downloadId = null, - Object? episodeId = null, - Object? quality = freezed, - Object? audioLanguage = freezed, - }) { - return _then( - _value.copyWith( - downloadId: null == downloadId - ? _value.downloadId - : downloadId // ignore: cast_nullable_to_non_nullable - as String, - episodeId: null == episodeId - ? _value.episodeId - : episodeId // ignore: cast_nullable_to_non_nullable - as String, - quality: freezed == quality - ? _value.quality - : quality // ignore: cast_nullable_to_non_nullable - as String?, - audioLanguage: freezed == audioLanguage - ? _value.audioLanguage - : audioLanguage // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as VideoDownloadStartedEvent; + return 'VideoDownloadStartedEvent(downloadId: ${_this.downloadId}, episodeId: ${_this.episodeId}, quality: ${_this.quality}, audioLanguage: ${_this.audioLanguage})'; } + +} + +/// @nodoc +abstract mixin class $VideoDownloadStartedEventCopyWith<$Res> { + factory $VideoDownloadStartedEventCopyWith(VideoDownloadStartedEvent value, $Res Function(VideoDownloadStartedEvent) _then) = _$VideoDownloadStartedEventCopyWithImpl; +@useResult +$Res call({ + String downloadId, String episodeId, String? quality, String? audioLanguage +}); + + + + +} /// @nodoc -abstract class _$$VideoDownloadStartedEventImplCopyWith<$Res> +class _$VideoDownloadStartedEventCopyWithImpl<$Res> implements $VideoDownloadStartedEventCopyWith<$Res> { - factory _$$VideoDownloadStartedEventImplCopyWith( - _$VideoDownloadStartedEventImpl value, - $Res Function(_$VideoDownloadStartedEventImpl) then, - ) = __$$VideoDownloadStartedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String downloadId, - String episodeId, - String? quality, - String? audioLanguage, - }); + _$VideoDownloadStartedEventCopyWithImpl(this._self, this._then); + + final VideoDownloadStartedEvent _self; + final $Res Function(VideoDownloadStartedEvent) _then; + +/// Create a copy of VideoDownloadStartedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? downloadId = null,Object? episodeId = null,Object? quality = freezed,Object? audioLanguage = freezed,}) { + return _then(VideoDownloadStartedEvent( +downloadId: null == downloadId ? _self.downloadId : downloadId // ignore: cast_nullable_to_non_nullable +as String,episodeId: null == episodeId ? _self.episodeId : episodeId // ignore: cast_nullable_to_non_nullable +as String,quality: freezed == quality ? _self.quality : quality // ignore: cast_nullable_to_non_nullable +as String?,audioLanguage: freezed == audioLanguage ? _self.audioLanguage : audioLanguage // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [VideoDownloadStartedEvent]. +extension VideoDownloadStartedEventPatterns on VideoDownloadStartedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _VideoDownloadStartedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _VideoDownloadStartedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _VideoDownloadStartedEvent value) $default,){ +final _that = this; +switch (_that) { +case _VideoDownloadStartedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _VideoDownloadStartedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _VideoDownloadStartedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String downloadId, String episodeId, String? quality, String? audioLanguage)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _VideoDownloadStartedEvent() when $default != null: +return $default(_that.downloadId,_that.episodeId,_that.quality,_that.audioLanguage);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String downloadId, String episodeId, String? quality, String? audioLanguage) $default,) {final _that = this; +switch (_that) { +case _VideoDownloadStartedEvent(): +return $default(_that.downloadId,_that.episodeId,_that.quality,_that.audioLanguage);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String downloadId, String episodeId, String? quality, String? audioLanguage)? $default,) {final _that = this; +switch (_that) { +case _VideoDownloadStartedEvent() when $default != null: +return $default(_that.downloadId,_that.episodeId,_that.quality,_that.audioLanguage);case _: + return null; + +} } -/// @nodoc -class __$$VideoDownloadStartedEventImplCopyWithImpl<$Res> - extends - _$VideoDownloadStartedEventCopyWithImpl< - $Res, - _$VideoDownloadStartedEventImpl - > - implements _$$VideoDownloadStartedEventImplCopyWith<$Res> { - __$$VideoDownloadStartedEventImplCopyWithImpl( - _$VideoDownloadStartedEventImpl _value, - $Res Function(_$VideoDownloadStartedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of VideoDownloadStartedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? downloadId = null, - Object? episodeId = null, - Object? quality = freezed, - Object? audioLanguage = freezed, - }) { - return _then( - _$VideoDownloadStartedEventImpl( - downloadId: null == downloadId - ? _value.downloadId - : downloadId // ignore: cast_nullable_to_non_nullable - as String, - episodeId: null == episodeId - ? _value.episodeId - : episodeId // ignore: cast_nullable_to_non_nullable - as String, - quality: freezed == quality - ? _value.quality - : quality // ignore: cast_nullable_to_non_nullable - as String?, - audioLanguage: freezed == audioLanguage - ? _value.audioLanguage - : audioLanguage // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$VideoDownloadStartedEventImpl implements _VideoDownloadStartedEvent { - const _$VideoDownloadStartedEventImpl({ - required this.downloadId, - required this.episodeId, - required this.quality, - required this.audioLanguage, - }); - - factory _$VideoDownloadStartedEventImpl.fromJson(Map json) => - _$$VideoDownloadStartedEventImplFromJson(json); - - @override - final String downloadId; - @override - final String episodeId; - @override - final String? quality; - @override - final String? audioLanguage; - - @override - String toString() { + +class _VideoDownloadStartedEvent implements VideoDownloadStartedEvent { + const _VideoDownloadStartedEvent({required this.downloadId, required this.episodeId, required this.quality, required this.audioLanguage}); + factory _VideoDownloadStartedEvent.fromJson(Map json) => _$VideoDownloadStartedEventFromJson(json); + +@override final String downloadId; +@override final String episodeId; +@override final String? quality; +@override final String? audioLanguage; + +/// Create a copy of VideoDownloadStartedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$VideoDownloadStartedEventCopyWith<_VideoDownloadStartedEvent> get copyWith => __$VideoDownloadStartedEventCopyWithImpl<_VideoDownloadStartedEvent>(this, _$identity); + +@override +Map toJson() { + return _$VideoDownloadStartedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _VideoDownloadStartedEvent&&(identical(other.downloadId, downloadId) || other.downloadId == downloadId)&&(identical(other.episodeId, episodeId) || other.episodeId == episodeId)&&(identical(other.quality, quality) || other.quality == quality)&&(identical(other.audioLanguage, audioLanguage) || other.audioLanguage == audioLanguage)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,downloadId,episodeId,quality,audioLanguage); +} + +@override +String toString() { return 'VideoDownloadStartedEvent(downloadId: $downloadId, episodeId: $episodeId, quality: $quality, audioLanguage: $audioLanguage)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$VideoDownloadStartedEventImpl && - (identical(other.downloadId, downloadId) || - other.downloadId == downloadId) && - (identical(other.episodeId, episodeId) || - other.episodeId == episodeId) && - (identical(other.quality, quality) || other.quality == quality) && - (identical(other.audioLanguage, audioLanguage) || - other.audioLanguage == audioLanguage)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, downloadId, episodeId, quality, audioLanguage); - - /// Create a copy of VideoDownloadStartedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$VideoDownloadStartedEventImplCopyWith<_$VideoDownloadStartedEventImpl> - get copyWith => - __$$VideoDownloadStartedEventImplCopyWithImpl< - _$VideoDownloadStartedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$VideoDownloadStartedEventImplToJson(this); - } -} - -abstract class _VideoDownloadStartedEvent implements VideoDownloadStartedEvent { - const factory _VideoDownloadStartedEvent({ - required final String downloadId, - required final String episodeId, - required final String? quality, - required final String? audioLanguage, - }) = _$VideoDownloadStartedEventImpl; - - factory _VideoDownloadStartedEvent.fromJson(Map json) = - _$VideoDownloadStartedEventImpl.fromJson; - - @override - String get downloadId; - @override - String get episodeId; - @override - String? get quality; - @override - String? get audioLanguage; - - /// Create a copy of VideoDownloadStartedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$VideoDownloadStartedEventImplCopyWith<_$VideoDownloadStartedEventImpl> - get copyWith => throw _privateConstructorUsedError; -} - -VideoDownloadRemovedEvent _$VideoDownloadRemovedEventFromJson( - Map json, -) { - return _VideoDownloadRemovedEvent.fromJson(json); } + +} + +/// @nodoc +abstract mixin class _$VideoDownloadStartedEventCopyWith<$Res> implements $VideoDownloadStartedEventCopyWith<$Res> { + factory _$VideoDownloadStartedEventCopyWith(_VideoDownloadStartedEvent value, $Res Function(_VideoDownloadStartedEvent) _then) = __$VideoDownloadStartedEventCopyWithImpl; +@override @useResult +$Res call({ + String downloadId, String episodeId, String? quality, String? audioLanguage +}); + + + + +} +/// @nodoc +class __$VideoDownloadStartedEventCopyWithImpl<$Res> + implements _$VideoDownloadStartedEventCopyWith<$Res> { + __$VideoDownloadStartedEventCopyWithImpl(this._self, this._then); + + final _VideoDownloadStartedEvent _self; + final $Res Function(_VideoDownloadStartedEvent) _then; + +/// Create a copy of VideoDownloadStartedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? downloadId = null,Object? episodeId = null,Object? quality = freezed,Object? audioLanguage = freezed,}) { + return _then(_VideoDownloadStartedEvent( +downloadId: null == downloadId ? _self.downloadId : downloadId // ignore: cast_nullable_to_non_nullable +as String,episodeId: null == episodeId ? _self.episodeId : episodeId // ignore: cast_nullable_to_non_nullable +as String,quality: freezed == quality ? _self.quality : quality // ignore: cast_nullable_to_non_nullable +as String?,audioLanguage: freezed == audioLanguage ? _self.audioLanguage : audioLanguage // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + + +} + + /// @nodoc mixin _$VideoDownloadRemovedEvent { - String get downloadId => throw _privateConstructorUsedError; - String? get episodeId => throw _privateConstructorUsedError; + + String get downloadId; String? get episodeId; +/// Create a copy of VideoDownloadRemovedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$VideoDownloadRemovedEventCopyWith get copyWith => _$VideoDownloadRemovedEventCopyWithImpl(this as VideoDownloadRemovedEvent, _$identity); /// Serializes this VideoDownloadRemovedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of VideoDownloadRemovedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $VideoDownloadRemovedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as VideoDownloadRemovedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is VideoDownloadRemovedEvent&&(identical(other.downloadId, _this.downloadId) || other.downloadId == _this.downloadId)&&(identical(other.episodeId, _this.episodeId) || other.episodeId == _this.episodeId)); } -/// @nodoc -abstract class $VideoDownloadRemovedEventCopyWith<$Res> { - factory $VideoDownloadRemovedEventCopyWith( - VideoDownloadRemovedEvent value, - $Res Function(VideoDownloadRemovedEvent) then, - ) = _$VideoDownloadRemovedEventCopyWithImpl<$Res, VideoDownloadRemovedEvent>; - @useResult - $Res call({String downloadId, String? episodeId}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as VideoDownloadRemovedEvent; + return Object.hash(runtimeType,_this.downloadId,_this.episodeId); } -/// @nodoc -class _$VideoDownloadRemovedEventCopyWithImpl< - $Res, - $Val extends VideoDownloadRemovedEvent -> - implements $VideoDownloadRemovedEventCopyWith<$Res> { - _$VideoDownloadRemovedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of VideoDownloadRemovedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? downloadId = null, Object? episodeId = freezed}) { - return _then( - _value.copyWith( - downloadId: null == downloadId - ? _value.downloadId - : downloadId // ignore: cast_nullable_to_non_nullable - as String, - episodeId: freezed == episodeId - ? _value.episodeId - : episodeId // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as VideoDownloadRemovedEvent; + return 'VideoDownloadRemovedEvent(downloadId: ${_this.downloadId}, episodeId: ${_this.episodeId})'; } + +} + +/// @nodoc +abstract mixin class $VideoDownloadRemovedEventCopyWith<$Res> { + factory $VideoDownloadRemovedEventCopyWith(VideoDownloadRemovedEvent value, $Res Function(VideoDownloadRemovedEvent) _then) = _$VideoDownloadRemovedEventCopyWithImpl; +@useResult +$Res call({ + String downloadId, String? episodeId +}); + + + + +} /// @nodoc -abstract class _$$VideoDownloadRemovedEventImplCopyWith<$Res> +class _$VideoDownloadRemovedEventCopyWithImpl<$Res> implements $VideoDownloadRemovedEventCopyWith<$Res> { - factory _$$VideoDownloadRemovedEventImplCopyWith( - _$VideoDownloadRemovedEventImpl value, - $Res Function(_$VideoDownloadRemovedEventImpl) then, - ) = __$$VideoDownloadRemovedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String downloadId, String? episodeId}); + _$VideoDownloadRemovedEventCopyWithImpl(this._self, this._then); + + final VideoDownloadRemovedEvent _self; + final $Res Function(VideoDownloadRemovedEvent) _then; + +/// Create a copy of VideoDownloadRemovedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? downloadId = null,Object? episodeId = freezed,}) { + return _then(VideoDownloadRemovedEvent( +downloadId: null == downloadId ? _self.downloadId : downloadId // ignore: cast_nullable_to_non_nullable +as String,episodeId: freezed == episodeId ? _self.episodeId : episodeId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [VideoDownloadRemovedEvent]. +extension VideoDownloadRemovedEventPatterns on VideoDownloadRemovedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _VideoDownloadRemovedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _VideoDownloadRemovedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _VideoDownloadRemovedEvent value) $default,){ +final _that = this; +switch (_that) { +case _VideoDownloadRemovedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _VideoDownloadRemovedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _VideoDownloadRemovedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String downloadId, String? episodeId)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _VideoDownloadRemovedEvent() when $default != null: +return $default(_that.downloadId,_that.episodeId);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String downloadId, String? episodeId) $default,) {final _that = this; +switch (_that) { +case _VideoDownloadRemovedEvent(): +return $default(_that.downloadId,_that.episodeId);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String downloadId, String? episodeId)? $default,) {final _that = this; +switch (_that) { +case _VideoDownloadRemovedEvent() when $default != null: +return $default(_that.downloadId,_that.episodeId);case _: + return null; + +} } -/// @nodoc -class __$$VideoDownloadRemovedEventImplCopyWithImpl<$Res> - extends - _$VideoDownloadRemovedEventCopyWithImpl< - $Res, - _$VideoDownloadRemovedEventImpl - > - implements _$$VideoDownloadRemovedEventImplCopyWith<$Res> { - __$$VideoDownloadRemovedEventImplCopyWithImpl( - _$VideoDownloadRemovedEventImpl _value, - $Res Function(_$VideoDownloadRemovedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of VideoDownloadRemovedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? downloadId = null, Object? episodeId = freezed}) { - return _then( - _$VideoDownloadRemovedEventImpl( - downloadId: null == downloadId - ? _value.downloadId - : downloadId // ignore: cast_nullable_to_non_nullable - as String, - episodeId: freezed == episodeId - ? _value.episodeId - : episodeId // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$VideoDownloadRemovedEventImpl implements _VideoDownloadRemovedEvent { - const _$VideoDownloadRemovedEventImpl({ - required this.downloadId, - required this.episodeId, - }); - - factory _$VideoDownloadRemovedEventImpl.fromJson(Map json) => - _$$VideoDownloadRemovedEventImplFromJson(json); - - @override - final String downloadId; - @override - final String? episodeId; - - @override - String toString() { + +class _VideoDownloadRemovedEvent implements VideoDownloadRemovedEvent { + const _VideoDownloadRemovedEvent({required this.downloadId, required this.episodeId}); + factory _VideoDownloadRemovedEvent.fromJson(Map json) => _$VideoDownloadRemovedEventFromJson(json); + +@override final String downloadId; +@override final String? episodeId; + +/// Create a copy of VideoDownloadRemovedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$VideoDownloadRemovedEventCopyWith<_VideoDownloadRemovedEvent> get copyWith => __$VideoDownloadRemovedEventCopyWithImpl<_VideoDownloadRemovedEvent>(this, _$identity); + +@override +Map toJson() { + return _$VideoDownloadRemovedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _VideoDownloadRemovedEvent&&(identical(other.downloadId, downloadId) || other.downloadId == downloadId)&&(identical(other.episodeId, episodeId) || other.episodeId == episodeId)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,downloadId,episodeId); +} + +@override +String toString() { return 'VideoDownloadRemovedEvent(downloadId: $downloadId, episodeId: $episodeId)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$VideoDownloadRemovedEventImpl && - (identical(other.downloadId, downloadId) || - other.downloadId == downloadId) && - (identical(other.episodeId, episodeId) || - other.episodeId == episodeId)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, downloadId, episodeId); - - /// Create a copy of VideoDownloadRemovedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$VideoDownloadRemovedEventImplCopyWith<_$VideoDownloadRemovedEventImpl> - get copyWith => - __$$VideoDownloadRemovedEventImplCopyWithImpl< - _$VideoDownloadRemovedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$VideoDownloadRemovedEventImplToJson(this); - } -} - -abstract class _VideoDownloadRemovedEvent implements VideoDownloadRemovedEvent { - const factory _VideoDownloadRemovedEvent({ - required final String downloadId, - required final String? episodeId, - }) = _$VideoDownloadRemovedEventImpl; - - factory _VideoDownloadRemovedEvent.fromJson(Map json) = - _$VideoDownloadRemovedEventImpl.fromJson; - - @override - String get downloadId; - @override - String? get episodeId; - - /// Create a copy of VideoDownloadRemovedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$VideoDownloadRemovedEventImplCopyWith<_$VideoDownloadRemovedEventImpl> - get copyWith => throw _privateConstructorUsedError; -} - -VideoDownloadPlayedEvent _$VideoDownloadPlayedEventFromJson( - Map json, -) { - return _VideoDownloadPlayedEvent.fromJson(json); +} + + } +/// @nodoc +abstract mixin class _$VideoDownloadRemovedEventCopyWith<$Res> implements $VideoDownloadRemovedEventCopyWith<$Res> { + factory _$VideoDownloadRemovedEventCopyWith(_VideoDownloadRemovedEvent value, $Res Function(_VideoDownloadRemovedEvent) _then) = __$VideoDownloadRemovedEventCopyWithImpl; +@override @useResult +$Res call({ + String downloadId, String? episodeId +}); + + + + +} +/// @nodoc +class __$VideoDownloadRemovedEventCopyWithImpl<$Res> + implements _$VideoDownloadRemovedEventCopyWith<$Res> { + __$VideoDownloadRemovedEventCopyWithImpl(this._self, this._then); + + final _VideoDownloadRemovedEvent _self; + final $Res Function(_VideoDownloadRemovedEvent) _then; + +/// Create a copy of VideoDownloadRemovedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? downloadId = null,Object? episodeId = freezed,}) { + return _then(_VideoDownloadRemovedEvent( +downloadId: null == downloadId ? _self.downloadId : downloadId // ignore: cast_nullable_to_non_nullable +as String,episodeId: freezed == episodeId ? _self.episodeId : episodeId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + + +} + + /// @nodoc mixin _$VideoDownloadPlayedEvent { - String get downloadId => throw _privateConstructorUsedError; - String? get episodeId => throw _privateConstructorUsedError; + + String get downloadId; String? get episodeId; +/// Create a copy of VideoDownloadPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$VideoDownloadPlayedEventCopyWith get copyWith => _$VideoDownloadPlayedEventCopyWithImpl(this as VideoDownloadPlayedEvent, _$identity); /// Serializes this VideoDownloadPlayedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of VideoDownloadPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $VideoDownloadPlayedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as VideoDownloadPlayedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is VideoDownloadPlayedEvent&&(identical(other.downloadId, _this.downloadId) || other.downloadId == _this.downloadId)&&(identical(other.episodeId, _this.episodeId) || other.episodeId == _this.episodeId)); } -/// @nodoc -abstract class $VideoDownloadPlayedEventCopyWith<$Res> { - factory $VideoDownloadPlayedEventCopyWith( - VideoDownloadPlayedEvent value, - $Res Function(VideoDownloadPlayedEvent) then, - ) = _$VideoDownloadPlayedEventCopyWithImpl<$Res, VideoDownloadPlayedEvent>; - @useResult - $Res call({String downloadId, String? episodeId}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as VideoDownloadPlayedEvent; + return Object.hash(runtimeType,_this.downloadId,_this.episodeId); } -/// @nodoc -class _$VideoDownloadPlayedEventCopyWithImpl< - $Res, - $Val extends VideoDownloadPlayedEvent -> - implements $VideoDownloadPlayedEventCopyWith<$Res> { - _$VideoDownloadPlayedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of VideoDownloadPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? downloadId = null, Object? episodeId = freezed}) { - return _then( - _value.copyWith( - downloadId: null == downloadId - ? _value.downloadId - : downloadId // ignore: cast_nullable_to_non_nullable - as String, - episodeId: freezed == episodeId - ? _value.episodeId - : episodeId // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as VideoDownloadPlayedEvent; + return 'VideoDownloadPlayedEvent(downloadId: ${_this.downloadId}, episodeId: ${_this.episodeId})'; +} + + } /// @nodoc -abstract class _$$VideoDownloadPlayedEventImplCopyWith<$Res> +abstract mixin class $VideoDownloadPlayedEventCopyWith<$Res> { + factory $VideoDownloadPlayedEventCopyWith(VideoDownloadPlayedEvent value, $Res Function(VideoDownloadPlayedEvent) _then) = _$VideoDownloadPlayedEventCopyWithImpl; +@useResult +$Res call({ + String downloadId, String? episodeId +}); + + + + +} +/// @nodoc +class _$VideoDownloadPlayedEventCopyWithImpl<$Res> implements $VideoDownloadPlayedEventCopyWith<$Res> { - factory _$$VideoDownloadPlayedEventImplCopyWith( - _$VideoDownloadPlayedEventImpl value, - $Res Function(_$VideoDownloadPlayedEventImpl) then, - ) = __$$VideoDownloadPlayedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String downloadId, String? episodeId}); + _$VideoDownloadPlayedEventCopyWithImpl(this._self, this._then); + + final VideoDownloadPlayedEvent _self; + final $Res Function(VideoDownloadPlayedEvent) _then; + +/// Create a copy of VideoDownloadPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? downloadId = null,Object? episodeId = freezed,}) { + return _then(VideoDownloadPlayedEvent( +downloadId: null == downloadId ? _self.downloadId : downloadId // ignore: cast_nullable_to_non_nullable +as String,episodeId: freezed == episodeId ? _self.episodeId : episodeId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [VideoDownloadPlayedEvent]. +extension VideoDownloadPlayedEventPatterns on VideoDownloadPlayedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _VideoDownloadPlayedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _VideoDownloadPlayedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _VideoDownloadPlayedEvent value) $default,){ +final _that = this; +switch (_that) { +case _VideoDownloadPlayedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _VideoDownloadPlayedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _VideoDownloadPlayedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String downloadId, String? episodeId)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _VideoDownloadPlayedEvent() when $default != null: +return $default(_that.downloadId,_that.episodeId);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String downloadId, String? episodeId) $default,) {final _that = this; +switch (_that) { +case _VideoDownloadPlayedEvent(): +return $default(_that.downloadId,_that.episodeId);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String downloadId, String? episodeId)? $default,) {final _that = this; +switch (_that) { +case _VideoDownloadPlayedEvent() when $default != null: +return $default(_that.downloadId,_that.episodeId);case _: + return null; + +} } -/// @nodoc -class __$$VideoDownloadPlayedEventImplCopyWithImpl<$Res> - extends - _$VideoDownloadPlayedEventCopyWithImpl< - $Res, - _$VideoDownloadPlayedEventImpl - > - implements _$$VideoDownloadPlayedEventImplCopyWith<$Res> { - __$$VideoDownloadPlayedEventImplCopyWithImpl( - _$VideoDownloadPlayedEventImpl _value, - $Res Function(_$VideoDownloadPlayedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of VideoDownloadPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? downloadId = null, Object? episodeId = freezed}) { - return _then( - _$VideoDownloadPlayedEventImpl( - downloadId: null == downloadId - ? _value.downloadId - : downloadId // ignore: cast_nullable_to_non_nullable - as String, - episodeId: freezed == episodeId - ? _value.episodeId - : episodeId // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$VideoDownloadPlayedEventImpl implements _VideoDownloadPlayedEvent { - const _$VideoDownloadPlayedEventImpl({ - required this.downloadId, - required this.episodeId, - }); - - factory _$VideoDownloadPlayedEventImpl.fromJson(Map json) => - _$$VideoDownloadPlayedEventImplFromJson(json); - - @override - final String downloadId; - @override - final String? episodeId; - - @override - String toString() { + +class _VideoDownloadPlayedEvent implements VideoDownloadPlayedEvent { + const _VideoDownloadPlayedEvent({required this.downloadId, required this.episodeId}); + factory _VideoDownloadPlayedEvent.fromJson(Map json) => _$VideoDownloadPlayedEventFromJson(json); + +@override final String downloadId; +@override final String? episodeId; + +/// Create a copy of VideoDownloadPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$VideoDownloadPlayedEventCopyWith<_VideoDownloadPlayedEvent> get copyWith => __$VideoDownloadPlayedEventCopyWithImpl<_VideoDownloadPlayedEvent>(this, _$identity); + +@override +Map toJson() { + return _$VideoDownloadPlayedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _VideoDownloadPlayedEvent&&(identical(other.downloadId, downloadId) || other.downloadId == downloadId)&&(identical(other.episodeId, episodeId) || other.episodeId == episodeId)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,downloadId,episodeId); +} + +@override +String toString() { return 'VideoDownloadPlayedEvent(downloadId: $downloadId, episodeId: $episodeId)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$VideoDownloadPlayedEventImpl && - (identical(other.downloadId, downloadId) || - other.downloadId == downloadId) && - (identical(other.episodeId, episodeId) || - other.episodeId == episodeId)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, downloadId, episodeId); - - /// Create a copy of VideoDownloadPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$VideoDownloadPlayedEventImplCopyWith<_$VideoDownloadPlayedEventImpl> - get copyWith => - __$$VideoDownloadPlayedEventImplCopyWithImpl< - _$VideoDownloadPlayedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$VideoDownloadPlayedEventImplToJson(this); - } -} - -abstract class _VideoDownloadPlayedEvent implements VideoDownloadPlayedEvent { - const factory _VideoDownloadPlayedEvent({ - required final String downloadId, - required final String? episodeId, - }) = _$VideoDownloadPlayedEventImpl; - - factory _VideoDownloadPlayedEvent.fromJson(Map json) = - _$VideoDownloadPlayedEventImpl.fromJson; - - @override - String get downloadId; - @override - String? get episodeId; - - /// Create a copy of VideoDownloadPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$VideoDownloadPlayedEventImplCopyWith<_$VideoDownloadPlayedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$VideoDownloadPlayedEventCopyWith<$Res> implements $VideoDownloadPlayedEventCopyWith<$Res> { + factory _$VideoDownloadPlayedEventCopyWith(_VideoDownloadPlayedEvent value, $Res Function(_VideoDownloadPlayedEvent) _then) = __$VideoDownloadPlayedEventCopyWithImpl; +@override @useResult +$Res call({ + String downloadId, String? episodeId +}); + + + + +} +/// @nodoc +class __$VideoDownloadPlayedEventCopyWithImpl<$Res> + implements _$VideoDownloadPlayedEventCopyWith<$Res> { + __$VideoDownloadPlayedEventCopyWithImpl(this._self, this._then); + + final _VideoDownloadPlayedEvent _self; + final $Res Function(_VideoDownloadPlayedEvent) _then; + +/// Create a copy of VideoDownloadPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? downloadId = null,Object? episodeId = freezed,}) { + return _then(_VideoDownloadPlayedEvent( +downloadId: null == downloadId ? _self.downloadId : downloadId // ignore: cast_nullable_to_non_nullable +as String,episodeId: freezed == episodeId ? _self.episodeId : episodeId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/downloads.g.dart b/bccm_core/lib/src/models/analytics/downloads.g.dart index 6ebdfd4..c1602b2 100644 --- a/bccm_core/lib/src/models/analytics/downloads.g.dart +++ b/bccm_core/lib/src/models/analytics/downloads.g.dart @@ -6,17 +6,17 @@ part of 'downloads.dart'; // JsonSerializableGenerator // ************************************************************************** -_$VideoDownloadStartedEventImpl _$$VideoDownloadStartedEventImplFromJson( +_VideoDownloadStartedEvent _$VideoDownloadStartedEventFromJson( Map json, -) => _$VideoDownloadStartedEventImpl( +) => _VideoDownloadStartedEvent( downloadId: json['downloadId'] as String, episodeId: json['episodeId'] as String, quality: json['quality'] as String?, audioLanguage: json['audioLanguage'] as String?, ); -Map _$$VideoDownloadStartedEventImplToJson( - _$VideoDownloadStartedEventImpl instance, +Map _$VideoDownloadStartedEventToJson( + _VideoDownloadStartedEvent instance, ) => { 'downloadId': instance.downloadId, 'episodeId': instance.episodeId, @@ -24,29 +24,29 @@ Map _$$VideoDownloadStartedEventImplToJson( 'audioLanguage': instance.audioLanguage, }; -_$VideoDownloadRemovedEventImpl _$$VideoDownloadRemovedEventImplFromJson( +_VideoDownloadRemovedEvent _$VideoDownloadRemovedEventFromJson( Map json, -) => _$VideoDownloadRemovedEventImpl( +) => _VideoDownloadRemovedEvent( downloadId: json['downloadId'] as String, episodeId: json['episodeId'] as String?, ); -Map _$$VideoDownloadRemovedEventImplToJson( - _$VideoDownloadRemovedEventImpl instance, +Map _$VideoDownloadRemovedEventToJson( + _VideoDownloadRemovedEvent instance, ) => { 'downloadId': instance.downloadId, 'episodeId': instance.episodeId, }; -_$VideoDownloadPlayedEventImpl _$$VideoDownloadPlayedEventImplFromJson( +_VideoDownloadPlayedEvent _$VideoDownloadPlayedEventFromJson( Map json, -) => _$VideoDownloadPlayedEventImpl( +) => _VideoDownloadPlayedEvent( downloadId: json['downloadId'] as String, episodeId: json['episodeId'] as String?, ); -Map _$$VideoDownloadPlayedEventImplToJson( - _$VideoDownloadPlayedEventImpl instance, +Map _$VideoDownloadPlayedEventToJson( + _VideoDownloadPlayedEvent instance, ) => { 'downloadId': instance.downloadId, 'episodeId': instance.episodeId, diff --git a/bccm_core/lib/src/models/analytics/game_closed.freezed.dart b/bccm_core/lib/src/models/analytics/game_closed.freezed.dart index 784e9d5..ec90533 100644 --- a/bccm_core/lib/src/models/analytics/game_closed.freezed.dart +++ b/bccm_core/lib/src/models/analytics/game_closed.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'game_closed.dart'; @@ -9,208 +9,283 @@ part of 'game_closed.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -GameClosedEvent _$GameClosedEventFromJson(Map json) { - return _GameClosedEvent.fromJson(json); -} - /// @nodoc mixin _$GameClosedEvent { - String get gameId => throw _privateConstructorUsedError; - int get timeSpent => throw _privateConstructorUsedError; - int? get position => throw _privateConstructorUsedError; + + String get gameId; int get timeSpent; int? get position; +/// Create a copy of GameClosedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$GameClosedEventCopyWith get copyWith => _$GameClosedEventCopyWithImpl(this as GameClosedEvent, _$identity); /// Serializes this GameClosedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of GameClosedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $GameClosedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as GameClosedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is GameClosedEvent&&(identical(other.gameId, _this.gameId) || other.gameId == _this.gameId)&&(identical(other.timeSpent, _this.timeSpent) || other.timeSpent == _this.timeSpent)&&(identical(other.position, _this.position) || other.position == _this.position)); } -/// @nodoc -abstract class $GameClosedEventCopyWith<$Res> { - factory $GameClosedEventCopyWith( - GameClosedEvent value, - $Res Function(GameClosedEvent) then, - ) = _$GameClosedEventCopyWithImpl<$Res, GameClosedEvent>; - @useResult - $Res call({String gameId, int timeSpent, int? position}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as GameClosedEvent; + return Object.hash(runtimeType,_this.gameId,_this.timeSpent,_this.position); } -/// @nodoc -class _$GameClosedEventCopyWithImpl<$Res, $Val extends GameClosedEvent> - implements $GameClosedEventCopyWith<$Res> { - _$GameClosedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of GameClosedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? gameId = null, - Object? timeSpent = null, - Object? position = freezed, - }) { - return _then( - _value.copyWith( - gameId: null == gameId - ? _value.gameId - : gameId // ignore: cast_nullable_to_non_nullable - as String, - timeSpent: null == timeSpent - ? _value.timeSpent - : timeSpent // ignore: cast_nullable_to_non_nullable - as int, - position: freezed == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as GameClosedEvent; + return 'GameClosedEvent(gameId: ${_this.gameId}, timeSpent: ${_this.timeSpent}, position: ${_this.position})'; } + +} + +/// @nodoc +abstract mixin class $GameClosedEventCopyWith<$Res> { + factory $GameClosedEventCopyWith(GameClosedEvent value, $Res Function(GameClosedEvent) _then) = _$GameClosedEventCopyWithImpl; +@useResult +$Res call({ + String gameId, int timeSpent, int? position +}); + + + + +} /// @nodoc -abstract class _$$GameClosedEventImplCopyWith<$Res> +class _$GameClosedEventCopyWithImpl<$Res> implements $GameClosedEventCopyWith<$Res> { - factory _$$GameClosedEventImplCopyWith( - _$GameClosedEventImpl value, - $Res Function(_$GameClosedEventImpl) then, - ) = __$$GameClosedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String gameId, int timeSpent, int? position}); + _$GameClosedEventCopyWithImpl(this._self, this._then); + + final GameClosedEvent _self; + final $Res Function(GameClosedEvent) _then; + +/// Create a copy of GameClosedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? gameId = null,Object? timeSpent = null,Object? position = freezed,}) { + return _then(GameClosedEvent( +gameId: null == gameId ? _self.gameId : gameId // ignore: cast_nullable_to_non_nullable +as String,timeSpent: null == timeSpent ? _self.timeSpent : timeSpent // ignore: cast_nullable_to_non_nullable +as int,position: freezed == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [GameClosedEvent]. +extension GameClosedEventPatterns on GameClosedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _GameClosedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _GameClosedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _GameClosedEvent value) $default,){ +final _that = this; +switch (_that) { +case _GameClosedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GameClosedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _GameClosedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String gameId, int timeSpent, int? position)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _GameClosedEvent() when $default != null: +return $default(_that.gameId,_that.timeSpent,_that.position);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String gameId, int timeSpent, int? position) $default,) {final _that = this; +switch (_that) { +case _GameClosedEvent(): +return $default(_that.gameId,_that.timeSpent,_that.position);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String gameId, int timeSpent, int? position)? $default,) {final _that = this; +switch (_that) { +case _GameClosedEvent() when $default != null: +return $default(_that.gameId,_that.timeSpent,_that.position);case _: + return null; + +} } -/// @nodoc -class __$$GameClosedEventImplCopyWithImpl<$Res> - extends _$GameClosedEventCopyWithImpl<$Res, _$GameClosedEventImpl> - implements _$$GameClosedEventImplCopyWith<$Res> { - __$$GameClosedEventImplCopyWithImpl( - _$GameClosedEventImpl _value, - $Res Function(_$GameClosedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of GameClosedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? gameId = null, - Object? timeSpent = null, - Object? position = freezed, - }) { - return _then( - _$GameClosedEventImpl( - gameId: null == gameId - ? _value.gameId - : gameId // ignore: cast_nullable_to_non_nullable - as String, - timeSpent: null == timeSpent - ? _value.timeSpent - : timeSpent // ignore: cast_nullable_to_non_nullable - as int, - position: freezed == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$GameClosedEventImpl implements _GameClosedEvent { - const _$GameClosedEventImpl({ - required this.gameId, - required this.timeSpent, - this.position, - }); - - factory _$GameClosedEventImpl.fromJson(Map json) => - _$$GameClosedEventImplFromJson(json); - - @override - final String gameId; - @override - final int timeSpent; - @override - final int? position; - - @override - String toString() { + +class _GameClosedEvent implements GameClosedEvent { + const _GameClosedEvent({required this.gameId, required this.timeSpent, this.position}); + factory _GameClosedEvent.fromJson(Map json) => _$GameClosedEventFromJson(json); + +@override final String gameId; +@override final int timeSpent; +@override final int? position; + +/// Create a copy of GameClosedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$GameClosedEventCopyWith<_GameClosedEvent> get copyWith => __$GameClosedEventCopyWithImpl<_GameClosedEvent>(this, _$identity); + +@override +Map toJson() { + return _$GameClosedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _GameClosedEvent&&(identical(other.gameId, gameId) || other.gameId == gameId)&&(identical(other.timeSpent, timeSpent) || other.timeSpent == timeSpent)&&(identical(other.position, position) || other.position == position)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,gameId,timeSpent,position); +} + +@override +String toString() { return 'GameClosedEvent(gameId: $gameId, timeSpent: $timeSpent, position: $position)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$GameClosedEventImpl && - (identical(other.gameId, gameId) || other.gameId == gameId) && - (identical(other.timeSpent, timeSpent) || - other.timeSpent == timeSpent) && - (identical(other.position, position) || - other.position == position)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, gameId, timeSpent, position); - - /// Create a copy of GameClosedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$GameClosedEventImplCopyWith<_$GameClosedEventImpl> get copyWith => - __$$GameClosedEventImplCopyWithImpl<_$GameClosedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$GameClosedEventImplToJson(this); - } -} - -abstract class _GameClosedEvent implements GameClosedEvent { - const factory _GameClosedEvent({ - required final String gameId, - required final int timeSpent, - final int? position, - }) = _$GameClosedEventImpl; - - factory _GameClosedEvent.fromJson(Map json) = - _$GameClosedEventImpl.fromJson; - - @override - String get gameId; - @override - int get timeSpent; - @override - int? get position; - - /// Create a copy of GameClosedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$GameClosedEventImplCopyWith<_$GameClosedEventImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$GameClosedEventCopyWith<$Res> implements $GameClosedEventCopyWith<$Res> { + factory _$GameClosedEventCopyWith(_GameClosedEvent value, $Res Function(_GameClosedEvent) _then) = __$GameClosedEventCopyWithImpl; +@override @useResult +$Res call({ + String gameId, int timeSpent, int? position +}); + + + + +} +/// @nodoc +class __$GameClosedEventCopyWithImpl<$Res> + implements _$GameClosedEventCopyWith<$Res> { + __$GameClosedEventCopyWithImpl(this._self, this._then); + + final _GameClosedEvent _self; + final $Res Function(_GameClosedEvent) _then; + +/// Create a copy of GameClosedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? gameId = null,Object? timeSpent = null,Object? position = freezed,}) { + return _then(_GameClosedEvent( +gameId: null == gameId ? _self.gameId : gameId // ignore: cast_nullable_to_non_nullable +as String,timeSpent: null == timeSpent ? _self.timeSpent : timeSpent // ignore: cast_nullable_to_non_nullable +as int,position: freezed == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/game_closed.g.dart b/bccm_core/lib/src/models/analytics/game_closed.g.dart index 6982716..22982dc 100644 --- a/bccm_core/lib/src/models/analytics/game_closed.g.dart +++ b/bccm_core/lib/src/models/analytics/game_closed.g.dart @@ -6,18 +6,16 @@ part of 'game_closed.dart'; // JsonSerializableGenerator // ************************************************************************** -_$GameClosedEventImpl _$$GameClosedEventImplFromJson( - Map json, -) => _$GameClosedEventImpl( - gameId: json['gameId'] as String, - timeSpent: (json['timeSpent'] as num).toInt(), - position: (json['position'] as num?)?.toInt(), -); +_GameClosedEvent _$GameClosedEventFromJson(Map json) => + _GameClosedEvent( + gameId: json['gameId'] as String, + timeSpent: (json['timeSpent'] as num).toInt(), + position: (json['position'] as num?)?.toInt(), + ); -Map _$$GameClosedEventImplToJson( - _$GameClosedEventImpl instance, -) => { - 'gameId': instance.gameId, - 'timeSpent': instance.timeSpent, - 'position': instance.position, -}; +Map _$GameClosedEventToJson(_GameClosedEvent instance) => + { + 'gameId': instance.gameId, + 'timeSpent': instance.timeSpent, + 'position': instance.position, + }; diff --git a/bccm_core/lib/src/models/analytics/language_changed.freezed.dart b/bccm_core/lib/src/models/analytics/language_changed.freezed.dart index b8940eb..09a7dca 100644 --- a/bccm_core/lib/src/models/analytics/language_changed.freezed.dart +++ b/bccm_core/lib/src/models/analytics/language_changed.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'language_changed.dart'; @@ -9,222 +9,283 @@ part of 'language_changed.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -LanguageChangedEvent _$LanguageChangedEventFromJson(Map json) { - return _LanguageChangedEvent.fromJson(json); -} - /// @nodoc mixin _$LanguageChangedEvent { - String? get languageFrom => throw _privateConstructorUsedError; - String get languageTo => throw _privateConstructorUsedError; - String get languageChangeType => throw _privateConstructorUsedError; + + String? get languageFrom; String get languageTo; String get languageChangeType; +/// Create a copy of LanguageChangedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LanguageChangedEventCopyWith get copyWith => _$LanguageChangedEventCopyWithImpl(this as LanguageChangedEvent, _$identity); /// Serializes this LanguageChangedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of LanguageChangedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $LanguageChangedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as LanguageChangedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is LanguageChangedEvent&&(identical(other.languageFrom, _this.languageFrom) || other.languageFrom == _this.languageFrom)&&(identical(other.languageTo, _this.languageTo) || other.languageTo == _this.languageTo)&&(identical(other.languageChangeType, _this.languageChangeType) || other.languageChangeType == _this.languageChangeType)); } -/// @nodoc -abstract class $LanguageChangedEventCopyWith<$Res> { - factory $LanguageChangedEventCopyWith( - LanguageChangedEvent value, - $Res Function(LanguageChangedEvent) then, - ) = _$LanguageChangedEventCopyWithImpl<$Res, LanguageChangedEvent>; - @useResult - $Res call({ - String? languageFrom, - String languageTo, - String languageChangeType, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as LanguageChangedEvent; + return Object.hash(runtimeType,_this.languageFrom,_this.languageTo,_this.languageChangeType); } -/// @nodoc -class _$LanguageChangedEventCopyWithImpl< - $Res, - $Val extends LanguageChangedEvent -> - implements $LanguageChangedEventCopyWith<$Res> { - _$LanguageChangedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of LanguageChangedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? languageFrom = freezed, - Object? languageTo = null, - Object? languageChangeType = null, - }) { - return _then( - _value.copyWith( - languageFrom: freezed == languageFrom - ? _value.languageFrom - : languageFrom // ignore: cast_nullable_to_non_nullable - as String?, - languageTo: null == languageTo - ? _value.languageTo - : languageTo // ignore: cast_nullable_to_non_nullable - as String, - languageChangeType: null == languageChangeType - ? _value.languageChangeType - : languageChangeType // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as LanguageChangedEvent; + return 'LanguageChangedEvent(languageFrom: ${_this.languageFrom}, languageTo: ${_this.languageTo}, languageChangeType: ${_this.languageChangeType})'; } + +} + +/// @nodoc +abstract mixin class $LanguageChangedEventCopyWith<$Res> { + factory $LanguageChangedEventCopyWith(LanguageChangedEvent value, $Res Function(LanguageChangedEvent) _then) = _$LanguageChangedEventCopyWithImpl; +@useResult +$Res call({ + String? languageFrom, String languageTo, String languageChangeType +}); + + + + +} /// @nodoc -abstract class _$$LanguageChangedEventImplCopyWith<$Res> +class _$LanguageChangedEventCopyWithImpl<$Res> implements $LanguageChangedEventCopyWith<$Res> { - factory _$$LanguageChangedEventImplCopyWith( - _$LanguageChangedEventImpl value, - $Res Function(_$LanguageChangedEventImpl) then, - ) = __$$LanguageChangedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String? languageFrom, - String languageTo, - String languageChangeType, - }); + _$LanguageChangedEventCopyWithImpl(this._self, this._then); + + final LanguageChangedEvent _self; + final $Res Function(LanguageChangedEvent) _then; + +/// Create a copy of LanguageChangedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? languageFrom = freezed,Object? languageTo = null,Object? languageChangeType = null,}) { + return _then(LanguageChangedEvent( +languageFrom: freezed == languageFrom ? _self.languageFrom : languageFrom // ignore: cast_nullable_to_non_nullable +as String?,languageTo: null == languageTo ? _self.languageTo : languageTo // ignore: cast_nullable_to_non_nullable +as String,languageChangeType: null == languageChangeType ? _self.languageChangeType : languageChangeType // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [LanguageChangedEvent]. +extension LanguageChangedEventPatterns on LanguageChangedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _LanguageChangedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _LanguageChangedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _LanguageChangedEvent value) $default,){ +final _that = this; +switch (_that) { +case _LanguageChangedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _LanguageChangedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _LanguageChangedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? languageFrom, String languageTo, String languageChangeType)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _LanguageChangedEvent() when $default != null: +return $default(_that.languageFrom,_that.languageTo,_that.languageChangeType);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? languageFrom, String languageTo, String languageChangeType) $default,) {final _that = this; +switch (_that) { +case _LanguageChangedEvent(): +return $default(_that.languageFrom,_that.languageTo,_that.languageChangeType);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? languageFrom, String languageTo, String languageChangeType)? $default,) {final _that = this; +switch (_that) { +case _LanguageChangedEvent() when $default != null: +return $default(_that.languageFrom,_that.languageTo,_that.languageChangeType);case _: + return null; + +} } -/// @nodoc -class __$$LanguageChangedEventImplCopyWithImpl<$Res> - extends _$LanguageChangedEventCopyWithImpl<$Res, _$LanguageChangedEventImpl> - implements _$$LanguageChangedEventImplCopyWith<$Res> { - __$$LanguageChangedEventImplCopyWithImpl( - _$LanguageChangedEventImpl _value, - $Res Function(_$LanguageChangedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LanguageChangedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? languageFrom = freezed, - Object? languageTo = null, - Object? languageChangeType = null, - }) { - return _then( - _$LanguageChangedEventImpl( - languageFrom: freezed == languageFrom - ? _value.languageFrom - : languageFrom // ignore: cast_nullable_to_non_nullable - as String?, - languageTo: null == languageTo - ? _value.languageTo - : languageTo // ignore: cast_nullable_to_non_nullable - as String, - languageChangeType: null == languageChangeType - ? _value.languageChangeType - : languageChangeType // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$LanguageChangedEventImpl implements _LanguageChangedEvent { - const _$LanguageChangedEventImpl({ - required this.languageFrom, - required this.languageTo, - required this.languageChangeType, - }); - - factory _$LanguageChangedEventImpl.fromJson(Map json) => - _$$LanguageChangedEventImplFromJson(json); - - @override - final String? languageFrom; - @override - final String languageTo; - @override - final String languageChangeType; - - @override - String toString() { + +class _LanguageChangedEvent implements LanguageChangedEvent { + const _LanguageChangedEvent({required this.languageFrom, required this.languageTo, required this.languageChangeType}); + factory _LanguageChangedEvent.fromJson(Map json) => _$LanguageChangedEventFromJson(json); + +@override final String? languageFrom; +@override final String languageTo; +@override final String languageChangeType; + +/// Create a copy of LanguageChangedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$LanguageChangedEventCopyWith<_LanguageChangedEvent> get copyWith => __$LanguageChangedEventCopyWithImpl<_LanguageChangedEvent>(this, _$identity); + +@override +Map toJson() { + return _$LanguageChangedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _LanguageChangedEvent&&(identical(other.languageFrom, languageFrom) || other.languageFrom == languageFrom)&&(identical(other.languageTo, languageTo) || other.languageTo == languageTo)&&(identical(other.languageChangeType, languageChangeType) || other.languageChangeType == languageChangeType)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,languageFrom,languageTo,languageChangeType); +} + +@override +String toString() { return 'LanguageChangedEvent(languageFrom: $languageFrom, languageTo: $languageTo, languageChangeType: $languageChangeType)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LanguageChangedEventImpl && - (identical(other.languageFrom, languageFrom) || - other.languageFrom == languageFrom) && - (identical(other.languageTo, languageTo) || - other.languageTo == languageTo) && - (identical(other.languageChangeType, languageChangeType) || - other.languageChangeType == languageChangeType)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, languageFrom, languageTo, languageChangeType); - - /// Create a copy of LanguageChangedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LanguageChangedEventImplCopyWith<_$LanguageChangedEventImpl> - get copyWith => - __$$LanguageChangedEventImplCopyWithImpl<_$LanguageChangedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$LanguageChangedEventImplToJson(this); - } -} - -abstract class _LanguageChangedEvent implements LanguageChangedEvent { - const factory _LanguageChangedEvent({ - required final String? languageFrom, - required final String languageTo, - required final String languageChangeType, - }) = _$LanguageChangedEventImpl; - - factory _LanguageChangedEvent.fromJson(Map json) = - _$LanguageChangedEventImpl.fromJson; - - @override - String? get languageFrom; - @override - String get languageTo; - @override - String get languageChangeType; - - /// Create a copy of LanguageChangedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LanguageChangedEventImplCopyWith<_$LanguageChangedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$LanguageChangedEventCopyWith<$Res> implements $LanguageChangedEventCopyWith<$Res> { + factory _$LanguageChangedEventCopyWith(_LanguageChangedEvent value, $Res Function(_LanguageChangedEvent) _then) = __$LanguageChangedEventCopyWithImpl; +@override @useResult +$Res call({ + String? languageFrom, String languageTo, String languageChangeType +}); + + + + +} +/// @nodoc +class __$LanguageChangedEventCopyWithImpl<$Res> + implements _$LanguageChangedEventCopyWith<$Res> { + __$LanguageChangedEventCopyWithImpl(this._self, this._then); + + final _LanguageChangedEvent _self; + final $Res Function(_LanguageChangedEvent) _then; + +/// Create a copy of LanguageChangedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? languageFrom = freezed,Object? languageTo = null,Object? languageChangeType = null,}) { + return _then(_LanguageChangedEvent( +languageFrom: freezed == languageFrom ? _self.languageFrom : languageFrom // ignore: cast_nullable_to_non_nullable +as String?,languageTo: null == languageTo ? _self.languageTo : languageTo // ignore: cast_nullable_to_non_nullable +as String,languageChangeType: null == languageChangeType ? _self.languageChangeType : languageChangeType // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/language_changed.g.dart b/bccm_core/lib/src/models/analytics/language_changed.g.dart index 6fdb035..caba7e6 100644 --- a/bccm_core/lib/src/models/analytics/language_changed.g.dart +++ b/bccm_core/lib/src/models/analytics/language_changed.g.dart @@ -6,16 +6,16 @@ part of 'language_changed.dart'; // JsonSerializableGenerator // ************************************************************************** -_$LanguageChangedEventImpl _$$LanguageChangedEventImplFromJson( +_LanguageChangedEvent _$LanguageChangedEventFromJson( Map json, -) => _$LanguageChangedEventImpl( +) => _LanguageChangedEvent( languageFrom: json['languageFrom'] as String?, languageTo: json['languageTo'] as String, languageChangeType: json['languageChangeType'] as String, ); -Map _$$LanguageChangedEventImplToJson( - _$LanguageChangedEventImpl instance, +Map _$LanguageChangedEventToJson( + _LanguageChangedEvent instance, ) => { 'languageFrom': instance.languageFrom, 'languageTo': instance.languageTo, diff --git a/bccm_core/lib/src/models/analytics/misc.freezed.dart b/bccm_core/lib/src/models/analytics/misc.freezed.dart index 744738d..94564c1 100644 --- a/bccm_core/lib/src/models/analytics/misc.freezed.dart +++ b/bccm_core/lib/src/models/analytics/misc.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'misc.dart'; @@ -9,1378 +9,1723 @@ part of 'misc.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -InteractionEvent _$InteractionEventFromJson(Map json) { - return _InteractionEvent.fromJson(json); -} - /// @nodoc mixin _$InteractionEvent { - String? get interaction => throw _privateConstructorUsedError; - String? get pageCode => throw _privateConstructorUsedError; - String? get contextElementType => throw _privateConstructorUsedError; - String? get contextElementId => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; + + String? get interaction; String? get pageCode; String? get contextElementType; String? get contextElementId; Map? get meta; +/// Create a copy of InteractionEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InteractionEventCopyWith get copyWith => _$InteractionEventCopyWithImpl(this as InteractionEvent, _$identity); /// Serializes this InteractionEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of InteractionEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $InteractionEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as InteractionEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is InteractionEvent&&(identical(other.interaction, _this.interaction) || other.interaction == _this.interaction)&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&(identical(other.contextElementType, _this.contextElementType) || other.contextElementType == _this.contextElementType)&&(identical(other.contextElementId, _this.contextElementId) || other.contextElementId == _this.contextElementId)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); } -/// @nodoc -abstract class $InteractionEventCopyWith<$Res> { - factory $InteractionEventCopyWith( - InteractionEvent value, - $Res Function(InteractionEvent) then, - ) = _$InteractionEventCopyWithImpl<$Res, InteractionEvent>; - @useResult - $Res call({ - String? interaction, - String? pageCode, - String? contextElementType, - String? contextElementId, - Map? meta, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as InteractionEvent; + return Object.hash(runtimeType,_this.interaction,_this.pageCode,_this.contextElementType,_this.contextElementId,const DeepCollectionEquality().hash(_this.meta)); } -/// @nodoc -class _$InteractionEventCopyWithImpl<$Res, $Val extends InteractionEvent> - implements $InteractionEventCopyWith<$Res> { - _$InteractionEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of InteractionEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? interaction = freezed, - Object? pageCode = freezed, - Object? contextElementType = freezed, - Object? contextElementId = freezed, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - interaction: freezed == interaction - ? _value.interaction - : interaction // ignore: cast_nullable_to_non_nullable - as String?, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - contextElementType: freezed == contextElementType - ? _value.contextElementType - : contextElementType // ignore: cast_nullable_to_non_nullable - as String?, - contextElementId: freezed == contextElementId - ? _value.contextElementId - : contextElementId // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as InteractionEvent; + return 'InteractionEvent(interaction: ${_this.interaction}, pageCode: ${_this.pageCode}, contextElementType: ${_this.contextElementType}, contextElementId: ${_this.contextElementId}, meta: ${_this.meta})'; } + +} + +/// @nodoc +abstract mixin class $InteractionEventCopyWith<$Res> { + factory $InteractionEventCopyWith(InteractionEvent value, $Res Function(InteractionEvent) _then) = _$InteractionEventCopyWithImpl; +@useResult +$Res call({ + String? interaction, String? pageCode, String? contextElementType, String? contextElementId, Map? meta +}); + + + + +} /// @nodoc -abstract class _$$InteractionEventImplCopyWith<$Res> +class _$InteractionEventCopyWithImpl<$Res> implements $InteractionEventCopyWith<$Res> { - factory _$$InteractionEventImplCopyWith( - _$InteractionEventImpl value, - $Res Function(_$InteractionEventImpl) then, - ) = __$$InteractionEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String? interaction, - String? pageCode, - String? contextElementType, - String? contextElementId, - Map? meta, - }); + _$InteractionEventCopyWithImpl(this._self, this._then); + + final InteractionEvent _self; + final $Res Function(InteractionEvent) _then; + +/// Create a copy of InteractionEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? interaction = freezed,Object? pageCode = freezed,Object? contextElementType = freezed,Object? contextElementId = freezed,Object? meta = freezed,}) { + return _then(InteractionEvent( +interaction: freezed == interaction ? _self.interaction : interaction // ignore: cast_nullable_to_non_nullable +as String?,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,contextElementType: freezed == contextElementType ? _self.contextElementType : contextElementType // ignore: cast_nullable_to_non_nullable +as String?,contextElementId: freezed == contextElementId ? _self.contextElementId : contextElementId // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [InteractionEvent]. +extension InteractionEventPatterns on InteractionEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _InteractionEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _InteractionEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _InteractionEvent value) $default,){ +final _that = this; +switch (_that) { +case _InteractionEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _InteractionEvent value)? $default,){ +final _that = this; +switch (_that) { +case _InteractionEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? interaction, String? pageCode, String? contextElementType, String? contextElementId, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _InteractionEvent() when $default != null: +return $default(_that.interaction,_that.pageCode,_that.contextElementType,_that.contextElementId,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? interaction, String? pageCode, String? contextElementType, String? contextElementId, Map? meta) $default,) {final _that = this; +switch (_that) { +case _InteractionEvent(): +return $default(_that.interaction,_that.pageCode,_that.contextElementType,_that.contextElementId,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? interaction, String? pageCode, String? contextElementType, String? contextElementId, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _InteractionEvent() when $default != null: +return $default(_that.interaction,_that.pageCode,_that.contextElementType,_that.contextElementId,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$InteractionEventImplCopyWithImpl<$Res> - extends _$InteractionEventCopyWithImpl<$Res, _$InteractionEventImpl> - implements _$$InteractionEventImplCopyWith<$Res> { - __$$InteractionEventImplCopyWithImpl( - _$InteractionEventImpl _value, - $Res Function(_$InteractionEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of InteractionEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? interaction = freezed, - Object? pageCode = freezed, - Object? contextElementType = freezed, - Object? contextElementId = freezed, - Object? meta = freezed, - }) { - return _then( - _$InteractionEventImpl( - interaction: freezed == interaction - ? _value.interaction - : interaction // ignore: cast_nullable_to_non_nullable - as String?, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - contextElementType: freezed == contextElementType - ? _value.contextElementType - : contextElementType // ignore: cast_nullable_to_non_nullable - as String?, - contextElementId: freezed == contextElementId - ? _value.contextElementId - : contextElementId // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$InteractionEventImpl implements _InteractionEvent { - const _$InteractionEventImpl({ - this.interaction, - this.pageCode, - this.contextElementType, - this.contextElementId, - final Map? meta, - }) : _meta = meta; - - factory _$InteractionEventImpl.fromJson(Map json) => - _$$InteractionEventImplFromJson(json); - - @override - final String? interaction; - @override - final String? pageCode; - @override - final String? contextElementType; - @override - final String? contextElementId; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _InteractionEvent implements InteractionEvent { + const _InteractionEvent({this.interaction, this.pageCode, this.contextElementType, this.contextElementId, Map? meta}): _meta = meta; + factory _InteractionEvent.fromJson(Map json) => _$InteractionEventFromJson(json); + +@override final String? interaction; +@override final String? pageCode; +@override final String? contextElementType; +@override final String? contextElementId; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of InteractionEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$InteractionEventCopyWith<_InteractionEvent> get copyWith => __$InteractionEventCopyWithImpl<_InteractionEvent>(this, _$identity); + +@override +Map toJson() { + return _$InteractionEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _InteractionEvent&&(identical(other.interaction, interaction) || other.interaction == interaction)&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&(identical(other.contextElementType, contextElementType) || other.contextElementType == contextElementType)&&(identical(other.contextElementId, contextElementId) || other.contextElementId == contextElementId)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,interaction,pageCode,contextElementType,contextElementId,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'InteractionEvent(interaction: $interaction, pageCode: $pageCode, contextElementType: $contextElementType, contextElementId: $contextElementId, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InteractionEventImpl && - (identical(other.interaction, interaction) || - other.interaction == interaction) && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - (identical(other.contextElementType, contextElementType) || - other.contextElementType == contextElementType) && - (identical(other.contextElementId, contextElementId) || - other.contextElementId == contextElementId) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - interaction, - pageCode, - contextElementType, - contextElementId, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of InteractionEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InteractionEventImplCopyWith<_$InteractionEventImpl> get copyWith => - __$$InteractionEventImplCopyWithImpl<_$InteractionEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$InteractionEventImplToJson(this); - } -} - -abstract class _InteractionEvent implements InteractionEvent { - const factory _InteractionEvent({ - final String? interaction, - final String? pageCode, - final String? contextElementType, - final String? contextElementId, - final Map? meta, - }) = _$InteractionEventImpl; - - factory _InteractionEvent.fromJson(Map json) = - _$InteractionEventImpl.fromJson; - - @override - String? get interaction; - @override - String? get pageCode; - @override - String? get contextElementType; - @override - String? get contextElementId; - @override - Map? get meta; - - /// Create a copy of InteractionEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InteractionEventImplCopyWith<_$InteractionEventImpl> get copyWith => - throw _privateConstructorUsedError; -} - -ImpressionEvent _$ImpressionEventFromJson(Map json) { - return _ImpressionEvent.fromJson(json); +} + + } +/// @nodoc +abstract mixin class _$InteractionEventCopyWith<$Res> implements $InteractionEventCopyWith<$Res> { + factory _$InteractionEventCopyWith(_InteractionEvent value, $Res Function(_InteractionEvent) _then) = __$InteractionEventCopyWithImpl; +@override @useResult +$Res call({ + String? interaction, String? pageCode, String? contextElementType, String? contextElementId, Map? meta +}); + + + + +} +/// @nodoc +class __$InteractionEventCopyWithImpl<$Res> + implements _$InteractionEventCopyWith<$Res> { + __$InteractionEventCopyWithImpl(this._self, this._then); + + final _InteractionEvent _self; + final $Res Function(_InteractionEvent) _then; + +/// Create a copy of InteractionEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? interaction = freezed,Object? pageCode = freezed,Object? contextElementType = freezed,Object? contextElementId = freezed,Object? meta = freezed,}) { + return _then(_InteractionEvent( +interaction: freezed == interaction ? _self.interaction : interaction // ignore: cast_nullable_to_non_nullable +as String?,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,contextElementType: freezed == contextElementType ? _self.contextElementType : contextElementType // ignore: cast_nullable_to_non_nullable +as String?,contextElementId: freezed == contextElementId ? _self.contextElementId : contextElementId // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + + /// @nodoc mixin _$ImpressionEvent { - String? get name => throw _privateConstructorUsedError; - String? get pageCode => throw _privateConstructorUsedError; - String? get contextElementType => throw _privateConstructorUsedError; - String? get contextElementId => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; + + String? get name; String? get pageCode; String? get contextElementType; String? get contextElementId; Map? get meta; +/// Create a copy of ImpressionEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ImpressionEventCopyWith get copyWith => _$ImpressionEventCopyWithImpl(this as ImpressionEvent, _$identity); /// Serializes this ImpressionEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of ImpressionEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $ImpressionEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as ImpressionEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ImpressionEvent&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&(identical(other.contextElementType, _this.contextElementType) || other.contextElementType == _this.contextElementType)&&(identical(other.contextElementId, _this.contextElementId) || other.contextElementId == _this.contextElementId)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); } -/// @nodoc -abstract class $ImpressionEventCopyWith<$Res> { - factory $ImpressionEventCopyWith( - ImpressionEvent value, - $Res Function(ImpressionEvent) then, - ) = _$ImpressionEventCopyWithImpl<$Res, ImpressionEvent>; - @useResult - $Res call({ - String? name, - String? pageCode, - String? contextElementType, - String? contextElementId, - Map? meta, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as ImpressionEvent; + return Object.hash(runtimeType,_this.name,_this.pageCode,_this.contextElementType,_this.contextElementId,const DeepCollectionEquality().hash(_this.meta)); } -/// @nodoc -class _$ImpressionEventCopyWithImpl<$Res, $Val extends ImpressionEvent> - implements $ImpressionEventCopyWith<$Res> { - _$ImpressionEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of ImpressionEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? name = freezed, - Object? pageCode = freezed, - Object? contextElementType = freezed, - Object? contextElementId = freezed, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - contextElementType: freezed == contextElementType - ? _value.contextElementType - : contextElementType // ignore: cast_nullable_to_non_nullable - as String?, - contextElementId: freezed == contextElementId - ? _value.contextElementId - : contextElementId // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as ImpressionEvent; + return 'ImpressionEvent(name: ${_this.name}, pageCode: ${_this.pageCode}, contextElementType: ${_this.contextElementType}, contextElementId: ${_this.contextElementId}, meta: ${_this.meta})'; +} + + } /// @nodoc -abstract class _$$ImpressionEventImplCopyWith<$Res> +abstract mixin class $ImpressionEventCopyWith<$Res> { + factory $ImpressionEventCopyWith(ImpressionEvent value, $Res Function(ImpressionEvent) _then) = _$ImpressionEventCopyWithImpl; +@useResult +$Res call({ + String? name, String? pageCode, String? contextElementType, String? contextElementId, Map? meta +}); + + + + +} +/// @nodoc +class _$ImpressionEventCopyWithImpl<$Res> implements $ImpressionEventCopyWith<$Res> { - factory _$$ImpressionEventImplCopyWith( - _$ImpressionEventImpl value, - $Res Function(_$ImpressionEventImpl) then, - ) = __$$ImpressionEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String? name, - String? pageCode, - String? contextElementType, - String? contextElementId, - Map? meta, - }); + _$ImpressionEventCopyWithImpl(this._self, this._then); + + final ImpressionEvent _self; + final $Res Function(ImpressionEvent) _then; + +/// Create a copy of ImpressionEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? name = freezed,Object? pageCode = freezed,Object? contextElementType = freezed,Object? contextElementId = freezed,Object? meta = freezed,}) { + return _then(ImpressionEvent( +name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,contextElementType: freezed == contextElementType ? _self.contextElementType : contextElementType // ignore: cast_nullable_to_non_nullable +as String?,contextElementId: freezed == contextElementId ? _self.contextElementId : contextElementId // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [ImpressionEvent]. +extension ImpressionEventPatterns on ImpressionEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _ImpressionEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _ImpressionEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _ImpressionEvent value) $default,){ +final _that = this; +switch (_that) { +case _ImpressionEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _ImpressionEvent value)? $default,){ +final _that = this; +switch (_that) { +case _ImpressionEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? name, String? pageCode, String? contextElementType, String? contextElementId, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _ImpressionEvent() when $default != null: +return $default(_that.name,_that.pageCode,_that.contextElementType,_that.contextElementId,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? name, String? pageCode, String? contextElementType, String? contextElementId, Map? meta) $default,) {final _that = this; +switch (_that) { +case _ImpressionEvent(): +return $default(_that.name,_that.pageCode,_that.contextElementType,_that.contextElementId,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? name, String? pageCode, String? contextElementType, String? contextElementId, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _ImpressionEvent() when $default != null: +return $default(_that.name,_that.pageCode,_that.contextElementType,_that.contextElementId,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$ImpressionEventImplCopyWithImpl<$Res> - extends _$ImpressionEventCopyWithImpl<$Res, _$ImpressionEventImpl> - implements _$$ImpressionEventImplCopyWith<$Res> { - __$$ImpressionEventImplCopyWithImpl( - _$ImpressionEventImpl _value, - $Res Function(_$ImpressionEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ImpressionEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? name = freezed, - Object? pageCode = freezed, - Object? contextElementType = freezed, - Object? contextElementId = freezed, - Object? meta = freezed, - }) { - return _then( - _$ImpressionEventImpl( - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - contextElementType: freezed == contextElementType - ? _value.contextElementType - : contextElementType // ignore: cast_nullable_to_non_nullable - as String?, - contextElementId: freezed == contextElementId - ? _value.contextElementId - : contextElementId // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$ImpressionEventImpl implements _ImpressionEvent { - const _$ImpressionEventImpl({ - this.name, - this.pageCode, - this.contextElementType, - this.contextElementId, - final Map? meta, - }) : _meta = meta; - - factory _$ImpressionEventImpl.fromJson(Map json) => - _$$ImpressionEventImplFromJson(json); - - @override - final String? name; - @override - final String? pageCode; - @override - final String? contextElementType; - @override - final String? contextElementId; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _ImpressionEvent implements ImpressionEvent { + const _ImpressionEvent({this.name, this.pageCode, this.contextElementType, this.contextElementId, Map? meta}): _meta = meta; + factory _ImpressionEvent.fromJson(Map json) => _$ImpressionEventFromJson(json); + +@override final String? name; +@override final String? pageCode; +@override final String? contextElementType; +@override final String? contextElementId; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of ImpressionEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$ImpressionEventCopyWith<_ImpressionEvent> get copyWith => __$ImpressionEventCopyWithImpl<_ImpressionEvent>(this, _$identity); + +@override +Map toJson() { + return _$ImpressionEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ImpressionEvent&&(identical(other.name, name) || other.name == name)&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&(identical(other.contextElementType, contextElementType) || other.contextElementType == contextElementType)&&(identical(other.contextElementId, contextElementId) || other.contextElementId == contextElementId)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,name,pageCode,contextElementType,contextElementId,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'ImpressionEvent(name: $name, pageCode: $pageCode, contextElementType: $contextElementType, contextElementId: $contextElementId, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ImpressionEventImpl && - (identical(other.name, name) || other.name == name) && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - (identical(other.contextElementType, contextElementType) || - other.contextElementType == contextElementType) && - (identical(other.contextElementId, contextElementId) || - other.contextElementId == contextElementId) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - name, - pageCode, - contextElementType, - contextElementId, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of ImpressionEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ImpressionEventImplCopyWith<_$ImpressionEventImpl> get copyWith => - __$$ImpressionEventImplCopyWithImpl<_$ImpressionEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$ImpressionEventImplToJson(this); - } -} - -abstract class _ImpressionEvent implements ImpressionEvent { - const factory _ImpressionEvent({ - final String? name, - final String? pageCode, - final String? contextElementType, - final String? contextElementId, - final Map? meta, - }) = _$ImpressionEventImpl; - - factory _ImpressionEvent.fromJson(Map json) = - _$ImpressionEventImpl.fromJson; - - @override - String? get name; - @override - String? get pageCode; - @override - String? get contextElementType; - @override - String? get contextElementId; - @override - Map? get meta; - - /// Create a copy of ImpressionEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ImpressionEventImplCopyWith<_$ImpressionEventImpl> get copyWith => - throw _privateConstructorUsedError; -} - -GuideShownEvent _$GuideShownEventFromJson(Map json) { - return _GuideShownEvent.fromJson(json); +} + + } +/// @nodoc +abstract mixin class _$ImpressionEventCopyWith<$Res> implements $ImpressionEventCopyWith<$Res> { + factory _$ImpressionEventCopyWith(_ImpressionEvent value, $Res Function(_ImpressionEvent) _then) = __$ImpressionEventCopyWithImpl; +@override @useResult +$Res call({ + String? name, String? pageCode, String? contextElementType, String? contextElementId, Map? meta +}); + + + + +} +/// @nodoc +class __$ImpressionEventCopyWithImpl<$Res> + implements _$ImpressionEventCopyWith<$Res> { + __$ImpressionEventCopyWithImpl(this._self, this._then); + + final _ImpressionEvent _self; + final $Res Function(_ImpressionEvent) _then; + +/// Create a copy of ImpressionEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? name = freezed,Object? pageCode = freezed,Object? contextElementType = freezed,Object? contextElementId = freezed,Object? meta = freezed,}) { + return _then(_ImpressionEvent( +name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,contextElementType: freezed == contextElementType ? _self.contextElementType : contextElementType // ignore: cast_nullable_to_non_nullable +as String?,contextElementId: freezed == contextElementId ? _self.contextElementId : contextElementId // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + + /// @nodoc mixin _$GuideShownEvent { - String? get guide => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; + + String? get guide; Map? get meta; +/// Create a copy of GuideShownEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$GuideShownEventCopyWith get copyWith => _$GuideShownEventCopyWithImpl(this as GuideShownEvent, _$identity); /// Serializes this GuideShownEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of GuideShownEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $GuideShownEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as GuideShownEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is GuideShownEvent&&(identical(other.guide, _this.guide) || other.guide == _this.guide)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); } -/// @nodoc -abstract class $GuideShownEventCopyWith<$Res> { - factory $GuideShownEventCopyWith( - GuideShownEvent value, - $Res Function(GuideShownEvent) then, - ) = _$GuideShownEventCopyWithImpl<$Res, GuideShownEvent>; - @useResult - $Res call({String? guide, Map? meta}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as GuideShownEvent; + return Object.hash(runtimeType,_this.guide,const DeepCollectionEquality().hash(_this.meta)); } -/// @nodoc -class _$GuideShownEventCopyWithImpl<$Res, $Val extends GuideShownEvent> - implements $GuideShownEventCopyWith<$Res> { - _$GuideShownEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of GuideShownEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? guide = freezed, Object? meta = freezed}) { - return _then( - _value.copyWith( - guide: freezed == guide - ? _value.guide - : guide // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as GuideShownEvent; + return 'GuideShownEvent(guide: ${_this.guide}, meta: ${_this.meta})'; +} + + } /// @nodoc -abstract class _$$GuideShownEventImplCopyWith<$Res> +abstract mixin class $GuideShownEventCopyWith<$Res> { + factory $GuideShownEventCopyWith(GuideShownEvent value, $Res Function(GuideShownEvent) _then) = _$GuideShownEventCopyWithImpl; +@useResult +$Res call({ + String? guide, Map? meta +}); + + + + +} +/// @nodoc +class _$GuideShownEventCopyWithImpl<$Res> implements $GuideShownEventCopyWith<$Res> { - factory _$$GuideShownEventImplCopyWith( - _$GuideShownEventImpl value, - $Res Function(_$GuideShownEventImpl) then, - ) = __$$GuideShownEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? guide, Map? meta}); + _$GuideShownEventCopyWithImpl(this._self, this._then); + + final GuideShownEvent _self; + final $Res Function(GuideShownEvent) _then; + +/// Create a copy of GuideShownEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? guide = freezed,Object? meta = freezed,}) { + return _then(GuideShownEvent( +guide: freezed == guide ? _self.guide : guide // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [GuideShownEvent]. +extension GuideShownEventPatterns on GuideShownEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _GuideShownEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _GuideShownEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _GuideShownEvent value) $default,){ +final _that = this; +switch (_that) { +case _GuideShownEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GuideShownEvent value)? $default,){ +final _that = this; +switch (_that) { +case _GuideShownEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? guide, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _GuideShownEvent() when $default != null: +return $default(_that.guide,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? guide, Map? meta) $default,) {final _that = this; +switch (_that) { +case _GuideShownEvent(): +return $default(_that.guide,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? guide, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _GuideShownEvent() when $default != null: +return $default(_that.guide,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$GuideShownEventImplCopyWithImpl<$Res> - extends _$GuideShownEventCopyWithImpl<$Res, _$GuideShownEventImpl> - implements _$$GuideShownEventImplCopyWith<$Res> { - __$$GuideShownEventImplCopyWithImpl( - _$GuideShownEventImpl _value, - $Res Function(_$GuideShownEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of GuideShownEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? guide = freezed, Object? meta = freezed}) { - return _then( - _$GuideShownEventImpl( - guide: freezed == guide - ? _value.guide - : guide // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$GuideShownEventImpl implements _GuideShownEvent { - const _$GuideShownEventImpl({this.guide, final Map? meta}) - : _meta = meta; - - factory _$GuideShownEventImpl.fromJson(Map json) => - _$$GuideShownEventImplFromJson(json); - - @override - final String? guide; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _GuideShownEvent implements GuideShownEvent { + const _GuideShownEvent({this.guide, Map? meta}): _meta = meta; + factory _GuideShownEvent.fromJson(Map json) => _$GuideShownEventFromJson(json); + +@override final String? guide; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of GuideShownEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$GuideShownEventCopyWith<_GuideShownEvent> get copyWith => __$GuideShownEventCopyWithImpl<_GuideShownEvent>(this, _$identity); + +@override +Map toJson() { + return _$GuideShownEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _GuideShownEvent&&(identical(other.guide, guide) || other.guide == guide)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,guide,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'GuideShownEvent(guide: $guide, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$GuideShownEventImpl && - (identical(other.guide, guide) || other.guide == guide) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - guide, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of GuideShownEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$GuideShownEventImplCopyWith<_$GuideShownEventImpl> get copyWith => - __$$GuideShownEventImplCopyWithImpl<_$GuideShownEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$GuideShownEventImplToJson(this); - } -} - -abstract class _GuideShownEvent implements GuideShownEvent { - const factory _GuideShownEvent({ - final String? guide, - final Map? meta, - }) = _$GuideShownEventImpl; - - factory _GuideShownEvent.fromJson(Map json) = - _$GuideShownEventImpl.fromJson; - - @override - String? get guide; - @override - Map? get meta; - - /// Create a copy of GuideShownEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$GuideShownEventImplCopyWith<_$GuideShownEventImpl> get copyWith => - throw _privateConstructorUsedError; -} - -TimeMeasurementEvent _$TimeMeasurementEventFromJson(Map json) { - return _TimeMeasurementEvent.fromJson(json); } + +} + +/// @nodoc +abstract mixin class _$GuideShownEventCopyWith<$Res> implements $GuideShownEventCopyWith<$Res> { + factory _$GuideShownEventCopyWith(_GuideShownEvent value, $Res Function(_GuideShownEvent) _then) = __$GuideShownEventCopyWithImpl; +@override @useResult +$Res call({ + String? guide, Map? meta +}); + + + + +} +/// @nodoc +class __$GuideShownEventCopyWithImpl<$Res> + implements _$GuideShownEventCopyWith<$Res> { + __$GuideShownEventCopyWithImpl(this._self, this._then); + + final _GuideShownEvent _self; + final $Res Function(_GuideShownEvent) _then; + +/// Create a copy of GuideShownEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? guide = freezed,Object? meta = freezed,}) { + return _then(_GuideShownEvent( +guide: freezed == guide ? _self.guide : guide // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + + /// @nodoc mixin _$TimeMeasurementEvent { - String? get key => throw _privateConstructorUsedError; - double? get seconds => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; + + String? get key; double? get seconds; Map? get meta; +/// Create a copy of TimeMeasurementEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$TimeMeasurementEventCopyWith get copyWith => _$TimeMeasurementEventCopyWithImpl(this as TimeMeasurementEvent, _$identity); /// Serializes this TimeMeasurementEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of TimeMeasurementEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $TimeMeasurementEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as TimeMeasurementEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TimeMeasurementEvent&&(identical(other.key, _this.key) || other.key == _this.key)&&(identical(other.seconds, _this.seconds) || other.seconds == _this.seconds)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); } -/// @nodoc -abstract class $TimeMeasurementEventCopyWith<$Res> { - factory $TimeMeasurementEventCopyWith( - TimeMeasurementEvent value, - $Res Function(TimeMeasurementEvent) then, - ) = _$TimeMeasurementEventCopyWithImpl<$Res, TimeMeasurementEvent>; - @useResult - $Res call({String? key, double? seconds, Map? meta}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as TimeMeasurementEvent; + return Object.hash(runtimeType,_this.key,_this.seconds,const DeepCollectionEquality().hash(_this.meta)); } -/// @nodoc -class _$TimeMeasurementEventCopyWithImpl< - $Res, - $Val extends TimeMeasurementEvent -> - implements $TimeMeasurementEventCopyWith<$Res> { - _$TimeMeasurementEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of TimeMeasurementEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? key = freezed, - Object? seconds = freezed, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - key: freezed == key - ? _value.key - : key // ignore: cast_nullable_to_non_nullable - as String?, - seconds: freezed == seconds - ? _value.seconds - : seconds // ignore: cast_nullable_to_non_nullable - as double?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as TimeMeasurementEvent; + return 'TimeMeasurementEvent(key: ${_this.key}, seconds: ${_this.seconds}, meta: ${_this.meta})'; +} + + } /// @nodoc -abstract class _$$TimeMeasurementEventImplCopyWith<$Res> +abstract mixin class $TimeMeasurementEventCopyWith<$Res> { + factory $TimeMeasurementEventCopyWith(TimeMeasurementEvent value, $Res Function(TimeMeasurementEvent) _then) = _$TimeMeasurementEventCopyWithImpl; +@useResult +$Res call({ + String? key, double? seconds, Map? meta +}); + + + + +} +/// @nodoc +class _$TimeMeasurementEventCopyWithImpl<$Res> implements $TimeMeasurementEventCopyWith<$Res> { - factory _$$TimeMeasurementEventImplCopyWith( - _$TimeMeasurementEventImpl value, - $Res Function(_$TimeMeasurementEventImpl) then, - ) = __$$TimeMeasurementEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? key, double? seconds, Map? meta}); + _$TimeMeasurementEventCopyWithImpl(this._self, this._then); + + final TimeMeasurementEvent _self; + final $Res Function(TimeMeasurementEvent) _then; + +/// Create a copy of TimeMeasurementEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? key = freezed,Object? seconds = freezed,Object? meta = freezed,}) { + return _then(TimeMeasurementEvent( +key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable +as String?,seconds: freezed == seconds ? _self.seconds : seconds // ignore: cast_nullable_to_non_nullable +as double?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [TimeMeasurementEvent]. +extension TimeMeasurementEventPatterns on TimeMeasurementEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _TimeMeasurementEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _TimeMeasurementEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _TimeMeasurementEvent value) $default,){ +final _that = this; +switch (_that) { +case _TimeMeasurementEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _TimeMeasurementEvent value)? $default,){ +final _that = this; +switch (_that) { +case _TimeMeasurementEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? key, double? seconds, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _TimeMeasurementEvent() when $default != null: +return $default(_that.key,_that.seconds,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? key, double? seconds, Map? meta) $default,) {final _that = this; +switch (_that) { +case _TimeMeasurementEvent(): +return $default(_that.key,_that.seconds,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? key, double? seconds, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _TimeMeasurementEvent() when $default != null: +return $default(_that.key,_that.seconds,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$TimeMeasurementEventImplCopyWithImpl<$Res> - extends _$TimeMeasurementEventCopyWithImpl<$Res, _$TimeMeasurementEventImpl> - implements _$$TimeMeasurementEventImplCopyWith<$Res> { - __$$TimeMeasurementEventImplCopyWithImpl( - _$TimeMeasurementEventImpl _value, - $Res Function(_$TimeMeasurementEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of TimeMeasurementEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? key = freezed, - Object? seconds = freezed, - Object? meta = freezed, - }) { - return _then( - _$TimeMeasurementEventImpl( - key: freezed == key - ? _value.key - : key // ignore: cast_nullable_to_non_nullable - as String?, - seconds: freezed == seconds - ? _value.seconds - : seconds // ignore: cast_nullable_to_non_nullable - as double?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$TimeMeasurementEventImpl implements _TimeMeasurementEvent { - const _$TimeMeasurementEventImpl({ - this.key, - this.seconds, - final Map? meta, - }) : _meta = meta; - - factory _$TimeMeasurementEventImpl.fromJson(Map json) => - _$$TimeMeasurementEventImplFromJson(json); - - @override - final String? key; - @override - final double? seconds; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _TimeMeasurementEvent implements TimeMeasurementEvent { + const _TimeMeasurementEvent({this.key, this.seconds, Map? meta}): _meta = meta; + factory _TimeMeasurementEvent.fromJson(Map json) => _$TimeMeasurementEventFromJson(json); + +@override final String? key; +@override final double? seconds; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of TimeMeasurementEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$TimeMeasurementEventCopyWith<_TimeMeasurementEvent> get copyWith => __$TimeMeasurementEventCopyWithImpl<_TimeMeasurementEvent>(this, _$identity); + +@override +Map toJson() { + return _$TimeMeasurementEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TimeMeasurementEvent&&(identical(other.key, key) || other.key == key)&&(identical(other.seconds, seconds) || other.seconds == seconds)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,key,seconds,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'TimeMeasurementEvent(key: $key, seconds: $seconds, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$TimeMeasurementEventImpl && - (identical(other.key, key) || other.key == key) && - (identical(other.seconds, seconds) || other.seconds == seconds) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - key, - seconds, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of TimeMeasurementEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$TimeMeasurementEventImplCopyWith<_$TimeMeasurementEventImpl> - get copyWith => - __$$TimeMeasurementEventImplCopyWithImpl<_$TimeMeasurementEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$TimeMeasurementEventImplToJson(this); - } -} - -abstract class _TimeMeasurementEvent implements TimeMeasurementEvent { - const factory _TimeMeasurementEvent({ - final String? key, - final double? seconds, - final Map? meta, - }) = _$TimeMeasurementEventImpl; - - factory _TimeMeasurementEvent.fromJson(Map json) = - _$TimeMeasurementEventImpl.fromJson; - - @override - String? get key; - @override - double? get seconds; - @override - Map? get meta; - - /// Create a copy of TimeMeasurementEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$TimeMeasurementEventImplCopyWith<_$TimeMeasurementEventImpl> - get copyWith => throw _privateConstructorUsedError; -} - -LogEvent _$LogEventFromJson(Map json) { - return _LogEvent.fromJson(json); +} + + } +/// @nodoc +abstract mixin class _$TimeMeasurementEventCopyWith<$Res> implements $TimeMeasurementEventCopyWith<$Res> { + factory _$TimeMeasurementEventCopyWith(_TimeMeasurementEvent value, $Res Function(_TimeMeasurementEvent) _then) = __$TimeMeasurementEventCopyWithImpl; +@override @useResult +$Res call({ + String? key, double? seconds, Map? meta +}); + + + + +} +/// @nodoc +class __$TimeMeasurementEventCopyWithImpl<$Res> + implements _$TimeMeasurementEventCopyWith<$Res> { + __$TimeMeasurementEventCopyWithImpl(this._self, this._then); + + final _TimeMeasurementEvent _self; + final $Res Function(_TimeMeasurementEvent) _then; + +/// Create a copy of TimeMeasurementEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? key = freezed,Object? seconds = freezed,Object? meta = freezed,}) { + return _then(_TimeMeasurementEvent( +key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable +as String?,seconds: freezed == seconds ? _self.seconds : seconds // ignore: cast_nullable_to_non_nullable +as double?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + + /// @nodoc mixin _$LogEvent { - String? get name => throw _privateConstructorUsedError; - String? get message => throw _privateConstructorUsedError; - String? get pageCode => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; + + String? get name; String? get message; String? get pageCode; Map? get meta; +/// Create a copy of LogEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LogEventCopyWith get copyWith => _$LogEventCopyWithImpl(this as LogEvent, _$identity); /// Serializes this LogEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of LogEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $LogEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as LogEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is LogEvent&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.message, _this.message) || other.message == _this.message)&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); } -/// @nodoc -abstract class $LogEventCopyWith<$Res> { - factory $LogEventCopyWith(LogEvent value, $Res Function(LogEvent) then) = - _$LogEventCopyWithImpl<$Res, LogEvent>; - @useResult - $Res call({ - String? name, - String? message, - String? pageCode, - Map? meta, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as LogEvent; + return Object.hash(runtimeType,_this.name,_this.message,_this.pageCode,const DeepCollectionEquality().hash(_this.meta)); } -/// @nodoc -class _$LogEventCopyWithImpl<$Res, $Val extends LogEvent> - implements $LogEventCopyWith<$Res> { - _$LogEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of LogEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? name = freezed, - Object? message = freezed, - Object? pageCode = freezed, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - message: freezed == message - ? _value.message - : message // ignore: cast_nullable_to_non_nullable - as String?, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as LogEvent; + return 'LogEvent(name: ${_this.name}, message: ${_this.message}, pageCode: ${_this.pageCode}, meta: ${_this.meta})'; } + +} + +/// @nodoc +abstract mixin class $LogEventCopyWith<$Res> { + factory $LogEventCopyWith(LogEvent value, $Res Function(LogEvent) _then) = _$LogEventCopyWithImpl; +@useResult +$Res call({ + String? name, String? message, String? pageCode, Map? meta +}); + + + + +} /// @nodoc -abstract class _$$LogEventImplCopyWith<$Res> +class _$LogEventCopyWithImpl<$Res> implements $LogEventCopyWith<$Res> { - factory _$$LogEventImplCopyWith( - _$LogEventImpl value, - $Res Function(_$LogEventImpl) then, - ) = __$$LogEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String? name, - String? message, - String? pageCode, - Map? meta, - }); + _$LogEventCopyWithImpl(this._self, this._then); + + final LogEvent _self; + final $Res Function(LogEvent) _then; + +/// Create a copy of LogEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? name = freezed,Object? message = freezed,Object? pageCode = freezed,Object? meta = freezed,}) { + return _then(LogEvent( +name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable +as String?,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [LogEvent]. +extension LogEventPatterns on LogEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _LogEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _LogEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _LogEvent value) $default,){ +final _that = this; +switch (_that) { +case _LogEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _LogEvent value)? $default,){ +final _that = this; +switch (_that) { +case _LogEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? name, String? message, String? pageCode, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _LogEvent() when $default != null: +return $default(_that.name,_that.message,_that.pageCode,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? name, String? message, String? pageCode, Map? meta) $default,) {final _that = this; +switch (_that) { +case _LogEvent(): +return $default(_that.name,_that.message,_that.pageCode,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? name, String? message, String? pageCode, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _LogEvent() when $default != null: +return $default(_that.name,_that.message,_that.pageCode,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$LogEventImplCopyWithImpl<$Res> - extends _$LogEventCopyWithImpl<$Res, _$LogEventImpl> - implements _$$LogEventImplCopyWith<$Res> { - __$$LogEventImplCopyWithImpl( - _$LogEventImpl _value, - $Res Function(_$LogEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LogEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? name = freezed, - Object? message = freezed, - Object? pageCode = freezed, - Object? meta = freezed, - }) { - return _then( - _$LogEventImpl( - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - message: freezed == message - ? _value.message - : message // ignore: cast_nullable_to_non_nullable - as String?, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$LogEventImpl implements _LogEvent { - const _$LogEventImpl({ - this.name, - this.message, - this.pageCode, - final Map? meta, - }) : _meta = meta; - - factory _$LogEventImpl.fromJson(Map json) => - _$$LogEventImplFromJson(json); - - @override - final String? name; - @override - final String? message; - @override - final String? pageCode; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _LogEvent implements LogEvent { + const _LogEvent({this.name, this.message, this.pageCode, Map? meta}): _meta = meta; + factory _LogEvent.fromJson(Map json) => _$LogEventFromJson(json); + +@override final String? name; +@override final String? message; +@override final String? pageCode; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of LogEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$LogEventCopyWith<_LogEvent> get copyWith => __$LogEventCopyWithImpl<_LogEvent>(this, _$identity); + +@override +Map toJson() { + return _$LogEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _LogEvent&&(identical(other.name, name) || other.name == name)&&(identical(other.message, message) || other.message == message)&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,name,message,pageCode,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'LogEvent(name: $name, message: $message, pageCode: $pageCode, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LogEventImpl && - (identical(other.name, name) || other.name == name) && - (identical(other.message, message) || other.message == message) && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - name, - message, - pageCode, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of LogEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LogEventImplCopyWith<_$LogEventImpl> get copyWith => - __$$LogEventImplCopyWithImpl<_$LogEventImpl>(this, _$identity); - - @override - Map toJson() { - return _$$LogEventImplToJson(this); - } -} - -abstract class _LogEvent implements LogEvent { - const factory _LogEvent({ - final String? name, - final String? message, - final String? pageCode, - final Map? meta, - }) = _$LogEventImpl; - - factory _LogEvent.fromJson(Map json) = - _$LogEventImpl.fromJson; - - @override - String? get name; - @override - String? get message; - @override - String? get pageCode; - @override - Map? get meta; - - /// Create a copy of LogEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LogEventImplCopyWith<_$LogEventImpl> get copyWith => - throw _privateConstructorUsedError; -} - -VideoPlayedEvent _$VideoPlayedEventFromJson(Map json) { - return _VideoPlayedEvent.fromJson(json); +} + + } +/// @nodoc +abstract mixin class _$LogEventCopyWith<$Res> implements $LogEventCopyWith<$Res> { + factory _$LogEventCopyWith(_LogEvent value, $Res Function(_LogEvent) _then) = __$LogEventCopyWithImpl; +@override @useResult +$Res call({ + String? name, String? message, String? pageCode, Map? meta +}); + + + + +} +/// @nodoc +class __$LogEventCopyWithImpl<$Res> + implements _$LogEventCopyWith<$Res> { + __$LogEventCopyWithImpl(this._self, this._then); + + final _LogEvent _self; + final $Res Function(_LogEvent) _then; + +/// Create a copy of LogEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? name = freezed,Object? message = freezed,Object? pageCode = freezed,Object? meta = freezed,}) { + return _then(_LogEvent( +name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable +as String?,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + + /// @nodoc mixin _$VideoPlayedEvent { - String? get videoId => throw _privateConstructorUsedError; - String? get referenceId => throw _privateConstructorUsedError; - Map? get data => throw _privateConstructorUsedError; + + String? get videoId; String? get referenceId; Map? get data; +/// Create a copy of VideoPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$VideoPlayedEventCopyWith get copyWith => _$VideoPlayedEventCopyWithImpl(this as VideoPlayedEvent, _$identity); /// Serializes this VideoPlayedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of VideoPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $VideoPlayedEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as VideoPlayedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is VideoPlayedEvent&&(identical(other.videoId, _this.videoId) || other.videoId == _this.videoId)&&(identical(other.referenceId, _this.referenceId) || other.referenceId == _this.referenceId)&&const DeepCollectionEquality().equals(other.data, _this.data)); } -/// @nodoc -abstract class $VideoPlayedEventCopyWith<$Res> { - factory $VideoPlayedEventCopyWith( - VideoPlayedEvent value, - $Res Function(VideoPlayedEvent) then, - ) = _$VideoPlayedEventCopyWithImpl<$Res, VideoPlayedEvent>; - @useResult - $Res call({String? videoId, String? referenceId, Map? data}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as VideoPlayedEvent; + return Object.hash(runtimeType,_this.videoId,_this.referenceId,const DeepCollectionEquality().hash(_this.data)); } -/// @nodoc -class _$VideoPlayedEventCopyWithImpl<$Res, $Val extends VideoPlayedEvent> - implements $VideoPlayedEventCopyWith<$Res> { - _$VideoPlayedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of VideoPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? videoId = freezed, - Object? referenceId = freezed, - Object? data = freezed, - }) { - return _then( - _value.copyWith( - videoId: freezed == videoId - ? _value.videoId - : videoId // ignore: cast_nullable_to_non_nullable - as String?, - referenceId: freezed == referenceId - ? _value.referenceId - : referenceId // ignore: cast_nullable_to_non_nullable - as String?, - data: freezed == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as VideoPlayedEvent; + return 'VideoPlayedEvent(videoId: ${_this.videoId}, referenceId: ${_this.referenceId}, data: ${_this.data})'; +} + + } /// @nodoc -abstract class _$$VideoPlayedEventImplCopyWith<$Res> +abstract mixin class $VideoPlayedEventCopyWith<$Res> { + factory $VideoPlayedEventCopyWith(VideoPlayedEvent value, $Res Function(VideoPlayedEvent) _then) = _$VideoPlayedEventCopyWithImpl; +@useResult +$Res call({ + String? videoId, String? referenceId, Map? data +}); + + + + +} +/// @nodoc +class _$VideoPlayedEventCopyWithImpl<$Res> implements $VideoPlayedEventCopyWith<$Res> { - factory _$$VideoPlayedEventImplCopyWith( - _$VideoPlayedEventImpl value, - $Res Function(_$VideoPlayedEventImpl) then, - ) = __$$VideoPlayedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? videoId, String? referenceId, Map? data}); + _$VideoPlayedEventCopyWithImpl(this._self, this._then); + + final VideoPlayedEvent _self; + final $Res Function(VideoPlayedEvent) _then; + +/// Create a copy of VideoPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? videoId = freezed,Object? referenceId = freezed,Object? data = freezed,}) { + return _then(VideoPlayedEvent( +videoId: freezed == videoId ? _self.videoId : videoId // ignore: cast_nullable_to_non_nullable +as String?,referenceId: freezed == referenceId ? _self.referenceId : referenceId // ignore: cast_nullable_to_non_nullable +as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [VideoPlayedEvent]. +extension VideoPlayedEventPatterns on VideoPlayedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _VideoPlayedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _VideoPlayedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _VideoPlayedEvent value) $default,){ +final _that = this; +switch (_that) { +case _VideoPlayedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _VideoPlayedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _VideoPlayedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? videoId, String? referenceId, Map? data)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _VideoPlayedEvent() when $default != null: +return $default(_that.videoId,_that.referenceId,_that.data);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? videoId, String? referenceId, Map? data) $default,) {final _that = this; +switch (_that) { +case _VideoPlayedEvent(): +return $default(_that.videoId,_that.referenceId,_that.data);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? videoId, String? referenceId, Map? data)? $default,) {final _that = this; +switch (_that) { +case _VideoPlayedEvent() when $default != null: +return $default(_that.videoId,_that.referenceId,_that.data);case _: + return null; + +} } -/// @nodoc -class __$$VideoPlayedEventImplCopyWithImpl<$Res> - extends _$VideoPlayedEventCopyWithImpl<$Res, _$VideoPlayedEventImpl> - implements _$$VideoPlayedEventImplCopyWith<$Res> { - __$$VideoPlayedEventImplCopyWithImpl( - _$VideoPlayedEventImpl _value, - $Res Function(_$VideoPlayedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of VideoPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? videoId = freezed, - Object? referenceId = freezed, - Object? data = freezed, - }) { - return _then( - _$VideoPlayedEventImpl( - videoId: freezed == videoId - ? _value.videoId - : videoId // ignore: cast_nullable_to_non_nullable - as String?, - referenceId: freezed == referenceId - ? _value.referenceId - : referenceId // ignore: cast_nullable_to_non_nullable - as String?, - data: freezed == data - ? _value._data - : data // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$VideoPlayedEventImpl implements _VideoPlayedEvent { - const _$VideoPlayedEventImpl({ - this.videoId, - this.referenceId, - final Map? data, - }) : _data = data; - - factory _$VideoPlayedEventImpl.fromJson(Map json) => - _$$VideoPlayedEventImplFromJson(json); - - @override - final String? videoId; - @override - final String? referenceId; - final Map? _data; - @override - Map? get data { - final value = _data; - if (value == null) return null; - if (_data is EqualUnmodifiableMapView) return _data; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _VideoPlayedEvent implements VideoPlayedEvent { + const _VideoPlayedEvent({this.videoId, this.referenceId, Map? data}): _data = data; + factory _VideoPlayedEvent.fromJson(Map json) => _$VideoPlayedEventFromJson(json); + +@override final String? videoId; +@override final String? referenceId; + final Map? _data; +@override Map? get data { + final value = _data; + if (value == null) return null; + if (_data is EqualUnmodifiableMapView) return _data; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of VideoPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$VideoPlayedEventCopyWith<_VideoPlayedEvent> get copyWith => __$VideoPlayedEventCopyWithImpl<_VideoPlayedEvent>(this, _$identity); + +@override +Map toJson() { + return _$VideoPlayedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _VideoPlayedEvent&&(identical(other.videoId, videoId) || other.videoId == videoId)&&(identical(other.referenceId, referenceId) || other.referenceId == referenceId)&&const DeepCollectionEquality().equals(other.data, _data)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,videoId,referenceId,const DeepCollectionEquality().hash(_data)); +} + +@override +String toString() { return 'VideoPlayedEvent(videoId: $videoId, referenceId: $referenceId, data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$VideoPlayedEventImpl && - (identical(other.videoId, videoId) || other.videoId == videoId) && - (identical(other.referenceId, referenceId) || - other.referenceId == referenceId) && - const DeepCollectionEquality().equals(other._data, _data)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - videoId, - referenceId, - const DeepCollectionEquality().hash(_data), - ); - - /// Create a copy of VideoPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$VideoPlayedEventImplCopyWith<_$VideoPlayedEventImpl> get copyWith => - __$$VideoPlayedEventImplCopyWithImpl<_$VideoPlayedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$VideoPlayedEventImplToJson(this); - } -} - -abstract class _VideoPlayedEvent implements VideoPlayedEvent { - const factory _VideoPlayedEvent({ - final String? videoId, - final String? referenceId, - final Map? data, - }) = _$VideoPlayedEventImpl; - - factory _VideoPlayedEvent.fromJson(Map json) = - _$VideoPlayedEventImpl.fromJson; - - @override - String? get videoId; - @override - String? get referenceId; - @override - Map? get data; - - /// Create a copy of VideoPlayedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$VideoPlayedEventImplCopyWith<_$VideoPlayedEventImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$VideoPlayedEventCopyWith<$Res> implements $VideoPlayedEventCopyWith<$Res> { + factory _$VideoPlayedEventCopyWith(_VideoPlayedEvent value, $Res Function(_VideoPlayedEvent) _then) = __$VideoPlayedEventCopyWithImpl; +@override @useResult +$Res call({ + String? videoId, String? referenceId, Map? data +}); + + + + +} +/// @nodoc +class __$VideoPlayedEventCopyWithImpl<$Res> + implements _$VideoPlayedEventCopyWith<$Res> { + __$VideoPlayedEventCopyWithImpl(this._self, this._then); + + final _VideoPlayedEvent _self; + final $Res Function(_VideoPlayedEvent) _then; + +/// Create a copy of VideoPlayedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? videoId = freezed,Object? referenceId = freezed,Object? data = freezed,}) { + return _then(_VideoPlayedEvent( +videoId: freezed == videoId ? _self.videoId : videoId // ignore: cast_nullable_to_non_nullable +as String?,referenceId: freezed == referenceId ? _self.referenceId : referenceId // ignore: cast_nullable_to_non_nullable +as String?,data: freezed == data ? _self._data : data // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/misc.g.dart b/bccm_core/lib/src/models/analytics/misc.g.dart index d736118..48966b2 100644 --- a/bccm_core/lib/src/models/analytics/misc.g.dart +++ b/bccm_core/lib/src/models/analytics/misc.g.dart @@ -6,101 +6,91 @@ part of 'misc.dart'; // JsonSerializableGenerator // ************************************************************************** -_$InteractionEventImpl _$$InteractionEventImplFromJson( - Map json, -) => _$InteractionEventImpl( - interaction: json['interaction'] as String?, - pageCode: json['pageCode'] as String?, - contextElementType: json['contextElementType'] as String?, - contextElementId: json['contextElementId'] as String?, - meta: json['meta'] as Map?, -); +_InteractionEvent _$InteractionEventFromJson(Map json) => + _InteractionEvent( + interaction: json['interaction'] as String?, + pageCode: json['pageCode'] as String?, + contextElementType: json['contextElementType'] as String?, + contextElementId: json['contextElementId'] as String?, + meta: json['meta'] as Map?, + ); -Map _$$InteractionEventImplToJson( - _$InteractionEventImpl instance, -) => { - 'interaction': instance.interaction, - 'pageCode': instance.pageCode, - 'contextElementType': instance.contextElementType, - 'contextElementId': instance.contextElementId, - 'meta': instance.meta, -}; +Map _$InteractionEventToJson(_InteractionEvent instance) => + { + 'interaction': instance.interaction, + 'pageCode': instance.pageCode, + 'contextElementType': instance.contextElementType, + 'contextElementId': instance.contextElementId, + 'meta': instance.meta, + }; -_$ImpressionEventImpl _$$ImpressionEventImplFromJson( - Map json, -) => _$ImpressionEventImpl( - name: json['name'] as String?, - pageCode: json['pageCode'] as String?, - contextElementType: json['contextElementType'] as String?, - contextElementId: json['contextElementId'] as String?, - meta: json['meta'] as Map?, -); +_ImpressionEvent _$ImpressionEventFromJson(Map json) => + _ImpressionEvent( + name: json['name'] as String?, + pageCode: json['pageCode'] as String?, + contextElementType: json['contextElementType'] as String?, + contextElementId: json['contextElementId'] as String?, + meta: json['meta'] as Map?, + ); -Map _$$ImpressionEventImplToJson( - _$ImpressionEventImpl instance, -) => { - 'name': instance.name, - 'pageCode': instance.pageCode, - 'contextElementType': instance.contextElementType, - 'contextElementId': instance.contextElementId, - 'meta': instance.meta, -}; +Map _$ImpressionEventToJson(_ImpressionEvent instance) => + { + 'name': instance.name, + 'pageCode': instance.pageCode, + 'contextElementType': instance.contextElementType, + 'contextElementId': instance.contextElementId, + 'meta': instance.meta, + }; -_$GuideShownEventImpl _$$GuideShownEventImplFromJson( - Map json, -) => _$GuideShownEventImpl( - guide: json['guide'] as String?, - meta: json['meta'] as Map?, -); +_GuideShownEvent _$GuideShownEventFromJson(Map json) => + _GuideShownEvent( + guide: json['guide'] as String?, + meta: json['meta'] as Map?, + ); -Map _$$GuideShownEventImplToJson( - _$GuideShownEventImpl instance, -) => {'guide': instance.guide, 'meta': instance.meta}; +Map _$GuideShownEventToJson(_GuideShownEvent instance) => + {'guide': instance.guide, 'meta': instance.meta}; -_$TimeMeasurementEventImpl _$$TimeMeasurementEventImplFromJson( +_TimeMeasurementEvent _$TimeMeasurementEventFromJson( Map json, -) => _$TimeMeasurementEventImpl( +) => _TimeMeasurementEvent( key: json['key'] as String?, seconds: (json['seconds'] as num?)?.toDouble(), meta: json['meta'] as Map?, ); -Map _$$TimeMeasurementEventImplToJson( - _$TimeMeasurementEventImpl instance, +Map _$TimeMeasurementEventToJson( + _TimeMeasurementEvent instance, ) => { 'key': instance.key, 'seconds': instance.seconds, 'meta': instance.meta, }; -_$LogEventImpl _$$LogEventImplFromJson(Map json) => - _$LogEventImpl( - name: json['name'] as String?, - message: json['message'] as String?, - pageCode: json['pageCode'] as String?, - meta: json['meta'] as Map?, +_LogEvent _$LogEventFromJson(Map json) => _LogEvent( + name: json['name'] as String?, + message: json['message'] as String?, + pageCode: json['pageCode'] as String?, + meta: json['meta'] as Map?, +); + +Map _$LogEventToJson(_LogEvent instance) => { + 'name': instance.name, + 'message': instance.message, + 'pageCode': instance.pageCode, + 'meta': instance.meta, +}; + +_VideoPlayedEvent _$VideoPlayedEventFromJson(Map json) => + _VideoPlayedEvent( + videoId: json['videoId'] as String?, + referenceId: json['referenceId'] as String?, + data: json['data'] as Map?, ); -Map _$$LogEventImplToJson(_$LogEventImpl instance) => +Map _$VideoPlayedEventToJson(_VideoPlayedEvent instance) => { - 'name': instance.name, - 'message': instance.message, - 'pageCode': instance.pageCode, - 'meta': instance.meta, + 'videoId': instance.videoId, + 'referenceId': instance.referenceId, + 'data': instance.data, }; - -_$VideoPlayedEventImpl _$$VideoPlayedEventImplFromJson( - Map json, -) => _$VideoPlayedEventImpl( - videoId: json['videoId'] as String?, - referenceId: json['referenceId'] as String?, - data: json['data'] as Map?, -); - -Map _$$VideoPlayedEventImplToJson( - _$VideoPlayedEventImpl instance, -) => { - 'videoId': instance.videoId, - 'referenceId': instance.referenceId, - 'data': instance.data, -}; diff --git a/bccm_core/lib/src/models/analytics/notification_prompt.freezed.dart b/bccm_core/lib/src/models/analytics/notification_prompt.freezed.dart index 9410aaf..7d058a8 100644 --- a/bccm_core/lib/src/models/analytics/notification_prompt.freezed.dart +++ b/bccm_core/lib/src/models/analytics/notification_prompt.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'notification_prompt.dart'; @@ -9,684 +9,1141 @@ part of 'notification_prompt.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -NotificationPromptDismissedEvent _$NotificationPromptDismissedEventFromJson( - Map json, -) { - return _NotificationPromptDismissedEvent.fromJson(json); -} - /// @nodoc mixin _$NotificationPromptDismissedEvent { - int get timesDismissed => throw _privateConstructorUsedError; + + int get timesDismissed; +/// Create a copy of NotificationPromptDismissedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$NotificationPromptDismissedEventCopyWith get copyWith => _$NotificationPromptDismissedEventCopyWithImpl(this as NotificationPromptDismissedEvent, _$identity); /// Serializes this NotificationPromptDismissedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of NotificationPromptDismissedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $NotificationPromptDismissedEventCopyWith - get copyWith => throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as NotificationPromptDismissedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationPromptDismissedEvent&&(identical(other.timesDismissed, _this.timesDismissed) || other.timesDismissed == _this.timesDismissed)); } -/// @nodoc -abstract class $NotificationPromptDismissedEventCopyWith<$Res> { - factory $NotificationPromptDismissedEventCopyWith( - NotificationPromptDismissedEvent value, - $Res Function(NotificationPromptDismissedEvent) then, - ) = - _$NotificationPromptDismissedEventCopyWithImpl< - $Res, - NotificationPromptDismissedEvent - >; - @useResult - $Res call({int timesDismissed}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as NotificationPromptDismissedEvent; + return Object.hash(runtimeType,_this.timesDismissed); } -/// @nodoc -class _$NotificationPromptDismissedEventCopyWithImpl< - $Res, - $Val extends NotificationPromptDismissedEvent -> - implements $NotificationPromptDismissedEventCopyWith<$Res> { - _$NotificationPromptDismissedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of NotificationPromptDismissedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? timesDismissed = null}) { - return _then( - _value.copyWith( - timesDismissed: null == timesDismissed - ? _value.timesDismissed - : timesDismissed // ignore: cast_nullable_to_non_nullable - as int, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as NotificationPromptDismissedEvent; + return 'NotificationPromptDismissedEvent(timesDismissed: ${_this.timesDismissed})'; } + +} + +/// @nodoc +abstract mixin class $NotificationPromptDismissedEventCopyWith<$Res> { + factory $NotificationPromptDismissedEventCopyWith(NotificationPromptDismissedEvent value, $Res Function(NotificationPromptDismissedEvent) _then) = _$NotificationPromptDismissedEventCopyWithImpl; +@useResult +$Res call({ + int timesDismissed +}); + + + + +} /// @nodoc -abstract class _$$NotificationPromptDismissedEventImplCopyWith<$Res> +class _$NotificationPromptDismissedEventCopyWithImpl<$Res> implements $NotificationPromptDismissedEventCopyWith<$Res> { - factory _$$NotificationPromptDismissedEventImplCopyWith( - _$NotificationPromptDismissedEventImpl value, - $Res Function(_$NotificationPromptDismissedEventImpl) then, - ) = __$$NotificationPromptDismissedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({int timesDismissed}); + _$NotificationPromptDismissedEventCopyWithImpl(this._self, this._then); + + final NotificationPromptDismissedEvent _self; + final $Res Function(NotificationPromptDismissedEvent) _then; + +/// Create a copy of NotificationPromptDismissedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? timesDismissed = null,}) { + return _then(NotificationPromptDismissedEvent( +timesDismissed: null == timesDismissed ? _self.timesDismissed : timesDismissed // ignore: cast_nullable_to_non_nullable +as int, + )); +} + +} + + +/// Adds pattern-matching-related methods to [NotificationPromptDismissedEvent]. +extension NotificationPromptDismissedEventPatterns on NotificationPromptDismissedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationPromptDismissedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationPromptDismissedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationPromptDismissedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptDismissedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationPromptDismissedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptDismissedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( int timesDismissed)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationPromptDismissedEvent() when $default != null: +return $default(_that.timesDismissed);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( int timesDismissed) $default,) {final _that = this; +switch (_that) { +case _NotificationPromptDismissedEvent(): +return $default(_that.timesDismissed);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( int timesDismissed)? $default,) {final _that = this; +switch (_that) { +case _NotificationPromptDismissedEvent() when $default != null: +return $default(_that.timesDismissed);case _: + return null; + +} } -/// @nodoc -class __$$NotificationPromptDismissedEventImplCopyWithImpl<$Res> - extends - _$NotificationPromptDismissedEventCopyWithImpl< - $Res, - _$NotificationPromptDismissedEventImpl - > - implements _$$NotificationPromptDismissedEventImplCopyWith<$Res> { - __$$NotificationPromptDismissedEventImplCopyWithImpl( - _$NotificationPromptDismissedEventImpl _value, - $Res Function(_$NotificationPromptDismissedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationPromptDismissedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? timesDismissed = null}) { - return _then( - _$NotificationPromptDismissedEventImpl( - timesDismissed: null == timesDismissed - ? _value.timesDismissed - : timesDismissed // ignore: cast_nullable_to_non_nullable - as int, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$NotificationPromptDismissedEventImpl - implements _NotificationPromptDismissedEvent { - const _$NotificationPromptDismissedEventImpl({required this.timesDismissed}); - factory _$NotificationPromptDismissedEventImpl.fromJson( - Map json, - ) => _$$NotificationPromptDismissedEventImplFromJson(json); +class _NotificationPromptDismissedEvent implements NotificationPromptDismissedEvent { + const _NotificationPromptDismissedEvent({required this.timesDismissed}); + factory _NotificationPromptDismissedEvent.fromJson(Map json) => _$NotificationPromptDismissedEventFromJson(json); + +@override final int timesDismissed; + +/// Create a copy of NotificationPromptDismissedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$NotificationPromptDismissedEventCopyWith<_NotificationPromptDismissedEvent> get copyWith => __$NotificationPromptDismissedEventCopyWithImpl<_NotificationPromptDismissedEvent>(this, _$identity); - @override - final int timesDismissed; +@override +Map toJson() { + return _$NotificationPromptDismissedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationPromptDismissedEvent&&(identical(other.timesDismissed, timesDismissed) || other.timesDismissed == timesDismissed)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,timesDismissed); +} - @override - String toString() { +@override +String toString() { return 'NotificationPromptDismissedEvent(timesDismissed: $timesDismissed)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationPromptDismissedEventImpl && - (identical(other.timesDismissed, timesDismissed) || - other.timesDismissed == timesDismissed)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, timesDismissed); - - /// Create a copy of NotificationPromptDismissedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$NotificationPromptDismissedEventImplCopyWith< - _$NotificationPromptDismissedEventImpl - > - get copyWith => - __$$NotificationPromptDismissedEventImplCopyWithImpl< - _$NotificationPromptDismissedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$NotificationPromptDismissedEventImplToJson(this); - } -} - -abstract class _NotificationPromptDismissedEvent - implements NotificationPromptDismissedEvent { - const factory _NotificationPromptDismissedEvent({ - required final int timesDismissed, - }) = _$NotificationPromptDismissedEventImpl; - - factory _NotificationPromptDismissedEvent.fromJson( - Map json, - ) = _$NotificationPromptDismissedEventImpl.fromJson; - - @override - int get timesDismissed; - - /// Create a copy of NotificationPromptDismissedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$NotificationPromptDismissedEventImplCopyWith< - _$NotificationPromptDismissedEventImpl - > - get copyWith => throw _privateConstructorUsedError; -} - -NotificationPromptClickedEvent _$NotificationPromptClickedEventFromJson( - Map json, -) { - return _NotificationPromptClickedEvent.fromJson(json); } + +} + +/// @nodoc +abstract mixin class _$NotificationPromptDismissedEventCopyWith<$Res> implements $NotificationPromptDismissedEventCopyWith<$Res> { + factory _$NotificationPromptDismissedEventCopyWith(_NotificationPromptDismissedEvent value, $Res Function(_NotificationPromptDismissedEvent) _then) = __$NotificationPromptDismissedEventCopyWithImpl; +@override @useResult +$Res call({ + int timesDismissed +}); + + + + +} +/// @nodoc +class __$NotificationPromptDismissedEventCopyWithImpl<$Res> + implements _$NotificationPromptDismissedEventCopyWith<$Res> { + __$NotificationPromptDismissedEventCopyWithImpl(this._self, this._then); + + final _NotificationPromptDismissedEvent _self; + final $Res Function(_NotificationPromptDismissedEvent) _then; + +/// Create a copy of NotificationPromptDismissedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? timesDismissed = null,}) { + return _then(_NotificationPromptDismissedEvent( +timesDismissed: null == timesDismissed ? _self.timesDismissed : timesDismissed // ignore: cast_nullable_to_non_nullable +as int, + )); +} + + +} + + /// @nodoc mixin _$NotificationPromptClickedEvent { + + + /// Serializes this NotificationPromptClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationPromptClickedEvent); } -/// @nodoc -abstract class $NotificationPromptClickedEventCopyWith<$Res> { - factory $NotificationPromptClickedEventCopyWith( - NotificationPromptClickedEvent value, - $Res Function(NotificationPromptClickedEvent) then, - ) = - _$NotificationPromptClickedEventCopyWithImpl< - $Res, - NotificationPromptClickedEvent - >; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'NotificationPromptClickedEvent()'; +} + + } /// @nodoc -class _$NotificationPromptClickedEventCopyWithImpl< - $Res, - $Val extends NotificationPromptClickedEvent -> - implements $NotificationPromptClickedEventCopyWith<$Res> { - _$NotificationPromptClickedEventCopyWithImpl(this._value, this._then); +class $NotificationPromptClickedEventCopyWith<$Res> { +$NotificationPromptClickedEventCopyWith(NotificationPromptClickedEvent _, $Res Function(NotificationPromptClickedEvent) __); +} + - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; +/// Adds pattern-matching-related methods to [NotificationPromptClickedEvent]. +extension NotificationPromptClickedEventPatterns on NotificationPromptClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationPromptClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationPromptClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); - /// Create a copy of NotificationPromptClickedEvent - /// with the given fields replaced by the non-null parameter values. } +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationPromptClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); -/// @nodoc -abstract class _$$NotificationPromptClickedEventImplCopyWith<$Res> { - factory _$$NotificationPromptClickedEventImplCopyWith( - _$NotificationPromptClickedEventImpl value, - $Res Function(_$NotificationPromptClickedEventImpl) then, - ) = __$$NotificationPromptClickedEventImplCopyWithImpl<$Res>; +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationPromptClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function()? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationPromptClickedEvent() when $default != null: +return $default();case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function() $default,) {final _that = this; +switch (_that) { +case _NotificationPromptClickedEvent(): +return $default();case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function()? $default,) {final _that = this; +switch (_that) { +case _NotificationPromptClickedEvent() when $default != null: +return $default();case _: + return null; + +} } -/// @nodoc -class __$$NotificationPromptClickedEventImplCopyWithImpl<$Res> - extends - _$NotificationPromptClickedEventCopyWithImpl< - $Res, - _$NotificationPromptClickedEventImpl - > - implements _$$NotificationPromptClickedEventImplCopyWith<$Res> { - __$$NotificationPromptClickedEventImplCopyWithImpl( - _$NotificationPromptClickedEventImpl _value, - $Res Function(_$NotificationPromptClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationPromptClickedEvent - /// with the given fields replaced by the non-null parameter values. } /// @nodoc @JsonSerializable() -class _$NotificationPromptClickedEventImpl - implements _NotificationPromptClickedEvent { - const _$NotificationPromptClickedEventImpl(); - factory _$NotificationPromptClickedEventImpl.fromJson( - Map json, - ) => _$$NotificationPromptClickedEventImplFromJson(json); +class _NotificationPromptClickedEvent implements NotificationPromptClickedEvent { + const _NotificationPromptClickedEvent(); + factory _NotificationPromptClickedEvent.fromJson(Map json) => _$NotificationPromptClickedEventFromJson(json); - @override - String toString() { - return 'NotificationPromptClickedEvent()'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationPromptClickedEventImpl); - } - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => runtimeType.hashCode; - @override - Map toJson() { - return _$$NotificationPromptClickedEventImplToJson(this); - } +@override +Map toJson() { + return _$NotificationPromptClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationPromptClickedEvent); } -abstract class _NotificationPromptClickedEvent - implements NotificationPromptClickedEvent { - const factory _NotificationPromptClickedEvent() = - _$NotificationPromptClickedEventImpl; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; - factory _NotificationPromptClickedEvent.fromJson(Map json) = - _$NotificationPromptClickedEventImpl.fromJson; +@override +String toString() { + return 'NotificationPromptClickedEvent()'; } -NotificationPromptDeniedEvent _$NotificationPromptDeniedEventFromJson( - Map json, -) { - return _NotificationPromptDeniedEvent.fromJson(json); + } + + + + /// @nodoc mixin _$NotificationPromptDeniedEvent { + + + /// Serializes this NotificationPromptDeniedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationPromptDeniedEvent); } -/// @nodoc -abstract class $NotificationPromptDeniedEventCopyWith<$Res> { - factory $NotificationPromptDeniedEventCopyWith( - NotificationPromptDeniedEvent value, - $Res Function(NotificationPromptDeniedEvent) then, - ) = - _$NotificationPromptDeniedEventCopyWithImpl< - $Res, - NotificationPromptDeniedEvent - >; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'NotificationPromptDeniedEvent()'; +} + + } /// @nodoc -class _$NotificationPromptDeniedEventCopyWithImpl< - $Res, - $Val extends NotificationPromptDeniedEvent -> - implements $NotificationPromptDeniedEventCopyWith<$Res> { - _$NotificationPromptDeniedEventCopyWithImpl(this._value, this._then); +class $NotificationPromptDeniedEventCopyWith<$Res> { +$NotificationPromptDeniedEventCopyWith(NotificationPromptDeniedEvent _, $Res Function(NotificationPromptDeniedEvent) __); +} + - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; +/// Adds pattern-matching-related methods to [NotificationPromptDeniedEvent]. +extension NotificationPromptDeniedEventPatterns on NotificationPromptDeniedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationPromptDeniedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationPromptDeniedEvent() when $default != null: +return $default(_that);case _: + return orElse(); - /// Create a copy of NotificationPromptDeniedEvent - /// with the given fields replaced by the non-null parameter values. } +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationPromptDeniedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptDeniedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); -/// @nodoc -abstract class _$$NotificationPromptDeniedEventImplCopyWith<$Res> { - factory _$$NotificationPromptDeniedEventImplCopyWith( - _$NotificationPromptDeniedEventImpl value, - $Res Function(_$NotificationPromptDeniedEventImpl) then, - ) = __$$NotificationPromptDeniedEventImplCopyWithImpl<$Res>; +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationPromptDeniedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptDeniedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function()? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationPromptDeniedEvent() when $default != null: +return $default();case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function() $default,) {final _that = this; +switch (_that) { +case _NotificationPromptDeniedEvent(): +return $default();case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function()? $default,) {final _that = this; +switch (_that) { +case _NotificationPromptDeniedEvent() when $default != null: +return $default();case _: + return null; + +} } -/// @nodoc -class __$$NotificationPromptDeniedEventImplCopyWithImpl<$Res> - extends - _$NotificationPromptDeniedEventCopyWithImpl< - $Res, - _$NotificationPromptDeniedEventImpl - > - implements _$$NotificationPromptDeniedEventImplCopyWith<$Res> { - __$$NotificationPromptDeniedEventImplCopyWithImpl( - _$NotificationPromptDeniedEventImpl _value, - $Res Function(_$NotificationPromptDeniedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationPromptDeniedEvent - /// with the given fields replaced by the non-null parameter values. } /// @nodoc @JsonSerializable() -class _$NotificationPromptDeniedEventImpl - implements _NotificationPromptDeniedEvent { - const _$NotificationPromptDeniedEventImpl(); - factory _$NotificationPromptDeniedEventImpl.fromJson( - Map json, - ) => _$$NotificationPromptDeniedEventImplFromJson(json); +class _NotificationPromptDeniedEvent implements NotificationPromptDeniedEvent { + const _NotificationPromptDeniedEvent(); + factory _NotificationPromptDeniedEvent.fromJson(Map json) => _$NotificationPromptDeniedEventFromJson(json); + - @override - String toString() { - return 'NotificationPromptDeniedEvent()'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationPromptDeniedEventImpl); - } - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => runtimeType.hashCode; +@override +Map toJson() { + return _$NotificationPromptDeniedEventToJson(this, ); +} - @override - Map toJson() { - return _$$NotificationPromptDeniedEventImplToJson(this); - } +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationPromptDeniedEvent); } -abstract class _NotificationPromptDeniedEvent - implements NotificationPromptDeniedEvent { - const factory _NotificationPromptDeniedEvent() = - _$NotificationPromptDeniedEventImpl; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; - factory _NotificationPromptDeniedEvent.fromJson(Map json) = - _$NotificationPromptDeniedEventImpl.fromJson; +@override +String toString() { + return 'NotificationPromptDeniedEvent()'; } -NotificationPromptAcceptedEvent _$NotificationPromptAcceptedEventFromJson( - Map json, -) { - return _NotificationPromptAcceptedEvent.fromJson(json); + } + + + + /// @nodoc mixin _$NotificationPromptAcceptedEvent { + + + /// Serializes this NotificationPromptAcceptedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationPromptAcceptedEvent); } -/// @nodoc -abstract class $NotificationPromptAcceptedEventCopyWith<$Res> { - factory $NotificationPromptAcceptedEventCopyWith( - NotificationPromptAcceptedEvent value, - $Res Function(NotificationPromptAcceptedEvent) then, - ) = - _$NotificationPromptAcceptedEventCopyWithImpl< - $Res, - NotificationPromptAcceptedEvent - >; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'NotificationPromptAcceptedEvent()'; +} + + } /// @nodoc -class _$NotificationPromptAcceptedEventCopyWithImpl< - $Res, - $Val extends NotificationPromptAcceptedEvent -> - implements $NotificationPromptAcceptedEventCopyWith<$Res> { - _$NotificationPromptAcceptedEventCopyWithImpl(this._value, this._then); +class $NotificationPromptAcceptedEventCopyWith<$Res> { +$NotificationPromptAcceptedEventCopyWith(NotificationPromptAcceptedEvent _, $Res Function(NotificationPromptAcceptedEvent) __); +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of NotificationPromptAcceptedEvent - /// with the given fields replaced by the non-null parameter values. +/// Adds pattern-matching-related methods to [NotificationPromptAcceptedEvent]. +extension NotificationPromptAcceptedEventPatterns on NotificationPromptAcceptedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationPromptAcceptedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationPromptAcceptedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} } +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationPromptAcceptedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptAcceptedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); -/// @nodoc -abstract class _$$NotificationPromptAcceptedEventImplCopyWith<$Res> { - factory _$$NotificationPromptAcceptedEventImplCopyWith( - _$NotificationPromptAcceptedEventImpl value, - $Res Function(_$NotificationPromptAcceptedEventImpl) then, - ) = __$$NotificationPromptAcceptedEventImplCopyWithImpl<$Res>; +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationPromptAcceptedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationPromptAcceptedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function()? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationPromptAcceptedEvent() when $default != null: +return $default();case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function() $default,) {final _that = this; +switch (_that) { +case _NotificationPromptAcceptedEvent(): +return $default();case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function()? $default,) {final _that = this; +switch (_that) { +case _NotificationPromptAcceptedEvent() when $default != null: +return $default();case _: + return null; + +} } -/// @nodoc -class __$$NotificationPromptAcceptedEventImplCopyWithImpl<$Res> - extends - _$NotificationPromptAcceptedEventCopyWithImpl< - $Res, - _$NotificationPromptAcceptedEventImpl - > - implements _$$NotificationPromptAcceptedEventImplCopyWith<$Res> { - __$$NotificationPromptAcceptedEventImplCopyWithImpl( - _$NotificationPromptAcceptedEventImpl _value, - $Res Function(_$NotificationPromptAcceptedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationPromptAcceptedEvent - /// with the given fields replaced by the non-null parameter values. } /// @nodoc @JsonSerializable() -class _$NotificationPromptAcceptedEventImpl - implements _NotificationPromptAcceptedEvent { - const _$NotificationPromptAcceptedEventImpl(); - factory _$NotificationPromptAcceptedEventImpl.fromJson( - Map json, - ) => _$$NotificationPromptAcceptedEventImplFromJson(json); +class _NotificationPromptAcceptedEvent implements NotificationPromptAcceptedEvent { + const _NotificationPromptAcceptedEvent(); + factory _NotificationPromptAcceptedEvent.fromJson(Map json) => _$NotificationPromptAcceptedEventFromJson(json); - @override - String toString() { - return 'NotificationPromptAcceptedEvent()'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationPromptAcceptedEventImpl); - } - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => runtimeType.hashCode; - @override - Map toJson() { - return _$$NotificationPromptAcceptedEventImplToJson(this); - } +@override +Map toJson() { + return _$NotificationPromptAcceptedEventToJson(this, ); } -abstract class _NotificationPromptAcceptedEvent - implements NotificationPromptAcceptedEvent { - const factory _NotificationPromptAcceptedEvent() = - _$NotificationPromptAcceptedEventImpl; +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationPromptAcceptedEvent); +} - factory _NotificationPromptAcceptedEvent.fromJson(Map json) = - _$NotificationPromptAcceptedEventImpl.fromJson; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'NotificationPromptAcceptedEvent()'; } -NotificationsSettingToggledEvent _$NotificationsSettingToggledEventFromJson( - Map json, -) { - return _NotificationsSettingToggledEvent.fromJson(json); + } + + + + /// @nodoc mixin _$NotificationsSettingToggledEvent { - bool get enabled => throw _privateConstructorUsedError; + + bool get enabled; +/// Create a copy of NotificationsSettingToggledEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$NotificationsSettingToggledEventCopyWith get copyWith => _$NotificationsSettingToggledEventCopyWithImpl(this as NotificationsSettingToggledEvent, _$identity); /// Serializes this NotificationsSettingToggledEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of NotificationsSettingToggledEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $NotificationsSettingToggledEventCopyWith - get copyWith => throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as NotificationsSettingToggledEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationsSettingToggledEvent&&(identical(other.enabled, _this.enabled) || other.enabled == _this.enabled)); } -/// @nodoc -abstract class $NotificationsSettingToggledEventCopyWith<$Res> { - factory $NotificationsSettingToggledEventCopyWith( - NotificationsSettingToggledEvent value, - $Res Function(NotificationsSettingToggledEvent) then, - ) = - _$NotificationsSettingToggledEventCopyWithImpl< - $Res, - NotificationsSettingToggledEvent - >; - @useResult - $Res call({bool enabled}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as NotificationsSettingToggledEvent; + return Object.hash(runtimeType,_this.enabled); } -/// @nodoc -class _$NotificationsSettingToggledEventCopyWithImpl< - $Res, - $Val extends NotificationsSettingToggledEvent -> - implements $NotificationsSettingToggledEventCopyWith<$Res> { - _$NotificationsSettingToggledEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of NotificationsSettingToggledEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? enabled = null}) { - return _then( - _value.copyWith( - enabled: null == enabled - ? _value.enabled - : enabled // ignore: cast_nullable_to_non_nullable - as bool, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as NotificationsSettingToggledEvent; + return 'NotificationsSettingToggledEvent(enabled: ${_this.enabled})'; +} + + } /// @nodoc -abstract class _$$NotificationsSettingToggledEventImplCopyWith<$Res> +abstract mixin class $NotificationsSettingToggledEventCopyWith<$Res> { + factory $NotificationsSettingToggledEventCopyWith(NotificationsSettingToggledEvent value, $Res Function(NotificationsSettingToggledEvent) _then) = _$NotificationsSettingToggledEventCopyWithImpl; +@useResult +$Res call({ + bool enabled +}); + + + + +} +/// @nodoc +class _$NotificationsSettingToggledEventCopyWithImpl<$Res> implements $NotificationsSettingToggledEventCopyWith<$Res> { - factory _$$NotificationsSettingToggledEventImplCopyWith( - _$NotificationsSettingToggledEventImpl value, - $Res Function(_$NotificationsSettingToggledEventImpl) then, - ) = __$$NotificationsSettingToggledEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({bool enabled}); + _$NotificationsSettingToggledEventCopyWithImpl(this._self, this._then); + + final NotificationsSettingToggledEvent _self; + final $Res Function(NotificationsSettingToggledEvent) _then; + +/// Create a copy of NotificationsSettingToggledEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? enabled = null,}) { + return _then(NotificationsSettingToggledEvent( +enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + +} + + +/// Adds pattern-matching-related methods to [NotificationsSettingToggledEvent]. +extension NotificationsSettingToggledEventPatterns on NotificationsSettingToggledEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationsSettingToggledEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationsSettingToggledEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationsSettingToggledEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationsSettingToggledEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationsSettingToggledEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationsSettingToggledEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( bool enabled)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationsSettingToggledEvent() when $default != null: +return $default(_that.enabled);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( bool enabled) $default,) {final _that = this; +switch (_that) { +case _NotificationsSettingToggledEvent(): +return $default(_that.enabled);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( bool enabled)? $default,) {final _that = this; +switch (_that) { +case _NotificationsSettingToggledEvent() when $default != null: +return $default(_that.enabled);case _: + return null; + +} } -/// @nodoc -class __$$NotificationsSettingToggledEventImplCopyWithImpl<$Res> - extends - _$NotificationsSettingToggledEventCopyWithImpl< - $Res, - _$NotificationsSettingToggledEventImpl - > - implements _$$NotificationsSettingToggledEventImplCopyWith<$Res> { - __$$NotificationsSettingToggledEventImplCopyWithImpl( - _$NotificationsSettingToggledEventImpl _value, - $Res Function(_$NotificationsSettingToggledEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationsSettingToggledEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? enabled = null}) { - return _then( - _$NotificationsSettingToggledEventImpl( - enabled: null == enabled - ? _value.enabled - : enabled // ignore: cast_nullable_to_non_nullable - as bool, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$NotificationsSettingToggledEventImpl - implements _NotificationsSettingToggledEvent { - const _$NotificationsSettingToggledEventImpl({required this.enabled}); - factory _$NotificationsSettingToggledEventImpl.fromJson( - Map json, - ) => _$$NotificationsSettingToggledEventImplFromJson(json); +class _NotificationsSettingToggledEvent implements NotificationsSettingToggledEvent { + const _NotificationsSettingToggledEvent({required this.enabled}); + factory _NotificationsSettingToggledEvent.fromJson(Map json) => _$NotificationsSettingToggledEventFromJson(json); + +@override final bool enabled; - @override - final bool enabled; +/// Create a copy of NotificationsSettingToggledEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$NotificationsSettingToggledEventCopyWith<_NotificationsSettingToggledEvent> get copyWith => __$NotificationsSettingToggledEventCopyWithImpl<_NotificationsSettingToggledEvent>(this, _$identity); - @override - String toString() { +@override +Map toJson() { + return _$NotificationsSettingToggledEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationsSettingToggledEvent&&(identical(other.enabled, enabled) || other.enabled == enabled)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,enabled); +} + +@override +String toString() { return 'NotificationsSettingToggledEvent(enabled: $enabled)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationsSettingToggledEventImpl && - (identical(other.enabled, enabled) || other.enabled == enabled)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, enabled); - - /// Create a copy of NotificationsSettingToggledEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$NotificationsSettingToggledEventImplCopyWith< - _$NotificationsSettingToggledEventImpl - > - get copyWith => - __$$NotificationsSettingToggledEventImplCopyWithImpl< - _$NotificationsSettingToggledEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$NotificationsSettingToggledEventImplToJson(this); - } -} - -abstract class _NotificationsSettingToggledEvent - implements NotificationsSettingToggledEvent { - const factory _NotificationsSettingToggledEvent({ - required final bool enabled, - }) = _$NotificationsSettingToggledEventImpl; - - factory _NotificationsSettingToggledEvent.fromJson( - Map json, - ) = _$NotificationsSettingToggledEventImpl.fromJson; - - @override - bool get enabled; - - /// Create a copy of NotificationsSettingToggledEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$NotificationsSettingToggledEventImplCopyWith< - _$NotificationsSettingToggledEventImpl - > - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$NotificationsSettingToggledEventCopyWith<$Res> implements $NotificationsSettingToggledEventCopyWith<$Res> { + factory _$NotificationsSettingToggledEventCopyWith(_NotificationsSettingToggledEvent value, $Res Function(_NotificationsSettingToggledEvent) _then) = __$NotificationsSettingToggledEventCopyWithImpl; +@override @useResult +$Res call({ + bool enabled +}); + + + + +} +/// @nodoc +class __$NotificationsSettingToggledEventCopyWithImpl<$Res> + implements _$NotificationsSettingToggledEventCopyWith<$Res> { + __$NotificationsSettingToggledEventCopyWithImpl(this._self, this._then); + + final _NotificationsSettingToggledEvent _self; + final $Res Function(_NotificationsSettingToggledEvent) _then; + +/// Create a copy of NotificationsSettingToggledEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? enabled = null,}) { + return _then(_NotificationsSettingToggledEvent( +enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/notification_prompt.g.dart b/bccm_core/lib/src/models/analytics/notification_prompt.g.dart index aae1402..d735523 100644 --- a/bccm_core/lib/src/models/analytics/notification_prompt.g.dart +++ b/bccm_core/lib/src/models/analytics/notification_prompt.g.dart @@ -6,44 +6,44 @@ part of 'notification_prompt.dart'; // JsonSerializableGenerator // ************************************************************************** -_$NotificationPromptDismissedEventImpl -_$$NotificationPromptDismissedEventImplFromJson(Map json) => - _$NotificationPromptDismissedEventImpl( - timesDismissed: (json['timesDismissed'] as num).toInt(), - ); - -Map _$$NotificationPromptDismissedEventImplToJson( - _$NotificationPromptDismissedEventImpl instance, +_NotificationPromptDismissedEvent _$NotificationPromptDismissedEventFromJson( + Map json, +) => _NotificationPromptDismissedEvent( + timesDismissed: (json['timesDismissed'] as num).toInt(), +); + +Map _$NotificationPromptDismissedEventToJson( + _NotificationPromptDismissedEvent instance, ) => {'timesDismissed': instance.timesDismissed}; -_$NotificationPromptClickedEventImpl -_$$NotificationPromptClickedEventImplFromJson(Map json) => - _$NotificationPromptClickedEventImpl(); +_NotificationPromptClickedEvent _$NotificationPromptClickedEventFromJson( + Map json, +) => _NotificationPromptClickedEvent(); -Map _$$NotificationPromptClickedEventImplToJson( - _$NotificationPromptClickedEventImpl instance, +Map _$NotificationPromptClickedEventToJson( + _NotificationPromptClickedEvent instance, ) => {}; -_$NotificationPromptDeniedEventImpl -_$$NotificationPromptDeniedEventImplFromJson(Map json) => - _$NotificationPromptDeniedEventImpl(); +_NotificationPromptDeniedEvent _$NotificationPromptDeniedEventFromJson( + Map json, +) => _NotificationPromptDeniedEvent(); -Map _$$NotificationPromptDeniedEventImplToJson( - _$NotificationPromptDeniedEventImpl instance, +Map _$NotificationPromptDeniedEventToJson( + _NotificationPromptDeniedEvent instance, ) => {}; -_$NotificationPromptAcceptedEventImpl -_$$NotificationPromptAcceptedEventImplFromJson(Map json) => - _$NotificationPromptAcceptedEventImpl(); +_NotificationPromptAcceptedEvent _$NotificationPromptAcceptedEventFromJson( + Map json, +) => _NotificationPromptAcceptedEvent(); -Map _$$NotificationPromptAcceptedEventImplToJson( - _$NotificationPromptAcceptedEventImpl instance, +Map _$NotificationPromptAcceptedEventToJson( + _NotificationPromptAcceptedEvent instance, ) => {}; -_$NotificationsSettingToggledEventImpl -_$$NotificationsSettingToggledEventImplFromJson(Map json) => - _$NotificationsSettingToggledEventImpl(enabled: json['enabled'] as bool); +_NotificationsSettingToggledEvent _$NotificationsSettingToggledEventFromJson( + Map json, +) => _NotificationsSettingToggledEvent(enabled: json['enabled'] as bool); -Map _$$NotificationsSettingToggledEventImplToJson( - _$NotificationsSettingToggledEventImpl instance, +Map _$NotificationsSettingToggledEventToJson( + _NotificationsSettingToggledEvent instance, ) => {'enabled': instance.enabled}; diff --git a/bccm_core/lib/src/models/analytics/notifications.freezed.dart b/bccm_core/lib/src/models/analytics/notifications.freezed.dart index 4a62ab0..8d6e43b 100644 --- a/bccm_core/lib/src/models/analytics/notifications.freezed.dart +++ b/bccm_core/lib/src/models/analytics/notifications.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'notifications.dart'; @@ -9,671 +9,1024 @@ part of 'notifications.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -NotificationReceivedEvent _$NotificationReceivedEventFromJson( - Map json, -) { - return _NotificationReceivedEvent.fromJson(json); -} - /// @nodoc mixin _$NotificationReceivedEvent { - String? get notificationId => throw _privateConstructorUsedError; - String? get action => throw _privateConstructorUsedError; - String? get deeplink => throw _privateConstructorUsedError; + + String? get notificationId; String? get action; String? get deeplink; +/// Create a copy of NotificationReceivedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$NotificationReceivedEventCopyWith get copyWith => _$NotificationReceivedEventCopyWithImpl(this as NotificationReceivedEvent, _$identity); /// Serializes this NotificationReceivedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of NotificationReceivedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $NotificationReceivedEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as NotificationReceivedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationReceivedEvent&&(identical(other.notificationId, _this.notificationId) || other.notificationId == _this.notificationId)&&(identical(other.action, _this.action) || other.action == _this.action)&&(identical(other.deeplink, _this.deeplink) || other.deeplink == _this.deeplink)); } -/// @nodoc -abstract class $NotificationReceivedEventCopyWith<$Res> { - factory $NotificationReceivedEventCopyWith( - NotificationReceivedEvent value, - $Res Function(NotificationReceivedEvent) then, - ) = _$NotificationReceivedEventCopyWithImpl<$Res, NotificationReceivedEvent>; - @useResult - $Res call({String? notificationId, String? action, String? deeplink}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as NotificationReceivedEvent; + return Object.hash(runtimeType,_this.notificationId,_this.action,_this.deeplink); } -/// @nodoc -class _$NotificationReceivedEventCopyWithImpl< - $Res, - $Val extends NotificationReceivedEvent -> - implements $NotificationReceivedEventCopyWith<$Res> { - _$NotificationReceivedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of NotificationReceivedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? notificationId = freezed, - Object? action = freezed, - Object? deeplink = freezed, - }) { - return _then( - _value.copyWith( - notificationId: freezed == notificationId - ? _value.notificationId - : notificationId // ignore: cast_nullable_to_non_nullable - as String?, - action: freezed == action - ? _value.action - : action // ignore: cast_nullable_to_non_nullable - as String?, - deeplink: freezed == deeplink - ? _value.deeplink - : deeplink // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as NotificationReceivedEvent; + return 'NotificationReceivedEvent(notificationId: ${_this.notificationId}, action: ${_this.action}, deeplink: ${_this.deeplink})'; +} + + } /// @nodoc -abstract class _$$NotificationReceivedEventImplCopyWith<$Res> +abstract mixin class $NotificationReceivedEventCopyWith<$Res> { + factory $NotificationReceivedEventCopyWith(NotificationReceivedEvent value, $Res Function(NotificationReceivedEvent) _then) = _$NotificationReceivedEventCopyWithImpl; +@useResult +$Res call({ + String? notificationId, String? action, String? deeplink +}); + + + + +} +/// @nodoc +class _$NotificationReceivedEventCopyWithImpl<$Res> implements $NotificationReceivedEventCopyWith<$Res> { - factory _$$NotificationReceivedEventImplCopyWith( - _$NotificationReceivedEventImpl value, - $Res Function(_$NotificationReceivedEventImpl) then, - ) = __$$NotificationReceivedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? notificationId, String? action, String? deeplink}); + _$NotificationReceivedEventCopyWithImpl(this._self, this._then); + + final NotificationReceivedEvent _self; + final $Res Function(NotificationReceivedEvent) _then; + +/// Create a copy of NotificationReceivedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? notificationId = freezed,Object? action = freezed,Object? deeplink = freezed,}) { + return _then(NotificationReceivedEvent( +notificationId: freezed == notificationId ? _self.notificationId : notificationId // ignore: cast_nullable_to_non_nullable +as String?,action: freezed == action ? _self.action : action // ignore: cast_nullable_to_non_nullable +as String?,deeplink: freezed == deeplink ? _self.deeplink : deeplink // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [NotificationReceivedEvent]. +extension NotificationReceivedEventPatterns on NotificationReceivedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationReceivedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationReceivedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationReceivedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationReceivedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationReceivedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationReceivedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? notificationId, String? action, String? deeplink)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationReceivedEvent() when $default != null: +return $default(_that.notificationId,_that.action,_that.deeplink);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? notificationId, String? action, String? deeplink) $default,) {final _that = this; +switch (_that) { +case _NotificationReceivedEvent(): +return $default(_that.notificationId,_that.action,_that.deeplink);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? notificationId, String? action, String? deeplink)? $default,) {final _that = this; +switch (_that) { +case _NotificationReceivedEvent() when $default != null: +return $default(_that.notificationId,_that.action,_that.deeplink);case _: + return null; + +} } -/// @nodoc -class __$$NotificationReceivedEventImplCopyWithImpl<$Res> - extends - _$NotificationReceivedEventCopyWithImpl< - $Res, - _$NotificationReceivedEventImpl - > - implements _$$NotificationReceivedEventImplCopyWith<$Res> { - __$$NotificationReceivedEventImplCopyWithImpl( - _$NotificationReceivedEventImpl _value, - $Res Function(_$NotificationReceivedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationReceivedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? notificationId = freezed, - Object? action = freezed, - Object? deeplink = freezed, - }) { - return _then( - _$NotificationReceivedEventImpl( - notificationId: freezed == notificationId - ? _value.notificationId - : notificationId // ignore: cast_nullable_to_non_nullable - as String?, - action: freezed == action - ? _value.action - : action // ignore: cast_nullable_to_non_nullable - as String?, - deeplink: freezed == deeplink - ? _value.deeplink - : deeplink // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$NotificationReceivedEventImpl implements _NotificationReceivedEvent { - const _$NotificationReceivedEventImpl({ - this.notificationId, - this.action, - this.deeplink, - }); - - factory _$NotificationReceivedEventImpl.fromJson(Map json) => - _$$NotificationReceivedEventImplFromJson(json); - - @override - final String? notificationId; - @override - final String? action; - @override - final String? deeplink; - - @override - String toString() { + +class _NotificationReceivedEvent implements NotificationReceivedEvent { + const _NotificationReceivedEvent({this.notificationId, this.action, this.deeplink}); + factory _NotificationReceivedEvent.fromJson(Map json) => _$NotificationReceivedEventFromJson(json); + +@override final String? notificationId; +@override final String? action; +@override final String? deeplink; + +/// Create a copy of NotificationReceivedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$NotificationReceivedEventCopyWith<_NotificationReceivedEvent> get copyWith => __$NotificationReceivedEventCopyWithImpl<_NotificationReceivedEvent>(this, _$identity); + +@override +Map toJson() { + return _$NotificationReceivedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationReceivedEvent&&(identical(other.notificationId, notificationId) || other.notificationId == notificationId)&&(identical(other.action, action) || other.action == action)&&(identical(other.deeplink, deeplink) || other.deeplink == deeplink)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,notificationId,action,deeplink); +} + +@override +String toString() { return 'NotificationReceivedEvent(notificationId: $notificationId, action: $action, deeplink: $deeplink)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationReceivedEventImpl && - (identical(other.notificationId, notificationId) || - other.notificationId == notificationId) && - (identical(other.action, action) || other.action == action) && - (identical(other.deeplink, deeplink) || - other.deeplink == deeplink)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, notificationId, action, deeplink); - - /// Create a copy of NotificationReceivedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$NotificationReceivedEventImplCopyWith<_$NotificationReceivedEventImpl> - get copyWith => - __$$NotificationReceivedEventImplCopyWithImpl< - _$NotificationReceivedEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$NotificationReceivedEventImplToJson(this); - } -} - -abstract class _NotificationReceivedEvent implements NotificationReceivedEvent { - const factory _NotificationReceivedEvent({ - final String? notificationId, - final String? action, - final String? deeplink, - }) = _$NotificationReceivedEventImpl; - - factory _NotificationReceivedEvent.fromJson(Map json) = - _$NotificationReceivedEventImpl.fromJson; - - @override - String? get notificationId; - @override - String? get action; - @override - String? get deeplink; - - /// Create a copy of NotificationReceivedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$NotificationReceivedEventImplCopyWith<_$NotificationReceivedEventImpl> - get copyWith => throw _privateConstructorUsedError; -} - -NotificationOpenedEvent _$NotificationOpenedEventFromJson( - Map json, -) { - return _NotificationOpenedEvent.fromJson(json); } + +} + +/// @nodoc +abstract mixin class _$NotificationReceivedEventCopyWith<$Res> implements $NotificationReceivedEventCopyWith<$Res> { + factory _$NotificationReceivedEventCopyWith(_NotificationReceivedEvent value, $Res Function(_NotificationReceivedEvent) _then) = __$NotificationReceivedEventCopyWithImpl; +@override @useResult +$Res call({ + String? notificationId, String? action, String? deeplink +}); + + + + +} +/// @nodoc +class __$NotificationReceivedEventCopyWithImpl<$Res> + implements _$NotificationReceivedEventCopyWith<$Res> { + __$NotificationReceivedEventCopyWithImpl(this._self, this._then); + + final _NotificationReceivedEvent _self; + final $Res Function(_NotificationReceivedEvent) _then; + +/// Create a copy of NotificationReceivedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? notificationId = freezed,Object? action = freezed,Object? deeplink = freezed,}) { + return _then(_NotificationReceivedEvent( +notificationId: freezed == notificationId ? _self.notificationId : notificationId // ignore: cast_nullable_to_non_nullable +as String?,action: freezed == action ? _self.action : action // ignore: cast_nullable_to_non_nullable +as String?,deeplink: freezed == deeplink ? _self.deeplink : deeplink // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + + +} + + /// @nodoc mixin _$NotificationOpenedEvent { - String? get notificationId => throw _privateConstructorUsedError; + + String? get notificationId; +/// Create a copy of NotificationOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$NotificationOpenedEventCopyWith get copyWith => _$NotificationOpenedEventCopyWithImpl(this as NotificationOpenedEvent, _$identity); /// Serializes this NotificationOpenedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of NotificationOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $NotificationOpenedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as NotificationOpenedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationOpenedEvent&&(identical(other.notificationId, _this.notificationId) || other.notificationId == _this.notificationId)); } -/// @nodoc -abstract class $NotificationOpenedEventCopyWith<$Res> { - factory $NotificationOpenedEventCopyWith( - NotificationOpenedEvent value, - $Res Function(NotificationOpenedEvent) then, - ) = _$NotificationOpenedEventCopyWithImpl<$Res, NotificationOpenedEvent>; - @useResult - $Res call({String? notificationId}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as NotificationOpenedEvent; + return Object.hash(runtimeType,_this.notificationId); } -/// @nodoc -class _$NotificationOpenedEventCopyWithImpl< - $Res, - $Val extends NotificationOpenedEvent -> - implements $NotificationOpenedEventCopyWith<$Res> { - _$NotificationOpenedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of NotificationOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? notificationId = freezed}) { - return _then( - _value.copyWith( - notificationId: freezed == notificationId - ? _value.notificationId - : notificationId // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as NotificationOpenedEvent; + return 'NotificationOpenedEvent(notificationId: ${_this.notificationId})'; } + +} + +/// @nodoc +abstract mixin class $NotificationOpenedEventCopyWith<$Res> { + factory $NotificationOpenedEventCopyWith(NotificationOpenedEvent value, $Res Function(NotificationOpenedEvent) _then) = _$NotificationOpenedEventCopyWithImpl; +@useResult +$Res call({ + String? notificationId +}); + + + + +} /// @nodoc -abstract class _$$NotificationOpenedEventImplCopyWith<$Res> +class _$NotificationOpenedEventCopyWithImpl<$Res> implements $NotificationOpenedEventCopyWith<$Res> { - factory _$$NotificationOpenedEventImplCopyWith( - _$NotificationOpenedEventImpl value, - $Res Function(_$NotificationOpenedEventImpl) then, - ) = __$$NotificationOpenedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? notificationId}); + _$NotificationOpenedEventCopyWithImpl(this._self, this._then); + + final NotificationOpenedEvent _self; + final $Res Function(NotificationOpenedEvent) _then; + +/// Create a copy of NotificationOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? notificationId = freezed,}) { + return _then(NotificationOpenedEvent( +notificationId: freezed == notificationId ? _self.notificationId : notificationId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [NotificationOpenedEvent]. +extension NotificationOpenedEventPatterns on NotificationOpenedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationOpenedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationOpenedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationOpenedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationOpenedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationOpenedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationOpenedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? notificationId)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationOpenedEvent() when $default != null: +return $default(_that.notificationId);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? notificationId) $default,) {final _that = this; +switch (_that) { +case _NotificationOpenedEvent(): +return $default(_that.notificationId);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? notificationId)? $default,) {final _that = this; +switch (_that) { +case _NotificationOpenedEvent() when $default != null: +return $default(_that.notificationId);case _: + return null; + +} } -/// @nodoc -class __$$NotificationOpenedEventImplCopyWithImpl<$Res> - extends - _$NotificationOpenedEventCopyWithImpl< - $Res, - _$NotificationOpenedEventImpl - > - implements _$$NotificationOpenedEventImplCopyWith<$Res> { - __$$NotificationOpenedEventImplCopyWithImpl( - _$NotificationOpenedEventImpl _value, - $Res Function(_$NotificationOpenedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? notificationId = freezed}) { - return _then( - _$NotificationOpenedEventImpl( - notificationId: freezed == notificationId - ? _value.notificationId - : notificationId // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$NotificationOpenedEventImpl implements _NotificationOpenedEvent { - const _$NotificationOpenedEventImpl({this.notificationId}); - factory _$NotificationOpenedEventImpl.fromJson(Map json) => - _$$NotificationOpenedEventImplFromJson(json); +class _NotificationOpenedEvent implements NotificationOpenedEvent { + const _NotificationOpenedEvent({this.notificationId}); + factory _NotificationOpenedEvent.fromJson(Map json) => _$NotificationOpenedEventFromJson(json); - @override - final String? notificationId; +@override final String? notificationId; - @override - String toString() { - return 'NotificationOpenedEvent(notificationId: $notificationId)'; - } +/// Create a copy of NotificationOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$NotificationOpenedEventCopyWith<_NotificationOpenedEvent> get copyWith => __$NotificationOpenedEventCopyWithImpl<_NotificationOpenedEvent>(this, _$identity); + +@override +Map toJson() { + return _$NotificationOpenedEventToJson(this, ); +} - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationOpenedEventImpl && - (identical(other.notificationId, notificationId) || - other.notificationId == notificationId)); - } +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationOpenedEvent&&(identical(other.notificationId, notificationId) || other.notificationId == notificationId)); +} - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, notificationId); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,notificationId); +} + +@override +String toString() { + return 'NotificationOpenedEvent(notificationId: $notificationId)'; +} - /// Create a copy of NotificationOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$NotificationOpenedEventImplCopyWith<_$NotificationOpenedEventImpl> - get copyWith => - __$$NotificationOpenedEventImplCopyWithImpl< - _$NotificationOpenedEventImpl - >(this, _$identity); - @override - Map toJson() { - return _$$NotificationOpenedEventImplToJson(this); - } } -abstract class _NotificationOpenedEvent implements NotificationOpenedEvent { - const factory _NotificationOpenedEvent({final String? notificationId}) = - _$NotificationOpenedEventImpl; +/// @nodoc +abstract mixin class _$NotificationOpenedEventCopyWith<$Res> implements $NotificationOpenedEventCopyWith<$Res> { + factory _$NotificationOpenedEventCopyWith(_NotificationOpenedEvent value, $Res Function(_NotificationOpenedEvent) _then) = __$NotificationOpenedEventCopyWithImpl; +@override @useResult +$Res call({ + String? notificationId +}); + - factory _NotificationOpenedEvent.fromJson(Map json) = - _$NotificationOpenedEventImpl.fromJson; - @override - String? get notificationId; - /// Create a copy of NotificationOpenedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$NotificationOpenedEventImplCopyWith<_$NotificationOpenedEventImpl> - get copyWith => throw _privateConstructorUsedError; +} +/// @nodoc +class __$NotificationOpenedEventCopyWithImpl<$Res> + implements _$NotificationOpenedEventCopyWith<$Res> { + __$NotificationOpenedEventCopyWithImpl(this._self, this._then); + + final _NotificationOpenedEvent _self; + final $Res Function(_NotificationOpenedEvent) _then; + +/// Create a copy of NotificationOpenedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? notificationId = freezed,}) { + return _then(_NotificationOpenedEvent( +notificationId: freezed == notificationId ? _self.notificationId : notificationId // ignore: cast_nullable_to_non_nullable +as String?, + )); } -NotificationDeviceTokenUpdatedEvent -_$NotificationDeviceTokenUpdatedEventFromJson(Map json) { - return _NotificationDeviceTokenUpdatedEvent.fromJson(json); + } + /// @nodoc mixin _$NotificationDeviceTokenUpdatedEvent { + + + /// Serializes this NotificationDeviceTokenUpdatedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationDeviceTokenUpdatedEvent); } -/// @nodoc -abstract class $NotificationDeviceTokenUpdatedEventCopyWith<$Res> { - factory $NotificationDeviceTokenUpdatedEventCopyWith( - NotificationDeviceTokenUpdatedEvent value, - $Res Function(NotificationDeviceTokenUpdatedEvent) then, - ) = - _$NotificationDeviceTokenUpdatedEventCopyWithImpl< - $Res, - NotificationDeviceTokenUpdatedEvent - >; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'NotificationDeviceTokenUpdatedEvent()'; +} + + } /// @nodoc -class _$NotificationDeviceTokenUpdatedEventCopyWithImpl< - $Res, - $Val extends NotificationDeviceTokenUpdatedEvent -> - implements $NotificationDeviceTokenUpdatedEventCopyWith<$Res> { - _$NotificationDeviceTokenUpdatedEventCopyWithImpl(this._value, this._then); +class $NotificationDeviceTokenUpdatedEventCopyWith<$Res> { +$NotificationDeviceTokenUpdatedEventCopyWith(NotificationDeviceTokenUpdatedEvent _, $Res Function(NotificationDeviceTokenUpdatedEvent) __); +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of NotificationDeviceTokenUpdatedEvent - /// with the given fields replaced by the non-null parameter values. +/// Adds pattern-matching-related methods to [NotificationDeviceTokenUpdatedEvent]. +extension NotificationDeviceTokenUpdatedEventPatterns on NotificationDeviceTokenUpdatedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationDeviceTokenUpdatedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationDeviceTokenUpdatedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} } +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationDeviceTokenUpdatedEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationDeviceTokenUpdatedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); -/// @nodoc -abstract class _$$NotificationDeviceTokenUpdatedEventImplCopyWith<$Res> { - factory _$$NotificationDeviceTokenUpdatedEventImplCopyWith( - _$NotificationDeviceTokenUpdatedEventImpl value, - $Res Function(_$NotificationDeviceTokenUpdatedEventImpl) then, - ) = __$$NotificationDeviceTokenUpdatedEventImplCopyWithImpl<$Res>; +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationDeviceTokenUpdatedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationDeviceTokenUpdatedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function()? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationDeviceTokenUpdatedEvent() when $default != null: +return $default();case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function() $default,) {final _that = this; +switch (_that) { +case _NotificationDeviceTokenUpdatedEvent(): +return $default();case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function()? $default,) {final _that = this; +switch (_that) { +case _NotificationDeviceTokenUpdatedEvent() when $default != null: +return $default();case _: + return null; + +} } -/// @nodoc -class __$$NotificationDeviceTokenUpdatedEventImplCopyWithImpl<$Res> - extends - _$NotificationDeviceTokenUpdatedEventCopyWithImpl< - $Res, - _$NotificationDeviceTokenUpdatedEventImpl - > - implements _$$NotificationDeviceTokenUpdatedEventImplCopyWith<$Res> { - __$$NotificationDeviceTokenUpdatedEventImplCopyWithImpl( - _$NotificationDeviceTokenUpdatedEventImpl _value, - $Res Function(_$NotificationDeviceTokenUpdatedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationDeviceTokenUpdatedEvent - /// with the given fields replaced by the non-null parameter values. } /// @nodoc @JsonSerializable() -class _$NotificationDeviceTokenUpdatedEventImpl - implements _NotificationDeviceTokenUpdatedEvent { - const _$NotificationDeviceTokenUpdatedEventImpl(); - factory _$NotificationDeviceTokenUpdatedEventImpl.fromJson( - Map json, - ) => _$$NotificationDeviceTokenUpdatedEventImplFromJson(json); +class _NotificationDeviceTokenUpdatedEvent implements NotificationDeviceTokenUpdatedEvent { + const _NotificationDeviceTokenUpdatedEvent(); + factory _NotificationDeviceTokenUpdatedEvent.fromJson(Map json) => _$NotificationDeviceTokenUpdatedEventFromJson(json); - @override - String toString() { - return 'NotificationDeviceTokenUpdatedEvent()'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationDeviceTokenUpdatedEventImpl); - } - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => runtimeType.hashCode; - @override - Map toJson() { - return _$$NotificationDeviceTokenUpdatedEventImplToJson(this); - } +@override +Map toJson() { + return _$NotificationDeviceTokenUpdatedEventToJson(this, ); } -abstract class _NotificationDeviceTokenUpdatedEvent - implements NotificationDeviceTokenUpdatedEvent { - const factory _NotificationDeviceTokenUpdatedEvent() = - _$NotificationDeviceTokenUpdatedEventImpl; +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationDeviceTokenUpdatedEvent); +} - factory _NotificationDeviceTokenUpdatedEvent.fromJson( - Map json, - ) = _$NotificationDeviceTokenUpdatedEventImpl.fromJson; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'NotificationDeviceTokenUpdatedEvent()'; } -NotificationsStatusEvent _$NotificationsStatusEventFromJson( - Map json, -) { - return _NotificationsStatusEvent.fromJson(json); + } + + + + /// @nodoc mixin _$NotificationsStatusEvent { - String? get recipientId => throw _privateConstructorUsedError; - bool? get enabled => throw _privateConstructorUsedError; + + String? get recipientId; bool? get enabled; +/// Create a copy of NotificationsStatusEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$NotificationsStatusEventCopyWith get copyWith => _$NotificationsStatusEventCopyWithImpl(this as NotificationsStatusEvent, _$identity); /// Serializes this NotificationsStatusEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of NotificationsStatusEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $NotificationsStatusEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as NotificationsStatusEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is NotificationsStatusEvent&&(identical(other.recipientId, _this.recipientId) || other.recipientId == _this.recipientId)&&(identical(other.enabled, _this.enabled) || other.enabled == _this.enabled)); } -/// @nodoc -abstract class $NotificationsStatusEventCopyWith<$Res> { - factory $NotificationsStatusEventCopyWith( - NotificationsStatusEvent value, - $Res Function(NotificationsStatusEvent) then, - ) = _$NotificationsStatusEventCopyWithImpl<$Res, NotificationsStatusEvent>; - @useResult - $Res call({String? recipientId, bool? enabled}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as NotificationsStatusEvent; + return Object.hash(runtimeType,_this.recipientId,_this.enabled); } -/// @nodoc -class _$NotificationsStatusEventCopyWithImpl< - $Res, - $Val extends NotificationsStatusEvent -> - implements $NotificationsStatusEventCopyWith<$Res> { - _$NotificationsStatusEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of NotificationsStatusEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? recipientId = freezed, Object? enabled = freezed}) { - return _then( - _value.copyWith( - recipientId: freezed == recipientId - ? _value.recipientId - : recipientId // ignore: cast_nullable_to_non_nullable - as String?, - enabled: freezed == enabled - ? _value.enabled - : enabled // ignore: cast_nullable_to_non_nullable - as bool?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as NotificationsStatusEvent; + return 'NotificationsStatusEvent(recipientId: ${_this.recipientId}, enabled: ${_this.enabled})'; } + +} + +/// @nodoc +abstract mixin class $NotificationsStatusEventCopyWith<$Res> { + factory $NotificationsStatusEventCopyWith(NotificationsStatusEvent value, $Res Function(NotificationsStatusEvent) _then) = _$NotificationsStatusEventCopyWithImpl; +@useResult +$Res call({ + String? recipientId, bool? enabled +}); + + + + +} /// @nodoc -abstract class _$$NotificationsStatusEventImplCopyWith<$Res> +class _$NotificationsStatusEventCopyWithImpl<$Res> implements $NotificationsStatusEventCopyWith<$Res> { - factory _$$NotificationsStatusEventImplCopyWith( - _$NotificationsStatusEventImpl value, - $Res Function(_$NotificationsStatusEventImpl) then, - ) = __$$NotificationsStatusEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? recipientId, bool? enabled}); + _$NotificationsStatusEventCopyWithImpl(this._self, this._then); + + final NotificationsStatusEvent _self; + final $Res Function(NotificationsStatusEvent) _then; + +/// Create a copy of NotificationsStatusEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? recipientId = freezed,Object? enabled = freezed,}) { + return _then(NotificationsStatusEvent( +recipientId: freezed == recipientId ? _self.recipientId : recipientId // ignore: cast_nullable_to_non_nullable +as String?,enabled: freezed == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable +as bool?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [NotificationsStatusEvent]. +extension NotificationsStatusEventPatterns on NotificationsStatusEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _NotificationsStatusEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _NotificationsStatusEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _NotificationsStatusEvent value) $default,){ +final _that = this; +switch (_that) { +case _NotificationsStatusEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _NotificationsStatusEvent value)? $default,){ +final _that = this; +switch (_that) { +case _NotificationsStatusEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? recipientId, bool? enabled)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _NotificationsStatusEvent() when $default != null: +return $default(_that.recipientId,_that.enabled);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? recipientId, bool? enabled) $default,) {final _that = this; +switch (_that) { +case _NotificationsStatusEvent(): +return $default(_that.recipientId,_that.enabled);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? recipientId, bool? enabled)? $default,) {final _that = this; +switch (_that) { +case _NotificationsStatusEvent() when $default != null: +return $default(_that.recipientId,_that.enabled);case _: + return null; + +} } -/// @nodoc -class __$$NotificationsStatusEventImplCopyWithImpl<$Res> - extends - _$NotificationsStatusEventCopyWithImpl< - $Res, - _$NotificationsStatusEventImpl - > - implements _$$NotificationsStatusEventImplCopyWith<$Res> { - __$$NotificationsStatusEventImplCopyWithImpl( - _$NotificationsStatusEventImpl _value, - $Res Function(_$NotificationsStatusEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of NotificationsStatusEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? recipientId = freezed, Object? enabled = freezed}) { - return _then( - _$NotificationsStatusEventImpl( - recipientId: freezed == recipientId - ? _value.recipientId - : recipientId // ignore: cast_nullable_to_non_nullable - as String?, - enabled: freezed == enabled - ? _value.enabled - : enabled // ignore: cast_nullable_to_non_nullable - as bool?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$NotificationsStatusEventImpl implements _NotificationsStatusEvent { - const _$NotificationsStatusEventImpl({this.recipientId, this.enabled}); - factory _$NotificationsStatusEventImpl.fromJson(Map json) => - _$$NotificationsStatusEventImplFromJson(json); +class _NotificationsStatusEvent implements NotificationsStatusEvent { + const _NotificationsStatusEvent({this.recipientId, this.enabled}); + factory _NotificationsStatusEvent.fromJson(Map json) => _$NotificationsStatusEventFromJson(json); + +@override final String? recipientId; +@override final bool? enabled; + +/// Create a copy of NotificationsStatusEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$NotificationsStatusEventCopyWith<_NotificationsStatusEvent> get copyWith => __$NotificationsStatusEventCopyWithImpl<_NotificationsStatusEvent>(this, _$identity); + +@override +Map toJson() { + return _$NotificationsStatusEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _NotificationsStatusEvent&&(identical(other.recipientId, recipientId) || other.recipientId == recipientId)&&(identical(other.enabled, enabled) || other.enabled == enabled)); +} - @override - final String? recipientId; - @override - final bool? enabled; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,recipientId,enabled); +} - @override - String toString() { +@override +String toString() { return 'NotificationsStatusEvent(recipientId: $recipientId, enabled: $enabled)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$NotificationsStatusEventImpl && - (identical(other.recipientId, recipientId) || - other.recipientId == recipientId) && - (identical(other.enabled, enabled) || other.enabled == enabled)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, recipientId, enabled); - - /// Create a copy of NotificationsStatusEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$NotificationsStatusEventImplCopyWith<_$NotificationsStatusEventImpl> - get copyWith => - __$$NotificationsStatusEventImplCopyWithImpl< - _$NotificationsStatusEventImpl - >(this, _$identity); - - @override - Map toJson() { - return _$$NotificationsStatusEventImplToJson(this); - } -} - -abstract class _NotificationsStatusEvent implements NotificationsStatusEvent { - const factory _NotificationsStatusEvent({ - final String? recipientId, - final bool? enabled, - }) = _$NotificationsStatusEventImpl; - - factory _NotificationsStatusEvent.fromJson(Map json) = - _$NotificationsStatusEventImpl.fromJson; - - @override - String? get recipientId; - @override - bool? get enabled; - - /// Create a copy of NotificationsStatusEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$NotificationsStatusEventImplCopyWith<_$NotificationsStatusEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$NotificationsStatusEventCopyWith<$Res> implements $NotificationsStatusEventCopyWith<$Res> { + factory _$NotificationsStatusEventCopyWith(_NotificationsStatusEvent value, $Res Function(_NotificationsStatusEvent) _then) = __$NotificationsStatusEventCopyWithImpl; +@override @useResult +$Res call({ + String? recipientId, bool? enabled +}); + + + + +} +/// @nodoc +class __$NotificationsStatusEventCopyWithImpl<$Res> + implements _$NotificationsStatusEventCopyWith<$Res> { + __$NotificationsStatusEventCopyWithImpl(this._self, this._then); + + final _NotificationsStatusEvent _self; + final $Res Function(_NotificationsStatusEvent) _then; + +/// Create a copy of NotificationsStatusEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? recipientId = freezed,Object? enabled = freezed,}) { + return _then(_NotificationsStatusEvent( +recipientId: freezed == recipientId ? _self.recipientId : recipientId // ignore: cast_nullable_to_non_nullable +as String?,enabled: freezed == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable +as bool?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/notifications.g.dart b/bccm_core/lib/src/models/analytics/notifications.g.dart index f1206a4..d11b3fd 100644 --- a/bccm_core/lib/src/models/analytics/notifications.g.dart +++ b/bccm_core/lib/src/models/analytics/notifications.g.dart @@ -6,49 +6,48 @@ part of 'notifications.dart'; // JsonSerializableGenerator // ************************************************************************** -_$NotificationReceivedEventImpl _$$NotificationReceivedEventImplFromJson( +_NotificationReceivedEvent _$NotificationReceivedEventFromJson( Map json, -) => _$NotificationReceivedEventImpl( +) => _NotificationReceivedEvent( notificationId: json['notificationId'] as String?, action: json['action'] as String?, deeplink: json['deeplink'] as String?, ); -Map _$$NotificationReceivedEventImplToJson( - _$NotificationReceivedEventImpl instance, +Map _$NotificationReceivedEventToJson( + _NotificationReceivedEvent instance, ) => { 'notificationId': instance.notificationId, 'action': instance.action, 'deeplink': instance.deeplink, }; -_$NotificationOpenedEventImpl _$$NotificationOpenedEventImplFromJson( +_NotificationOpenedEvent _$NotificationOpenedEventFromJson( Map json, -) => _$NotificationOpenedEventImpl( - notificationId: json['notificationId'] as String?, -); +) => + _NotificationOpenedEvent(notificationId: json['notificationId'] as String?); -Map _$$NotificationOpenedEventImplToJson( - _$NotificationOpenedEventImpl instance, +Map _$NotificationOpenedEventToJson( + _NotificationOpenedEvent instance, ) => {'notificationId': instance.notificationId}; -_$NotificationDeviceTokenUpdatedEventImpl -_$$NotificationDeviceTokenUpdatedEventImplFromJson(Map json) => - _$NotificationDeviceTokenUpdatedEventImpl(); +_NotificationDeviceTokenUpdatedEvent +_$NotificationDeviceTokenUpdatedEventFromJson(Map json) => + _NotificationDeviceTokenUpdatedEvent(); -Map _$$NotificationDeviceTokenUpdatedEventImplToJson( - _$NotificationDeviceTokenUpdatedEventImpl instance, +Map _$NotificationDeviceTokenUpdatedEventToJson( + _NotificationDeviceTokenUpdatedEvent instance, ) => {}; -_$NotificationsStatusEventImpl _$$NotificationsStatusEventImplFromJson( +_NotificationsStatusEvent _$NotificationsStatusEventFromJson( Map json, -) => _$NotificationsStatusEventImpl( +) => _NotificationsStatusEvent( recipientId: json['recipientId'] as String?, enabled: json['enabled'] as bool?, ); -Map _$$NotificationsStatusEventImplToJson( - _$NotificationsStatusEventImpl instance, +Map _$NotificationsStatusEventToJson( + _NotificationsStatusEvent instance, ) => { 'recipientId': instance.recipientId, 'enabled': instance.enabled, diff --git a/bccm_core/lib/src/models/analytics/search_performed.freezed.dart b/bccm_core/lib/src/models/analytics/search_performed.freezed.dart index d46f1e5..f108668 100644 --- a/bccm_core/lib/src/models/analytics/search_performed.freezed.dart +++ b/bccm_core/lib/src/models/analytics/search_performed.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'search_performed.dart'; @@ -9,214 +9,283 @@ part of 'search_performed.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -SearchPerformedEvent _$SearchPerformedEventFromJson(Map json) { - return _SearchPerformedEvent.fromJson(json); -} - /// @nodoc mixin _$SearchPerformedEvent { - String get searchText => throw _privateConstructorUsedError; - int get searchLatency => throw _privateConstructorUsedError; - int get searchResultCount => throw _privateConstructorUsedError; + + String get searchText; int get searchLatency; int get searchResultCount; +/// Create a copy of SearchPerformedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SearchPerformedEventCopyWith get copyWith => _$SearchPerformedEventCopyWithImpl(this as SearchPerformedEvent, _$identity); /// Serializes this SearchPerformedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of SearchPerformedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SearchPerformedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as SearchPerformedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SearchPerformedEvent&&(identical(other.searchText, _this.searchText) || other.searchText == _this.searchText)&&(identical(other.searchLatency, _this.searchLatency) || other.searchLatency == _this.searchLatency)&&(identical(other.searchResultCount, _this.searchResultCount) || other.searchResultCount == _this.searchResultCount)); } -/// @nodoc -abstract class $SearchPerformedEventCopyWith<$Res> { - factory $SearchPerformedEventCopyWith( - SearchPerformedEvent value, - $Res Function(SearchPerformedEvent) then, - ) = _$SearchPerformedEventCopyWithImpl<$Res, SearchPerformedEvent>; - @useResult - $Res call({String searchText, int searchLatency, int searchResultCount}); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as SearchPerformedEvent; + return Object.hash(runtimeType,_this.searchText,_this.searchLatency,_this.searchResultCount); } -/// @nodoc -class _$SearchPerformedEventCopyWithImpl< - $Res, - $Val extends SearchPerformedEvent -> - implements $SearchPerformedEventCopyWith<$Res> { - _$SearchPerformedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SearchPerformedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? searchText = null, - Object? searchLatency = null, - Object? searchResultCount = null, - }) { - return _then( - _value.copyWith( - searchText: null == searchText - ? _value.searchText - : searchText // ignore: cast_nullable_to_non_nullable - as String, - searchLatency: null == searchLatency - ? _value.searchLatency - : searchLatency // ignore: cast_nullable_to_non_nullable - as int, - searchResultCount: null == searchResultCount - ? _value.searchResultCount - : searchResultCount // ignore: cast_nullable_to_non_nullable - as int, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as SearchPerformedEvent; + return 'SearchPerformedEvent(searchText: ${_this.searchText}, searchLatency: ${_this.searchLatency}, searchResultCount: ${_this.searchResultCount})'; } + +} + +/// @nodoc +abstract mixin class $SearchPerformedEventCopyWith<$Res> { + factory $SearchPerformedEventCopyWith(SearchPerformedEvent value, $Res Function(SearchPerformedEvent) _then) = _$SearchPerformedEventCopyWithImpl; +@useResult +$Res call({ + String searchText, int searchLatency, int searchResultCount +}); + + + + +} /// @nodoc -abstract class _$$SearchPerformedEventImplCopyWith<$Res> +class _$SearchPerformedEventCopyWithImpl<$Res> implements $SearchPerformedEventCopyWith<$Res> { - factory _$$SearchPerformedEventImplCopyWith( - _$SearchPerformedEventImpl value, - $Res Function(_$SearchPerformedEventImpl) then, - ) = __$$SearchPerformedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String searchText, int searchLatency, int searchResultCount}); + _$SearchPerformedEventCopyWithImpl(this._self, this._then); + + final SearchPerformedEvent _self; + final $Res Function(SearchPerformedEvent) _then; + +/// Create a copy of SearchPerformedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? searchText = null,Object? searchLatency = null,Object? searchResultCount = null,}) { + return _then(SearchPerformedEvent( +searchText: null == searchText ? _self.searchText : searchText // ignore: cast_nullable_to_non_nullable +as String,searchLatency: null == searchLatency ? _self.searchLatency : searchLatency // ignore: cast_nullable_to_non_nullable +as int,searchResultCount: null == searchResultCount ? _self.searchResultCount : searchResultCount // ignore: cast_nullable_to_non_nullable +as int, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SearchPerformedEvent]. +extension SearchPerformedEventPatterns on SearchPerformedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SearchPerformedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SearchPerformedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SearchPerformedEvent value) $default,){ +final _that = this; +switch (_that) { +case _SearchPerformedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SearchPerformedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _SearchPerformedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String searchText, int searchLatency, int searchResultCount)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SearchPerformedEvent() when $default != null: +return $default(_that.searchText,_that.searchLatency,_that.searchResultCount);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String searchText, int searchLatency, int searchResultCount) $default,) {final _that = this; +switch (_that) { +case _SearchPerformedEvent(): +return $default(_that.searchText,_that.searchLatency,_that.searchResultCount);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String searchText, int searchLatency, int searchResultCount)? $default,) {final _that = this; +switch (_that) { +case _SearchPerformedEvent() when $default != null: +return $default(_that.searchText,_that.searchLatency,_that.searchResultCount);case _: + return null; + +} } -/// @nodoc -class __$$SearchPerformedEventImplCopyWithImpl<$Res> - extends _$SearchPerformedEventCopyWithImpl<$Res, _$SearchPerformedEventImpl> - implements _$$SearchPerformedEventImplCopyWith<$Res> { - __$$SearchPerformedEventImplCopyWithImpl( - _$SearchPerformedEventImpl _value, - $Res Function(_$SearchPerformedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SearchPerformedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? searchText = null, - Object? searchLatency = null, - Object? searchResultCount = null, - }) { - return _then( - _$SearchPerformedEventImpl( - searchText: null == searchText - ? _value.searchText - : searchText // ignore: cast_nullable_to_non_nullable - as String, - searchLatency: null == searchLatency - ? _value.searchLatency - : searchLatency // ignore: cast_nullable_to_non_nullable - as int, - searchResultCount: null == searchResultCount - ? _value.searchResultCount - : searchResultCount // ignore: cast_nullable_to_non_nullable - as int, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$SearchPerformedEventImpl implements _SearchPerformedEvent { - const _$SearchPerformedEventImpl({ - required this.searchText, - required this.searchLatency, - required this.searchResultCount, - }); - - factory _$SearchPerformedEventImpl.fromJson(Map json) => - _$$SearchPerformedEventImplFromJson(json); - - @override - final String searchText; - @override - final int searchLatency; - @override - final int searchResultCount; - - @override - String toString() { + +class _SearchPerformedEvent implements SearchPerformedEvent { + const _SearchPerformedEvent({required this.searchText, required this.searchLatency, required this.searchResultCount}); + factory _SearchPerformedEvent.fromJson(Map json) => _$SearchPerformedEventFromJson(json); + +@override final String searchText; +@override final int searchLatency; +@override final int searchResultCount; + +/// Create a copy of SearchPerformedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SearchPerformedEventCopyWith<_SearchPerformedEvent> get copyWith => __$SearchPerformedEventCopyWithImpl<_SearchPerformedEvent>(this, _$identity); + +@override +Map toJson() { + return _$SearchPerformedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SearchPerformedEvent&&(identical(other.searchText, searchText) || other.searchText == searchText)&&(identical(other.searchLatency, searchLatency) || other.searchLatency == searchLatency)&&(identical(other.searchResultCount, searchResultCount) || other.searchResultCount == searchResultCount)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,searchText,searchLatency,searchResultCount); +} + +@override +String toString() { return 'SearchPerformedEvent(searchText: $searchText, searchLatency: $searchLatency, searchResultCount: $searchResultCount)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SearchPerformedEventImpl && - (identical(other.searchText, searchText) || - other.searchText == searchText) && - (identical(other.searchLatency, searchLatency) || - other.searchLatency == searchLatency) && - (identical(other.searchResultCount, searchResultCount) || - other.searchResultCount == searchResultCount)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, searchText, searchLatency, searchResultCount); - - /// Create a copy of SearchPerformedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SearchPerformedEventImplCopyWith<_$SearchPerformedEventImpl> - get copyWith => - __$$SearchPerformedEventImplCopyWithImpl<_$SearchPerformedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$SearchPerformedEventImplToJson(this); - } -} - -abstract class _SearchPerformedEvent implements SearchPerformedEvent { - const factory _SearchPerformedEvent({ - required final String searchText, - required final int searchLatency, - required final int searchResultCount, - }) = _$SearchPerformedEventImpl; - - factory _SearchPerformedEvent.fromJson(Map json) = - _$SearchPerformedEventImpl.fromJson; - - @override - String get searchText; - @override - int get searchLatency; - @override - int get searchResultCount; - - /// Create a copy of SearchPerformedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SearchPerformedEventImplCopyWith<_$SearchPerformedEventImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$SearchPerformedEventCopyWith<$Res> implements $SearchPerformedEventCopyWith<$Res> { + factory _$SearchPerformedEventCopyWith(_SearchPerformedEvent value, $Res Function(_SearchPerformedEvent) _then) = __$SearchPerformedEventCopyWithImpl; +@override @useResult +$Res call({ + String searchText, int searchLatency, int searchResultCount +}); + + + + +} +/// @nodoc +class __$SearchPerformedEventCopyWithImpl<$Res> + implements _$SearchPerformedEventCopyWith<$Res> { + __$SearchPerformedEventCopyWithImpl(this._self, this._then); + + final _SearchPerformedEvent _self; + final $Res Function(_SearchPerformedEvent) _then; + +/// Create a copy of SearchPerformedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? searchText = null,Object? searchLatency = null,Object? searchResultCount = null,}) { + return _then(_SearchPerformedEvent( +searchText: null == searchText ? _self.searchText : searchText // ignore: cast_nullable_to_non_nullable +as String,searchLatency: null == searchLatency ? _self.searchLatency : searchLatency // ignore: cast_nullable_to_non_nullable +as int,searchResultCount: null == searchResultCount ? _self.searchResultCount : searchResultCount // ignore: cast_nullable_to_non_nullable +as int, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/search_performed.g.dart b/bccm_core/lib/src/models/analytics/search_performed.g.dart index bbb0195..0519643 100644 --- a/bccm_core/lib/src/models/analytics/search_performed.g.dart +++ b/bccm_core/lib/src/models/analytics/search_performed.g.dart @@ -6,16 +6,16 @@ part of 'search_performed.dart'; // JsonSerializableGenerator // ************************************************************************** -_$SearchPerformedEventImpl _$$SearchPerformedEventImplFromJson( +_SearchPerformedEvent _$SearchPerformedEventFromJson( Map json, -) => _$SearchPerformedEventImpl( +) => _SearchPerformedEvent( searchText: json['searchText'] as String, searchLatency: (json['searchLatency'] as num).toInt(), searchResultCount: (json['searchResultCount'] as num).toInt(), ); -Map _$$SearchPerformedEventImplToJson( - _$SearchPerformedEventImpl instance, +Map _$SearchPerformedEventToJson( + _SearchPerformedEvent instance, ) => { 'searchText': instance.searchText, 'searchLatency': instance.searchLatency, diff --git a/bccm_core/lib/src/models/analytics/search_result_clicked.freezed.dart b/bccm_core/lib/src/models/analytics/search_result_clicked.freezed.dart index 6e806f0..118effd 100644 --- a/bccm_core/lib/src/models/analytics/search_result_clicked.freezed.dart +++ b/bccm_core/lib/src/models/analytics/search_result_clicked.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'search_result_clicked.dart'; @@ -9,606 +9,833 @@ part of 'search_result_clicked.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; - -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - SearchResultClickedEvent _$SearchResultClickedEventFromJson( - Map json, + Map json ) { - return _SectionClickedEvent.fromJson(json); + return _SectionClickedEvent.fromJson( + json + ); } /// @nodoc mixin _$SearchResultClickedEvent { - String get searchText => throw _privateConstructorUsedError; - int get elementPosition => throw _privateConstructorUsedError; - String get elementType => throw _privateConstructorUsedError; - String get elementId => throw _privateConstructorUsedError; - String get group => throw _privateConstructorUsedError; + + String get searchText; int get elementPosition; String get elementType; String get elementId; String get group; +/// Create a copy of SearchResultClickedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SearchResultClickedEventCopyWith get copyWith => _$SearchResultClickedEventCopyWithImpl(this as SearchResultClickedEvent, _$identity); /// Serializes this SearchResultClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of SearchResultClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SearchResultClickedEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as SearchResultClickedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SearchResultClickedEvent&&(identical(other.searchText, _this.searchText) || other.searchText == _this.searchText)&&(identical(other.elementPosition, _this.elementPosition) || other.elementPosition == _this.elementPosition)&&(identical(other.elementType, _this.elementType) || other.elementType == _this.elementType)&&(identical(other.elementId, _this.elementId) || other.elementId == _this.elementId)&&(identical(other.group, _this.group) || other.group == _this.group)); } -/// @nodoc -abstract class $SearchResultClickedEventCopyWith<$Res> { - factory $SearchResultClickedEventCopyWith( - SearchResultClickedEvent value, - $Res Function(SearchResultClickedEvent) then, - ) = _$SearchResultClickedEventCopyWithImpl<$Res, SearchResultClickedEvent>; - @useResult - $Res call({ - String searchText, - int elementPosition, - String elementType, - String elementId, - String group, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as SearchResultClickedEvent; + return Object.hash(runtimeType,_this.searchText,_this.elementPosition,_this.elementType,_this.elementId,_this.group); } -/// @nodoc -class _$SearchResultClickedEventCopyWithImpl< - $Res, - $Val extends SearchResultClickedEvent -> - implements $SearchResultClickedEventCopyWith<$Res> { - _$SearchResultClickedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SearchResultClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? searchText = null, - Object? elementPosition = null, - Object? elementType = null, - Object? elementId = null, - Object? group = null, - }) { - return _then( - _value.copyWith( - searchText: null == searchText - ? _value.searchText - : searchText // ignore: cast_nullable_to_non_nullable - as String, - elementPosition: null == elementPosition - ? _value.elementPosition - : elementPosition // ignore: cast_nullable_to_non_nullable - as int, - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - group: null == group - ? _value.group - : group // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as SearchResultClickedEvent; + return 'SearchResultClickedEvent(searchText: ${_this.searchText}, elementPosition: ${_this.elementPosition}, elementType: ${_this.elementType}, elementId: ${_this.elementId}, group: ${_this.group})'; } + +} + +/// @nodoc +abstract mixin class $SearchResultClickedEventCopyWith<$Res> { + factory $SearchResultClickedEventCopyWith(SearchResultClickedEvent value, $Res Function(SearchResultClickedEvent) _then) = _$SearchResultClickedEventCopyWithImpl; +@useResult +$Res call({ + String searchText, int elementPosition, String elementType, String elementId, String group +}); + + + + +} /// @nodoc -abstract class _$$SectionClickedEventImplCopyWith<$Res> +class _$SearchResultClickedEventCopyWithImpl<$Res> implements $SearchResultClickedEventCopyWith<$Res> { - factory _$$SectionClickedEventImplCopyWith( - _$SectionClickedEventImpl value, - $Res Function(_$SectionClickedEventImpl) then, - ) = __$$SectionClickedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String searchText, - int elementPosition, - String elementType, - String elementId, - String group, - }); + _$SearchResultClickedEventCopyWithImpl(this._self, this._then); + + final SearchResultClickedEvent _self; + final $Res Function(SearchResultClickedEvent) _then; + +/// Create a copy of SearchResultClickedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? searchText = null,Object? elementPosition = null,Object? elementType = null,Object? elementId = null,Object? group = null,}) { + return _then(SearchResultClickedEvent( +searchText: null == searchText ? _self.searchText : searchText // ignore: cast_nullable_to_non_nullable +as String,elementPosition: null == elementPosition ? _self.elementPosition : elementPosition // ignore: cast_nullable_to_non_nullable +as int,elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,group: null == group ? _self.group : group // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SearchResultClickedEvent]. +extension SearchResultClickedEventPatterns on SearchResultClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SectionClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SectionClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _SectionClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SectionClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String searchText, int elementPosition, String elementType, String elementId, String group)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that.searchText,_that.elementPosition,_that.elementType,_that.elementId,_that.group);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String searchText, int elementPosition, String elementType, String elementId, String group) $default,) {final _that = this; +switch (_that) { +case _SectionClickedEvent(): +return $default(_that.searchText,_that.elementPosition,_that.elementType,_that.elementId,_that.group);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String searchText, int elementPosition, String elementType, String elementId, String group)? $default,) {final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that.searchText,_that.elementPosition,_that.elementType,_that.elementId,_that.group);case _: + return null; + +} } -/// @nodoc -class __$$SectionClickedEventImplCopyWithImpl<$Res> - extends - _$SearchResultClickedEventCopyWithImpl<$Res, _$SectionClickedEventImpl> - implements _$$SectionClickedEventImplCopyWith<$Res> { - __$$SectionClickedEventImplCopyWithImpl( - _$SectionClickedEventImpl _value, - $Res Function(_$SectionClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SearchResultClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? searchText = null, - Object? elementPosition = null, - Object? elementType = null, - Object? elementId = null, - Object? group = null, - }) { - return _then( - _$SectionClickedEventImpl( - searchText: null == searchText - ? _value.searchText - : searchText // ignore: cast_nullable_to_non_nullable - as String, - elementPosition: null == elementPosition - ? _value.elementPosition - : elementPosition // ignore: cast_nullable_to_non_nullable - as int, - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - group: null == group - ? _value.group - : group // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$SectionClickedEventImpl implements _SectionClickedEvent { - const _$SectionClickedEventImpl({ - required this.searchText, - required this.elementPosition, - required this.elementType, - required this.elementId, - required this.group, - }); - - factory _$SectionClickedEventImpl.fromJson(Map json) => - _$$SectionClickedEventImplFromJson(json); - - @override - final String searchText; - @override - final int elementPosition; - @override - final String elementType; - @override - final String elementId; - @override - final String group; - - @override - String toString() { + +class _SectionClickedEvent implements SearchResultClickedEvent { + const _SectionClickedEvent({required this.searchText, required this.elementPosition, required this.elementType, required this.elementId, required this.group}); + factory _SectionClickedEvent.fromJson(Map json) => _$SectionClickedEventFromJson(json); + +@override final String searchText; +@override final int elementPosition; +@override final String elementType; +@override final String elementId; +@override final String group; + +/// Create a copy of SearchResultClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SectionClickedEventCopyWith<_SectionClickedEvent> get copyWith => __$SectionClickedEventCopyWithImpl<_SectionClickedEvent>(this, _$identity); + +@override +Map toJson() { + return _$SectionClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SectionClickedEvent&&(identical(other.searchText, searchText) || other.searchText == searchText)&&(identical(other.elementPosition, elementPosition) || other.elementPosition == elementPosition)&&(identical(other.elementType, elementType) || other.elementType == elementType)&&(identical(other.elementId, elementId) || other.elementId == elementId)&&(identical(other.group, group) || other.group == group)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,searchText,elementPosition,elementType,elementId,group); +} + +@override +String toString() { return 'SearchResultClickedEvent(searchText: $searchText, elementPosition: $elementPosition, elementType: $elementType, elementId: $elementId, group: $group)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SectionClickedEventImpl && - (identical(other.searchText, searchText) || - other.searchText == searchText) && - (identical(other.elementPosition, elementPosition) || - other.elementPosition == elementPosition) && - (identical(other.elementType, elementType) || - other.elementType == elementType) && - (identical(other.elementId, elementId) || - other.elementId == elementId) && - (identical(other.group, group) || other.group == group)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - searchText, - elementPosition, - elementType, - elementId, - group, - ); - - /// Create a copy of SearchResultClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SectionClickedEventImplCopyWith<_$SectionClickedEventImpl> get copyWith => - __$$SectionClickedEventImplCopyWithImpl<_$SectionClickedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$SectionClickedEventImplToJson(this); - } -} - -abstract class _SectionClickedEvent implements SearchResultClickedEvent { - const factory _SectionClickedEvent({ - required final String searchText, - required final int elementPosition, - required final String elementType, - required final String elementId, - required final String group, - }) = _$SectionClickedEventImpl; - - factory _SectionClickedEvent.fromJson(Map json) = - _$SectionClickedEventImpl.fromJson; - - @override - String get searchText; - @override - int get elementPosition; - @override - String get elementType; - @override - String get elementId; - @override - String get group; - - /// Create a copy of SearchResultClickedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SectionClickedEventImplCopyWith<_$SectionClickedEventImpl> get copyWith => - throw _privateConstructorUsedError; } -/// @nodoc -mixin _$SearchAnalytics { - String get searchText => throw _privateConstructorUsedError; - /// Create a copy of SearchAnalytics - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SearchAnalyticsCopyWith get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class $SearchAnalyticsCopyWith<$Res> { - factory $SearchAnalyticsCopyWith( - SearchAnalytics value, - $Res Function(SearchAnalytics) then, - ) = _$SearchAnalyticsCopyWithImpl<$Res, SearchAnalytics>; - @useResult - $Res call({String searchText}); +abstract mixin class _$SectionClickedEventCopyWith<$Res> implements $SearchResultClickedEventCopyWith<$Res> { + factory _$SectionClickedEventCopyWith(_SectionClickedEvent value, $Res Function(_SectionClickedEvent) _then) = __$SectionClickedEventCopyWithImpl; +@override @useResult +$Res call({ + String searchText, int elementPosition, String elementType, String elementId, String group +}); + + + + +} +/// @nodoc +class __$SectionClickedEventCopyWithImpl<$Res> + implements _$SectionClickedEventCopyWith<$Res> { + __$SectionClickedEventCopyWithImpl(this._self, this._then); + + final _SectionClickedEvent _self; + final $Res Function(_SectionClickedEvent) _then; + +/// Create a copy of SearchResultClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? searchText = null,Object? elementPosition = null,Object? elementType = null,Object? elementId = null,Object? group = null,}) { + return _then(_SectionClickedEvent( +searchText: null == searchText ? _self.searchText : searchText // ignore: cast_nullable_to_non_nullable +as String,elementPosition: null == elementPosition ? _self.elementPosition : elementPosition // ignore: cast_nullable_to_non_nullable +as int,elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,group: null == group ? _self.group : group // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$SearchAnalyticsCopyWithImpl<$Res, $Val extends SearchAnalytics> - implements $SearchAnalyticsCopyWith<$Res> { - _$SearchAnalyticsCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SearchAnalytics - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? searchText = null}) { - return _then( - _value.copyWith( - searchText: null == searchText - ? _value.searchText - : searchText // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +mixin _$SearchAnalytics { + + String get searchText; +/// Create a copy of SearchAnalytics +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SearchAnalyticsCopyWith get copyWith => _$SearchAnalyticsCopyWithImpl(this as SearchAnalytics, _$identity); + + + +@override +bool operator ==(Object other) { + final _this = this as SearchAnalytics; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SearchAnalytics&&(identical(other.searchText, _this.searchText) || other.searchText == _this.searchText)); +} + + +@override +int get hashCode { + final _this = this as SearchAnalytics; + return Object.hash(runtimeType,_this.searchText); +} + +@override +String toString() { + final _this = this as SearchAnalytics; + return 'SearchAnalytics(searchText: ${_this.searchText})'; +} + + } /// @nodoc -abstract class _$$SearchAnalyticsImplCopyWith<$Res> +abstract mixin class $SearchAnalyticsCopyWith<$Res> { + factory $SearchAnalyticsCopyWith(SearchAnalytics value, $Res Function(SearchAnalytics) _then) = _$SearchAnalyticsCopyWithImpl; +@useResult +$Res call({ + String searchText +}); + + + + +} +/// @nodoc +class _$SearchAnalyticsCopyWithImpl<$Res> implements $SearchAnalyticsCopyWith<$Res> { - factory _$$SearchAnalyticsImplCopyWith( - _$SearchAnalyticsImpl value, - $Res Function(_$SearchAnalyticsImpl) then, - ) = __$$SearchAnalyticsImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String searchText}); + _$SearchAnalyticsCopyWithImpl(this._self, this._then); + + final SearchAnalytics _self; + final $Res Function(SearchAnalytics) _then; + +/// Create a copy of SearchAnalytics +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? searchText = null,}) { + return _then(SearchAnalytics( +searchText: null == searchText ? _self.searchText : searchText // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SearchAnalytics]. +extension SearchAnalyticsPatterns on SearchAnalytics { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SearchAnalytics value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SearchAnalytics() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SearchAnalytics value) $default,){ +final _that = this; +switch (_that) { +case _SearchAnalytics(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SearchAnalytics value)? $default,){ +final _that = this; +switch (_that) { +case _SearchAnalytics() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String searchText)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SearchAnalytics() when $default != null: +return $default(_that.searchText);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String searchText) $default,) {final _that = this; +switch (_that) { +case _SearchAnalytics(): +return $default(_that.searchText);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String searchText)? $default,) {final _that = this; +switch (_that) { +case _SearchAnalytics() when $default != null: +return $default(_that.searchText);case _: + return null; + +} } -/// @nodoc -class __$$SearchAnalyticsImplCopyWithImpl<$Res> - extends _$SearchAnalyticsCopyWithImpl<$Res, _$SearchAnalyticsImpl> - implements _$$SearchAnalyticsImplCopyWith<$Res> { - __$$SearchAnalyticsImplCopyWithImpl( - _$SearchAnalyticsImpl _value, - $Res Function(_$SearchAnalyticsImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SearchAnalytics - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? searchText = null}) { - return _then( - _$SearchAnalyticsImpl( - searchText: null == searchText - ? _value.searchText - : searchText // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$SearchAnalyticsImpl implements _SearchAnalytics { - const _$SearchAnalyticsImpl({required this.searchText}); - @override - final String searchText; +class _SearchAnalytics implements SearchAnalytics { + const _SearchAnalytics({required this.searchText}); + + +@override final String searchText; + +/// Create a copy of SearchAnalytics +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SearchAnalyticsCopyWith<_SearchAnalytics> get copyWith => __$SearchAnalyticsCopyWithImpl<_SearchAnalytics>(this, _$identity); - @override - String toString() { + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SearchAnalytics&&(identical(other.searchText, searchText) || other.searchText == searchText)); +} + + +@override +int get hashCode { + return Object.hash(runtimeType,searchText); +} + +@override +String toString() { return 'SearchAnalytics(searchText: $searchText)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SearchAnalyticsImpl && - (identical(other.searchText, searchText) || - other.searchText == searchText)); - } - - @override - int get hashCode => Object.hash(runtimeType, searchText); - - /// Create a copy of SearchAnalytics - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SearchAnalyticsImplCopyWith<_$SearchAnalyticsImpl> get copyWith => - __$$SearchAnalyticsImplCopyWithImpl<_$SearchAnalyticsImpl>( - this, - _$identity, - ); -} - -abstract class _SearchAnalytics implements SearchAnalytics { - const factory _SearchAnalytics({required final String searchText}) = - _$SearchAnalyticsImpl; - - @override - String get searchText; - - /// Create a copy of SearchAnalytics - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SearchAnalyticsImplCopyWith<_$SearchAnalyticsImpl> get copyWith => - throw _privateConstructorUsedError; } -/// @nodoc -mixin _$SearchItemAnalytics { - int get position => throw _privateConstructorUsedError; - String get type => throw _privateConstructorUsedError; - String get id => throw _privateConstructorUsedError; - String get group => throw _privateConstructorUsedError; - /// Create a copy of SearchItemAnalytics - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SearchItemAnalyticsCopyWith get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class $SearchItemAnalyticsCopyWith<$Res> { - factory $SearchItemAnalyticsCopyWith( - SearchItemAnalytics value, - $Res Function(SearchItemAnalytics) then, - ) = _$SearchItemAnalyticsCopyWithImpl<$Res, SearchItemAnalytics>; - @useResult - $Res call({int position, String type, String id, String group}); +abstract mixin class _$SearchAnalyticsCopyWith<$Res> implements $SearchAnalyticsCopyWith<$Res> { + factory _$SearchAnalyticsCopyWith(_SearchAnalytics value, $Res Function(_SearchAnalytics) _then) = __$SearchAnalyticsCopyWithImpl; +@override @useResult +$Res call({ + String searchText +}); + + + + +} +/// @nodoc +class __$SearchAnalyticsCopyWithImpl<$Res> + implements _$SearchAnalyticsCopyWith<$Res> { + __$SearchAnalyticsCopyWithImpl(this._self, this._then); + + final _SearchAnalytics _self; + final $Res Function(_SearchAnalytics) _then; + +/// Create a copy of SearchAnalytics +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? searchText = null,}) { + return _then(_SearchAnalytics( +searchText: null == searchText ? _self.searchText : searchText // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$SearchItemAnalyticsCopyWithImpl<$Res, $Val extends SearchItemAnalytics> - implements $SearchItemAnalyticsCopyWith<$Res> { - _$SearchItemAnalyticsCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SearchItemAnalytics - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? position = null, - Object? type = null, - Object? id = null, - Object? group = null, - }) { - return _then( - _value.copyWith( - position: null == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int, - type: null == type - ? _value.type - : type // ignore: cast_nullable_to_non_nullable - as String, - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - group: null == group - ? _value.group - : group // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +mixin _$SearchItemAnalytics { + + int get position; String get type; String get id; String get group; +/// Create a copy of SearchItemAnalytics +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SearchItemAnalyticsCopyWith get copyWith => _$SearchItemAnalyticsCopyWithImpl(this as SearchItemAnalytics, _$identity); + + + +@override +bool operator ==(Object other) { + final _this = this as SearchItemAnalytics; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SearchItemAnalytics&&(identical(other.position, _this.position) || other.position == _this.position)&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.group, _this.group) || other.group == _this.group)); +} + + +@override +int get hashCode { + final _this = this as SearchItemAnalytics; + return Object.hash(runtimeType,_this.position,_this.type,_this.id,_this.group); } +@override +String toString() { + final _this = this as SearchItemAnalytics; + return 'SearchItemAnalytics(position: ${_this.position}, type: ${_this.type}, id: ${_this.id}, group: ${_this.group})'; +} + + +} + +/// @nodoc +abstract mixin class $SearchItemAnalyticsCopyWith<$Res> { + factory $SearchItemAnalyticsCopyWith(SearchItemAnalytics value, $Res Function(SearchItemAnalytics) _then) = _$SearchItemAnalyticsCopyWithImpl; +@useResult +$Res call({ + int position, String type, String id, String group +}); + + + + +} /// @nodoc -abstract class _$$SearchItemAnalyticsImplCopyWith<$Res> +class _$SearchItemAnalyticsCopyWithImpl<$Res> implements $SearchItemAnalyticsCopyWith<$Res> { - factory _$$SearchItemAnalyticsImplCopyWith( - _$SearchItemAnalyticsImpl value, - $Res Function(_$SearchItemAnalyticsImpl) then, - ) = __$$SearchItemAnalyticsImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({int position, String type, String id, String group}); + _$SearchItemAnalyticsCopyWithImpl(this._self, this._then); + + final SearchItemAnalytics _self; + final $Res Function(SearchItemAnalytics) _then; + +/// Create a copy of SearchItemAnalytics +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? position = null,Object? type = null,Object? id = null,Object? group = null,}) { + return _then(SearchItemAnalytics( +position: null == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable +as String,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,group: null == group ? _self.group : group // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SearchItemAnalytics]. +extension SearchItemAnalyticsPatterns on SearchItemAnalytics { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SearchItemAnalytics value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SearchItemAnalytics() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SearchItemAnalytics value) $default,){ +final _that = this; +switch (_that) { +case _SearchItemAnalytics(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SearchItemAnalytics value)? $default,){ +final _that = this; +switch (_that) { +case _SearchItemAnalytics() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( int position, String type, String id, String group)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SearchItemAnalytics() when $default != null: +return $default(_that.position,_that.type,_that.id,_that.group);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( int position, String type, String id, String group) $default,) {final _that = this; +switch (_that) { +case _SearchItemAnalytics(): +return $default(_that.position,_that.type,_that.id,_that.group);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( int position, String type, String id, String group)? $default,) {final _that = this; +switch (_that) { +case _SearchItemAnalytics() when $default != null: +return $default(_that.position,_that.type,_that.id,_that.group);case _: + return null; + +} } -/// @nodoc -class __$$SearchItemAnalyticsImplCopyWithImpl<$Res> - extends _$SearchItemAnalyticsCopyWithImpl<$Res, _$SearchItemAnalyticsImpl> - implements _$$SearchItemAnalyticsImplCopyWith<$Res> { - __$$SearchItemAnalyticsImplCopyWithImpl( - _$SearchItemAnalyticsImpl _value, - $Res Function(_$SearchItemAnalyticsImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SearchItemAnalytics - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? position = null, - Object? type = null, - Object? id = null, - Object? group = null, - }) { - return _then( - _$SearchItemAnalyticsImpl( - position: null == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int, - type: null == type - ? _value.type - : type // ignore: cast_nullable_to_non_nullable - as String, - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - group: null == group - ? _value.group - : group // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$SearchItemAnalyticsImpl implements _SearchItemAnalytics { - const _$SearchItemAnalyticsImpl({ - required this.position, - required this.type, - required this.id, - required this.group, - }); - - @override - final int position; - @override - final String type; - @override - final String id; - @override - final String group; - - @override - String toString() { + +class _SearchItemAnalytics implements SearchItemAnalytics { + const _SearchItemAnalytics({required this.position, required this.type, required this.id, required this.group}); + + +@override final int position; +@override final String type; +@override final String id; +@override final String group; + +/// Create a copy of SearchItemAnalytics +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SearchItemAnalyticsCopyWith<_SearchItemAnalytics> get copyWith => __$SearchItemAnalyticsCopyWithImpl<_SearchItemAnalytics>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SearchItemAnalytics&&(identical(other.position, position) || other.position == position)&&(identical(other.type, type) || other.type == type)&&(identical(other.id, id) || other.id == id)&&(identical(other.group, group) || other.group == group)); +} + + +@override +int get hashCode { + return Object.hash(runtimeType,position,type,id,group); +} + +@override +String toString() { return 'SearchItemAnalytics(position: $position, type: $type, id: $id, group: $group)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SearchItemAnalyticsImpl && - (identical(other.position, position) || - other.position == position) && - (identical(other.type, type) || other.type == type) && - (identical(other.id, id) || other.id == id) && - (identical(other.group, group) || other.group == group)); - } - - @override - int get hashCode => Object.hash(runtimeType, position, type, id, group); - - /// Create a copy of SearchItemAnalytics - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SearchItemAnalyticsImplCopyWith<_$SearchItemAnalyticsImpl> get copyWith => - __$$SearchItemAnalyticsImplCopyWithImpl<_$SearchItemAnalyticsImpl>( - this, - _$identity, - ); -} - -abstract class _SearchItemAnalytics implements SearchItemAnalytics { - const factory _SearchItemAnalytics({ - required final int position, - required final String type, - required final String id, - required final String group, - }) = _$SearchItemAnalyticsImpl; - - @override - int get position; - @override - String get type; - @override - String get id; - @override - String get group; - - /// Create a copy of SearchItemAnalytics - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SearchItemAnalyticsImplCopyWith<_$SearchItemAnalyticsImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$SearchItemAnalyticsCopyWith<$Res> implements $SearchItemAnalyticsCopyWith<$Res> { + factory _$SearchItemAnalyticsCopyWith(_SearchItemAnalytics value, $Res Function(_SearchItemAnalytics) _then) = __$SearchItemAnalyticsCopyWithImpl; +@override @useResult +$Res call({ + int position, String type, String id, String group +}); + + + + +} +/// @nodoc +class __$SearchItemAnalyticsCopyWithImpl<$Res> + implements _$SearchItemAnalyticsCopyWith<$Res> { + __$SearchItemAnalyticsCopyWithImpl(this._self, this._then); + + final _SearchItemAnalytics _self; + final $Res Function(_SearchItemAnalytics) _then; + +/// Create a copy of SearchItemAnalytics +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? position = null,Object? type = null,Object? id = null,Object? group = null,}) { + return _then(_SearchItemAnalytics( +position: null == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable +as String,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,group: null == group ? _self.group : group // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/search_result_clicked.g.dart b/bccm_core/lib/src/models/analytics/search_result_clicked.g.dart index 699815b..9bc1faf 100644 --- a/bccm_core/lib/src/models/analytics/search_result_clicked.g.dart +++ b/bccm_core/lib/src/models/analytics/search_result_clicked.g.dart @@ -6,18 +6,17 @@ part of 'search_result_clicked.dart'; // JsonSerializableGenerator // ************************************************************************** -_$SectionClickedEventImpl _$$SectionClickedEventImplFromJson( - Map json, -) => _$SectionClickedEventImpl( - searchText: json['searchText'] as String, - elementPosition: (json['elementPosition'] as num).toInt(), - elementType: json['elementType'] as String, - elementId: json['elementId'] as String, - group: json['group'] as String, -); +_SectionClickedEvent _$SectionClickedEventFromJson(Map json) => + _SectionClickedEvent( + searchText: json['searchText'] as String, + elementPosition: (json['elementPosition'] as num).toInt(), + elementType: json['elementType'] as String, + elementId: json['elementId'] as String, + group: json['group'] as String, + ); -Map _$$SectionClickedEventImplToJson( - _$SectionClickedEventImpl instance, +Map _$SectionClickedEventToJson( + _SectionClickedEvent instance, ) => { 'searchText': instance.searchText, 'elementPosition': instance.elementPosition, diff --git a/bccm_core/lib/src/models/analytics/sections.freezed.dart b/bccm_core/lib/src/models/analytics/sections.freezed.dart index f8f8426..8388d86 100644 --- a/bccm_core/lib/src/models/analytics/sections.freezed.dart +++ b/bccm_core/lib/src/models/analytics/sections.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'sections.dart'; @@ -9,899 +9,883 @@ part of 'sections.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -SectionClickedEvent _$SectionClickedEventFromJson(Map json) { - return _SectionClickedEvent.fromJson(json); -} - /// @nodoc mixin _$SectionClickedEvent { - String get sectionId => throw _privateConstructorUsedError; - String? get sectionName => throw _privateConstructorUsedError; - int get sectionPosition => throw _privateConstructorUsedError; - String get sectionType => throw _privateConstructorUsedError; - String? get elementName => throw _privateConstructorUsedError; - int get elementPosition => throw _privateConstructorUsedError; - String get elementType => throw _privateConstructorUsedError; - String get elementId => throw _privateConstructorUsedError; - String? get pageCode => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; + + String get sectionId; String? get sectionName; int get sectionPosition; String get sectionType; String? get elementName; int get elementPosition; String get elementType; String get elementId; String? get pageCode; Map? get meta; +/// Create a copy of SectionClickedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SectionClickedEventCopyWith get copyWith => _$SectionClickedEventCopyWithImpl(this as SectionClickedEvent, _$identity); /// Serializes this SectionClickedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of SectionClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SectionClickedEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as SectionClickedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SectionClickedEvent&&(identical(other.sectionId, _this.sectionId) || other.sectionId == _this.sectionId)&&(identical(other.sectionName, _this.sectionName) || other.sectionName == _this.sectionName)&&(identical(other.sectionPosition, _this.sectionPosition) || other.sectionPosition == _this.sectionPosition)&&(identical(other.sectionType, _this.sectionType) || other.sectionType == _this.sectionType)&&(identical(other.elementName, _this.elementName) || other.elementName == _this.elementName)&&(identical(other.elementPosition, _this.elementPosition) || other.elementPosition == _this.elementPosition)&&(identical(other.elementType, _this.elementType) || other.elementType == _this.elementType)&&(identical(other.elementId, _this.elementId) || other.elementId == _this.elementId)&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); } -/// @nodoc -abstract class $SectionClickedEventCopyWith<$Res> { - factory $SectionClickedEventCopyWith( - SectionClickedEvent value, - $Res Function(SectionClickedEvent) then, - ) = _$SectionClickedEventCopyWithImpl<$Res, SectionClickedEvent>; - @useResult - $Res call({ - String sectionId, - String? sectionName, - int sectionPosition, - String sectionType, - String? elementName, - int elementPosition, - String elementType, - String elementId, - String? pageCode, - Map? meta, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as SectionClickedEvent; + return Object.hash(runtimeType,_this.sectionId,_this.sectionName,_this.sectionPosition,_this.sectionType,_this.elementName,_this.elementPosition,_this.elementType,_this.elementId,_this.pageCode,const DeepCollectionEquality().hash(_this.meta)); } -/// @nodoc -class _$SectionClickedEventCopyWithImpl<$Res, $Val extends SectionClickedEvent> - implements $SectionClickedEventCopyWith<$Res> { - _$SectionClickedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SectionClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? sectionId = null, - Object? sectionName = freezed, - Object? sectionPosition = null, - Object? sectionType = null, - Object? elementName = freezed, - Object? elementPosition = null, - Object? elementType = null, - Object? elementId = null, - Object? pageCode = freezed, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - sectionId: null == sectionId - ? _value.sectionId - : sectionId // ignore: cast_nullable_to_non_nullable - as String, - sectionName: freezed == sectionName - ? _value.sectionName - : sectionName // ignore: cast_nullable_to_non_nullable - as String?, - sectionPosition: null == sectionPosition - ? _value.sectionPosition - : sectionPosition // ignore: cast_nullable_to_non_nullable - as int, - sectionType: null == sectionType - ? _value.sectionType - : sectionType // ignore: cast_nullable_to_non_nullable - as String, - elementName: freezed == elementName - ? _value.elementName - : elementName // ignore: cast_nullable_to_non_nullable - as String?, - elementPosition: null == elementPosition - ? _value.elementPosition - : elementPosition // ignore: cast_nullable_to_non_nullable - as int, - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as SectionClickedEvent; + return 'SectionClickedEvent(sectionId: ${_this.sectionId}, sectionName: ${_this.sectionName}, sectionPosition: ${_this.sectionPosition}, sectionType: ${_this.sectionType}, elementName: ${_this.elementName}, elementPosition: ${_this.elementPosition}, elementType: ${_this.elementType}, elementId: ${_this.elementId}, pageCode: ${_this.pageCode}, meta: ${_this.meta})'; +} + + } /// @nodoc -abstract class _$$SectionClickedEventImplCopyWith<$Res> +abstract mixin class $SectionClickedEventCopyWith<$Res> { + factory $SectionClickedEventCopyWith(SectionClickedEvent value, $Res Function(SectionClickedEvent) _then) = _$SectionClickedEventCopyWithImpl; +@useResult +$Res call({ + String sectionId, String? sectionName, int sectionPosition, String sectionType, String? elementName, int elementPosition, String elementType, String elementId, String? pageCode, Map? meta +}); + + + + +} +/// @nodoc +class _$SectionClickedEventCopyWithImpl<$Res> implements $SectionClickedEventCopyWith<$Res> { - factory _$$SectionClickedEventImplCopyWith( - _$SectionClickedEventImpl value, - $Res Function(_$SectionClickedEventImpl) then, - ) = __$$SectionClickedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String sectionId, - String? sectionName, - int sectionPosition, - String sectionType, - String? elementName, - int elementPosition, - String elementType, - String elementId, - String? pageCode, - Map? meta, - }); + _$SectionClickedEventCopyWithImpl(this._self, this._then); + + final SectionClickedEvent _self; + final $Res Function(SectionClickedEvent) _then; + +/// Create a copy of SectionClickedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? sectionId = null,Object? sectionName = freezed,Object? sectionPosition = null,Object? sectionType = null,Object? elementName = freezed,Object? elementPosition = null,Object? elementType = null,Object? elementId = null,Object? pageCode = freezed,Object? meta = freezed,}) { + return _then(SectionClickedEvent( +sectionId: null == sectionId ? _self.sectionId : sectionId // ignore: cast_nullable_to_non_nullable +as String,sectionName: freezed == sectionName ? _self.sectionName : sectionName // ignore: cast_nullable_to_non_nullable +as String?,sectionPosition: null == sectionPosition ? _self.sectionPosition : sectionPosition // ignore: cast_nullable_to_non_nullable +as int,sectionType: null == sectionType ? _self.sectionType : sectionType // ignore: cast_nullable_to_non_nullable +as String,elementName: freezed == elementName ? _self.elementName : elementName // ignore: cast_nullable_to_non_nullable +as String?,elementPosition: null == elementPosition ? _self.elementPosition : elementPosition // ignore: cast_nullable_to_non_nullable +as int,elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SectionClickedEvent]. +extension SectionClickedEventPatterns on SectionClickedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SectionClickedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SectionClickedEvent value) $default,){ +final _that = this; +switch (_that) { +case _SectionClickedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SectionClickedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String sectionId, String? sectionName, int sectionPosition, String sectionType, String? elementName, int elementPosition, String elementType, String elementId, String? pageCode, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that.sectionId,_that.sectionName,_that.sectionPosition,_that.sectionType,_that.elementName,_that.elementPosition,_that.elementType,_that.elementId,_that.pageCode,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String sectionId, String? sectionName, int sectionPosition, String sectionType, String? elementName, int elementPosition, String elementType, String elementId, String? pageCode, Map? meta) $default,) {final _that = this; +switch (_that) { +case _SectionClickedEvent(): +return $default(_that.sectionId,_that.sectionName,_that.sectionPosition,_that.sectionType,_that.elementName,_that.elementPosition,_that.elementType,_that.elementId,_that.pageCode,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String sectionId, String? sectionName, int sectionPosition, String sectionType, String? elementName, int elementPosition, String elementType, String elementId, String? pageCode, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _SectionClickedEvent() when $default != null: +return $default(_that.sectionId,_that.sectionName,_that.sectionPosition,_that.sectionType,_that.elementName,_that.elementPosition,_that.elementType,_that.elementId,_that.pageCode,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$SectionClickedEventImplCopyWithImpl<$Res> - extends _$SectionClickedEventCopyWithImpl<$Res, _$SectionClickedEventImpl> - implements _$$SectionClickedEventImplCopyWith<$Res> { - __$$SectionClickedEventImplCopyWithImpl( - _$SectionClickedEventImpl _value, - $Res Function(_$SectionClickedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SectionClickedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? sectionId = null, - Object? sectionName = freezed, - Object? sectionPosition = null, - Object? sectionType = null, - Object? elementName = freezed, - Object? elementPosition = null, - Object? elementType = null, - Object? elementId = null, - Object? pageCode = freezed, - Object? meta = freezed, - }) { - return _then( - _$SectionClickedEventImpl( - sectionId: null == sectionId - ? _value.sectionId - : sectionId // ignore: cast_nullable_to_non_nullable - as String, - sectionName: freezed == sectionName - ? _value.sectionName - : sectionName // ignore: cast_nullable_to_non_nullable - as String?, - sectionPosition: null == sectionPosition - ? _value.sectionPosition - : sectionPosition // ignore: cast_nullable_to_non_nullable - as int, - sectionType: null == sectionType - ? _value.sectionType - : sectionType // ignore: cast_nullable_to_non_nullable - as String, - elementName: freezed == elementName - ? _value.elementName - : elementName // ignore: cast_nullable_to_non_nullable - as String?, - elementPosition: null == elementPosition - ? _value.elementPosition - : elementPosition // ignore: cast_nullable_to_non_nullable - as int, - elementType: null == elementType - ? _value.elementType - : elementType // ignore: cast_nullable_to_non_nullable - as String, - elementId: null == elementId - ? _value.elementId - : elementId // ignore: cast_nullable_to_non_nullable - as String, - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$SectionClickedEventImpl implements _SectionClickedEvent { - const _$SectionClickedEventImpl({ - required this.sectionId, - this.sectionName, - required this.sectionPosition, - required this.sectionType, - this.elementName, - required this.elementPosition, - required this.elementType, - required this.elementId, - this.pageCode, - final Map? meta, - }) : _meta = meta; - - factory _$SectionClickedEventImpl.fromJson(Map json) => - _$$SectionClickedEventImplFromJson(json); - - @override - final String sectionId; - @override - final String? sectionName; - @override - final int sectionPosition; - @override - final String sectionType; - @override - final String? elementName; - @override - final int elementPosition; - @override - final String elementType; - @override - final String elementId; - @override - final String? pageCode; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _SectionClickedEvent implements SectionClickedEvent { + const _SectionClickedEvent({required this.sectionId, this.sectionName, required this.sectionPosition, required this.sectionType, this.elementName, required this.elementPosition, required this.elementType, required this.elementId, this.pageCode, Map? meta}): _meta = meta; + factory _SectionClickedEvent.fromJson(Map json) => _$SectionClickedEventFromJson(json); + +@override final String sectionId; +@override final String? sectionName; +@override final int sectionPosition; +@override final String sectionType; +@override final String? elementName; +@override final int elementPosition; +@override final String elementType; +@override final String elementId; +@override final String? pageCode; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of SectionClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SectionClickedEventCopyWith<_SectionClickedEvent> get copyWith => __$SectionClickedEventCopyWithImpl<_SectionClickedEvent>(this, _$identity); + +@override +Map toJson() { + return _$SectionClickedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SectionClickedEvent&&(identical(other.sectionId, sectionId) || other.sectionId == sectionId)&&(identical(other.sectionName, sectionName) || other.sectionName == sectionName)&&(identical(other.sectionPosition, sectionPosition) || other.sectionPosition == sectionPosition)&&(identical(other.sectionType, sectionType) || other.sectionType == sectionType)&&(identical(other.elementName, elementName) || other.elementName == elementName)&&(identical(other.elementPosition, elementPosition) || other.elementPosition == elementPosition)&&(identical(other.elementType, elementType) || other.elementType == elementType)&&(identical(other.elementId, elementId) || other.elementId == elementId)&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,sectionId,sectionName,sectionPosition,sectionType,elementName,elementPosition,elementType,elementId,pageCode,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'SectionClickedEvent(sectionId: $sectionId, sectionName: $sectionName, sectionPosition: $sectionPosition, sectionType: $sectionType, elementName: $elementName, elementPosition: $elementPosition, elementType: $elementType, elementId: $elementId, pageCode: $pageCode, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SectionClickedEventImpl && - (identical(other.sectionId, sectionId) || - other.sectionId == sectionId) && - (identical(other.sectionName, sectionName) || - other.sectionName == sectionName) && - (identical(other.sectionPosition, sectionPosition) || - other.sectionPosition == sectionPosition) && - (identical(other.sectionType, sectionType) || - other.sectionType == sectionType) && - (identical(other.elementName, elementName) || - other.elementName == elementName) && - (identical(other.elementPosition, elementPosition) || - other.elementPosition == elementPosition) && - (identical(other.elementType, elementType) || - other.elementType == elementType) && - (identical(other.elementId, elementId) || - other.elementId == elementId) && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - sectionId, - sectionName, - sectionPosition, - sectionType, - elementName, - elementPosition, - elementType, - elementId, - pageCode, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of SectionClickedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SectionClickedEventImplCopyWith<_$SectionClickedEventImpl> get copyWith => - __$$SectionClickedEventImplCopyWithImpl<_$SectionClickedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$SectionClickedEventImplToJson(this); - } -} - -abstract class _SectionClickedEvent implements SectionClickedEvent { - const factory _SectionClickedEvent({ - required final String sectionId, - final String? sectionName, - required final int sectionPosition, - required final String sectionType, - final String? elementName, - required final int elementPosition, - required final String elementType, - required final String elementId, - final String? pageCode, - final Map? meta, - }) = _$SectionClickedEventImpl; - - factory _SectionClickedEvent.fromJson(Map json) = - _$SectionClickedEventImpl.fromJson; - - @override - String get sectionId; - @override - String? get sectionName; - @override - int get sectionPosition; - @override - String get sectionType; - @override - String? get elementName; - @override - int get elementPosition; - @override - String get elementType; - @override - String get elementId; - @override - String? get pageCode; - @override - Map? get meta; - - /// Create a copy of SectionClickedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SectionClickedEventImplCopyWith<_$SectionClickedEventImpl> get copyWith => - throw _privateConstructorUsedError; } -/// @nodoc -mixin _$SectionAnalyticsData { - String? get pageCode => throw _privateConstructorUsedError; - String get id => throw _privateConstructorUsedError; - String? get name => throw _privateConstructorUsedError; - int get position => throw _privateConstructorUsedError; - String get type => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; - /// Create a copy of SectionAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SectionAnalyticsDataCopyWith get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class $SectionAnalyticsDataCopyWith<$Res> { - factory $SectionAnalyticsDataCopyWith( - SectionAnalyticsData value, - $Res Function(SectionAnalyticsData) then, - ) = _$SectionAnalyticsDataCopyWithImpl<$Res, SectionAnalyticsData>; - @useResult - $Res call({ - String? pageCode, - String id, - String? name, - int position, - String type, - Map? meta, - }); +abstract mixin class _$SectionClickedEventCopyWith<$Res> implements $SectionClickedEventCopyWith<$Res> { + factory _$SectionClickedEventCopyWith(_SectionClickedEvent value, $Res Function(_SectionClickedEvent) _then) = __$SectionClickedEventCopyWithImpl; +@override @useResult +$Res call({ + String sectionId, String? sectionName, int sectionPosition, String sectionType, String? elementName, int elementPosition, String elementType, String elementId, String? pageCode, Map? meta +}); + + + + +} +/// @nodoc +class __$SectionClickedEventCopyWithImpl<$Res> + implements _$SectionClickedEventCopyWith<$Res> { + __$SectionClickedEventCopyWithImpl(this._self, this._then); + + final _SectionClickedEvent _self; + final $Res Function(_SectionClickedEvent) _then; + +/// Create a copy of SectionClickedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? sectionId = null,Object? sectionName = freezed,Object? sectionPosition = null,Object? sectionType = null,Object? elementName = freezed,Object? elementPosition = null,Object? elementType = null,Object? elementId = null,Object? pageCode = freezed,Object? meta = freezed,}) { + return _then(_SectionClickedEvent( +sectionId: null == sectionId ? _self.sectionId : sectionId // ignore: cast_nullable_to_non_nullable +as String,sectionName: freezed == sectionName ? _self.sectionName : sectionName // ignore: cast_nullable_to_non_nullable +as String?,sectionPosition: null == sectionPosition ? _self.sectionPosition : sectionPosition // ignore: cast_nullable_to_non_nullable +as int,sectionType: null == sectionType ? _self.sectionType : sectionType // ignore: cast_nullable_to_non_nullable +as String,elementName: freezed == elementName ? _self.elementName : elementName // ignore: cast_nullable_to_non_nullable +as String?,elementPosition: null == elementPosition ? _self.elementPosition : elementPosition // ignore: cast_nullable_to_non_nullable +as int,elementType: null == elementType ? _self.elementType : elementType // ignore: cast_nullable_to_non_nullable +as String,elementId: null == elementId ? _self.elementId : elementId // ignore: cast_nullable_to_non_nullable +as String,pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + } /// @nodoc -class _$SectionAnalyticsDataCopyWithImpl< - $Res, - $Val extends SectionAnalyticsData -> - implements $SectionAnalyticsDataCopyWith<$Res> { - _$SectionAnalyticsDataCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SectionAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? pageCode = freezed, - Object? id = null, - Object? name = freezed, - Object? position = null, - Object? type = null, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - position: null == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int, - type: null == type - ? _value.type - : type // ignore: cast_nullable_to_non_nullable - as String, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +mixin _$SectionAnalyticsData { + + String? get pageCode; String get id; String? get name; int get position; String get type; Map? get meta; +/// Create a copy of SectionAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SectionAnalyticsDataCopyWith get copyWith => _$SectionAnalyticsDataCopyWithImpl(this as SectionAnalyticsData, _$identity); + + + +@override +bool operator ==(Object other) { + final _this = this as SectionAnalyticsData; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SectionAnalyticsData&&(identical(other.pageCode, _this.pageCode) || other.pageCode == _this.pageCode)&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.position, _this.position) || other.position == _this.position)&&(identical(other.type, _this.type) || other.type == _this.type)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); +} + + +@override +int get hashCode { + final _this = this as SectionAnalyticsData; + return Object.hash(runtimeType,_this.pageCode,_this.id,_this.name,_this.position,_this.type,const DeepCollectionEquality().hash(_this.meta)); +} + +@override +String toString() { + final _this = this as SectionAnalyticsData; + return 'SectionAnalyticsData(pageCode: ${_this.pageCode}, id: ${_this.id}, name: ${_this.name}, position: ${_this.position}, type: ${_this.type}, meta: ${_this.meta})'; +} + + } /// @nodoc -abstract class _$$SectionAnalyticsDataImplCopyWith<$Res> +abstract mixin class $SectionAnalyticsDataCopyWith<$Res> { + factory $SectionAnalyticsDataCopyWith(SectionAnalyticsData value, $Res Function(SectionAnalyticsData) _then) = _$SectionAnalyticsDataCopyWithImpl; +@useResult +$Res call({ + String? pageCode, String id, String? name, int position, String type, Map? meta +}); + + + + +} +/// @nodoc +class _$SectionAnalyticsDataCopyWithImpl<$Res> implements $SectionAnalyticsDataCopyWith<$Res> { - factory _$$SectionAnalyticsDataImplCopyWith( - _$SectionAnalyticsDataImpl value, - $Res Function(_$SectionAnalyticsDataImpl) then, - ) = __$$SectionAnalyticsDataImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String? pageCode, - String id, - String? name, - int position, - String type, - Map? meta, - }); + _$SectionAnalyticsDataCopyWithImpl(this._self, this._then); + + final SectionAnalyticsData _self; + final $Res Function(SectionAnalyticsData) _then; + +/// Create a copy of SectionAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? pageCode = freezed,Object? id = null,Object? name = freezed,Object? position = null,Object? type = null,Object? meta = freezed,}) { + return _then(SectionAnalyticsData( +pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,position: null == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable +as String,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SectionAnalyticsData]. +extension SectionAnalyticsDataPatterns on SectionAnalyticsData { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SectionAnalyticsData value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SectionAnalyticsData() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SectionAnalyticsData value) $default,){ +final _that = this; +switch (_that) { +case _SectionAnalyticsData(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SectionAnalyticsData value)? $default,){ +final _that = this; +switch (_that) { +case _SectionAnalyticsData() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? pageCode, String id, String? name, int position, String type, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SectionAnalyticsData() when $default != null: +return $default(_that.pageCode,_that.id,_that.name,_that.position,_that.type,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? pageCode, String id, String? name, int position, String type, Map? meta) $default,) {final _that = this; +switch (_that) { +case _SectionAnalyticsData(): +return $default(_that.pageCode,_that.id,_that.name,_that.position,_that.type,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? pageCode, String id, String? name, int position, String type, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _SectionAnalyticsData() when $default != null: +return $default(_that.pageCode,_that.id,_that.name,_that.position,_that.type,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$SectionAnalyticsDataImplCopyWithImpl<$Res> - extends _$SectionAnalyticsDataCopyWithImpl<$Res, _$SectionAnalyticsDataImpl> - implements _$$SectionAnalyticsDataImplCopyWith<$Res> { - __$$SectionAnalyticsDataImplCopyWithImpl( - _$SectionAnalyticsDataImpl _value, - $Res Function(_$SectionAnalyticsDataImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SectionAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? pageCode = freezed, - Object? id = null, - Object? name = freezed, - Object? position = null, - Object? type = null, - Object? meta = freezed, - }) { - return _then( - _$SectionAnalyticsDataImpl( - pageCode: freezed == pageCode - ? _value.pageCode - : pageCode // ignore: cast_nullable_to_non_nullable - as String?, - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - position: null == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int, - type: null == type - ? _value.type - : type // ignore: cast_nullable_to_non_nullable - as String, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc -class _$SectionAnalyticsDataImpl implements _SectionAnalyticsData { - const _$SectionAnalyticsDataImpl({ - this.pageCode, - required this.id, - this.name, - required this.position, - required this.type, - final Map? meta, - }) : _meta = meta; - - @override - final String? pageCode; - @override - final String id; - @override - final String? name; - @override - final int position; - @override - final String type; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _SectionAnalyticsData implements SectionAnalyticsData { + const _SectionAnalyticsData({this.pageCode, required this.id, this.name, required this.position, required this.type, Map? meta}): _meta = meta; + + +@override final String? pageCode; +@override final String id; +@override final String? name; +@override final int position; +@override final String type; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of SectionAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SectionAnalyticsDataCopyWith<_SectionAnalyticsData> get copyWith => __$SectionAnalyticsDataCopyWithImpl<_SectionAnalyticsData>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SectionAnalyticsData&&(identical(other.pageCode, pageCode) || other.pageCode == pageCode)&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.position, position) || other.position == position)&&(identical(other.type, type) || other.type == type)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + + +@override +int get hashCode { + return Object.hash(runtimeType,pageCode,id,name,position,type,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'SectionAnalyticsData(pageCode: $pageCode, id: $id, name: $name, position: $position, type: $type, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SectionAnalyticsDataImpl && - (identical(other.pageCode, pageCode) || - other.pageCode == pageCode) && - (identical(other.id, id) || other.id == id) && - (identical(other.name, name) || other.name == name) && - (identical(other.position, position) || - other.position == position) && - (identical(other.type, type) || other.type == type) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - pageCode, - id, - name, - position, - type, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of SectionAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SectionAnalyticsDataImplCopyWith<_$SectionAnalyticsDataImpl> - get copyWith => - __$$SectionAnalyticsDataImplCopyWithImpl<_$SectionAnalyticsDataImpl>( - this, - _$identity, - ); -} - -abstract class _SectionAnalyticsData implements SectionAnalyticsData { - const factory _SectionAnalyticsData({ - final String? pageCode, - required final String id, - final String? name, - required final int position, - required final String type, - final Map? meta, - }) = _$SectionAnalyticsDataImpl; - - @override - String? get pageCode; - @override - String get id; - @override - String? get name; - @override - int get position; - @override - String get type; - @override - Map? get meta; - - /// Create a copy of SectionAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SectionAnalyticsDataImplCopyWith<_$SectionAnalyticsDataImpl> - get copyWith => throw _privateConstructorUsedError; } -/// @nodoc -mixin _$SectionItemAnalyticsData { - int get position => throw _privateConstructorUsedError; - String get type => throw _privateConstructorUsedError; - String get id => throw _privateConstructorUsedError; - String? get name => throw _privateConstructorUsedError; - Map? get meta => throw _privateConstructorUsedError; - /// Create a copy of SectionItemAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SectionItemAnalyticsDataCopyWith get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class $SectionItemAnalyticsDataCopyWith<$Res> { - factory $SectionItemAnalyticsDataCopyWith( - SectionItemAnalyticsData value, - $Res Function(SectionItemAnalyticsData) then, - ) = _$SectionItemAnalyticsDataCopyWithImpl<$Res, SectionItemAnalyticsData>; - @useResult - $Res call({ - int position, - String type, - String id, - String? name, - Map? meta, - }); +abstract mixin class _$SectionAnalyticsDataCopyWith<$Res> implements $SectionAnalyticsDataCopyWith<$Res> { + factory _$SectionAnalyticsDataCopyWith(_SectionAnalyticsData value, $Res Function(_SectionAnalyticsData) _then) = __$SectionAnalyticsDataCopyWithImpl; +@override @useResult +$Res call({ + String? pageCode, String id, String? name, int position, String type, Map? meta +}); + + + + +} +/// @nodoc +class __$SectionAnalyticsDataCopyWithImpl<$Res> + implements _$SectionAnalyticsDataCopyWith<$Res> { + __$SectionAnalyticsDataCopyWithImpl(this._self, this._then); + + final _SectionAnalyticsData _self; + final $Res Function(_SectionAnalyticsData) _then; + +/// Create a copy of SectionAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? pageCode = freezed,Object? id = null,Object? name = freezed,Object? position = null,Object? type = null,Object? meta = freezed,}) { + return _then(_SectionAnalyticsData( +pageCode: freezed == pageCode ? _self.pageCode : pageCode // ignore: cast_nullable_to_non_nullable +as String?,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,position: null == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable +as String,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + } /// @nodoc -class _$SectionItemAnalyticsDataCopyWithImpl< - $Res, - $Val extends SectionItemAnalyticsData -> - implements $SectionItemAnalyticsDataCopyWith<$Res> { - _$SectionItemAnalyticsDataCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SectionItemAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? position = null, - Object? type = null, - Object? id = null, - Object? name = freezed, - Object? meta = freezed, - }) { - return _then( - _value.copyWith( - position: null == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int, - type: null == type - ? _value.type - : type // ignore: cast_nullable_to_non_nullable - as String, - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value.meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } +mixin _$SectionItemAnalyticsData { + + int get position; String get type; String get id; String? get name; Map? get meta; +/// Create a copy of SectionItemAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SectionItemAnalyticsDataCopyWith get copyWith => _$SectionItemAnalyticsDataCopyWithImpl(this as SectionItemAnalyticsData, _$identity); + + + +@override +bool operator ==(Object other) { + final _this = this as SectionItemAnalyticsData; + return identical(this, other) || (other.runtimeType == runtimeType&&other is SectionItemAnalyticsData&&(identical(other.position, _this.position) || other.position == _this.position)&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.name, _this.name) || other.name == _this.name)&&const DeepCollectionEquality().equals(other.meta, _this.meta)); +} + + +@override +int get hashCode { + final _this = this as SectionItemAnalyticsData; + return Object.hash(runtimeType,_this.position,_this.type,_this.id,_this.name,const DeepCollectionEquality().hash(_this.meta)); } +@override +String toString() { + final _this = this as SectionItemAnalyticsData; + return 'SectionItemAnalyticsData(position: ${_this.position}, type: ${_this.type}, id: ${_this.id}, name: ${_this.name}, meta: ${_this.meta})'; +} + + +} + +/// @nodoc +abstract mixin class $SectionItemAnalyticsDataCopyWith<$Res> { + factory $SectionItemAnalyticsDataCopyWith(SectionItemAnalyticsData value, $Res Function(SectionItemAnalyticsData) _then) = _$SectionItemAnalyticsDataCopyWithImpl; +@useResult +$Res call({ + int position, String type, String id, String? name, Map? meta +}); + + + + +} /// @nodoc -abstract class _$$SectionItemAnalyticsDataImplCopyWith<$Res> +class _$SectionItemAnalyticsDataCopyWithImpl<$Res> implements $SectionItemAnalyticsDataCopyWith<$Res> { - factory _$$SectionItemAnalyticsDataImplCopyWith( - _$SectionItemAnalyticsDataImpl value, - $Res Function(_$SectionItemAnalyticsDataImpl) then, - ) = __$$SectionItemAnalyticsDataImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - int position, - String type, - String id, - String? name, - Map? meta, - }); + _$SectionItemAnalyticsDataCopyWithImpl(this._self, this._then); + + final SectionItemAnalyticsData _self; + final $Res Function(SectionItemAnalyticsData) _then; + +/// Create a copy of SectionItemAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? position = null,Object? type = null,Object? id = null,Object? name = freezed,Object? meta = freezed,}) { + return _then(SectionItemAnalyticsData( +position: null == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable +as String,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self.meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SectionItemAnalyticsData]. +extension SectionItemAnalyticsDataPatterns on SectionItemAnalyticsData { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SectionItemAnalyticsData value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SectionItemAnalyticsData() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SectionItemAnalyticsData value) $default,){ +final _that = this; +switch (_that) { +case _SectionItemAnalyticsData(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SectionItemAnalyticsData value)? $default,){ +final _that = this; +switch (_that) { +case _SectionItemAnalyticsData() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( int position, String type, String id, String? name, Map? meta)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SectionItemAnalyticsData() when $default != null: +return $default(_that.position,_that.type,_that.id,_that.name,_that.meta);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( int position, String type, String id, String? name, Map? meta) $default,) {final _that = this; +switch (_that) { +case _SectionItemAnalyticsData(): +return $default(_that.position,_that.type,_that.id,_that.name,_that.meta);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( int position, String type, String id, String? name, Map? meta)? $default,) {final _that = this; +switch (_that) { +case _SectionItemAnalyticsData() when $default != null: +return $default(_that.position,_that.type,_that.id,_that.name,_that.meta);case _: + return null; + +} } -/// @nodoc -class __$$SectionItemAnalyticsDataImplCopyWithImpl<$Res> - extends - _$SectionItemAnalyticsDataCopyWithImpl< - $Res, - _$SectionItemAnalyticsDataImpl - > - implements _$$SectionItemAnalyticsDataImplCopyWith<$Res> { - __$$SectionItemAnalyticsDataImplCopyWithImpl( - _$SectionItemAnalyticsDataImpl _value, - $Res Function(_$SectionItemAnalyticsDataImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SectionItemAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? position = null, - Object? type = null, - Object? id = null, - Object? name = freezed, - Object? meta = freezed, - }) { - return _then( - _$SectionItemAnalyticsDataImpl( - position: null == position - ? _value.position - : position // ignore: cast_nullable_to_non_nullable - as int, - type: null == type - ? _value.type - : type // ignore: cast_nullable_to_non_nullable - as String, - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - meta: freezed == meta - ? _value._meta - : meta // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc -class _$SectionItemAnalyticsDataImpl implements _SectionItemAnalyticsData { - const _$SectionItemAnalyticsDataImpl({ - required this.position, - required this.type, - required this.id, - this.name, - final Map? meta, - }) : _meta = meta; - - @override - final int position; - @override - final String type; - @override - final String id; - @override - final String? name; - final Map? _meta; - @override - Map? get meta { - final value = _meta; - if (value == null) return null; - if (_meta is EqualUnmodifiableMapView) return _meta; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString() { + +class _SectionItemAnalyticsData implements SectionItemAnalyticsData { + const _SectionItemAnalyticsData({required this.position, required this.type, required this.id, this.name, Map? meta}): _meta = meta; + + +@override final int position; +@override final String type; +@override final String id; +@override final String? name; + final Map? _meta; +@override Map? get meta { + final value = _meta; + if (value == null) return null; + if (_meta is EqualUnmodifiableMapView) return _meta; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of SectionItemAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SectionItemAnalyticsDataCopyWith<_SectionItemAnalyticsData> get copyWith => __$SectionItemAnalyticsDataCopyWithImpl<_SectionItemAnalyticsData>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SectionItemAnalyticsData&&(identical(other.position, position) || other.position == position)&&(identical(other.type, type) || other.type == type)&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&const DeepCollectionEquality().equals(other.meta, _meta)); +} + + +@override +int get hashCode { + return Object.hash(runtimeType,position,type,id,name,const DeepCollectionEquality().hash(_meta)); +} + +@override +String toString() { return 'SectionItemAnalyticsData(position: $position, type: $type, id: $id, name: $name, meta: $meta)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SectionItemAnalyticsDataImpl && - (identical(other.position, position) || - other.position == position) && - (identical(other.type, type) || other.type == type) && - (identical(other.id, id) || other.id == id) && - (identical(other.name, name) || other.name == name) && - const DeepCollectionEquality().equals(other._meta, _meta)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - position, - type, - id, - name, - const DeepCollectionEquality().hash(_meta), - ); - - /// Create a copy of SectionItemAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SectionItemAnalyticsDataImplCopyWith<_$SectionItemAnalyticsDataImpl> - get copyWith => - __$$SectionItemAnalyticsDataImplCopyWithImpl< - _$SectionItemAnalyticsDataImpl - >(this, _$identity); -} - -abstract class _SectionItemAnalyticsData implements SectionItemAnalyticsData { - const factory _SectionItemAnalyticsData({ - required final int position, - required final String type, - required final String id, - final String? name, - final Map? meta, - }) = _$SectionItemAnalyticsDataImpl; - - @override - int get position; - @override - String get type; - @override - String get id; - @override - String? get name; - @override - Map? get meta; - - /// Create a copy of SectionItemAnalyticsData - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SectionItemAnalyticsDataImplCopyWith<_$SectionItemAnalyticsDataImpl> - get copyWith => throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$SectionItemAnalyticsDataCopyWith<$Res> implements $SectionItemAnalyticsDataCopyWith<$Res> { + factory _$SectionItemAnalyticsDataCopyWith(_SectionItemAnalyticsData value, $Res Function(_SectionItemAnalyticsData) _then) = __$SectionItemAnalyticsDataCopyWithImpl; +@override @useResult +$Res call({ + int position, String type, String id, String? name, Map? meta +}); + + + + +} +/// @nodoc +class __$SectionItemAnalyticsDataCopyWithImpl<$Res> + implements _$SectionItemAnalyticsDataCopyWith<$Res> { + __$SectionItemAnalyticsDataCopyWithImpl(this._self, this._then); + + final _SectionItemAnalyticsData _self; + final $Res Function(_SectionItemAnalyticsData) _then; + +/// Create a copy of SectionItemAnalyticsData +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? position = null,Object? type = null,Object? id = null,Object? name = freezed,Object? meta = freezed,}) { + return _then(_SectionItemAnalyticsData( +position: null == position ? _self.position : position // ignore: cast_nullable_to_non_nullable +as int,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable +as String,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,meta: freezed == meta ? _self._meta : meta // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/sections.g.dart b/bccm_core/lib/src/models/analytics/sections.g.dart index d9179f6..e4313bf 100644 --- a/bccm_core/lib/src/models/analytics/sections.g.dart +++ b/bccm_core/lib/src/models/analytics/sections.g.dart @@ -6,23 +6,22 @@ part of 'sections.dart'; // JsonSerializableGenerator // ************************************************************************** -_$SectionClickedEventImpl _$$SectionClickedEventImplFromJson( - Map json, -) => _$SectionClickedEventImpl( - sectionId: json['sectionId'] as String, - sectionName: json['sectionName'] as String?, - sectionPosition: (json['sectionPosition'] as num).toInt(), - sectionType: json['sectionType'] as String, - elementName: json['elementName'] as String?, - elementPosition: (json['elementPosition'] as num).toInt(), - elementType: json['elementType'] as String, - elementId: json['elementId'] as String, - pageCode: json['pageCode'] as String?, - meta: json['meta'] as Map?, -); +_SectionClickedEvent _$SectionClickedEventFromJson(Map json) => + _SectionClickedEvent( + sectionId: json['sectionId'] as String, + sectionName: json['sectionName'] as String?, + sectionPosition: (json['sectionPosition'] as num).toInt(), + sectionType: json['sectionType'] as String, + elementName: json['elementName'] as String?, + elementPosition: (json['elementPosition'] as num).toInt(), + elementType: json['elementType'] as String, + elementId: json['elementId'] as String, + pageCode: json['pageCode'] as String?, + meta: json['meta'] as Map?, + ); -Map _$$SectionClickedEventImplToJson( - _$SectionClickedEventImpl instance, +Map _$SectionClickedEventToJson( + _SectionClickedEvent instance, ) => { 'sectionId': instance.sectionId, 'sectionName': instance.sectionName, diff --git a/bccm_core/lib/src/models/analytics/shorts.freezed.dart b/bccm_core/lib/src/models/analytics/shorts.freezed.dart index 0c532ca..58b17b5 100644 --- a/bccm_core/lib/src/models/analytics/shorts.freezed.dart +++ b/bccm_core/lib/src/models/analytics/shorts.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'shorts.dart'; @@ -9,543 +9,574 @@ part of 'shorts.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -ShortStartedEvent _$ShortStartedEventFromJson(Map json) { - return _ShortStartedEvent.fromJson(json); -} - /// @nodoc mixin _$ShortStartedEvent { - String get shortId => throw _privateConstructorUsedError; - String get shortTitle => throw _privateConstructorUsedError; - int get replayCount => throw _privateConstructorUsedError; - bool get resumed => throw _privateConstructorUsedError; - double get positionFraction => throw _privateConstructorUsedError; - int get positionSeconds => throw _privateConstructorUsedError; + + String get shortId; String get shortTitle; int get replayCount; bool get resumed; double get positionFraction; int get positionSeconds; +/// Create a copy of ShortStartedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ShortStartedEventCopyWith get copyWith => _$ShortStartedEventCopyWithImpl(this as ShortStartedEvent, _$identity); /// Serializes this ShortStartedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of ShortStartedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $ShortStartedEventCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as ShortStartedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ShortStartedEvent&&(identical(other.shortId, _this.shortId) || other.shortId == _this.shortId)&&(identical(other.shortTitle, _this.shortTitle) || other.shortTitle == _this.shortTitle)&&(identical(other.replayCount, _this.replayCount) || other.replayCount == _this.replayCount)&&(identical(other.resumed, _this.resumed) || other.resumed == _this.resumed)&&(identical(other.positionFraction, _this.positionFraction) || other.positionFraction == _this.positionFraction)&&(identical(other.positionSeconds, _this.positionSeconds) || other.positionSeconds == _this.positionSeconds)); } -/// @nodoc -abstract class $ShortStartedEventCopyWith<$Res> { - factory $ShortStartedEventCopyWith( - ShortStartedEvent value, - $Res Function(ShortStartedEvent) then, - ) = _$ShortStartedEventCopyWithImpl<$Res, ShortStartedEvent>; - @useResult - $Res call({ - String shortId, - String shortTitle, - int replayCount, - bool resumed, - double positionFraction, - int positionSeconds, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as ShortStartedEvent; + return Object.hash(runtimeType,_this.shortId,_this.shortTitle,_this.replayCount,_this.resumed,_this.positionFraction,_this.positionSeconds); } -/// @nodoc -class _$ShortStartedEventCopyWithImpl<$Res, $Val extends ShortStartedEvent> - implements $ShortStartedEventCopyWith<$Res> { - _$ShortStartedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of ShortStartedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? shortId = null, - Object? shortTitle = null, - Object? replayCount = null, - Object? resumed = null, - Object? positionFraction = null, - Object? positionSeconds = null, - }) { - return _then( - _value.copyWith( - shortId: null == shortId - ? _value.shortId - : shortId // ignore: cast_nullable_to_non_nullable - as String, - shortTitle: null == shortTitle - ? _value.shortTitle - : shortTitle // ignore: cast_nullable_to_non_nullable - as String, - replayCount: null == replayCount - ? _value.replayCount - : replayCount // ignore: cast_nullable_to_non_nullable - as int, - resumed: null == resumed - ? _value.resumed - : resumed // ignore: cast_nullable_to_non_nullable - as bool, - positionFraction: null == positionFraction - ? _value.positionFraction - : positionFraction // ignore: cast_nullable_to_non_nullable - as double, - positionSeconds: null == positionSeconds - ? _value.positionSeconds - : positionSeconds // ignore: cast_nullable_to_non_nullable - as int, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as ShortStartedEvent; + return 'ShortStartedEvent(shortId: ${_this.shortId}, shortTitle: ${_this.shortTitle}, replayCount: ${_this.replayCount}, resumed: ${_this.resumed}, positionFraction: ${_this.positionFraction}, positionSeconds: ${_this.positionSeconds})'; +} + + } /// @nodoc -abstract class _$$ShortStartedEventImplCopyWith<$Res> +abstract mixin class $ShortStartedEventCopyWith<$Res> { + factory $ShortStartedEventCopyWith(ShortStartedEvent value, $Res Function(ShortStartedEvent) _then) = _$ShortStartedEventCopyWithImpl; +@useResult +$Res call({ + String shortId, String shortTitle, int replayCount, bool resumed, double positionFraction, int positionSeconds +}); + + + + +} +/// @nodoc +class _$ShortStartedEventCopyWithImpl<$Res> implements $ShortStartedEventCopyWith<$Res> { - factory _$$ShortStartedEventImplCopyWith( - _$ShortStartedEventImpl value, - $Res Function(_$ShortStartedEventImpl) then, - ) = __$$ShortStartedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String shortId, - String shortTitle, - int replayCount, - bool resumed, - double positionFraction, - int positionSeconds, - }); + _$ShortStartedEventCopyWithImpl(this._self, this._then); + + final ShortStartedEvent _self; + final $Res Function(ShortStartedEvent) _then; + +/// Create a copy of ShortStartedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? shortId = null,Object? shortTitle = null,Object? replayCount = null,Object? resumed = null,Object? positionFraction = null,Object? positionSeconds = null,}) { + return _then(ShortStartedEvent( +shortId: null == shortId ? _self.shortId : shortId // ignore: cast_nullable_to_non_nullable +as String,shortTitle: null == shortTitle ? _self.shortTitle : shortTitle // ignore: cast_nullable_to_non_nullable +as String,replayCount: null == replayCount ? _self.replayCount : replayCount // ignore: cast_nullable_to_non_nullable +as int,resumed: null == resumed ? _self.resumed : resumed // ignore: cast_nullable_to_non_nullable +as bool,positionFraction: null == positionFraction ? _self.positionFraction : positionFraction // ignore: cast_nullable_to_non_nullable +as double,positionSeconds: null == positionSeconds ? _self.positionSeconds : positionSeconds // ignore: cast_nullable_to_non_nullable +as int, + )); +} + +} + + +/// Adds pattern-matching-related methods to [ShortStartedEvent]. +extension ShortStartedEventPatterns on ShortStartedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _ShortStartedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _ShortStartedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _ShortStartedEvent value) $default,){ +final _that = this; +switch (_that) { +case _ShortStartedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _ShortStartedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _ShortStartedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String shortId, String shortTitle, int replayCount, bool resumed, double positionFraction, int positionSeconds)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _ShortStartedEvent() when $default != null: +return $default(_that.shortId,_that.shortTitle,_that.replayCount,_that.resumed,_that.positionFraction,_that.positionSeconds);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String shortId, String shortTitle, int replayCount, bool resumed, double positionFraction, int positionSeconds) $default,) {final _that = this; +switch (_that) { +case _ShortStartedEvent(): +return $default(_that.shortId,_that.shortTitle,_that.replayCount,_that.resumed,_that.positionFraction,_that.positionSeconds);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String shortId, String shortTitle, int replayCount, bool resumed, double positionFraction, int positionSeconds)? $default,) {final _that = this; +switch (_that) { +case _ShortStartedEvent() when $default != null: +return $default(_that.shortId,_that.shortTitle,_that.replayCount,_that.resumed,_that.positionFraction,_that.positionSeconds);case _: + return null; + +} } -/// @nodoc -class __$$ShortStartedEventImplCopyWithImpl<$Res> - extends _$ShortStartedEventCopyWithImpl<$Res, _$ShortStartedEventImpl> - implements _$$ShortStartedEventImplCopyWith<$Res> { - __$$ShortStartedEventImplCopyWithImpl( - _$ShortStartedEventImpl _value, - $Res Function(_$ShortStartedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ShortStartedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? shortId = null, - Object? shortTitle = null, - Object? replayCount = null, - Object? resumed = null, - Object? positionFraction = null, - Object? positionSeconds = null, - }) { - return _then( - _$ShortStartedEventImpl( - shortId: null == shortId - ? _value.shortId - : shortId // ignore: cast_nullable_to_non_nullable - as String, - shortTitle: null == shortTitle - ? _value.shortTitle - : shortTitle // ignore: cast_nullable_to_non_nullable - as String, - replayCount: null == replayCount - ? _value.replayCount - : replayCount // ignore: cast_nullable_to_non_nullable - as int, - resumed: null == resumed - ? _value.resumed - : resumed // ignore: cast_nullable_to_non_nullable - as bool, - positionFraction: null == positionFraction - ? _value.positionFraction - : positionFraction // ignore: cast_nullable_to_non_nullable - as double, - positionSeconds: null == positionSeconds - ? _value.positionSeconds - : positionSeconds // ignore: cast_nullable_to_non_nullable - as int, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$ShortStartedEventImpl implements _ShortStartedEvent { - const _$ShortStartedEventImpl({ - required this.shortId, - required this.shortTitle, - required this.replayCount, - required this.resumed, - required this.positionFraction, - required this.positionSeconds, - }); - - factory _$ShortStartedEventImpl.fromJson(Map json) => - _$$ShortStartedEventImplFromJson(json); - - @override - final String shortId; - @override - final String shortTitle; - @override - final int replayCount; - @override - final bool resumed; - @override - final double positionFraction; - @override - final int positionSeconds; - - @override - String toString() { + +class _ShortStartedEvent implements ShortStartedEvent { + const _ShortStartedEvent({required this.shortId, required this.shortTitle, required this.replayCount, required this.resumed, required this.positionFraction, required this.positionSeconds}); + factory _ShortStartedEvent.fromJson(Map json) => _$ShortStartedEventFromJson(json); + +@override final String shortId; +@override final String shortTitle; +@override final int replayCount; +@override final bool resumed; +@override final double positionFraction; +@override final int positionSeconds; + +/// Create a copy of ShortStartedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$ShortStartedEventCopyWith<_ShortStartedEvent> get copyWith => __$ShortStartedEventCopyWithImpl<_ShortStartedEvent>(this, _$identity); + +@override +Map toJson() { + return _$ShortStartedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ShortStartedEvent&&(identical(other.shortId, shortId) || other.shortId == shortId)&&(identical(other.shortTitle, shortTitle) || other.shortTitle == shortTitle)&&(identical(other.replayCount, replayCount) || other.replayCount == replayCount)&&(identical(other.resumed, resumed) || other.resumed == resumed)&&(identical(other.positionFraction, positionFraction) || other.positionFraction == positionFraction)&&(identical(other.positionSeconds, positionSeconds) || other.positionSeconds == positionSeconds)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,shortId,shortTitle,replayCount,resumed,positionFraction,positionSeconds); +} + +@override +String toString() { return 'ShortStartedEvent(shortId: $shortId, shortTitle: $shortTitle, replayCount: $replayCount, resumed: $resumed, positionFraction: $positionFraction, positionSeconds: $positionSeconds)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ShortStartedEventImpl && - (identical(other.shortId, shortId) || other.shortId == shortId) && - (identical(other.shortTitle, shortTitle) || - other.shortTitle == shortTitle) && - (identical(other.replayCount, replayCount) || - other.replayCount == replayCount) && - (identical(other.resumed, resumed) || other.resumed == resumed) && - (identical(other.positionFraction, positionFraction) || - other.positionFraction == positionFraction) && - (identical(other.positionSeconds, positionSeconds) || - other.positionSeconds == positionSeconds)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - shortId, - shortTitle, - replayCount, - resumed, - positionFraction, - positionSeconds, - ); - - /// Create a copy of ShortStartedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ShortStartedEventImplCopyWith<_$ShortStartedEventImpl> get copyWith => - __$$ShortStartedEventImplCopyWithImpl<_$ShortStartedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$ShortStartedEventImplToJson(this); - } -} - -abstract class _ShortStartedEvent implements ShortStartedEvent { - const factory _ShortStartedEvent({ - required final String shortId, - required final String shortTitle, - required final int replayCount, - required final bool resumed, - required final double positionFraction, - required final int positionSeconds, - }) = _$ShortStartedEventImpl; - - factory _ShortStartedEvent.fromJson(Map json) = - _$ShortStartedEventImpl.fromJson; - - @override - String get shortId; - @override - String get shortTitle; - @override - int get replayCount; - @override - bool get resumed; - @override - double get positionFraction; - @override - int get positionSeconds; - - /// Create a copy of ShortStartedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ShortStartedEventImplCopyWith<_$ShortStartedEventImpl> get copyWith => - throw _privateConstructorUsedError; -} - -ShortStoppedEvent _$ShortStoppedEventFromJson(Map json) { - return _ShortStoppedEvent.fromJson(json); } + +} + +/// @nodoc +abstract mixin class _$ShortStartedEventCopyWith<$Res> implements $ShortStartedEventCopyWith<$Res> { + factory _$ShortStartedEventCopyWith(_ShortStartedEvent value, $Res Function(_ShortStartedEvent) _then) = __$ShortStartedEventCopyWithImpl; +@override @useResult +$Res call({ + String shortId, String shortTitle, int replayCount, bool resumed, double positionFraction, int positionSeconds +}); + + + + +} +/// @nodoc +class __$ShortStartedEventCopyWithImpl<$Res> + implements _$ShortStartedEventCopyWith<$Res> { + __$ShortStartedEventCopyWithImpl(this._self, this._then); + + final _ShortStartedEvent _self; + final $Res Function(_ShortStartedEvent) _then; + +/// Create a copy of ShortStartedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? shortId = null,Object? shortTitle = null,Object? replayCount = null,Object? resumed = null,Object? positionFraction = null,Object? positionSeconds = null,}) { + return _then(_ShortStartedEvent( +shortId: null == shortId ? _self.shortId : shortId // ignore: cast_nullable_to_non_nullable +as String,shortTitle: null == shortTitle ? _self.shortTitle : shortTitle // ignore: cast_nullable_to_non_nullable +as String,replayCount: null == replayCount ? _self.replayCount : replayCount // ignore: cast_nullable_to_non_nullable +as int,resumed: null == resumed ? _self.resumed : resumed // ignore: cast_nullable_to_non_nullable +as bool,positionFraction: null == positionFraction ? _self.positionFraction : positionFraction // ignore: cast_nullable_to_non_nullable +as double,positionSeconds: null == positionSeconds ? _self.positionSeconds : positionSeconds // ignore: cast_nullable_to_non_nullable +as int, + )); +} + + +} + + /// @nodoc mixin _$ShortStoppedEvent { - String get shortId => throw _privateConstructorUsedError; - String? get shortTitle => throw _privateConstructorUsedError; - double get positionFraction => throw _privateConstructorUsedError; - int get positionSeconds => throw _privateConstructorUsedError; - int get replayCount => throw _privateConstructorUsedError; + + String get shortId; String? get shortTitle; double get positionFraction; int get positionSeconds; int get replayCount; +/// Create a copy of ShortStoppedEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ShortStoppedEventCopyWith get copyWith => _$ShortStoppedEventCopyWithImpl(this as ShortStoppedEvent, _$identity); /// Serializes this ShortStoppedEvent to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); - /// Create a copy of ShortStoppedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $ShortStoppedEventCopyWith get copyWith => - throw _privateConstructorUsedError; + +@override +bool operator ==(Object other) { + final _this = this as ShortStoppedEvent; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ShortStoppedEvent&&(identical(other.shortId, _this.shortId) || other.shortId == _this.shortId)&&(identical(other.shortTitle, _this.shortTitle) || other.shortTitle == _this.shortTitle)&&(identical(other.positionFraction, _this.positionFraction) || other.positionFraction == _this.positionFraction)&&(identical(other.positionSeconds, _this.positionSeconds) || other.positionSeconds == _this.positionSeconds)&&(identical(other.replayCount, _this.replayCount) || other.replayCount == _this.replayCount)); } -/// @nodoc -abstract class $ShortStoppedEventCopyWith<$Res> { - factory $ShortStoppedEventCopyWith( - ShortStoppedEvent value, - $Res Function(ShortStoppedEvent) then, - ) = _$ShortStoppedEventCopyWithImpl<$Res, ShortStoppedEvent>; - @useResult - $Res call({ - String shortId, - String? shortTitle, - double positionFraction, - int positionSeconds, - int replayCount, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as ShortStoppedEvent; + return Object.hash(runtimeType,_this.shortId,_this.shortTitle,_this.positionFraction,_this.positionSeconds,_this.replayCount); } -/// @nodoc -class _$ShortStoppedEventCopyWithImpl<$Res, $Val extends ShortStoppedEvent> - implements $ShortStoppedEventCopyWith<$Res> { - _$ShortStoppedEventCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of ShortStoppedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? shortId = null, - Object? shortTitle = freezed, - Object? positionFraction = null, - Object? positionSeconds = null, - Object? replayCount = null, - }) { - return _then( - _value.copyWith( - shortId: null == shortId - ? _value.shortId - : shortId // ignore: cast_nullable_to_non_nullable - as String, - shortTitle: freezed == shortTitle - ? _value.shortTitle - : shortTitle // ignore: cast_nullable_to_non_nullable - as String?, - positionFraction: null == positionFraction - ? _value.positionFraction - : positionFraction // ignore: cast_nullable_to_non_nullable - as double, - positionSeconds: null == positionSeconds - ? _value.positionSeconds - : positionSeconds // ignore: cast_nullable_to_non_nullable - as int, - replayCount: null == replayCount - ? _value.replayCount - : replayCount // ignore: cast_nullable_to_non_nullable - as int, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as ShortStoppedEvent; + return 'ShortStoppedEvent(shortId: ${_this.shortId}, shortTitle: ${_this.shortTitle}, positionFraction: ${_this.positionFraction}, positionSeconds: ${_this.positionSeconds}, replayCount: ${_this.replayCount})'; } + +} + +/// @nodoc +abstract mixin class $ShortStoppedEventCopyWith<$Res> { + factory $ShortStoppedEventCopyWith(ShortStoppedEvent value, $Res Function(ShortStoppedEvent) _then) = _$ShortStoppedEventCopyWithImpl; +@useResult +$Res call({ + String shortId, String? shortTitle, double positionFraction, int positionSeconds, int replayCount +}); + + + + +} /// @nodoc -abstract class _$$ShortStoppedEventImplCopyWith<$Res> +class _$ShortStoppedEventCopyWithImpl<$Res> implements $ShortStoppedEventCopyWith<$Res> { - factory _$$ShortStoppedEventImplCopyWith( - _$ShortStoppedEventImpl value, - $Res Function(_$ShortStoppedEventImpl) then, - ) = __$$ShortStoppedEventImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String shortId, - String? shortTitle, - double positionFraction, - int positionSeconds, - int replayCount, - }); + _$ShortStoppedEventCopyWithImpl(this._self, this._then); + + final ShortStoppedEvent _self; + final $Res Function(ShortStoppedEvent) _then; + +/// Create a copy of ShortStoppedEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? shortId = null,Object? shortTitle = freezed,Object? positionFraction = null,Object? positionSeconds = null,Object? replayCount = null,}) { + return _then(ShortStoppedEvent( +shortId: null == shortId ? _self.shortId : shortId // ignore: cast_nullable_to_non_nullable +as String,shortTitle: freezed == shortTitle ? _self.shortTitle : shortTitle // ignore: cast_nullable_to_non_nullable +as String?,positionFraction: null == positionFraction ? _self.positionFraction : positionFraction // ignore: cast_nullable_to_non_nullable +as double,positionSeconds: null == positionSeconds ? _self.positionSeconds : positionSeconds // ignore: cast_nullable_to_non_nullable +as int,replayCount: null == replayCount ? _self.replayCount : replayCount // ignore: cast_nullable_to_non_nullable +as int, + )); +} + +} + + +/// Adds pattern-matching-related methods to [ShortStoppedEvent]. +extension ShortStoppedEventPatterns on ShortStoppedEvent { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _ShortStoppedEvent value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _ShortStoppedEvent() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _ShortStoppedEvent value) $default,){ +final _that = this; +switch (_that) { +case _ShortStoppedEvent(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _ShortStoppedEvent value)? $default,){ +final _that = this; +switch (_that) { +case _ShortStoppedEvent() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String shortId, String? shortTitle, double positionFraction, int positionSeconds, int replayCount)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _ShortStoppedEvent() when $default != null: +return $default(_that.shortId,_that.shortTitle,_that.positionFraction,_that.positionSeconds,_that.replayCount);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String shortId, String? shortTitle, double positionFraction, int positionSeconds, int replayCount) $default,) {final _that = this; +switch (_that) { +case _ShortStoppedEvent(): +return $default(_that.shortId,_that.shortTitle,_that.positionFraction,_that.positionSeconds,_that.replayCount);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String shortId, String? shortTitle, double positionFraction, int positionSeconds, int replayCount)? $default,) {final _that = this; +switch (_that) { +case _ShortStoppedEvent() when $default != null: +return $default(_that.shortId,_that.shortTitle,_that.positionFraction,_that.positionSeconds,_that.replayCount);case _: + return null; + +} } -/// @nodoc -class __$$ShortStoppedEventImplCopyWithImpl<$Res> - extends _$ShortStoppedEventCopyWithImpl<$Res, _$ShortStoppedEventImpl> - implements _$$ShortStoppedEventImplCopyWith<$Res> { - __$$ShortStoppedEventImplCopyWithImpl( - _$ShortStoppedEventImpl _value, - $Res Function(_$ShortStoppedEventImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ShortStoppedEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? shortId = null, - Object? shortTitle = freezed, - Object? positionFraction = null, - Object? positionSeconds = null, - Object? replayCount = null, - }) { - return _then( - _$ShortStoppedEventImpl( - shortId: null == shortId - ? _value.shortId - : shortId // ignore: cast_nullable_to_non_nullable - as String, - shortTitle: freezed == shortTitle - ? _value.shortTitle - : shortTitle // ignore: cast_nullable_to_non_nullable - as String?, - positionFraction: null == positionFraction - ? _value.positionFraction - : positionFraction // ignore: cast_nullable_to_non_nullable - as double, - positionSeconds: null == positionSeconds - ? _value.positionSeconds - : positionSeconds // ignore: cast_nullable_to_non_nullable - as int, - replayCount: null == replayCount - ? _value.replayCount - : replayCount // ignore: cast_nullable_to_non_nullable - as int, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$ShortStoppedEventImpl implements _ShortStoppedEvent { - const _$ShortStoppedEventImpl({ - required this.shortId, - required this.shortTitle, - required this.positionFraction, - required this.positionSeconds, - required this.replayCount, - }); - - factory _$ShortStoppedEventImpl.fromJson(Map json) => - _$$ShortStoppedEventImplFromJson(json); - - @override - final String shortId; - @override - final String? shortTitle; - @override - final double positionFraction; - @override - final int positionSeconds; - @override - final int replayCount; - - @override - String toString() { + +class _ShortStoppedEvent implements ShortStoppedEvent { + const _ShortStoppedEvent({required this.shortId, required this.shortTitle, required this.positionFraction, required this.positionSeconds, required this.replayCount}); + factory _ShortStoppedEvent.fromJson(Map json) => _$ShortStoppedEventFromJson(json); + +@override final String shortId; +@override final String? shortTitle; +@override final double positionFraction; +@override final int positionSeconds; +@override final int replayCount; + +/// Create a copy of ShortStoppedEvent +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$ShortStoppedEventCopyWith<_ShortStoppedEvent> get copyWith => __$ShortStoppedEventCopyWithImpl<_ShortStoppedEvent>(this, _$identity); + +@override +Map toJson() { + return _$ShortStoppedEventToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ShortStoppedEvent&&(identical(other.shortId, shortId) || other.shortId == shortId)&&(identical(other.shortTitle, shortTitle) || other.shortTitle == shortTitle)&&(identical(other.positionFraction, positionFraction) || other.positionFraction == positionFraction)&&(identical(other.positionSeconds, positionSeconds) || other.positionSeconds == positionSeconds)&&(identical(other.replayCount, replayCount) || other.replayCount == replayCount)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,shortId,shortTitle,positionFraction,positionSeconds,replayCount); +} + +@override +String toString() { return 'ShortStoppedEvent(shortId: $shortId, shortTitle: $shortTitle, positionFraction: $positionFraction, positionSeconds: $positionSeconds, replayCount: $replayCount)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ShortStoppedEventImpl && - (identical(other.shortId, shortId) || other.shortId == shortId) && - (identical(other.shortTitle, shortTitle) || - other.shortTitle == shortTitle) && - (identical(other.positionFraction, positionFraction) || - other.positionFraction == positionFraction) && - (identical(other.positionSeconds, positionSeconds) || - other.positionSeconds == positionSeconds) && - (identical(other.replayCount, replayCount) || - other.replayCount == replayCount)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - shortId, - shortTitle, - positionFraction, - positionSeconds, - replayCount, - ); - - /// Create a copy of ShortStoppedEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ShortStoppedEventImplCopyWith<_$ShortStoppedEventImpl> get copyWith => - __$$ShortStoppedEventImplCopyWithImpl<_$ShortStoppedEventImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$ShortStoppedEventImplToJson(this); - } -} - -abstract class _ShortStoppedEvent implements ShortStoppedEvent { - const factory _ShortStoppedEvent({ - required final String shortId, - required final String? shortTitle, - required final double positionFraction, - required final int positionSeconds, - required final int replayCount, - }) = _$ShortStoppedEventImpl; - - factory _ShortStoppedEvent.fromJson(Map json) = - _$ShortStoppedEventImpl.fromJson; - - @override - String get shortId; - @override - String? get shortTitle; - @override - double get positionFraction; - @override - int get positionSeconds; - @override - int get replayCount; - - /// Create a copy of ShortStoppedEvent - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ShortStoppedEventImplCopyWith<_$ShortStoppedEventImpl> get copyWith => - throw _privateConstructorUsedError; } + + +} + +/// @nodoc +abstract mixin class _$ShortStoppedEventCopyWith<$Res> implements $ShortStoppedEventCopyWith<$Res> { + factory _$ShortStoppedEventCopyWith(_ShortStoppedEvent value, $Res Function(_ShortStoppedEvent) _then) = __$ShortStoppedEventCopyWithImpl; +@override @useResult +$Res call({ + String shortId, String? shortTitle, double positionFraction, int positionSeconds, int replayCount +}); + + + + +} +/// @nodoc +class __$ShortStoppedEventCopyWithImpl<$Res> + implements _$ShortStoppedEventCopyWith<$Res> { + __$ShortStoppedEventCopyWithImpl(this._self, this._then); + + final _ShortStoppedEvent _self; + final $Res Function(_ShortStoppedEvent) _then; + +/// Create a copy of ShortStoppedEvent +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? shortId = null,Object? shortTitle = freezed,Object? positionFraction = null,Object? positionSeconds = null,Object? replayCount = null,}) { + return _then(_ShortStoppedEvent( +shortId: null == shortId ? _self.shortId : shortId // ignore: cast_nullable_to_non_nullable +as String,shortTitle: freezed == shortTitle ? _self.shortTitle : shortTitle // ignore: cast_nullable_to_non_nullable +as String?,positionFraction: null == positionFraction ? _self.positionFraction : positionFraction // ignore: cast_nullable_to_non_nullable +as double,positionSeconds: null == positionSeconds ? _self.positionSeconds : positionSeconds // ignore: cast_nullable_to_non_nullable +as int,replayCount: null == replayCount ? _self.replayCount : replayCount // ignore: cast_nullable_to_non_nullable +as int, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/analytics/shorts.g.dart b/bccm_core/lib/src/models/analytics/shorts.g.dart index f80ee40..1b0d9ef 100644 --- a/bccm_core/lib/src/models/analytics/shorts.g.dart +++ b/bccm_core/lib/src/models/analytics/shorts.g.dart @@ -6,44 +6,40 @@ part of 'shorts.dart'; // JsonSerializableGenerator // ************************************************************************** -_$ShortStartedEventImpl _$$ShortStartedEventImplFromJson( - Map json, -) => _$ShortStartedEventImpl( - shortId: json['shortId'] as String, - shortTitle: json['shortTitle'] as String, - replayCount: (json['replayCount'] as num).toInt(), - resumed: json['resumed'] as bool, - positionFraction: (json['positionFraction'] as num).toDouble(), - positionSeconds: (json['positionSeconds'] as num).toInt(), -); +_ShortStartedEvent _$ShortStartedEventFromJson(Map json) => + _ShortStartedEvent( + shortId: json['shortId'] as String, + shortTitle: json['shortTitle'] as String, + replayCount: (json['replayCount'] as num).toInt(), + resumed: json['resumed'] as bool, + positionFraction: (json['positionFraction'] as num).toDouble(), + positionSeconds: (json['positionSeconds'] as num).toInt(), + ); -Map _$$ShortStartedEventImplToJson( - _$ShortStartedEventImpl instance, -) => { - 'shortId': instance.shortId, - 'shortTitle': instance.shortTitle, - 'replayCount': instance.replayCount, - 'resumed': instance.resumed, - 'positionFraction': instance.positionFraction, - 'positionSeconds': instance.positionSeconds, -}; +Map _$ShortStartedEventToJson(_ShortStartedEvent instance) => + { + 'shortId': instance.shortId, + 'shortTitle': instance.shortTitle, + 'replayCount': instance.replayCount, + 'resumed': instance.resumed, + 'positionFraction': instance.positionFraction, + 'positionSeconds': instance.positionSeconds, + }; -_$ShortStoppedEventImpl _$$ShortStoppedEventImplFromJson( - Map json, -) => _$ShortStoppedEventImpl( - shortId: json['shortId'] as String, - shortTitle: json['shortTitle'] as String?, - positionFraction: (json['positionFraction'] as num).toDouble(), - positionSeconds: (json['positionSeconds'] as num).toInt(), - replayCount: (json['replayCount'] as num).toInt(), -); +_ShortStoppedEvent _$ShortStoppedEventFromJson(Map json) => + _ShortStoppedEvent( + shortId: json['shortId'] as String, + shortTitle: json['shortTitle'] as String?, + positionFraction: (json['positionFraction'] as num).toDouble(), + positionSeconds: (json['positionSeconds'] as num).toInt(), + replayCount: (json['replayCount'] as num).toInt(), + ); -Map _$$ShortStoppedEventImplToJson( - _$ShortStoppedEventImpl instance, -) => { - 'shortId': instance.shortId, - 'shortTitle': instance.shortTitle, - 'positionFraction': instance.positionFraction, - 'positionSeconds': instance.positionSeconds, - 'replayCount': instance.replayCount, -}; +Map _$ShortStoppedEventToJson(_ShortStoppedEvent instance) => + { + 'shortId': instance.shortId, + 'shortTitle': instance.shortTitle, + 'positionFraction': instance.positionFraction, + 'positionSeconds': instance.positionSeconds, + 'replayCount': instance.replayCount, + }; diff --git a/bccm_core/lib/src/models/auth0/auth0_api.freezed.dart b/bccm_core/lib/src/models/auth0/auth0_api.freezed.dart index d3dbc36..ac8ebab 100644 --- a/bccm_core/lib/src/models/auth0/auth0_api.freezed.dart +++ b/bccm_core/lib/src/models/auth0/auth0_api.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'auth0_api.dart'; @@ -9,890 +9,909 @@ part of 'auth0_api.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); +/// @nodoc +mixin _$Auth0SignupRequestBody implements DiagnosticableTreeMixin { -Auth0SignupRequestBody _$Auth0SignupRequestBodyFromJson( - Map json, -) { - return _Auth0SignupRequestBody.fromJson(json); + String get clientId; String get email; String get password; String get connection; String? get username; String? get givenName; String? get familyName; String? get name; String? get nickname; String? get pictureUrl; Map? get userMetadata; +/// Create a copy of Auth0SignupRequestBody +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$Auth0SignupRequestBodyCopyWith get copyWith => _$Auth0SignupRequestBodyCopyWithImpl(this as Auth0SignupRequestBody, _$identity); + + /// Serializes this Auth0SignupRequestBody to a JSON map. + Map toJson(); + +@override +void debugFillProperties(DiagnosticPropertiesBuilder properties) { + final _this = this as Auth0SignupRequestBody; + properties + ..add(DiagnosticsProperty('type', 'Auth0SignupRequestBody')) + ..add(DiagnosticsProperty('clientId', _this.clientId))..add(DiagnosticsProperty('email', _this.email))..add(DiagnosticsProperty('password', _this.password))..add(DiagnosticsProperty('connection', _this.connection))..add(DiagnosticsProperty('username', _this.username))..add(DiagnosticsProperty('givenName', _this.givenName))..add(DiagnosticsProperty('familyName', _this.familyName))..add(DiagnosticsProperty('name', _this.name))..add(DiagnosticsProperty('nickname', _this.nickname))..add(DiagnosticsProperty('pictureUrl', _this.pictureUrl))..add(DiagnosticsProperty('userMetadata', _this.userMetadata)); } -/// @nodoc -mixin _$Auth0SignupRequestBody { - String get clientId => throw _privateConstructorUsedError; - String get email => throw _privateConstructorUsedError; - String get password => throw _privateConstructorUsedError; - String get connection => throw _privateConstructorUsedError; - String? get username => throw _privateConstructorUsedError; - String? get givenName => throw _privateConstructorUsedError; - String? get familyName => throw _privateConstructorUsedError; - String? get name => throw _privateConstructorUsedError; - String? get nickname => throw _privateConstructorUsedError; - String? get pictureUrl => throw _privateConstructorUsedError; - Map? get userMetadata => throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as Auth0SignupRequestBody; + return identical(this, other) || (other.runtimeType == runtimeType&&other is Auth0SignupRequestBody&&(identical(other.clientId, _this.clientId) || other.clientId == _this.clientId)&&(identical(other.email, _this.email) || other.email == _this.email)&&(identical(other.password, _this.password) || other.password == _this.password)&&(identical(other.connection, _this.connection) || other.connection == _this.connection)&&(identical(other.username, _this.username) || other.username == _this.username)&&(identical(other.givenName, _this.givenName) || other.givenName == _this.givenName)&&(identical(other.familyName, _this.familyName) || other.familyName == _this.familyName)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.nickname, _this.nickname) || other.nickname == _this.nickname)&&(identical(other.pictureUrl, _this.pictureUrl) || other.pictureUrl == _this.pictureUrl)&&const DeepCollectionEquality().equals(other.userMetadata, _this.userMetadata)); +} - /// Serializes this Auth0SignupRequestBody to a JSON map. - Map toJson() => throw _privateConstructorUsedError; +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as Auth0SignupRequestBody; + return Object.hash(runtimeType,_this.clientId,_this.email,_this.password,_this.connection,_this.username,_this.givenName,_this.familyName,_this.name,_this.nickname,_this.pictureUrl,const DeepCollectionEquality().hash(_this.userMetadata)); +} - /// Create a copy of Auth0SignupRequestBody - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $Auth0SignupRequestBodyCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { + final _this = this as Auth0SignupRequestBody; + return 'Auth0SignupRequestBody(clientId: ${_this.clientId}, email: ${_this.email}, password: ${_this.password}, connection: ${_this.connection}, username: ${_this.username}, givenName: ${_this.givenName}, familyName: ${_this.familyName}, name: ${_this.name}, nickname: ${_this.nickname}, pictureUrl: ${_this.pictureUrl}, userMetadata: ${_this.userMetadata})'; } -/// @nodoc -abstract class $Auth0SignupRequestBodyCopyWith<$Res> { - factory $Auth0SignupRequestBodyCopyWith( - Auth0SignupRequestBody value, - $Res Function(Auth0SignupRequestBody) then, - ) = _$Auth0SignupRequestBodyCopyWithImpl<$Res, Auth0SignupRequestBody>; - @useResult - $Res call({ - String clientId, - String email, - String password, - String connection, - String? username, - String? givenName, - String? familyName, - String? name, - String? nickname, - String? pictureUrl, - Map? userMetadata, - }); + } /// @nodoc -class _$Auth0SignupRequestBodyCopyWithImpl< - $Res, - $Val extends Auth0SignupRequestBody -> - implements $Auth0SignupRequestBodyCopyWith<$Res> { - _$Auth0SignupRequestBodyCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of Auth0SignupRequestBody - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? clientId = null, - Object? email = null, - Object? password = null, - Object? connection = null, - Object? username = freezed, - Object? givenName = freezed, - Object? familyName = freezed, - Object? name = freezed, - Object? nickname = freezed, - Object? pictureUrl = freezed, - Object? userMetadata = freezed, - }) { - return _then( - _value.copyWith( - clientId: null == clientId - ? _value.clientId - : clientId // ignore: cast_nullable_to_non_nullable - as String, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, - connection: null == connection - ? _value.connection - : connection // ignore: cast_nullable_to_non_nullable - as String, - username: freezed == username - ? _value.username - : username // ignore: cast_nullable_to_non_nullable - as String?, - givenName: freezed == givenName - ? _value.givenName - : givenName // ignore: cast_nullable_to_non_nullable - as String?, - familyName: freezed == familyName - ? _value.familyName - : familyName // ignore: cast_nullable_to_non_nullable - as String?, - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - nickname: freezed == nickname - ? _value.nickname - : nickname // ignore: cast_nullable_to_non_nullable - as String?, - pictureUrl: freezed == pictureUrl - ? _value.pictureUrl - : pictureUrl // ignore: cast_nullable_to_non_nullable - as String?, - userMetadata: freezed == userMetadata - ? _value.userMetadata - : userMetadata // ignore: cast_nullable_to_non_nullable - as Map?, - ) - as $Val, - ); - } -} +abstract mixin class $Auth0SignupRequestBodyCopyWith<$Res> { + factory $Auth0SignupRequestBodyCopyWith(Auth0SignupRequestBody value, $Res Function(Auth0SignupRequestBody) _then) = _$Auth0SignupRequestBodyCopyWithImpl; +@useResult +$Res call({ + String clientId, String email, String password, String connection, String? username, String? givenName, String? familyName, String? name, String? nickname, String? pictureUrl, Map? userMetadata +}); + + + +} /// @nodoc -abstract class _$$Auth0SignupRequestBodyImplCopyWith<$Res> +class _$Auth0SignupRequestBodyCopyWithImpl<$Res> implements $Auth0SignupRequestBodyCopyWith<$Res> { - factory _$$Auth0SignupRequestBodyImplCopyWith( - _$Auth0SignupRequestBodyImpl value, - $Res Function(_$Auth0SignupRequestBodyImpl) then, - ) = __$$Auth0SignupRequestBodyImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String clientId, - String email, - String password, - String connection, - String? username, - String? givenName, - String? familyName, - String? name, - String? nickname, - String? pictureUrl, - Map? userMetadata, - }); + _$Auth0SignupRequestBodyCopyWithImpl(this._self, this._then); + + final Auth0SignupRequestBody _self; + final $Res Function(Auth0SignupRequestBody) _then; + +/// Create a copy of Auth0SignupRequestBody +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? clientId = null,Object? email = null,Object? password = null,Object? connection = null,Object? username = freezed,Object? givenName = freezed,Object? familyName = freezed,Object? name = freezed,Object? nickname = freezed,Object? pictureUrl = freezed,Object? userMetadata = freezed,}) { + return _then(Auth0SignupRequestBody( +clientId: null == clientId ? _self.clientId : clientId // ignore: cast_nullable_to_non_nullable +as String,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable +as String,password: null == password ? _self.password : password // ignore: cast_nullable_to_non_nullable +as String,connection: null == connection ? _self.connection : connection // ignore: cast_nullable_to_non_nullable +as String,username: freezed == username ? _self.username : username // ignore: cast_nullable_to_non_nullable +as String?,givenName: freezed == givenName ? _self.givenName : givenName // ignore: cast_nullable_to_non_nullable +as String?,familyName: freezed == familyName ? _self.familyName : familyName // ignore: cast_nullable_to_non_nullable +as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,nickname: freezed == nickname ? _self.nickname : nickname // ignore: cast_nullable_to_non_nullable +as String?,pictureUrl: freezed == pictureUrl ? _self.pictureUrl : pictureUrl // ignore: cast_nullable_to_non_nullable +as String?,userMetadata: freezed == userMetadata ? _self.userMetadata : userMetadata // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [Auth0SignupRequestBody]. +extension Auth0SignupRequestBodyPatterns on Auth0SignupRequestBody { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _Auth0SignupRequestBody value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _Auth0SignupRequestBody() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _Auth0SignupRequestBody value) $default,){ +final _that = this; +switch (_that) { +case _Auth0SignupRequestBody(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _Auth0SignupRequestBody value)? $default,){ +final _that = this; +switch (_that) { +case _Auth0SignupRequestBody() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String clientId, String email, String password, String connection, String? username, String? givenName, String? familyName, String? name, String? nickname, String? pictureUrl, Map? userMetadata)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _Auth0SignupRequestBody() when $default != null: +return $default(_that.clientId,_that.email,_that.password,_that.connection,_that.username,_that.givenName,_that.familyName,_that.name,_that.nickname,_that.pictureUrl,_that.userMetadata);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String clientId, String email, String password, String connection, String? username, String? givenName, String? familyName, String? name, String? nickname, String? pictureUrl, Map? userMetadata) $default,) {final _that = this; +switch (_that) { +case _Auth0SignupRequestBody(): +return $default(_that.clientId,_that.email,_that.password,_that.connection,_that.username,_that.givenName,_that.familyName,_that.name,_that.nickname,_that.pictureUrl,_that.userMetadata);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String clientId, String email, String password, String connection, String? username, String? givenName, String? familyName, String? name, String? nickname, String? pictureUrl, Map? userMetadata)? $default,) {final _that = this; +switch (_that) { +case _Auth0SignupRequestBody() when $default != null: +return $default(_that.clientId,_that.email,_that.password,_that.connection,_that.username,_that.givenName,_that.familyName,_that.name,_that.nickname,_that.pictureUrl,_that.userMetadata);case _: + return null; + +} } -/// @nodoc -class __$$Auth0SignupRequestBodyImplCopyWithImpl<$Res> - extends - _$Auth0SignupRequestBodyCopyWithImpl<$Res, _$Auth0SignupRequestBodyImpl> - implements _$$Auth0SignupRequestBodyImplCopyWith<$Res> { - __$$Auth0SignupRequestBodyImplCopyWithImpl( - _$Auth0SignupRequestBodyImpl _value, - $Res Function(_$Auth0SignupRequestBodyImpl) _then, - ) : super(_value, _then); - - /// Create a copy of Auth0SignupRequestBody - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? clientId = null, - Object? email = null, - Object? password = null, - Object? connection = null, - Object? username = freezed, - Object? givenName = freezed, - Object? familyName = freezed, - Object? name = freezed, - Object? nickname = freezed, - Object? pictureUrl = freezed, - Object? userMetadata = freezed, - }) { - return _then( - _$Auth0SignupRequestBodyImpl( - clientId: null == clientId - ? _value.clientId - : clientId // ignore: cast_nullable_to_non_nullable - as String, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, - connection: null == connection - ? _value.connection - : connection // ignore: cast_nullable_to_non_nullable - as String, - username: freezed == username - ? _value.username - : username // ignore: cast_nullable_to_non_nullable - as String?, - givenName: freezed == givenName - ? _value.givenName - : givenName // ignore: cast_nullable_to_non_nullable - as String?, - familyName: freezed == familyName - ? _value.familyName - : familyName // ignore: cast_nullable_to_non_nullable - as String?, - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - nickname: freezed == nickname - ? _value.nickname - : nickname // ignore: cast_nullable_to_non_nullable - as String?, - pictureUrl: freezed == pictureUrl - ? _value.pictureUrl - : pictureUrl // ignore: cast_nullable_to_non_nullable - as String?, - userMetadata: freezed == userMetadata - ? _value._userMetadata - : userMetadata // ignore: cast_nullable_to_non_nullable - as Map?, - ), - ); - } } /// @nodoc @JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake) -class _$Auth0SignupRequestBodyImpl - with DiagnosticableTreeMixin - implements _Auth0SignupRequestBody { - _$Auth0SignupRequestBodyImpl({ - required this.clientId, - required this.email, - required this.password, - required this.connection, - this.username, - this.givenName, - this.familyName, - this.name, - this.nickname, - this.pictureUrl, - final Map? userMetadata, - }) : _userMetadata = userMetadata; - - factory _$Auth0SignupRequestBodyImpl.fromJson(Map json) => - _$$Auth0SignupRequestBodyImplFromJson(json); - - @override - final String clientId; - @override - final String email; - @override - final String password; - @override - final String connection; - @override - final String? username; - @override - final String? givenName; - @override - final String? familyName; - @override - final String? name; - @override - final String? nickname; - @override - final String? pictureUrl; - final Map? _userMetadata; - @override - Map? get userMetadata { - final value = _userMetadata; - if (value == null) return null; - if (_userMetadata is EqualUnmodifiableMapView) return _userMetadata; - // ignore: implicit_dynamic_type - return EqualUnmodifiableMapView(value); - } - - @override - String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { - return 'Auth0SignupRequestBody(clientId: $clientId, email: $email, password: $password, connection: $connection, username: $username, givenName: $givenName, familyName: $familyName, name: $name, nickname: $nickname, pictureUrl: $pictureUrl, userMetadata: $userMetadata)'; - } +class _Auth0SignupRequestBody with DiagnosticableTreeMixin implements Auth0SignupRequestBody { + _Auth0SignupRequestBody({required this.clientId, required this.email, required this.password, required this.connection, this.username, this.givenName, this.familyName, this.name, this.nickname, this.pictureUrl, Map? userMetadata}): _userMetadata = userMetadata; + factory _Auth0SignupRequestBody.fromJson(Map json) => _$Auth0SignupRequestBodyFromJson(json); + +@override final String clientId; +@override final String email; +@override final String password; +@override final String connection; +@override final String? username; +@override final String? givenName; +@override final String? familyName; +@override final String? name; +@override final String? nickname; +@override final String? pictureUrl; + final Map? _userMetadata; +@override Map? get userMetadata { + final value = _userMetadata; + if (value == null) return null; + if (_userMetadata is EqualUnmodifiableMapView) return _userMetadata; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + - @override - void debugFillProperties(DiagnosticPropertiesBuilder properties) { - super.debugFillProperties(properties); +/// Create a copy of Auth0SignupRequestBody +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$Auth0SignupRequestBodyCopyWith<_Auth0SignupRequestBody> get copyWith => __$Auth0SignupRequestBodyCopyWithImpl<_Auth0SignupRequestBody>(this, _$identity); + +@override +Map toJson() { + return _$Auth0SignupRequestBodyToJson(this, ); +} +@override +void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties - ..add(DiagnosticsProperty('type', 'Auth0SignupRequestBody')) - ..add(DiagnosticsProperty('clientId', clientId)) - ..add(DiagnosticsProperty('email', email)) - ..add(DiagnosticsProperty('password', password)) - ..add(DiagnosticsProperty('connection', connection)) - ..add(DiagnosticsProperty('username', username)) - ..add(DiagnosticsProperty('givenName', givenName)) - ..add(DiagnosticsProperty('familyName', familyName)) - ..add(DiagnosticsProperty('name', name)) - ..add(DiagnosticsProperty('nickname', nickname)) - ..add(DiagnosticsProperty('pictureUrl', pictureUrl)) - ..add(DiagnosticsProperty('userMetadata', userMetadata)); - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$Auth0SignupRequestBodyImpl && - (identical(other.clientId, clientId) || - other.clientId == clientId) && - (identical(other.email, email) || other.email == email) && - (identical(other.password, password) || - other.password == password) && - (identical(other.connection, connection) || - other.connection == connection) && - (identical(other.username, username) || - other.username == username) && - (identical(other.givenName, givenName) || - other.givenName == givenName) && - (identical(other.familyName, familyName) || - other.familyName == familyName) && - (identical(other.name, name) || other.name == name) && - (identical(other.nickname, nickname) || - other.nickname == nickname) && - (identical(other.pictureUrl, pictureUrl) || - other.pictureUrl == pictureUrl) && - const DeepCollectionEquality().equals( - other._userMetadata, - _userMetadata, - )); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - clientId, - email, - password, - connection, - username, - givenName, - familyName, - name, - nickname, - pictureUrl, - const DeepCollectionEquality().hash(_userMetadata), - ); - - /// Create a copy of Auth0SignupRequestBody - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$Auth0SignupRequestBodyImplCopyWith<_$Auth0SignupRequestBodyImpl> - get copyWith => - __$$Auth0SignupRequestBodyImplCopyWithImpl<_$Auth0SignupRequestBodyImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$Auth0SignupRequestBodyImplToJson(this); - } -} - -abstract class _Auth0SignupRequestBody implements Auth0SignupRequestBody { - factory _Auth0SignupRequestBody({ - required final String clientId, - required final String email, - required final String password, - required final String connection, - final String? username, - final String? givenName, - final String? familyName, - final String? name, - final String? nickname, - final String? pictureUrl, - final Map? userMetadata, - }) = _$Auth0SignupRequestBodyImpl; - - factory _Auth0SignupRequestBody.fromJson(Map json) = - _$Auth0SignupRequestBodyImpl.fromJson; - - @override - String get clientId; - @override - String get email; - @override - String get password; - @override - String get connection; - @override - String? get username; - @override - String? get givenName; - @override - String? get familyName; - @override - String? get name; - @override - String? get nickname; - @override - String? get pictureUrl; - @override - Map? get userMetadata; - - /// Create a copy of Auth0SignupRequestBody - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$Auth0SignupRequestBodyImplCopyWith<_$Auth0SignupRequestBodyImpl> - get copyWith => throw _privateConstructorUsedError; -} - -Auth0SignupResponse _$Auth0SignupResponseFromJson(Map json) { - return _Auth0SignupResponse.fromJson(json); + ..add(DiagnosticsProperty('type', 'Auth0SignupRequestBody')) + ..add(DiagnosticsProperty('clientId', clientId))..add(DiagnosticsProperty('email', email))..add(DiagnosticsProperty('password', password))..add(DiagnosticsProperty('connection', connection))..add(DiagnosticsProperty('username', username))..add(DiagnosticsProperty('givenName', givenName))..add(DiagnosticsProperty('familyName', familyName))..add(DiagnosticsProperty('name', name))..add(DiagnosticsProperty('nickname', nickname))..add(DiagnosticsProperty('pictureUrl', pictureUrl))..add(DiagnosticsProperty('userMetadata', userMetadata)); } -/// @nodoc -mixin _$Auth0SignupResponse { - @JsonKey(name: 'user_id') - String get user_id => throw _privateConstructorUsedError; - @JsonKey(name: 'email_verified') - bool get emailVerified => throw _privateConstructorUsedError; - String get email => throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Auth0SignupRequestBody&&(identical(other.clientId, clientId) || other.clientId == clientId)&&(identical(other.email, email) || other.email == email)&&(identical(other.password, password) || other.password == password)&&(identical(other.connection, connection) || other.connection == connection)&&(identical(other.username, username) || other.username == username)&&(identical(other.givenName, givenName) || other.givenName == givenName)&&(identical(other.familyName, familyName) || other.familyName == familyName)&&(identical(other.name, name) || other.name == name)&&(identical(other.nickname, nickname) || other.nickname == nickname)&&(identical(other.pictureUrl, pictureUrl) || other.pictureUrl == pictureUrl)&&const DeepCollectionEquality().equals(other.userMetadata, _userMetadata)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,clientId,email,password,connection,username,givenName,familyName,name,nickname,pictureUrl,const DeepCollectionEquality().hash(_userMetadata)); +} + +@override +String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { + return 'Auth0SignupRequestBody(clientId: $clientId, email: $email, password: $password, connection: $connection, username: $username, givenName: $givenName, familyName: $familyName, name: $name, nickname: $nickname, pictureUrl: $pictureUrl, userMetadata: $userMetadata)'; +} - /// Serializes this Auth0SignupResponse to a JSON map. - Map toJson() => throw _privateConstructorUsedError; - /// Create a copy of Auth0SignupResponse - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $Auth0SignupResponseCopyWith get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class $Auth0SignupResponseCopyWith<$Res> { - factory $Auth0SignupResponseCopyWith( - Auth0SignupResponse value, - $Res Function(Auth0SignupResponse) then, - ) = _$Auth0SignupResponseCopyWithImpl<$Res, Auth0SignupResponse>; - @useResult - $Res call({ - @JsonKey(name: 'user_id') String user_id, - @JsonKey(name: 'email_verified') bool emailVerified, - String email, - }); +abstract mixin class _$Auth0SignupRequestBodyCopyWith<$Res> implements $Auth0SignupRequestBodyCopyWith<$Res> { + factory _$Auth0SignupRequestBodyCopyWith(_Auth0SignupRequestBody value, $Res Function(_Auth0SignupRequestBody) _then) = __$Auth0SignupRequestBodyCopyWithImpl; +@override @useResult +$Res call({ + String clientId, String email, String password, String connection, String? username, String? givenName, String? familyName, String? name, String? nickname, String? pictureUrl, Map? userMetadata +}); + + + + +} +/// @nodoc +class __$Auth0SignupRequestBodyCopyWithImpl<$Res> + implements _$Auth0SignupRequestBodyCopyWith<$Res> { + __$Auth0SignupRequestBodyCopyWithImpl(this._self, this._then); + + final _Auth0SignupRequestBody _self; + final $Res Function(_Auth0SignupRequestBody) _then; + +/// Create a copy of Auth0SignupRequestBody +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? clientId = null,Object? email = null,Object? password = null,Object? connection = null,Object? username = freezed,Object? givenName = freezed,Object? familyName = freezed,Object? name = freezed,Object? nickname = freezed,Object? pictureUrl = freezed,Object? userMetadata = freezed,}) { + return _then(_Auth0SignupRequestBody( +clientId: null == clientId ? _self.clientId : clientId // ignore: cast_nullable_to_non_nullable +as String,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable +as String,password: null == password ? _self.password : password // ignore: cast_nullable_to_non_nullable +as String,connection: null == connection ? _self.connection : connection // ignore: cast_nullable_to_non_nullable +as String,username: freezed == username ? _self.username : username // ignore: cast_nullable_to_non_nullable +as String?,givenName: freezed == givenName ? _self.givenName : givenName // ignore: cast_nullable_to_non_nullable +as String?,familyName: freezed == familyName ? _self.familyName : familyName // ignore: cast_nullable_to_non_nullable +as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,nickname: freezed == nickname ? _self.nickname : nickname // ignore: cast_nullable_to_non_nullable +as String?,pictureUrl: freezed == pictureUrl ? _self.pictureUrl : pictureUrl // ignore: cast_nullable_to_non_nullable +as String?,userMetadata: freezed == userMetadata ? _self._userMetadata : userMetadata // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + } + /// @nodoc -class _$Auth0SignupResponseCopyWithImpl<$Res, $Val extends Auth0SignupResponse> - implements $Auth0SignupResponseCopyWith<$Res> { - _$Auth0SignupResponseCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of Auth0SignupResponse - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? user_id = null, - Object? emailVerified = null, - Object? email = null, - }) { - return _then( - _value.copyWith( - user_id: null == user_id - ? _value.user_id - : user_id // ignore: cast_nullable_to_non_nullable - as String, - emailVerified: null == emailVerified - ? _value.emailVerified - : emailVerified // ignore: cast_nullable_to_non_nullable - as bool, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } +mixin _$Auth0SignupResponse implements DiagnosticableTreeMixin { + +@JsonKey(name: 'user_id') String get user_id;@JsonKey(name: 'email_verified') bool get emailVerified; String get email; +/// Create a copy of Auth0SignupResponse +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$Auth0SignupResponseCopyWith get copyWith => _$Auth0SignupResponseCopyWithImpl(this as Auth0SignupResponse, _$identity); + + /// Serializes this Auth0SignupResponse to a JSON map. + Map toJson(); + +@override +void debugFillProperties(DiagnosticPropertiesBuilder properties) { + final _this = this as Auth0SignupResponse; + properties + ..add(DiagnosticsProperty('type', 'Auth0SignupResponse')) + ..add(DiagnosticsProperty('user_id', _this.user_id))..add(DiagnosticsProperty('emailVerified', _this.emailVerified))..add(DiagnosticsProperty('email', _this.email)); +} + +@override +bool operator ==(Object other) { + final _this = this as Auth0SignupResponse; + return identical(this, other) || (other.runtimeType == runtimeType&&other is Auth0SignupResponse&&(identical(other.user_id, _this.user_id) || other.user_id == _this.user_id)&&(identical(other.emailVerified, _this.emailVerified) || other.emailVerified == _this.emailVerified)&&(identical(other.email, _this.email) || other.email == _this.email)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as Auth0SignupResponse; + return Object.hash(runtimeType,_this.user_id,_this.emailVerified,_this.email); +} + +@override +String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { + final _this = this as Auth0SignupResponse; + return 'Auth0SignupResponse(user_id: ${_this.user_id}, emailVerified: ${_this.emailVerified}, email: ${_this.email})'; +} + + } /// @nodoc -abstract class _$$Auth0SignupResponseImplCopyWith<$Res> +abstract mixin class $Auth0SignupResponseCopyWith<$Res> { + factory $Auth0SignupResponseCopyWith(Auth0SignupResponse value, $Res Function(Auth0SignupResponse) _then) = _$Auth0SignupResponseCopyWithImpl; +@useResult +$Res call({ +@JsonKey(name: 'user_id') String user_id,@JsonKey(name: 'email_verified') bool emailVerified, String email +}); + + + + +} +/// @nodoc +class _$Auth0SignupResponseCopyWithImpl<$Res> implements $Auth0SignupResponseCopyWith<$Res> { - factory _$$Auth0SignupResponseImplCopyWith( - _$Auth0SignupResponseImpl value, - $Res Function(_$Auth0SignupResponseImpl) then, - ) = __$$Auth0SignupResponseImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - @JsonKey(name: 'user_id') String user_id, - @JsonKey(name: 'email_verified') bool emailVerified, - String email, - }); + _$Auth0SignupResponseCopyWithImpl(this._self, this._then); + + final Auth0SignupResponse _self; + final $Res Function(Auth0SignupResponse) _then; + +/// Create a copy of Auth0SignupResponse +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? user_id = null,Object? emailVerified = null,Object? email = null,}) { + return _then(Auth0SignupResponse( +user_id: null == user_id ? _self.user_id : user_id // ignore: cast_nullable_to_non_nullable +as String,emailVerified: null == emailVerified ? _self.emailVerified : emailVerified // ignore: cast_nullable_to_non_nullable +as bool,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [Auth0SignupResponse]. +extension Auth0SignupResponsePatterns on Auth0SignupResponse { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _Auth0SignupResponse value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _Auth0SignupResponse() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _Auth0SignupResponse value) $default,){ +final _that = this; +switch (_that) { +case _Auth0SignupResponse(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _Auth0SignupResponse value)? $default,){ +final _that = this; +switch (_that) { +case _Auth0SignupResponse() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'user_id') String user_id, @JsonKey(name: 'email_verified') bool emailVerified, String email)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _Auth0SignupResponse() when $default != null: +return $default(_that.user_id,_that.emailVerified,_that.email);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'user_id') String user_id, @JsonKey(name: 'email_verified') bool emailVerified, String email) $default,) {final _that = this; +switch (_that) { +case _Auth0SignupResponse(): +return $default(_that.user_id,_that.emailVerified,_that.email);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'user_id') String user_id, @JsonKey(name: 'email_verified') bool emailVerified, String email)? $default,) {final _that = this; +switch (_that) { +case _Auth0SignupResponse() when $default != null: +return $default(_that.user_id,_that.emailVerified,_that.email);case _: + return null; + +} } -/// @nodoc -class __$$Auth0SignupResponseImplCopyWithImpl<$Res> - extends _$Auth0SignupResponseCopyWithImpl<$Res, _$Auth0SignupResponseImpl> - implements _$$Auth0SignupResponseImplCopyWith<$Res> { - __$$Auth0SignupResponseImplCopyWithImpl( - _$Auth0SignupResponseImpl _value, - $Res Function(_$Auth0SignupResponseImpl) _then, - ) : super(_value, _then); - - /// Create a copy of Auth0SignupResponse - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? user_id = null, - Object? emailVerified = null, - Object? email = null, - }) { - return _then( - _$Auth0SignupResponseImpl( - user_id: null == user_id - ? _value.user_id - : user_id // ignore: cast_nullable_to_non_nullable - as String, - emailVerified: null == emailVerified - ? _value.emailVerified - : emailVerified // ignore: cast_nullable_to_non_nullable - as bool, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$Auth0SignupResponseImpl - with DiagnosticableTreeMixin - implements _Auth0SignupResponse { - const _$Auth0SignupResponseImpl({ - @JsonKey(name: 'user_id') required this.user_id, - @JsonKey(name: 'email_verified') required this.emailVerified, - required this.email, - }); - - factory _$Auth0SignupResponseImpl.fromJson(Map json) => - _$$Auth0SignupResponseImplFromJson(json); - - @override - @JsonKey(name: 'user_id') - final String user_id; - @override - @JsonKey(name: 'email_verified') - final bool emailVerified; - @override - final String email; - - @override - String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { - return 'Auth0SignupResponse(user_id: $user_id, emailVerified: $emailVerified, email: $email)'; - } - @override - void debugFillProperties(DiagnosticPropertiesBuilder properties) { - super.debugFillProperties(properties); +class _Auth0SignupResponse with DiagnosticableTreeMixin implements Auth0SignupResponse { + const _Auth0SignupResponse({@JsonKey(name: 'user_id') required this.user_id, @JsonKey(name: 'email_verified') required this.emailVerified, required this.email}); + factory _Auth0SignupResponse.fromJson(Map json) => _$Auth0SignupResponseFromJson(json); + +@override@JsonKey(name: 'user_id') final String user_id; +@override@JsonKey(name: 'email_verified') final bool emailVerified; +@override final String email; + +/// Create a copy of Auth0SignupResponse +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$Auth0SignupResponseCopyWith<_Auth0SignupResponse> get copyWith => __$Auth0SignupResponseCopyWithImpl<_Auth0SignupResponse>(this, _$identity); + +@override +Map toJson() { + return _$Auth0SignupResponseToJson(this, ); +} +@override +void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties - ..add(DiagnosticsProperty('type', 'Auth0SignupResponse')) - ..add(DiagnosticsProperty('user_id', user_id)) - ..add(DiagnosticsProperty('emailVerified', emailVerified)) - ..add(DiagnosticsProperty('email', email)); - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$Auth0SignupResponseImpl && - (identical(other.user_id, user_id) || other.user_id == user_id) && - (identical(other.emailVerified, emailVerified) || - other.emailVerified == emailVerified) && - (identical(other.email, email) || other.email == email)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash(runtimeType, user_id, emailVerified, email); - - /// Create a copy of Auth0SignupResponse - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$Auth0SignupResponseImplCopyWith<_$Auth0SignupResponseImpl> get copyWith => - __$$Auth0SignupResponseImplCopyWithImpl<_$Auth0SignupResponseImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$Auth0SignupResponseImplToJson(this); - } -} - -abstract class _Auth0SignupResponse implements Auth0SignupResponse { - const factory _Auth0SignupResponse({ - @JsonKey(name: 'user_id') required final String user_id, - @JsonKey(name: 'email_verified') required final bool emailVerified, - required final String email, - }) = _$Auth0SignupResponseImpl; - - factory _Auth0SignupResponse.fromJson(Map json) = - _$Auth0SignupResponseImpl.fromJson; - - @override - @JsonKey(name: 'user_id') - String get user_id; - @override - @JsonKey(name: 'email_verified') - bool get emailVerified; - @override - String get email; - - /// Create a copy of Auth0SignupResponse - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$Auth0SignupResponseImplCopyWith<_$Auth0SignupResponseImpl> get copyWith => - throw _privateConstructorUsedError; -} - -Auth0ApiException _$Auth0ApiExceptionFromJson(Map json) { - return _Auth0ApiException.fromJson(json); + ..add(DiagnosticsProperty('type', 'Auth0SignupResponse')) + ..add(DiagnosticsProperty('user_id', user_id))..add(DiagnosticsProperty('emailVerified', emailVerified))..add(DiagnosticsProperty('email', email)); } -/// @nodoc -mixin _$Auth0ApiException { - String? get name => throw _privateConstructorUsedError; - String? get code => throw _privateConstructorUsedError; - String? get description => throw _privateConstructorUsedError; - int? get statusCode => throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Auth0SignupResponse&&(identical(other.user_id, user_id) || other.user_id == user_id)&&(identical(other.emailVerified, emailVerified) || other.emailVerified == emailVerified)&&(identical(other.email, email) || other.email == email)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,user_id,emailVerified,email); +} + +@override +String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { + return 'Auth0SignupResponse(user_id: $user_id, emailVerified: $emailVerified, email: $email)'; +} - /// Serializes this Auth0ApiException to a JSON map. - Map toJson() => throw _privateConstructorUsedError; - /// Create a copy of Auth0ApiException - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $Auth0ApiExceptionCopyWith get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class $Auth0ApiExceptionCopyWith<$Res> { - factory $Auth0ApiExceptionCopyWith( - Auth0ApiException value, - $Res Function(Auth0ApiException) then, - ) = _$Auth0ApiExceptionCopyWithImpl<$Res, Auth0ApiException>; - @useResult - $Res call({String? name, String? code, String? description, int? statusCode}); +abstract mixin class _$Auth0SignupResponseCopyWith<$Res> implements $Auth0SignupResponseCopyWith<$Res> { + factory _$Auth0SignupResponseCopyWith(_Auth0SignupResponse value, $Res Function(_Auth0SignupResponse) _then) = __$Auth0SignupResponseCopyWithImpl; +@override @useResult +$Res call({ +@JsonKey(name: 'user_id') String user_id,@JsonKey(name: 'email_verified') bool emailVerified, String email +}); + + + + +} +/// @nodoc +class __$Auth0SignupResponseCopyWithImpl<$Res> + implements _$Auth0SignupResponseCopyWith<$Res> { + __$Auth0SignupResponseCopyWithImpl(this._self, this._then); + + final _Auth0SignupResponse _self; + final $Res Function(_Auth0SignupResponse) _then; + +/// Create a copy of Auth0SignupResponse +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? user_id = null,Object? emailVerified = null,Object? email = null,}) { + return _then(_Auth0SignupResponse( +user_id: null == user_id ? _self.user_id : user_id // ignore: cast_nullable_to_non_nullable +as String,emailVerified: null == emailVerified ? _self.emailVerified : emailVerified // ignore: cast_nullable_to_non_nullable +as bool,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable +as String, + )); } + +} + + /// @nodoc -class _$Auth0ApiExceptionCopyWithImpl<$Res, $Val extends Auth0ApiException> - implements $Auth0ApiExceptionCopyWith<$Res> { - _$Auth0ApiExceptionCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of Auth0ApiException - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? name = freezed, - Object? code = freezed, - Object? description = freezed, - Object? statusCode = freezed, - }) { - return _then( - _value.copyWith( - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - code: freezed == code - ? _value.code - : code // ignore: cast_nullable_to_non_nullable - as String?, - description: freezed == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String?, - statusCode: freezed == statusCode - ? _value.statusCode - : statusCode // ignore: cast_nullable_to_non_nullable - as int?, - ) - as $Val, - ); - } +mixin _$Auth0ApiException implements DiagnosticableTreeMixin { + + String? get name; String? get code; String? get description; int? get statusCode; +/// Create a copy of Auth0ApiException +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$Auth0ApiExceptionCopyWith get copyWith => _$Auth0ApiExceptionCopyWithImpl(this as Auth0ApiException, _$identity); + + /// Serializes this Auth0ApiException to a JSON map. + Map toJson(); + +@override +void debugFillProperties(DiagnosticPropertiesBuilder properties) { + final _this = this as Auth0ApiException; + properties + ..add(DiagnosticsProperty('type', 'Auth0ApiException')) + ..add(DiagnosticsProperty('name', _this.name))..add(DiagnosticsProperty('code', _this.code))..add(DiagnosticsProperty('description', _this.description))..add(DiagnosticsProperty('statusCode', _this.statusCode)); +} + +@override +bool operator ==(Object other) { + final _this = this as Auth0ApiException; + return identical(this, other) || (other.runtimeType == runtimeType&&other is Auth0ApiException&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.code, _this.code) || other.code == _this.code)&&(identical(other.description, _this.description) || other.description == _this.description)&&(identical(other.statusCode, _this.statusCode) || other.statusCode == _this.statusCode)); } +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as Auth0ApiException; + return Object.hash(runtimeType,_this.name,_this.code,_this.description,_this.statusCode); +} + +@override +String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { + final _this = this as Auth0ApiException; + return 'Auth0ApiException(name: ${_this.name}, code: ${_this.code}, description: ${_this.description}, statusCode: ${_this.statusCode})'; +} + + +} + +/// @nodoc +abstract mixin class $Auth0ApiExceptionCopyWith<$Res> { + factory $Auth0ApiExceptionCopyWith(Auth0ApiException value, $Res Function(Auth0ApiException) _then) = _$Auth0ApiExceptionCopyWithImpl; +@useResult +$Res call({ + String? name, String? code, String? description, int? statusCode +}); + + + + +} /// @nodoc -abstract class _$$Auth0ApiExceptionImplCopyWith<$Res> +class _$Auth0ApiExceptionCopyWithImpl<$Res> implements $Auth0ApiExceptionCopyWith<$Res> { - factory _$$Auth0ApiExceptionImplCopyWith( - _$Auth0ApiExceptionImpl value, - $Res Function(_$Auth0ApiExceptionImpl) then, - ) = __$$Auth0ApiExceptionImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String? name, String? code, String? description, int? statusCode}); + _$Auth0ApiExceptionCopyWithImpl(this._self, this._then); + + final Auth0ApiException _self; + final $Res Function(Auth0ApiException) _then; + +/// Create a copy of Auth0ApiException +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? name = freezed,Object? code = freezed,Object? description = freezed,Object? statusCode = freezed,}) { + return _then(Auth0ApiException( +name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,code: freezed == code ? _self.code : code // ignore: cast_nullable_to_non_nullable +as String?,description: freezed == description ? _self.description : description // ignore: cast_nullable_to_non_nullable +as String?,statusCode: freezed == statusCode ? _self.statusCode : statusCode // ignore: cast_nullable_to_non_nullable +as int?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [Auth0ApiException]. +extension Auth0ApiExceptionPatterns on Auth0ApiException { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _Auth0ApiException value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _Auth0ApiException() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _Auth0ApiException value) $default,){ +final _that = this; +switch (_that) { +case _Auth0ApiException(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _Auth0ApiException value)? $default,){ +final _that = this; +switch (_that) { +case _Auth0ApiException() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String? name, String? code, String? description, int? statusCode)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _Auth0ApiException() when $default != null: +return $default(_that.name,_that.code,_that.description,_that.statusCode);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String? name, String? code, String? description, int? statusCode) $default,) {final _that = this; +switch (_that) { +case _Auth0ApiException(): +return $default(_that.name,_that.code,_that.description,_that.statusCode);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String? name, String? code, String? description, int? statusCode)? $default,) {final _that = this; +switch (_that) { +case _Auth0ApiException() when $default != null: +return $default(_that.name,_that.code,_that.description,_that.statusCode);case _: + return null; + +} } -/// @nodoc -class __$$Auth0ApiExceptionImplCopyWithImpl<$Res> - extends _$Auth0ApiExceptionCopyWithImpl<$Res, _$Auth0ApiExceptionImpl> - implements _$$Auth0ApiExceptionImplCopyWith<$Res> { - __$$Auth0ApiExceptionImplCopyWithImpl( - _$Auth0ApiExceptionImpl _value, - $Res Function(_$Auth0ApiExceptionImpl) _then, - ) : super(_value, _then); - - /// Create a copy of Auth0ApiException - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? name = freezed, - Object? code = freezed, - Object? description = freezed, - Object? statusCode = freezed, - }) { - return _then( - _$Auth0ApiExceptionImpl( - name: freezed == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String?, - code: freezed == code - ? _value.code - : code // ignore: cast_nullable_to_non_nullable - as String?, - description: freezed == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String?, - statusCode: freezed == statusCode - ? _value.statusCode - : statusCode // ignore: cast_nullable_to_non_nullable - as int?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$Auth0ApiExceptionImpl - with DiagnosticableTreeMixin - implements _Auth0ApiException { - const _$Auth0ApiExceptionImpl({ - this.name, - this.code, - this.description, - this.statusCode, - }); - - factory _$Auth0ApiExceptionImpl.fromJson(Map json) => - _$$Auth0ApiExceptionImplFromJson(json); - - @override - final String? name; - @override - final String? code; - @override - final String? description; - @override - final int? statusCode; - - @override - String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { - return 'Auth0ApiException(name: $name, code: $code, description: $description, statusCode: $statusCode)'; - } - @override - void debugFillProperties(DiagnosticPropertiesBuilder properties) { - super.debugFillProperties(properties); +class _Auth0ApiException with DiagnosticableTreeMixin implements Auth0ApiException { + const _Auth0ApiException({this.name, this.code, this.description, this.statusCode}); + factory _Auth0ApiException.fromJson(Map json) => _$Auth0ApiExceptionFromJson(json); + +@override final String? name; +@override final String? code; +@override final String? description; +@override final int? statusCode; + +/// Create a copy of Auth0ApiException +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$Auth0ApiExceptionCopyWith<_Auth0ApiException> get copyWith => __$Auth0ApiExceptionCopyWithImpl<_Auth0ApiException>(this, _$identity); + +@override +Map toJson() { + return _$Auth0ApiExceptionToJson(this, ); +} +@override +void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties - ..add(DiagnosticsProperty('type', 'Auth0ApiException')) - ..add(DiagnosticsProperty('name', name)) - ..add(DiagnosticsProperty('code', code)) - ..add(DiagnosticsProperty('description', description)) - ..add(DiagnosticsProperty('statusCode', statusCode)); - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$Auth0ApiExceptionImpl && - (identical(other.name, name) || other.name == name) && - (identical(other.code, code) || other.code == code) && - (identical(other.description, description) || - other.description == description) && - (identical(other.statusCode, statusCode) || - other.statusCode == statusCode)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => - Object.hash(runtimeType, name, code, description, statusCode); - - /// Create a copy of Auth0ApiException - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$Auth0ApiExceptionImplCopyWith<_$Auth0ApiExceptionImpl> get copyWith => - __$$Auth0ApiExceptionImplCopyWithImpl<_$Auth0ApiExceptionImpl>( - this, - _$identity, - ); - - @override - Map toJson() { - return _$$Auth0ApiExceptionImplToJson(this); - } -} - -abstract class _Auth0ApiException implements Auth0ApiException { - const factory _Auth0ApiException({ - final String? name, - final String? code, - final String? description, - final int? statusCode, - }) = _$Auth0ApiExceptionImpl; - - factory _Auth0ApiException.fromJson(Map json) = - _$Auth0ApiExceptionImpl.fromJson; - - @override - String? get name; - @override - String? get code; - @override - String? get description; - @override - int? get statusCode; - - /// Create a copy of Auth0ApiException - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$Auth0ApiExceptionImplCopyWith<_$Auth0ApiExceptionImpl> get copyWith => - throw _privateConstructorUsedError; + ..add(DiagnosticsProperty('type', 'Auth0ApiException')) + ..add(DiagnosticsProperty('name', name))..add(DiagnosticsProperty('code', code))..add(DiagnosticsProperty('description', description))..add(DiagnosticsProperty('statusCode', statusCode)); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Auth0ApiException&&(identical(other.name, name) || other.name == name)&&(identical(other.code, code) || other.code == code)&&(identical(other.description, description) || other.description == description)&&(identical(other.statusCode, statusCode) || other.statusCode == statusCode)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,name,code,description,statusCode); +} + +@override +String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { + return 'Auth0ApiException(name: $name, code: $code, description: $description, statusCode: $statusCode)'; +} + + +} + +/// @nodoc +abstract mixin class _$Auth0ApiExceptionCopyWith<$Res> implements $Auth0ApiExceptionCopyWith<$Res> { + factory _$Auth0ApiExceptionCopyWith(_Auth0ApiException value, $Res Function(_Auth0ApiException) _then) = __$Auth0ApiExceptionCopyWithImpl; +@override @useResult +$Res call({ + String? name, String? code, String? description, int? statusCode +}); + + + + } +/// @nodoc +class __$Auth0ApiExceptionCopyWithImpl<$Res> + implements _$Auth0ApiExceptionCopyWith<$Res> { + __$Auth0ApiExceptionCopyWithImpl(this._self, this._then); + + final _Auth0ApiException _self; + final $Res Function(_Auth0ApiException) _then; + +/// Create a copy of Auth0ApiException +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? name = freezed,Object? code = freezed,Object? description = freezed,Object? statusCode = freezed,}) { + return _then(_Auth0ApiException( +name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String?,code: freezed == code ? _self.code : code // ignore: cast_nullable_to_non_nullable +as String?,description: freezed == description ? _self.description : description // ignore: cast_nullable_to_non_nullable +as String?,statusCode: freezed == statusCode ? _self.statusCode : statusCode // ignore: cast_nullable_to_non_nullable +as int?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/auth0/auth0_api.g.dart b/bccm_core/lib/src/models/auth0/auth0_api.g.dart index f61906e..3589a98 100644 --- a/bccm_core/lib/src/models/auth0/auth0_api.g.dart +++ b/bccm_core/lib/src/models/auth0/auth0_api.g.dart @@ -6,9 +6,9 @@ part of 'auth0_api.dart'; // JsonSerializableGenerator // ************************************************************************** -_$Auth0SignupRequestBodyImpl _$$Auth0SignupRequestBodyImplFromJson( +_Auth0SignupRequestBody _$Auth0SignupRequestBodyFromJson( Map json, -) => _$Auth0SignupRequestBodyImpl( +) => _Auth0SignupRequestBody( clientId: json['client_id'] as String, email: json['email'] as String, password: json['password'] as String, @@ -24,52 +24,49 @@ _$Auth0SignupRequestBodyImpl _$$Auth0SignupRequestBodyImplFromJson( ), ); -Map _$$Auth0SignupRequestBodyImplToJson( - _$Auth0SignupRequestBodyImpl instance, +Map _$Auth0SignupRequestBodyToJson( + _Auth0SignupRequestBody instance, ) => { 'client_id': instance.clientId, 'email': instance.email, 'password': instance.password, 'connection': instance.connection, - if (instance.username case final value?) 'username': value, - if (instance.givenName case final value?) 'given_name': value, - if (instance.familyName case final value?) 'family_name': value, - if (instance.name case final value?) 'name': value, - if (instance.nickname case final value?) 'nickname': value, - if (instance.pictureUrl case final value?) 'picture_url': value, - if (instance.userMetadata case final value?) 'user_metadata': value, + 'username': ?instance.username, + 'given_name': ?instance.givenName, + 'family_name': ?instance.familyName, + 'name': ?instance.name, + 'nickname': ?instance.nickname, + 'picture_url': ?instance.pictureUrl, + 'user_metadata': ?instance.userMetadata, }; -_$Auth0SignupResponseImpl _$$Auth0SignupResponseImplFromJson( - Map json, -) => _$Auth0SignupResponseImpl( - user_id: json['user_id'] as String, - emailVerified: json['email_verified'] as bool, - email: json['email'] as String, -); +_Auth0SignupResponse _$Auth0SignupResponseFromJson(Map json) => + _Auth0SignupResponse( + user_id: json['user_id'] as String, + emailVerified: json['email_verified'] as bool, + email: json['email'] as String, + ); -Map _$$Auth0SignupResponseImplToJson( - _$Auth0SignupResponseImpl instance, +Map _$Auth0SignupResponseToJson( + _Auth0SignupResponse instance, ) => { 'user_id': instance.user_id, 'email_verified': instance.emailVerified, 'email': instance.email, }; -_$Auth0ApiExceptionImpl _$$Auth0ApiExceptionImplFromJson( - Map json, -) => _$Auth0ApiExceptionImpl( - name: json['name'] as String?, - code: json['code'] as String?, - description: json['description'] as String?, - statusCode: (json['statusCode'] as num?)?.toInt(), -); +_Auth0ApiException _$Auth0ApiExceptionFromJson(Map json) => + _Auth0ApiException( + name: json['name'] as String?, + code: json['code'] as String?, + description: json['description'] as String?, + statusCode: (json['statusCode'] as num?)?.toInt(), + ); -Map _$$Auth0ApiExceptionImplToJson( - _$Auth0ApiExceptionImpl instance, -) => { - 'name': instance.name, - 'code': instance.code, - 'description': instance.description, - 'statusCode': instance.statusCode, -}; +Map _$Auth0ApiExceptionToJson(_Auth0ApiException instance) => + { + 'name': instance.name, + 'code': instance.code, + 'description': instance.description, + 'statusCode': instance.statusCode, + }; diff --git a/bccm_core/lib/src/models/auth_state.freezed.dart b/bccm_core/lib/src/models/auth_state.freezed.dart index 6cef2ed..e79fd62 100644 --- a/bccm_core/lib/src/models/auth_state.freezed.dart +++ b/bccm_core/lib/src/models/auth_state.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'auth_state.dart'; @@ -9,257 +9,307 @@ part of 'auth_state.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; - -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - /// @nodoc mixin _$AuthState { - UserProfile? get user => throw _privateConstructorUsedError; - String? get auth0AccessToken => throw _privateConstructorUsedError; - DateTime? get expiresAt => throw _privateConstructorUsedError; - String? get idToken => throw _privateConstructorUsedError; - bool? get signedOutManually => throw _privateConstructorUsedError; - - /// Create a copy of AuthState - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $AuthStateCopyWith get copyWith => - throw _privateConstructorUsedError; + + UserProfile? get user; String? get auth0AccessToken; DateTime? get expiresAt; String? get idToken; bool? get signedOutManually; +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AuthStateCopyWith get copyWith => _$AuthStateCopyWithImpl(this as AuthState, _$identity); + + + +@override +bool operator ==(Object other) { + final _this = this as AuthState; + return identical(this, other) || (other.runtimeType == runtimeType&&other is AuthState&&(identical(other.user, _this.user) || other.user == _this.user)&&(identical(other.auth0AccessToken, _this.auth0AccessToken) || other.auth0AccessToken == _this.auth0AccessToken)&&(identical(other.expiresAt, _this.expiresAt) || other.expiresAt == _this.expiresAt)&&(identical(other.idToken, _this.idToken) || other.idToken == _this.idToken)&&(identical(other.signedOutManually, _this.signedOutManually) || other.signedOutManually == _this.signedOutManually)); } -/// @nodoc -abstract class $AuthStateCopyWith<$Res> { - factory $AuthStateCopyWith(AuthState value, $Res Function(AuthState) then) = - _$AuthStateCopyWithImpl<$Res, AuthState>; - @useResult - $Res call({ - UserProfile? user, - String? auth0AccessToken, - DateTime? expiresAt, - String? idToken, - bool? signedOutManually, - }); - $UserProfileCopyWith<$Res>? get user; +@override +int get hashCode { + final _this = this as AuthState; + return Object.hash(runtimeType,_this.user,_this.auth0AccessToken,_this.expiresAt,_this.idToken,_this.signedOutManually); } +@override +String toString() { + final _this = this as AuthState; + return 'AuthState(user: ${_this.user}, auth0AccessToken: ${_this.auth0AccessToken}, expiresAt: ${_this.expiresAt}, idToken: ${_this.idToken}, signedOutManually: ${_this.signedOutManually})'; +} + + +} + +/// @nodoc +abstract mixin class $AuthStateCopyWith<$Res> { + factory $AuthStateCopyWith(AuthState value, $Res Function(AuthState) _then) = _$AuthStateCopyWithImpl; +@useResult +$Res call({ + UserProfile? user, String? auth0AccessToken, DateTime? expiresAt, String? idToken, bool? signedOutManually +}); + + +$UserProfileCopyWith<$Res>? get user; + +} /// @nodoc -class _$AuthStateCopyWithImpl<$Res, $Val extends AuthState> +class _$AuthStateCopyWithImpl<$Res> implements $AuthStateCopyWith<$Res> { - _$AuthStateCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of AuthState - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? user = freezed, - Object? auth0AccessToken = freezed, - Object? expiresAt = freezed, - Object? idToken = freezed, - Object? signedOutManually = freezed, - }) { - return _then( - _value.copyWith( - user: freezed == user - ? _value.user - : user // ignore: cast_nullable_to_non_nullable - as UserProfile?, - auth0AccessToken: freezed == auth0AccessToken - ? _value.auth0AccessToken - : auth0AccessToken // ignore: cast_nullable_to_non_nullable - as String?, - expiresAt: freezed == expiresAt - ? _value.expiresAt - : expiresAt // ignore: cast_nullable_to_non_nullable - as DateTime?, - idToken: freezed == idToken - ? _value.idToken - : idToken // ignore: cast_nullable_to_non_nullable - as String?, - signedOutManually: freezed == signedOutManually - ? _value.signedOutManually - : signedOutManually // ignore: cast_nullable_to_non_nullable - as bool?, - ) - as $Val, - ); - } + _$AuthStateCopyWithImpl(this._self, this._then); - /// Create a copy of AuthState - /// with the given fields replaced by the non-null parameter values. - @override - @pragma('vm:prefer-inline') - $UserProfileCopyWith<$Res>? get user { - if (_value.user == null) { - return null; - } - - return $UserProfileCopyWith<$Res>(_value.user!, (value) { - return _then(_value.copyWith(user: value) as $Val); - }); - } + final AuthState _self; + final $Res Function(AuthState) _then; + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? user = freezed,Object? auth0AccessToken = freezed,Object? expiresAt = freezed,Object? idToken = freezed,Object? signedOutManually = freezed,}) { + return _then(AuthState( +user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable +as UserProfile?,auth0AccessToken: freezed == auth0AccessToken ? _self.auth0AccessToken : auth0AccessToken // ignore: cast_nullable_to_non_nullable +as String?,expiresAt: freezed == expiresAt ? _self.expiresAt : expiresAt // ignore: cast_nullable_to_non_nullable +as DateTime?,idToken: freezed == idToken ? _self.idToken : idToken // ignore: cast_nullable_to_non_nullable +as String?,signedOutManually: freezed == signedOutManually ? _self.signedOutManually : signedOutManually // ignore: cast_nullable_to_non_nullable +as bool?, + )); } +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override +@pragma('vm:prefer-inline') +$UserProfileCopyWith<$Res>? get user { + if (_self.user == null) { + return null; + } -/// @nodoc -abstract class _$$AuthImplCopyWith<$Res> implements $AuthStateCopyWith<$Res> { - factory _$$AuthImplCopyWith( - _$AuthImpl value, - $Res Function(_$AuthImpl) then, - ) = __$$AuthImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - UserProfile? user, - String? auth0AccessToken, - DateTime? expiresAt, - String? idToken, - bool? signedOutManually, + return $UserProfileCopyWith<$Res>(_self.user!, (value) { + return _then(_self.copyWith(user: value)); }); +} +} + + +/// Adds pattern-matching-related methods to [AuthState]. +extension AuthStatePatterns on AuthState { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` - @override - $UserProfileCopyWith<$Res>? get user; +@optionalTypeArgs TResult maybeMap(TResult Function( _Auth value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _Auth() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _Auth value) $default,){ +final _that = this; +switch (_that) { +case _Auth(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _Auth value)? $default,){ +final _that = this; +switch (_that) { +case _Auth() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( UserProfile? user, String? auth0AccessToken, DateTime? expiresAt, String? idToken, bool? signedOutManually)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _Auth() when $default != null: +return $default(_that.user,_that.auth0AccessToken,_that.expiresAt,_that.idToken,_that.signedOutManually);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( UserProfile? user, String? auth0AccessToken, DateTime? expiresAt, String? idToken, bool? signedOutManually) $default,) {final _that = this; +switch (_that) { +case _Auth(): +return $default(_that.user,_that.auth0AccessToken,_that.expiresAt,_that.idToken,_that.signedOutManually);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( UserProfile? user, String? auth0AccessToken, DateTime? expiresAt, String? idToken, bool? signedOutManually)? $default,) {final _that = this; +switch (_that) { +case _Auth() when $default != null: +return $default(_that.user,_that.auth0AccessToken,_that.expiresAt,_that.idToken,_that.signedOutManually);case _: + return null; + +} } -/// @nodoc -class __$$AuthImplCopyWithImpl<$Res> - extends _$AuthStateCopyWithImpl<$Res, _$AuthImpl> - implements _$$AuthImplCopyWith<$Res> { - __$$AuthImplCopyWithImpl(_$AuthImpl _value, $Res Function(_$AuthImpl) _then) - : super(_value, _then); - - /// Create a copy of AuthState - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? user = freezed, - Object? auth0AccessToken = freezed, - Object? expiresAt = freezed, - Object? idToken = freezed, - Object? signedOutManually = freezed, - }) { - return _then( - _$AuthImpl( - user: freezed == user - ? _value.user - : user // ignore: cast_nullable_to_non_nullable - as UserProfile?, - auth0AccessToken: freezed == auth0AccessToken - ? _value.auth0AccessToken - : auth0AccessToken // ignore: cast_nullable_to_non_nullable - as String?, - expiresAt: freezed == expiresAt - ? _value.expiresAt - : expiresAt // ignore: cast_nullable_to_non_nullable - as DateTime?, - idToken: freezed == idToken - ? _value.idToken - : idToken // ignore: cast_nullable_to_non_nullable - as String?, - signedOutManually: freezed == signedOutManually - ? _value.signedOutManually - : signedOutManually // ignore: cast_nullable_to_non_nullable - as bool?, - ), - ); - } } /// @nodoc -class _$AuthImpl extends _Auth { - const _$AuthImpl({ - this.user, - this.auth0AccessToken, - this.expiresAt, - this.idToken, - this.signedOutManually, - }) : super._(); - - @override - final UserProfile? user; - @override - final String? auth0AccessToken; - @override - final DateTime? expiresAt; - @override - final String? idToken; - @override - final bool? signedOutManually; - - @override - String toString() { + +class _Auth extends AuthState { + const _Auth({this.user, this.auth0AccessToken, this.expiresAt, this.idToken, this.signedOutManually}): super._(); + + +@override final UserProfile? user; +@override final String? auth0AccessToken; +@override final DateTime? expiresAt; +@override final String? idToken; +@override final bool? signedOutManually; + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$AuthCopyWith<_Auth> get copyWith => __$AuthCopyWithImpl<_Auth>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Auth&&(identical(other.user, user) || other.user == user)&&(identical(other.auth0AccessToken, auth0AccessToken) || other.auth0AccessToken == auth0AccessToken)&&(identical(other.expiresAt, expiresAt) || other.expiresAt == expiresAt)&&(identical(other.idToken, idToken) || other.idToken == idToken)&&(identical(other.signedOutManually, signedOutManually) || other.signedOutManually == signedOutManually)); +} + + +@override +int get hashCode { + return Object.hash(runtimeType,user,auth0AccessToken,expiresAt,idToken,signedOutManually); +} + +@override +String toString() { return 'AuthState(user: $user, auth0AccessToken: $auth0AccessToken, expiresAt: $expiresAt, idToken: $idToken, signedOutManually: $signedOutManually)'; - } +} + + +} + +/// @nodoc +abstract mixin class _$AuthCopyWith<$Res> implements $AuthStateCopyWith<$Res> { + factory _$AuthCopyWith(_Auth value, $Res Function(_Auth) _then) = __$AuthCopyWithImpl; +@override @useResult +$Res call({ + UserProfile? user, String? auth0AccessToken, DateTime? expiresAt, String? idToken, bool? signedOutManually +}); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$AuthImpl && - (identical(other.user, user) || other.user == user) && - (identical(other.auth0AccessToken, auth0AccessToken) || - other.auth0AccessToken == auth0AccessToken) && - (identical(other.expiresAt, expiresAt) || - other.expiresAt == expiresAt) && - (identical(other.idToken, idToken) || other.idToken == idToken) && - (identical(other.signedOutManually, signedOutManually) || - other.signedOutManually == signedOutManually)); - } - @override - int get hashCode => Object.hash( - runtimeType, - user, - auth0AccessToken, - expiresAt, - idToken, - signedOutManually, - ); - - /// Create a copy of AuthState - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$AuthImplCopyWith<_$AuthImpl> get copyWith => - __$$AuthImplCopyWithImpl<_$AuthImpl>(this, _$identity); +@override $UserProfileCopyWith<$Res>? get user; + +} +/// @nodoc +class __$AuthCopyWithImpl<$Res> + implements _$AuthCopyWith<$Res> { + __$AuthCopyWithImpl(this._self, this._then); + + final _Auth _self; + final $Res Function(_Auth) _then; + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? user = freezed,Object? auth0AccessToken = freezed,Object? expiresAt = freezed,Object? idToken = freezed,Object? signedOutManually = freezed,}) { + return _then(_Auth( +user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable +as UserProfile?,auth0AccessToken: freezed == auth0AccessToken ? _self.auth0AccessToken : auth0AccessToken // ignore: cast_nullable_to_non_nullable +as String?,expiresAt: freezed == expiresAt ? _self.expiresAt : expiresAt // ignore: cast_nullable_to_non_nullable +as DateTime?,idToken: freezed == idToken ? _self.idToken : idToken // ignore: cast_nullable_to_non_nullable +as String?,signedOutManually: freezed == signedOutManually ? _self.signedOutManually : signedOutManually // ignore: cast_nullable_to_non_nullable +as bool?, + )); } -abstract class _Auth extends AuthState { - const factory _Auth({ - final UserProfile? user, - final String? auth0AccessToken, - final DateTime? expiresAt, - final String? idToken, - final bool? signedOutManually, - }) = _$AuthImpl; - const _Auth._() : super._(); - - @override - UserProfile? get user; - @override - String? get auth0AccessToken; - @override - DateTime? get expiresAt; - @override - String? get idToken; - @override - bool? get signedOutManually; - - /// Create a copy of AuthState - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$AuthImplCopyWith<_$AuthImpl> get copyWith => - throw _privateConstructorUsedError; +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override +@pragma('vm:prefer-inline') +$UserProfileCopyWith<$Res>? get user { + if (_self.user == null) { + return null; + } + + return $UserProfileCopyWith<$Res>(_self.user!, (value) { + return _then(_self.copyWith(user: value)); + }); } +} + +// dart format on diff --git a/bccm_core/lib/src/models/user_profile.freezed.dart b/bccm_core/lib/src/models/user_profile.freezed.dart index e978e56..94f0eb2 100644 --- a/bccm_core/lib/src/models/user_profile.freezed.dart +++ b/bccm_core/lib/src/models/user_profile.freezed.dart @@ -1,6 +1,6 @@ -// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: type=lint +// coverage:ignore-file +// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'user_profile.dart'; @@ -9,479 +9,319 @@ part of 'user_profile.dart'; // FreezedGenerator // ************************************************************************** +// GENERATED CODE - DO NOT MODIFY BY HAND +// dart format off T _$identity(T value) => value; -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - -UserProfile _$UserProfileFromJson(Map json) { - return _UserProfile.fromJson(json); -} - /// @nodoc mixin _$UserProfile { - String get id => throw _privateConstructorUsedError; - String get name => throw _privateConstructorUsedError; - String? get nickname => throw _privateConstructorUsedError; - String? get picture => throw _privateConstructorUsedError; - String? get updatedAt => throw _privateConstructorUsedError; - String? get countryIso2Code => throw _privateConstructorUsedError; - int? get churchId => throw _privateConstructorUsedError; - String? get birthdate => throw _privateConstructorUsedError; - String? get email => throw _privateConstructorUsedError; - String? get gender => throw _privateConstructorUsedError; - String? get givenName => throw _privateConstructorUsedError; - String? get familyName => throw _privateConstructorUsedError; - bool? get mediaSubscriber => throw _privateConstructorUsedError; - bool? get hasMembership => throw _privateConstructorUsedError; - String? get bccPersonId => throw _privateConstructorUsedError; + + String get id; String get name; String? get nickname; String? get picture; String? get updatedAt; String? get countryIso2Code; int? get churchId; String? get birthdate; String? get email; String? get gender; String? get givenName; String? get familyName; bool? get mediaSubscriber; bool? get hasMembership; String? get bccPersonId; +/// Create a copy of UserProfile +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$UserProfileCopyWith get copyWith => _$UserProfileCopyWithImpl(this as UserProfile, _$identity); /// Serializes this UserProfile to a JSON map. - Map toJson() => throw _privateConstructorUsedError; + Map toJson(); + - /// Create a copy of UserProfile - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $UserProfileCopyWith get copyWith => - throw _privateConstructorUsedError; +@override +bool operator ==(Object other) { + final _this = this as UserProfile; + return identical(this, other) || (other.runtimeType == runtimeType&&other is UserProfile&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.nickname, _this.nickname) || other.nickname == _this.nickname)&&(identical(other.picture, _this.picture) || other.picture == _this.picture)&&(identical(other.updatedAt, _this.updatedAt) || other.updatedAt == _this.updatedAt)&&(identical(other.countryIso2Code, _this.countryIso2Code) || other.countryIso2Code == _this.countryIso2Code)&&(identical(other.churchId, _this.churchId) || other.churchId == _this.churchId)&&(identical(other.birthdate, _this.birthdate) || other.birthdate == _this.birthdate)&&(identical(other.email, _this.email) || other.email == _this.email)&&(identical(other.gender, _this.gender) || other.gender == _this.gender)&&(identical(other.givenName, _this.givenName) || other.givenName == _this.givenName)&&(identical(other.familyName, _this.familyName) || other.familyName == _this.familyName)&&(identical(other.mediaSubscriber, _this.mediaSubscriber) || other.mediaSubscriber == _this.mediaSubscriber)&&(identical(other.hasMembership, _this.hasMembership) || other.hasMembership == _this.hasMembership)&&(identical(other.bccPersonId, _this.bccPersonId) || other.bccPersonId == _this.bccPersonId)); } -/// @nodoc -abstract class $UserProfileCopyWith<$Res> { - factory $UserProfileCopyWith( - UserProfile value, - $Res Function(UserProfile) then, - ) = _$UserProfileCopyWithImpl<$Res, UserProfile>; - @useResult - $Res call({ - String id, - String name, - String? nickname, - String? picture, - String? updatedAt, - String? countryIso2Code, - int? churchId, - String? birthdate, - String? email, - String? gender, - String? givenName, - String? familyName, - bool? mediaSubscriber, - bool? hasMembership, - String? bccPersonId, - }); +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + final _this = this as UserProfile; + return Object.hash(runtimeType,_this.id,_this.name,_this.nickname,_this.picture,_this.updatedAt,_this.countryIso2Code,_this.churchId,_this.birthdate,_this.email,_this.gender,_this.givenName,_this.familyName,_this.mediaSubscriber,_this.hasMembership,_this.bccPersonId); } -/// @nodoc -class _$UserProfileCopyWithImpl<$Res, $Val extends UserProfile> - implements $UserProfileCopyWith<$Res> { - _$UserProfileCopyWithImpl(this._value, this._then); - - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of UserProfile - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? id = null, - Object? name = null, - Object? nickname = freezed, - Object? picture = freezed, - Object? updatedAt = freezed, - Object? countryIso2Code = freezed, - Object? churchId = freezed, - Object? birthdate = freezed, - Object? email = freezed, - Object? gender = freezed, - Object? givenName = freezed, - Object? familyName = freezed, - Object? mediaSubscriber = freezed, - Object? hasMembership = freezed, - Object? bccPersonId = freezed, - }) { - return _then( - _value.copyWith( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - nickname: freezed == nickname - ? _value.nickname - : nickname // ignore: cast_nullable_to_non_nullable - as String?, - picture: freezed == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String?, - updatedAt: freezed == updatedAt - ? _value.updatedAt - : updatedAt // ignore: cast_nullable_to_non_nullable - as String?, - countryIso2Code: freezed == countryIso2Code - ? _value.countryIso2Code - : countryIso2Code // ignore: cast_nullable_to_non_nullable - as String?, - churchId: freezed == churchId - ? _value.churchId - : churchId // ignore: cast_nullable_to_non_nullable - as int?, - birthdate: freezed == birthdate - ? _value.birthdate - : birthdate // ignore: cast_nullable_to_non_nullable - as String?, - email: freezed == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String?, - gender: freezed == gender - ? _value.gender - : gender // ignore: cast_nullable_to_non_nullable - as String?, - givenName: freezed == givenName - ? _value.givenName - : givenName // ignore: cast_nullable_to_non_nullable - as String?, - familyName: freezed == familyName - ? _value.familyName - : familyName // ignore: cast_nullable_to_non_nullable - as String?, - mediaSubscriber: freezed == mediaSubscriber - ? _value.mediaSubscriber - : mediaSubscriber // ignore: cast_nullable_to_non_nullable - as bool?, - hasMembership: freezed == hasMembership - ? _value.hasMembership - : hasMembership // ignore: cast_nullable_to_non_nullable - as bool?, - bccPersonId: freezed == bccPersonId - ? _value.bccPersonId - : bccPersonId // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } +@override +String toString() { + final _this = this as UserProfile; + return 'UserProfile(id: ${_this.id}, name: ${_this.name}, nickname: ${_this.nickname}, picture: ${_this.picture}, updatedAt: ${_this.updatedAt}, countryIso2Code: ${_this.countryIso2Code}, churchId: ${_this.churchId}, birthdate: ${_this.birthdate}, email: ${_this.email}, gender: ${_this.gender}, givenName: ${_this.givenName}, familyName: ${_this.familyName}, mediaSubscriber: ${_this.mediaSubscriber}, hasMembership: ${_this.hasMembership}, bccPersonId: ${_this.bccPersonId})'; } + +} + +/// @nodoc +abstract mixin class $UserProfileCopyWith<$Res> { + factory $UserProfileCopyWith(UserProfile value, $Res Function(UserProfile) _then) = _$UserProfileCopyWithImpl; +@useResult +$Res call({ + String id, String name, String? nickname, String? picture, String? updatedAt, String? countryIso2Code, int? churchId, String? birthdate, String? email, String? gender, String? givenName, String? familyName, bool? mediaSubscriber, bool? hasMembership, String? bccPersonId +}); + + + + +} /// @nodoc -abstract class _$$UserProfileImplCopyWith<$Res> +class _$UserProfileCopyWithImpl<$Res> implements $UserProfileCopyWith<$Res> { - factory _$$UserProfileImplCopyWith( - _$UserProfileImpl value, - $Res Function(_$UserProfileImpl) then, - ) = __$$UserProfileImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String id, - String name, - String? nickname, - String? picture, - String? updatedAt, - String? countryIso2Code, - int? churchId, - String? birthdate, - String? email, - String? gender, - String? givenName, - String? familyName, - bool? mediaSubscriber, - bool? hasMembership, - String? bccPersonId, - }); + _$UserProfileCopyWithImpl(this._self, this._then); + + final UserProfile _self; + final $Res Function(UserProfile) _then; + +/// Create a copy of UserProfile +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? name = null,Object? nickname = freezed,Object? picture = freezed,Object? updatedAt = freezed,Object? countryIso2Code = freezed,Object? churchId = freezed,Object? birthdate = freezed,Object? email = freezed,Object? gender = freezed,Object? givenName = freezed,Object? familyName = freezed,Object? mediaSubscriber = freezed,Object? hasMembership = freezed,Object? bccPersonId = freezed,}) { + return _then(UserProfile( +id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,name: null == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String,nickname: freezed == nickname ? _self.nickname : nickname // ignore: cast_nullable_to_non_nullable +as String?,picture: freezed == picture ? _self.picture : picture // ignore: cast_nullable_to_non_nullable +as String?,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable +as String?,countryIso2Code: freezed == countryIso2Code ? _self.countryIso2Code : countryIso2Code // ignore: cast_nullable_to_non_nullable +as String?,churchId: freezed == churchId ? _self.churchId : churchId // ignore: cast_nullable_to_non_nullable +as int?,birthdate: freezed == birthdate ? _self.birthdate : birthdate // ignore: cast_nullable_to_non_nullable +as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable +as String?,gender: freezed == gender ? _self.gender : gender // ignore: cast_nullable_to_non_nullable +as String?,givenName: freezed == givenName ? _self.givenName : givenName // ignore: cast_nullable_to_non_nullable +as String?,familyName: freezed == familyName ? _self.familyName : familyName // ignore: cast_nullable_to_non_nullable +as String?,mediaSubscriber: freezed == mediaSubscriber ? _self.mediaSubscriber : mediaSubscriber // ignore: cast_nullable_to_non_nullable +as bool?,hasMembership: freezed == hasMembership ? _self.hasMembership : hasMembership // ignore: cast_nullable_to_non_nullable +as bool?,bccPersonId: freezed == bccPersonId ? _self.bccPersonId : bccPersonId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [UserProfile]. +extension UserProfilePatterns on UserProfile { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _UserProfile value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _UserProfile() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _UserProfile value) $default,){ +final _that = this; +switch (_that) { +case _UserProfile(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _UserProfile value)? $default,){ +final _that = this; +switch (_that) { +case _UserProfile() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String name, String? nickname, String? picture, String? updatedAt, String? countryIso2Code, int? churchId, String? birthdate, String? email, String? gender, String? givenName, String? familyName, bool? mediaSubscriber, bool? hasMembership, String? bccPersonId)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _UserProfile() when $default != null: +return $default(_that.id,_that.name,_that.nickname,_that.picture,_that.updatedAt,_that.countryIso2Code,_that.churchId,_that.birthdate,_that.email,_that.gender,_that.givenName,_that.familyName,_that.mediaSubscriber,_that.hasMembership,_that.bccPersonId);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String id, String name, String? nickname, String? picture, String? updatedAt, String? countryIso2Code, int? churchId, String? birthdate, String? email, String? gender, String? givenName, String? familyName, bool? mediaSubscriber, bool? hasMembership, String? bccPersonId) $default,) {final _that = this; +switch (_that) { +case _UserProfile(): +return $default(_that.id,_that.name,_that.nickname,_that.picture,_that.updatedAt,_that.countryIso2Code,_that.churchId,_that.birthdate,_that.email,_that.gender,_that.givenName,_that.familyName,_that.mediaSubscriber,_that.hasMembership,_that.bccPersonId);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String name, String? nickname, String? picture, String? updatedAt, String? countryIso2Code, int? churchId, String? birthdate, String? email, String? gender, String? givenName, String? familyName, bool? mediaSubscriber, bool? hasMembership, String? bccPersonId)? $default,) {final _that = this; +switch (_that) { +case _UserProfile() when $default != null: +return $default(_that.id,_that.name,_that.nickname,_that.picture,_that.updatedAt,_that.countryIso2Code,_that.churchId,_that.birthdate,_that.email,_that.gender,_that.givenName,_that.familyName,_that.mediaSubscriber,_that.hasMembership,_that.bccPersonId);case _: + return null; + +} } -/// @nodoc -class __$$UserProfileImplCopyWithImpl<$Res> - extends _$UserProfileCopyWithImpl<$Res, _$UserProfileImpl> - implements _$$UserProfileImplCopyWith<$Res> { - __$$UserProfileImplCopyWithImpl( - _$UserProfileImpl _value, - $Res Function(_$UserProfileImpl) _then, - ) : super(_value, _then); - - /// Create a copy of UserProfile - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? id = null, - Object? name = null, - Object? nickname = freezed, - Object? picture = freezed, - Object? updatedAt = freezed, - Object? countryIso2Code = freezed, - Object? churchId = freezed, - Object? birthdate = freezed, - Object? email = freezed, - Object? gender = freezed, - Object? givenName = freezed, - Object? familyName = freezed, - Object? mediaSubscriber = freezed, - Object? hasMembership = freezed, - Object? bccPersonId = freezed, - }) { - return _then( - _$UserProfileImpl( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - nickname: freezed == nickname - ? _value.nickname - : nickname // ignore: cast_nullable_to_non_nullable - as String?, - picture: freezed == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String?, - updatedAt: freezed == updatedAt - ? _value.updatedAt - : updatedAt // ignore: cast_nullable_to_non_nullable - as String?, - countryIso2Code: freezed == countryIso2Code - ? _value.countryIso2Code - : countryIso2Code // ignore: cast_nullable_to_non_nullable - as String?, - churchId: freezed == churchId - ? _value.churchId - : churchId // ignore: cast_nullable_to_non_nullable - as int?, - birthdate: freezed == birthdate - ? _value.birthdate - : birthdate // ignore: cast_nullable_to_non_nullable - as String?, - email: freezed == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String?, - gender: freezed == gender - ? _value.gender - : gender // ignore: cast_nullable_to_non_nullable - as String?, - givenName: freezed == givenName - ? _value.givenName - : givenName // ignore: cast_nullable_to_non_nullable - as String?, - familyName: freezed == familyName - ? _value.familyName - : familyName // ignore: cast_nullable_to_non_nullable - as String?, - mediaSubscriber: freezed == mediaSubscriber - ? _value.mediaSubscriber - : mediaSubscriber // ignore: cast_nullable_to_non_nullable - as bool?, - hasMembership: freezed == hasMembership - ? _value.hasMembership - : hasMembership // ignore: cast_nullable_to_non_nullable - as bool?, - bccPersonId: freezed == bccPersonId - ? _value.bccPersonId - : bccPersonId // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc @JsonSerializable() -class _$UserProfileImpl extends _UserProfile { - const _$UserProfileImpl({ - required this.id, - required this.name, - this.nickname, - this.picture, - this.updatedAt, - this.countryIso2Code, - this.churchId, - this.birthdate, - this.email, - this.gender, - this.givenName, - this.familyName, - this.mediaSubscriber, - this.hasMembership, - this.bccPersonId, - }) : super._(); - - factory _$UserProfileImpl.fromJson(Map json) => - _$$UserProfileImplFromJson(json); - - @override - final String id; - @override - final String name; - @override - final String? nickname; - @override - final String? picture; - @override - final String? updatedAt; - @override - final String? countryIso2Code; - @override - final int? churchId; - @override - final String? birthdate; - @override - final String? email; - @override - final String? gender; - @override - final String? givenName; - @override - final String? familyName; - @override - final bool? mediaSubscriber; - @override - final bool? hasMembership; - @override - final String? bccPersonId; - - @override - String toString() { + +class _UserProfile extends UserProfile { + const _UserProfile({required this.id, required this.name, this.nickname, this.picture, this.updatedAt, this.countryIso2Code, this.churchId, this.birthdate, this.email, this.gender, this.givenName, this.familyName, this.mediaSubscriber, this.hasMembership, this.bccPersonId}): super._(); + factory _UserProfile.fromJson(Map json) => _$UserProfileFromJson(json); + +@override final String id; +@override final String name; +@override final String? nickname; +@override final String? picture; +@override final String? updatedAt; +@override final String? countryIso2Code; +@override final int? churchId; +@override final String? birthdate; +@override final String? email; +@override final String? gender; +@override final String? givenName; +@override final String? familyName; +@override final bool? mediaSubscriber; +@override final bool? hasMembership; +@override final String? bccPersonId; + +/// Create a copy of UserProfile +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$UserProfileCopyWith<_UserProfile> get copyWith => __$UserProfileCopyWithImpl<_UserProfile>(this, _$identity); + +@override +Map toJson() { + return _$UserProfileToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _UserProfile&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.nickname, nickname) || other.nickname == nickname)&&(identical(other.picture, picture) || other.picture == picture)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt)&&(identical(other.countryIso2Code, countryIso2Code) || other.countryIso2Code == countryIso2Code)&&(identical(other.churchId, churchId) || other.churchId == churchId)&&(identical(other.birthdate, birthdate) || other.birthdate == birthdate)&&(identical(other.email, email) || other.email == email)&&(identical(other.gender, gender) || other.gender == gender)&&(identical(other.givenName, givenName) || other.givenName == givenName)&&(identical(other.familyName, familyName) || other.familyName == familyName)&&(identical(other.mediaSubscriber, mediaSubscriber) || other.mediaSubscriber == mediaSubscriber)&&(identical(other.hasMembership, hasMembership) || other.hasMembership == hasMembership)&&(identical(other.bccPersonId, bccPersonId) || other.bccPersonId == bccPersonId)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode { + return Object.hash(runtimeType,id,name,nickname,picture,updatedAt,countryIso2Code,churchId,birthdate,email,gender,givenName,familyName,mediaSubscriber,hasMembership,bccPersonId); +} + +@override +String toString() { return 'UserProfile(id: $id, name: $name, nickname: $nickname, picture: $picture, updatedAt: $updatedAt, countryIso2Code: $countryIso2Code, churchId: $churchId, birthdate: $birthdate, email: $email, gender: $gender, givenName: $givenName, familyName: $familyName, mediaSubscriber: $mediaSubscriber, hasMembership: $hasMembership, bccPersonId: $bccPersonId)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$UserProfileImpl && - (identical(other.id, id) || other.id == id) && - (identical(other.name, name) || other.name == name) && - (identical(other.nickname, nickname) || - other.nickname == nickname) && - (identical(other.picture, picture) || other.picture == picture) && - (identical(other.updatedAt, updatedAt) || - other.updatedAt == updatedAt) && - (identical(other.countryIso2Code, countryIso2Code) || - other.countryIso2Code == countryIso2Code) && - (identical(other.churchId, churchId) || - other.churchId == churchId) && - (identical(other.birthdate, birthdate) || - other.birthdate == birthdate) && - (identical(other.email, email) || other.email == email) && - (identical(other.gender, gender) || other.gender == gender) && - (identical(other.givenName, givenName) || - other.givenName == givenName) && - (identical(other.familyName, familyName) || - other.familyName == familyName) && - (identical(other.mediaSubscriber, mediaSubscriber) || - other.mediaSubscriber == mediaSubscriber) && - (identical(other.hasMembership, hasMembership) || - other.hasMembership == hasMembership) && - (identical(other.bccPersonId, bccPersonId) || - other.bccPersonId == bccPersonId)); - } - - @JsonKey(includeFromJson: false, includeToJson: false) - @override - int get hashCode => Object.hash( - runtimeType, - id, - name, - nickname, - picture, - updatedAt, - countryIso2Code, - churchId, - birthdate, - email, - gender, - givenName, - familyName, - mediaSubscriber, - hasMembership, - bccPersonId, - ); - - /// Create a copy of UserProfile - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$UserProfileImplCopyWith<_$UserProfileImpl> get copyWith => - __$$UserProfileImplCopyWithImpl<_$UserProfileImpl>(this, _$identity); - - @override - Map toJson() { - return _$$UserProfileImplToJson(this); - } } -abstract class _UserProfile extends UserProfile { - const factory _UserProfile({ - required final String id, - required final String name, - final String? nickname, - final String? picture, - final String? updatedAt, - final String? countryIso2Code, - final int? churchId, - final String? birthdate, - final String? email, - final String? gender, - final String? givenName, - final String? familyName, - final bool? mediaSubscriber, - final bool? hasMembership, - final String? bccPersonId, - }) = _$UserProfileImpl; - const _UserProfile._() : super._(); - - factory _UserProfile.fromJson(Map json) = - _$UserProfileImpl.fromJson; - - @override - String get id; - @override - String get name; - @override - String? get nickname; - @override - String? get picture; - @override - String? get updatedAt; - @override - String? get countryIso2Code; - @override - int? get churchId; - @override - String? get birthdate; - @override - String? get email; - @override - String? get gender; - @override - String? get givenName; - @override - String? get familyName; - @override - bool? get mediaSubscriber; - @override - bool? get hasMembership; - @override - String? get bccPersonId; - - /// Create a copy of UserProfile - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$UserProfileImplCopyWith<_$UserProfileImpl> get copyWith => - throw _privateConstructorUsedError; + } + +/// @nodoc +abstract mixin class _$UserProfileCopyWith<$Res> implements $UserProfileCopyWith<$Res> { + factory _$UserProfileCopyWith(_UserProfile value, $Res Function(_UserProfile) _then) = __$UserProfileCopyWithImpl; +@override @useResult +$Res call({ + String id, String name, String? nickname, String? picture, String? updatedAt, String? countryIso2Code, int? churchId, String? birthdate, String? email, String? gender, String? givenName, String? familyName, bool? mediaSubscriber, bool? hasMembership, String? bccPersonId +}); + + + + +} +/// @nodoc +class __$UserProfileCopyWithImpl<$Res> + implements _$UserProfileCopyWith<$Res> { + __$UserProfileCopyWithImpl(this._self, this._then); + + final _UserProfile _self; + final $Res Function(_UserProfile) _then; + +/// Create a copy of UserProfile +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? name = null,Object? nickname = freezed,Object? picture = freezed,Object? updatedAt = freezed,Object? countryIso2Code = freezed,Object? churchId = freezed,Object? birthdate = freezed,Object? email = freezed,Object? gender = freezed,Object? givenName = freezed,Object? familyName = freezed,Object? mediaSubscriber = freezed,Object? hasMembership = freezed,Object? bccPersonId = freezed,}) { + return _then(_UserProfile( +id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as String,name: null == name ? _self.name : name // ignore: cast_nullable_to_non_nullable +as String,nickname: freezed == nickname ? _self.nickname : nickname // ignore: cast_nullable_to_non_nullable +as String?,picture: freezed == picture ? _self.picture : picture // ignore: cast_nullable_to_non_nullable +as String?,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable +as String?,countryIso2Code: freezed == countryIso2Code ? _self.countryIso2Code : countryIso2Code // ignore: cast_nullable_to_non_nullable +as String?,churchId: freezed == churchId ? _self.churchId : churchId // ignore: cast_nullable_to_non_nullable +as int?,birthdate: freezed == birthdate ? _self.birthdate : birthdate // ignore: cast_nullable_to_non_nullable +as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable +as String?,gender: freezed == gender ? _self.gender : gender // ignore: cast_nullable_to_non_nullable +as String?,givenName: freezed == givenName ? _self.givenName : givenName // ignore: cast_nullable_to_non_nullable +as String?,familyName: freezed == familyName ? _self.familyName : familyName // ignore: cast_nullable_to_non_nullable +as String?,mediaSubscriber: freezed == mediaSubscriber ? _self.mediaSubscriber : mediaSubscriber // ignore: cast_nullable_to_non_nullable +as bool?,hasMembership: freezed == hasMembership ? _self.hasMembership : hasMembership // ignore: cast_nullable_to_non_nullable +as bool?,bccPersonId: freezed == bccPersonId ? _self.bccPersonId : bccPersonId // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + + +} + +// dart format on diff --git a/bccm_core/lib/src/models/user_profile.g.dart b/bccm_core/lib/src/models/user_profile.g.dart index d66721c..13d471e 100644 --- a/bccm_core/lib/src/models/user_profile.g.dart +++ b/bccm_core/lib/src/models/user_profile.g.dart @@ -6,26 +6,25 @@ part of 'user_profile.dart'; // JsonSerializableGenerator // ************************************************************************** -_$UserProfileImpl _$$UserProfileImplFromJson(Map json) => - _$UserProfileImpl( - id: json['id'] as String, - name: json['name'] as String, - nickname: json['nickname'] as String?, - picture: json['picture'] as String?, - updatedAt: json['updatedAt'] as String?, - countryIso2Code: json['countryIso2Code'] as String?, - churchId: (json['churchId'] as num?)?.toInt(), - birthdate: json['birthdate'] as String?, - email: json['email'] as String?, - gender: json['gender'] as String?, - givenName: json['givenName'] as String?, - familyName: json['familyName'] as String?, - mediaSubscriber: json['mediaSubscriber'] as bool?, - hasMembership: json['hasMembership'] as bool?, - bccPersonId: json['bccPersonId'] as String?, - ); +_UserProfile _$UserProfileFromJson(Map json) => _UserProfile( + id: json['id'] as String, + name: json['name'] as String, + nickname: json['nickname'] as String?, + picture: json['picture'] as String?, + updatedAt: json['updatedAt'] as String?, + countryIso2Code: json['countryIso2Code'] as String?, + churchId: (json['churchId'] as num?)?.toInt(), + birthdate: json['birthdate'] as String?, + email: json['email'] as String?, + gender: json['gender'] as String?, + givenName: json['givenName'] as String?, + familyName: json['familyName'] as String?, + mediaSubscriber: json['mediaSubscriber'] as bool?, + hasMembership: json['hasMembership'] as bool?, + bccPersonId: json['bccPersonId'] as String?, +); -Map _$$UserProfileImplToJson(_$UserProfileImpl instance) => +Map _$UserProfileToJson(_UserProfile instance) => { 'id': instance.id, 'name': instance.name, diff --git a/bccm_core/pubspec.yaml b/bccm_core/pubspec.yaml index 871523a..b6960b6 100644 --- a/bccm_core/pubspec.yaml +++ b/bccm_core/pubspec.yaml @@ -1,15 +1,15 @@ name: bccm_core description: Contains core functionality, etc -version: 1.2.0 +version: 2.0.0 homepage: environment: - sdk: ">=3.12.0 <4.0.0" - flutter: ">=3.44.0" + sdk: ">=3.13.0 <4.0.0" + flutter: ">=3.47.0" dependencies: app_links: ^7.2.1 - auto_route: ^9.2.2 + auto_route: ^11.1.0 connectivity_plus: ^7.3.1 # 13.x needs win32 ^6, blocked by flutter_secure_storage 9.x (win32 ^5). Bump with item 17. device_info_plus: ^12.1.0 @@ -24,13 +24,13 @@ dependencies: flutter_local_notifications: ^17.2.3 flutter_riverpod: ^2.5.3 flutter_secure_storage: ^9.2.2 - freezed_annotation: ^2.4.4 + freezed_annotation: ^3.1.0 graphql: ^5.2.1 graphql_flutter: ^5.3.0 http: ^1.2.2 intl: ^0.20.2 # 4.10+ forces json_serializable >=6.12, which needs build 4.x. Bump with the codegen cluster. - json_annotation: ^4.9.0 + json_annotation: ^4.12.0 jwt_decoder: ^2.0.1 # 10.x needs win32 ^6, blocked by flutter_secure_storage 9.x (win32 ^5). Bump with item 17. package_info_plus: ^9.0.0 @@ -55,13 +55,13 @@ dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^6.0.0 - build_runner: ^2.4.13 - freezed: ^2.5.7 - json_serializable: ^6.8.0 + build_runner: ^2.16.0 + freezed: ^4.0.1 + json_serializable: ^6.14.1 # 5.5.1+ needs build >=3.0.0, which freezed 2.x caps at ^2.3.1. Bump with the codegen cluster. - mockito: ^5.4.4 + mockito: ^5.8.1 fake_async: ^1.3.2 - graphql_codegen: ^1.0.1 + graphql_codegen: ^3.0.2 flutter_appauth_platform_interface: ^7.0.1 # For information on the generic Dart part of this file, see the diff --git a/bccm_core/test/auth_test.mocks.dart b/bccm_core/test/auth_test.mocks.dart index 99e6638..ff11e90 100644 --- a/bccm_core/test/auth_test.mocks.dart +++ b/bccm_core/test/auth_test.mocks.dart @@ -1,8 +1,9 @@ -// Mocks generated by Mockito 5.4.6 from annotations +// Mocks generated by Mockito from annotations // in bccm_core/test/auth_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes + import 'dart:async' as _i6; import 'package:bccm_core/src/features/auth/auth0_api.dart' as _i4; @@ -21,6 +22,7 @@ import 'package:mockito/src/dummies.dart' as _i8; // ignore_for_file: comment_references // ignore_for_file: deprecated_member_use // ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: experimental_member_use // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: must_be_immutable @@ -28,6 +30,7 @@ import 'package:mockito/src/dummies.dart' as _i8; // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class +// ignore_for_file: invalid_use_of_internal_member class _FakeAuthorizationTokenResponse_0 extends _i1.SmartFake implements _i2.AuthorizationTokenResponse { @@ -102,80 +105,71 @@ class MockFlutterAppAuth extends _i1.Mock implements _i5.FlutterAppAuth { @override _i6.Future<_i2.AuthorizationTokenResponse> authorizeAndExchangeCode( _i2.AuthorizationTokenRequest? request, - ) => - (super.noSuchMethod( - Invocation.method(#authorizeAndExchangeCode, [request]), - returnValue: _i6.Future<_i2.AuthorizationTokenResponse>.value( - _FakeAuthorizationTokenResponse_0( - this, - Invocation.method(#authorizeAndExchangeCode, [request]), - ), - ), - returnValueForMissingStub: - _i6.Future<_i2.AuthorizationTokenResponse>.value( - _FakeAuthorizationTokenResponse_0( - this, - Invocation.method(#authorizeAndExchangeCode, [request]), - ), - ), - ) - as _i6.Future<_i2.AuthorizationTokenResponse>); + ) => (super.noSuchMethod( + Invocation.method(#authorizeAndExchangeCode, [request]), + returnValue: _i6.Future<_i2.AuthorizationTokenResponse>.value( + _FakeAuthorizationTokenResponse_0( + this, + Invocation.method(#authorizeAndExchangeCode, [request]), + ), + ), + returnValueForMissingStub: _i6.Future<_i2.AuthorizationTokenResponse>.value( + _FakeAuthorizationTokenResponse_0( + this, + Invocation.method(#authorizeAndExchangeCode, [request]), + ), + ), + ) as _i6.Future<_i2.AuthorizationTokenResponse>); @override _i6.Future<_i2.AuthorizationResponse> authorize( _i2.AuthorizationRequest? request, - ) => - (super.noSuchMethod( - Invocation.method(#authorize, [request]), - returnValue: _i6.Future<_i2.AuthorizationResponse>.value( - _FakeAuthorizationResponse_1( - this, - Invocation.method(#authorize, [request]), - ), - ), - returnValueForMissingStub: - _i6.Future<_i2.AuthorizationResponse>.value( - _FakeAuthorizationResponse_1( - this, - Invocation.method(#authorize, [request]), - ), - ), - ) - as _i6.Future<_i2.AuthorizationResponse>); + ) => (super.noSuchMethod( + Invocation.method(#authorize, [request]), + returnValue: _i6.Future<_i2.AuthorizationResponse>.value( + _FakeAuthorizationResponse_1( + this, + Invocation.method(#authorize, [request]), + ), + ), + returnValueForMissingStub: _i6.Future<_i2.AuthorizationResponse>.value( + _FakeAuthorizationResponse_1( + this, + Invocation.method(#authorize, [request]), + ), + ), + ) as _i6.Future<_i2.AuthorizationResponse>); @override _i6.Future<_i2.TokenResponse> token(_i2.TokenRequest? request) => (super.noSuchMethod( - Invocation.method(#token, [request]), - returnValue: _i6.Future<_i2.TokenResponse>.value( - _FakeTokenResponse_2(this, Invocation.method(#token, [request])), - ), - returnValueForMissingStub: _i6.Future<_i2.TokenResponse>.value( - _FakeTokenResponse_2(this, Invocation.method(#token, [request])), - ), - ) - as _i6.Future<_i2.TokenResponse>); + Invocation.method(#token, [request]), + returnValue: _i6.Future<_i2.TokenResponse>.value( + _FakeTokenResponse_2(this, Invocation.method(#token, [request])), + ), + returnValueForMissingStub: _i6.Future<_i2.TokenResponse>.value( + _FakeTokenResponse_2(this, Invocation.method(#token, [request])), + ), + ) as _i6.Future<_i2.TokenResponse>); @override _i6.Future<_i2.EndSessionResponse> endSession( _i2.EndSessionRequest? request, - ) => - (super.noSuchMethod( - Invocation.method(#endSession, [request]), - returnValue: _i6.Future<_i2.EndSessionResponse>.value( - _FakeEndSessionResponse_3( - this, - Invocation.method(#endSession, [request]), - ), - ), - returnValueForMissingStub: _i6.Future<_i2.EndSessionResponse>.value( - _FakeEndSessionResponse_3( - this, - Invocation.method(#endSession, [request]), - ), - ), - ) - as _i6.Future<_i2.EndSessionResponse>); + ) => (super.noSuchMethod( + Invocation.method(#endSession, [request]), + returnValue: _i6.Future<_i2.EndSessionResponse>.value( + _FakeEndSessionResponse_3( + this, + Invocation.method(#endSession, [request]), + ), + ), + returnValueForMissingStub: _i6.Future<_i2.EndSessionResponse>.value( + _FakeEndSessionResponse_3( + this, + Invocation.method(#endSession, [request]), + ), + ), + ) as _i6.Future<_i2.EndSessionResponse>); } /// A class which mocks [FlutterSecureStorage]. @@ -184,91 +178,64 @@ class MockFlutterAppAuth extends _i1.Mock implements _i5.FlutterAppAuth { class MockFlutterSecureStorage extends _i1.Mock implements _i3.FlutterSecureStorage { @override - _i3.IOSOptions get iOptions => - (super.noSuchMethod( - Invocation.getter(#iOptions), - returnValue: _FakeIOSOptions_4(this, Invocation.getter(#iOptions)), - returnValueForMissingStub: _FakeIOSOptions_4( - this, - Invocation.getter(#iOptions), - ), - ) - as _i3.IOSOptions); + _i3.IOSOptions get iOptions => (super.noSuchMethod( + Invocation.getter(#iOptions), + returnValue: _FakeIOSOptions_4(this, Invocation.getter(#iOptions)), + returnValueForMissingStub: _FakeIOSOptions_4( + this, + Invocation.getter(#iOptions), + ), + ) as _i3.IOSOptions); @override - _i3.AndroidOptions get aOptions => - (super.noSuchMethod( - Invocation.getter(#aOptions), - returnValue: _FakeAndroidOptions_5( - this, - Invocation.getter(#aOptions), - ), - returnValueForMissingStub: _FakeAndroidOptions_5( - this, - Invocation.getter(#aOptions), - ), - ) - as _i3.AndroidOptions); + _i3.AndroidOptions get aOptions => (super.noSuchMethod( + Invocation.getter(#aOptions), + returnValue: _FakeAndroidOptions_5(this, Invocation.getter(#aOptions)), + returnValueForMissingStub: _FakeAndroidOptions_5( + this, + Invocation.getter(#aOptions), + ), + ) as _i3.AndroidOptions); @override - _i3.LinuxOptions get lOptions => - (super.noSuchMethod( - Invocation.getter(#lOptions), - returnValue: _FakeLinuxOptions_6( - this, - Invocation.getter(#lOptions), - ), - returnValueForMissingStub: _FakeLinuxOptions_6( - this, - Invocation.getter(#lOptions), - ), - ) - as _i3.LinuxOptions); + _i3.LinuxOptions get lOptions => (super.noSuchMethod( + Invocation.getter(#lOptions), + returnValue: _FakeLinuxOptions_6(this, Invocation.getter(#lOptions)), + returnValueForMissingStub: _FakeLinuxOptions_6( + this, + Invocation.getter(#lOptions), + ), + ) as _i3.LinuxOptions); @override - _i3.WindowsOptions get wOptions => - (super.noSuchMethod( - Invocation.getter(#wOptions), - returnValue: _FakeWindowsOptions_7( - this, - Invocation.getter(#wOptions), - ), - returnValueForMissingStub: _FakeWindowsOptions_7( - this, - Invocation.getter(#wOptions), - ), - ) - as _i3.WindowsOptions); + _i3.WindowsOptions get wOptions => (super.noSuchMethod( + Invocation.getter(#wOptions), + returnValue: _FakeWindowsOptions_7(this, Invocation.getter(#wOptions)), + returnValueForMissingStub: _FakeWindowsOptions_7( + this, + Invocation.getter(#wOptions), + ), + ) as _i3.WindowsOptions); @override - _i3.WebOptions get webOptions => - (super.noSuchMethod( - Invocation.getter(#webOptions), - returnValue: _FakeWebOptions_8( - this, - Invocation.getter(#webOptions), - ), - returnValueForMissingStub: _FakeWebOptions_8( - this, - Invocation.getter(#webOptions), - ), - ) - as _i3.WebOptions); + _i3.WebOptions get webOptions => (super.noSuchMethod( + Invocation.getter(#webOptions), + returnValue: _FakeWebOptions_8(this, Invocation.getter(#webOptions)), + returnValueForMissingStub: _FakeWebOptions_8( + this, + Invocation.getter(#webOptions), + ), + ) as _i3.WebOptions); @override - _i3.MacOsOptions get mOptions => - (super.noSuchMethod( - Invocation.getter(#mOptions), - returnValue: _FakeMacOsOptions_9( - this, - Invocation.getter(#mOptions), - ), - returnValueForMissingStub: _FakeMacOsOptions_9( - this, - Invocation.getter(#mOptions), - ), - ) - as _i3.MacOsOptions); + _i3.MacOsOptions get mOptions => (super.noSuchMethod( + Invocation.getter(#mOptions), + returnValue: _FakeMacOsOptions_9(this, Invocation.getter(#mOptions)), + returnValueForMissingStub: _FakeMacOsOptions_9( + this, + Invocation.getter(#mOptions), + ), + ) as _i3.MacOsOptions); @override void registerListener({ @@ -314,22 +281,20 @@ class MockFlutterSecureStorage extends _i1.Mock _i3.WebOptions? webOptions, _i3.MacOsOptions? mOptions, _i3.WindowsOptions? wOptions, - }) => - (super.noSuchMethod( - Invocation.method(#write, [], { - #key: key, - #value: value, - #iOptions: iOptions, - #aOptions: aOptions, - #lOptions: lOptions, - #webOptions: webOptions, - #mOptions: mOptions, - #wOptions: wOptions, - }), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) - as _i6.Future); + }) => (super.noSuchMethod( + Invocation.method(#write, [], { + #key: key, + #value: value, + #iOptions: iOptions, + #aOptions: aOptions, + #lOptions: lOptions, + #webOptions: webOptions, + #mOptions: mOptions, + #wOptions: wOptions, + }), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) as _i6.Future); @override _i6.Future read({ @@ -340,21 +305,19 @@ class MockFlutterSecureStorage extends _i1.Mock _i3.WebOptions? webOptions, _i3.MacOsOptions? mOptions, _i3.WindowsOptions? wOptions, - }) => - (super.noSuchMethod( - Invocation.method(#read, [], { - #key: key, - #iOptions: iOptions, - #aOptions: aOptions, - #lOptions: lOptions, - #webOptions: webOptions, - #mOptions: mOptions, - #wOptions: wOptions, - }), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) - as _i6.Future); + }) => (super.noSuchMethod( + Invocation.method(#read, [], { + #key: key, + #iOptions: iOptions, + #aOptions: aOptions, + #lOptions: lOptions, + #webOptions: webOptions, + #mOptions: mOptions, + #wOptions: wOptions, + }), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) as _i6.Future); @override _i6.Future containsKey({ @@ -365,21 +328,19 @@ class MockFlutterSecureStorage extends _i1.Mock _i3.WebOptions? webOptions, _i3.MacOsOptions? mOptions, _i3.WindowsOptions? wOptions, - }) => - (super.noSuchMethod( - Invocation.method(#containsKey, [], { - #key: key, - #iOptions: iOptions, - #aOptions: aOptions, - #lOptions: lOptions, - #webOptions: webOptions, - #mOptions: mOptions, - #wOptions: wOptions, - }), - returnValue: _i6.Future.value(false), - returnValueForMissingStub: _i6.Future.value(false), - ) - as _i6.Future); + }) => (super.noSuchMethod( + Invocation.method(#containsKey, [], { + #key: key, + #iOptions: iOptions, + #aOptions: aOptions, + #lOptions: lOptions, + #webOptions: webOptions, + #mOptions: mOptions, + #wOptions: wOptions, + }), + returnValue: _i6.Future.value(false), + returnValueForMissingStub: _i6.Future.value(false), + ) as _i6.Future); @override _i6.Future delete({ @@ -390,21 +351,19 @@ class MockFlutterSecureStorage extends _i1.Mock _i3.WebOptions? webOptions, _i3.MacOsOptions? mOptions, _i3.WindowsOptions? wOptions, - }) => - (super.noSuchMethod( - Invocation.method(#delete, [], { - #key: key, - #iOptions: iOptions, - #aOptions: aOptions, - #lOptions: lOptions, - #webOptions: webOptions, - #mOptions: mOptions, - #wOptions: wOptions, - }), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) - as _i6.Future); + }) => (super.noSuchMethod( + Invocation.method(#delete, [], { + #key: key, + #iOptions: iOptions, + #aOptions: aOptions, + #lOptions: lOptions, + #webOptions: webOptions, + #mOptions: mOptions, + #wOptions: wOptions, + }), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) as _i6.Future); @override _i6.Future> readAll({ @@ -414,24 +373,20 @@ class MockFlutterSecureStorage extends _i1.Mock _i3.WebOptions? webOptions, _i3.MacOsOptions? mOptions, _i3.WindowsOptions? wOptions, - }) => - (super.noSuchMethod( - Invocation.method(#readAll, [], { - #iOptions: iOptions, - #aOptions: aOptions, - #lOptions: lOptions, - #webOptions: webOptions, - #mOptions: mOptions, - #wOptions: wOptions, - }), - returnValue: _i6.Future>.value( - {}, - ), - returnValueForMissingStub: _i6.Future>.value( - {}, - ), - ) - as _i6.Future>); + }) => (super.noSuchMethod( + Invocation.method(#readAll, [], { + #iOptions: iOptions, + #aOptions: aOptions, + #lOptions: lOptions, + #webOptions: webOptions, + #mOptions: mOptions, + #wOptions: wOptions, + }), + returnValue: _i6.Future>.value({}), + returnValueForMissingStub: _i6.Future>.value( + {}, + ), + ) as _i6.Future>); @override _i6.Future deleteAll({ @@ -441,29 +396,25 @@ class MockFlutterSecureStorage extends _i1.Mock _i3.WebOptions? webOptions, _i3.MacOsOptions? mOptions, _i3.WindowsOptions? wOptions, - }) => - (super.noSuchMethod( - Invocation.method(#deleteAll, [], { - #iOptions: iOptions, - #aOptions: aOptions, - #lOptions: lOptions, - #webOptions: webOptions, - #mOptions: mOptions, - #wOptions: wOptions, - }), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) - as _i6.Future); + }) => (super.noSuchMethod( + Invocation.method(#deleteAll, [], { + #iOptions: iOptions, + #aOptions: aOptions, + #lOptions: lOptions, + #webOptions: webOptions, + #mOptions: mOptions, + #wOptions: wOptions, + }), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) as _i6.Future); @override - _i6.Future isCupertinoProtectedDataAvailable() => - (super.noSuchMethod( - Invocation.method(#isCupertinoProtectedDataAvailable, []), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) - as _i6.Future); + _i6.Future isCupertinoProtectedDataAvailable() => (super.noSuchMethod( + Invocation.method(#isCupertinoProtectedDataAvailable, []), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) as _i6.Future); } /// A class which mocks [Auth0Api]. @@ -471,102 +422,79 @@ class MockFlutterSecureStorage extends _i1.Mock /// See the documentation for Mockito's code generation for more information. class MockAuth0Api extends _i1.Mock implements _i4.Auth0Api { @override - String get domain => - (super.noSuchMethod( - Invocation.getter(#domain), - returnValue: _i8.dummyValue( - this, - Invocation.getter(#domain), - ), - returnValueForMissingStub: _i8.dummyValue( - this, - Invocation.getter(#domain), - ), - ) - as String); + String get domain => (super.noSuchMethod( + Invocation.getter(#domain), + returnValue: _i8.dummyValue(this, Invocation.getter(#domain)), + returnValueForMissingStub: _i8.dummyValue( + this, + Invocation.getter(#domain), + ), + ) as String); @override - String get clientId => - (super.noSuchMethod( - Invocation.getter(#clientId), - returnValue: _i8.dummyValue( - this, - Invocation.getter(#clientId), - ), - returnValueForMissingStub: _i8.dummyValue( - this, - Invocation.getter(#clientId), - ), - ) - as String); + String get clientId => (super.noSuchMethod( + Invocation.getter(#clientId), + returnValue: _i8.dummyValue(this, Invocation.getter(#clientId)), + returnValueForMissingStub: _i8.dummyValue( + this, + Invocation.getter(#clientId), + ), + ) as String); @override - String get audience => - (super.noSuchMethod( - Invocation.getter(#audience), - returnValue: _i8.dummyValue( - this, - Invocation.getter(#audience), - ), - returnValueForMissingStub: _i8.dummyValue( - this, - Invocation.getter(#audience), - ), - ) - as String); + String get audience => (super.noSuchMethod( + Invocation.getter(#audience), + returnValue: _i8.dummyValue(this, Invocation.getter(#audience)), + returnValueForMissingStub: _i8.dummyValue( + this, + Invocation.getter(#audience), + ), + ) as String); @override _i6.Future<_i9.Auth0SignupResponse?> signup( _i9.Auth0SignupRequestBody? requestBody, - ) => - (super.noSuchMethod( - Invocation.method(#signup, [requestBody]), - returnValue: _i6.Future<_i9.Auth0SignupResponse?>.value(), - returnValueForMissingStub: - _i6.Future<_i9.Auth0SignupResponse?>.value(), - ) - as _i6.Future<_i9.Auth0SignupResponse?>); + ) => (super.noSuchMethod( + Invocation.method(#signup, [requestBody]), + returnValue: _i6.Future<_i9.Auth0SignupResponse?>.value(), + returnValueForMissingStub: _i6.Future<_i9.Auth0SignupResponse?>.value(), + ) as _i6.Future<_i9.Auth0SignupResponse?>); @override _i6.Future<_i4.DeviceTokenRequestResponse> fetchDeviceCode({ required String? scope, - }) => - (super.noSuchMethod( - Invocation.method(#fetchDeviceCode, [], {#scope: scope}), - returnValue: _i6.Future<_i4.DeviceTokenRequestResponse>.value( - _FakeDeviceTokenRequestResponse_10( - this, - Invocation.method(#fetchDeviceCode, [], {#scope: scope}), - ), - ), - returnValueForMissingStub: - _i6.Future<_i4.DeviceTokenRequestResponse>.value( - _FakeDeviceTokenRequestResponse_10( - this, - Invocation.method(#fetchDeviceCode, [], {#scope: scope}), - ), - ), - ) - as _i6.Future<_i4.DeviceTokenRequestResponse>); + }) => (super.noSuchMethod( + Invocation.method(#fetchDeviceCode, [], {#scope: scope}), + returnValue: _i6.Future<_i4.DeviceTokenRequestResponse>.value( + _FakeDeviceTokenRequestResponse_10( + this, + Invocation.method(#fetchDeviceCode, [], {#scope: scope}), + ), + ), + returnValueForMissingStub: _i6.Future<_i4.DeviceTokenRequestResponse>.value( + _FakeDeviceTokenRequestResponse_10( + this, + Invocation.method(#fetchDeviceCode, [], {#scope: scope}), + ), + ), + ) as _i6.Future<_i4.DeviceTokenRequestResponse>); @override _i6.Future<_i4.Credentials> listenToResolve( _i4.DeviceTokenRequestResponse? deviceToken, - ) => - (super.noSuchMethod( - Invocation.method(#listenToResolve, [deviceToken]), - returnValue: _i6.Future<_i4.Credentials>.value( - _FakeCredentials_11( - this, - Invocation.method(#listenToResolve, [deviceToken]), - ), - ), - returnValueForMissingStub: _i6.Future<_i4.Credentials>.value( - _FakeCredentials_11( - this, - Invocation.method(#listenToResolve, [deviceToken]), - ), - ), - ) - as _i6.Future<_i4.Credentials>); + ) => (super.noSuchMethod( + Invocation.method(#listenToResolve, [deviceToken]), + returnValue: _i6.Future<_i4.Credentials>.value( + _FakeCredentials_11( + this, + Invocation.method(#listenToResolve, [deviceToken]), + ), + ), + returnValueForMissingStub: _i6.Future<_i4.Credentials>.value( + _FakeCredentials_11( + this, + Invocation.method(#listenToResolve, [deviceToken]), + ), + ), + ) as _i6.Future<_i4.Credentials>); }