| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456 |
- // coverage:ignore-file
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // ignore_for_file: type=lint
- // 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 'launch.dart';
- // **************************************************************************
- // FreezedGenerator
- // **************************************************************************
- T _$identity<T>(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',
- );
- Launch _$LaunchFromJson(Map<String, dynamic> json) {
- return _Launch.fromJson(json);
- }
- /// @nodoc
- mixin _$Launch {
- User? get userConfig => throw _privateConstructorUsedError;
- AppConfig? get appConfig => throw _privateConstructorUsedError;
- Upgrade? get upgradeConfig => throw _privateConstructorUsedError;
- AdConfig? get adConfig => throw _privateConstructorUsedError;
- Groups? get groups => throw _privateConstructorUsedError;
- List<Ranks>? get ranks => throw _privateConstructorUsedError;
- dynamic get exData => throw _privateConstructorUsedError;
- NodesConfig? get nodesConfig => throw _privateConstructorUsedError;
- /// Serializes this Launch to a JSON map.
- Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- $LaunchCopyWith<Launch> get copyWith => throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $LaunchCopyWith<$Res> {
- factory $LaunchCopyWith(Launch value, $Res Function(Launch) then) =
- _$LaunchCopyWithImpl<$Res, Launch>;
- @useResult
- $Res call({
- User? userConfig,
- AppConfig? appConfig,
- Upgrade? upgradeConfig,
- AdConfig? adConfig,
- Groups? groups,
- List<Ranks>? ranks,
- dynamic exData,
- NodesConfig? nodesConfig,
- });
- $UserCopyWith<$Res>? get userConfig;
- $AppConfigCopyWith<$Res>? get appConfig;
- $UpgradeCopyWith<$Res>? get upgradeConfig;
- $AdConfigCopyWith<$Res>? get adConfig;
- $GroupsCopyWith<$Res>? get groups;
- $NodesConfigCopyWith<$Res>? get nodesConfig;
- }
- /// @nodoc
- class _$LaunchCopyWithImpl<$Res, $Val extends Launch>
- implements $LaunchCopyWith<$Res> {
- _$LaunchCopyWithImpl(this._value, this._then);
- // ignore: unused_field
- final $Val _value;
- // ignore: unused_field
- final $Res Function($Val) _then;
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({
- Object? userConfig = freezed,
- Object? appConfig = freezed,
- Object? upgradeConfig = freezed,
- Object? adConfig = freezed,
- Object? groups = freezed,
- Object? ranks = freezed,
- Object? exData = freezed,
- Object? nodesConfig = freezed,
- }) {
- return _then(
- _value.copyWith(
- userConfig: freezed == userConfig
- ? _value.userConfig
- : userConfig // ignore: cast_nullable_to_non_nullable
- as User?,
- appConfig: freezed == appConfig
- ? _value.appConfig
- : appConfig // ignore: cast_nullable_to_non_nullable
- as AppConfig?,
- upgradeConfig: freezed == upgradeConfig
- ? _value.upgradeConfig
- : upgradeConfig // ignore: cast_nullable_to_non_nullable
- as Upgrade?,
- adConfig: freezed == adConfig
- ? _value.adConfig
- : adConfig // ignore: cast_nullable_to_non_nullable
- as AdConfig?,
- groups: freezed == groups
- ? _value.groups
- : groups // ignore: cast_nullable_to_non_nullable
- as Groups?,
- ranks: freezed == ranks
- ? _value.ranks
- : ranks // ignore: cast_nullable_to_non_nullable
- as List<Ranks>?,
- exData: freezed == exData
- ? _value.exData
- : exData // ignore: cast_nullable_to_non_nullable
- as dynamic,
- nodesConfig: freezed == nodesConfig
- ? _value.nodesConfig
- : nodesConfig // ignore: cast_nullable_to_non_nullable
- as NodesConfig?,
- )
- as $Val,
- );
- }
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $UserCopyWith<$Res>? get userConfig {
- if (_value.userConfig == null) {
- return null;
- }
- return $UserCopyWith<$Res>(_value.userConfig!, (value) {
- return _then(_value.copyWith(userConfig: value) as $Val);
- });
- }
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $AppConfigCopyWith<$Res>? get appConfig {
- if (_value.appConfig == null) {
- return null;
- }
- return $AppConfigCopyWith<$Res>(_value.appConfig!, (value) {
- return _then(_value.copyWith(appConfig: value) as $Val);
- });
- }
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $UpgradeCopyWith<$Res>? get upgradeConfig {
- if (_value.upgradeConfig == null) {
- return null;
- }
- return $UpgradeCopyWith<$Res>(_value.upgradeConfig!, (value) {
- return _then(_value.copyWith(upgradeConfig: value) as $Val);
- });
- }
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $AdConfigCopyWith<$Res>? get adConfig {
- if (_value.adConfig == null) {
- return null;
- }
- return $AdConfigCopyWith<$Res>(_value.adConfig!, (value) {
- return _then(_value.copyWith(adConfig: value) as $Val);
- });
- }
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $GroupsCopyWith<$Res>? get groups {
- if (_value.groups == null) {
- return null;
- }
- return $GroupsCopyWith<$Res>(_value.groups!, (value) {
- return _then(_value.copyWith(groups: value) as $Val);
- });
- }
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $NodesConfigCopyWith<$Res>? get nodesConfig {
- if (_value.nodesConfig == null) {
- return null;
- }
- return $NodesConfigCopyWith<$Res>(_value.nodesConfig!, (value) {
- return _then(_value.copyWith(nodesConfig: value) as $Val);
- });
- }
- }
- /// @nodoc
- abstract class _$$LaunchImplCopyWith<$Res> implements $LaunchCopyWith<$Res> {
- factory _$$LaunchImplCopyWith(
- _$LaunchImpl value,
- $Res Function(_$LaunchImpl) then,
- ) = __$$LaunchImplCopyWithImpl<$Res>;
- @override
- @useResult
- $Res call({
- User? userConfig,
- AppConfig? appConfig,
- Upgrade? upgradeConfig,
- AdConfig? adConfig,
- Groups? groups,
- List<Ranks>? ranks,
- dynamic exData,
- NodesConfig? nodesConfig,
- });
- @override
- $UserCopyWith<$Res>? get userConfig;
- @override
- $AppConfigCopyWith<$Res>? get appConfig;
- @override
- $UpgradeCopyWith<$Res>? get upgradeConfig;
- @override
- $AdConfigCopyWith<$Res>? get adConfig;
- @override
- $GroupsCopyWith<$Res>? get groups;
- @override
- $NodesConfigCopyWith<$Res>? get nodesConfig;
- }
- /// @nodoc
- class __$$LaunchImplCopyWithImpl<$Res>
- extends _$LaunchCopyWithImpl<$Res, _$LaunchImpl>
- implements _$$LaunchImplCopyWith<$Res> {
- __$$LaunchImplCopyWithImpl(
- _$LaunchImpl _value,
- $Res Function(_$LaunchImpl) _then,
- ) : super(_value, _then);
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({
- Object? userConfig = freezed,
- Object? appConfig = freezed,
- Object? upgradeConfig = freezed,
- Object? adConfig = freezed,
- Object? groups = freezed,
- Object? ranks = freezed,
- Object? exData = freezed,
- Object? nodesConfig = freezed,
- }) {
- return _then(
- _$LaunchImpl(
- userConfig: freezed == userConfig
- ? _value.userConfig
- : userConfig // ignore: cast_nullable_to_non_nullable
- as User?,
- appConfig: freezed == appConfig
- ? _value.appConfig
- : appConfig // ignore: cast_nullable_to_non_nullable
- as AppConfig?,
- upgradeConfig: freezed == upgradeConfig
- ? _value.upgradeConfig
- : upgradeConfig // ignore: cast_nullable_to_non_nullable
- as Upgrade?,
- adConfig: freezed == adConfig
- ? _value.adConfig
- : adConfig // ignore: cast_nullable_to_non_nullable
- as AdConfig?,
- groups: freezed == groups
- ? _value.groups
- : groups // ignore: cast_nullable_to_non_nullable
- as Groups?,
- ranks: freezed == ranks
- ? _value._ranks
- : ranks // ignore: cast_nullable_to_non_nullable
- as List<Ranks>?,
- exData: freezed == exData
- ? _value.exData
- : exData // ignore: cast_nullable_to_non_nullable
- as dynamic,
- nodesConfig: freezed == nodesConfig
- ? _value.nodesConfig
- : nodesConfig // ignore: cast_nullable_to_non_nullable
- as NodesConfig?,
- ),
- );
- }
- }
- /// @nodoc
- @JsonSerializable()
- class _$LaunchImpl with DiagnosticableTreeMixin implements _Launch {
- const _$LaunchImpl({
- this.userConfig,
- this.appConfig,
- this.upgradeConfig,
- this.adConfig,
- this.groups,
- final List<Ranks>? ranks,
- this.exData,
- this.nodesConfig,
- }) : _ranks = ranks;
- factory _$LaunchImpl.fromJson(Map<String, dynamic> json) =>
- _$$LaunchImplFromJson(json);
- @override
- final User? userConfig;
- @override
- final AppConfig? appConfig;
- @override
- final Upgrade? upgradeConfig;
- @override
- final AdConfig? adConfig;
- @override
- final Groups? groups;
- final List<Ranks>? _ranks;
- @override
- List<Ranks>? get ranks {
- final value = _ranks;
- if (value == null) return null;
- if (_ranks is EqualUnmodifiableListView) return _ranks;
- // ignore: implicit_dynamic_type
- return EqualUnmodifiableListView(value);
- }
- @override
- final dynamic exData;
- @override
- final NodesConfig? nodesConfig;
- @override
- String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
- return 'Launch(userConfig: $userConfig, appConfig: $appConfig, upgradeConfig: $upgradeConfig, adConfig: $adConfig, groups: $groups, ranks: $ranks, exData: $exData, nodesConfig: $nodesConfig)';
- }
- @override
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
- super.debugFillProperties(properties);
- properties
- ..add(DiagnosticsProperty('type', 'Launch'))
- ..add(DiagnosticsProperty('userConfig', userConfig))
- ..add(DiagnosticsProperty('appConfig', appConfig))
- ..add(DiagnosticsProperty('upgradeConfig', upgradeConfig))
- ..add(DiagnosticsProperty('adConfig', adConfig))
- ..add(DiagnosticsProperty('groups', groups))
- ..add(DiagnosticsProperty('ranks', ranks))
- ..add(DiagnosticsProperty('exData', exData))
- ..add(DiagnosticsProperty('nodesConfig', nodesConfig));
- }
- @override
- bool operator ==(Object other) {
- return identical(this, other) ||
- (other.runtimeType == runtimeType &&
- other is _$LaunchImpl &&
- (identical(other.userConfig, userConfig) ||
- other.userConfig == userConfig) &&
- (identical(other.appConfig, appConfig) ||
- other.appConfig == appConfig) &&
- (identical(other.upgradeConfig, upgradeConfig) ||
- other.upgradeConfig == upgradeConfig) &&
- (identical(other.adConfig, adConfig) ||
- other.adConfig == adConfig) &&
- (identical(other.groups, groups) || other.groups == groups) &&
- const DeepCollectionEquality().equals(other._ranks, _ranks) &&
- const DeepCollectionEquality().equals(other.exData, exData) &&
- (identical(other.nodesConfig, nodesConfig) ||
- other.nodesConfig == nodesConfig));
- }
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- int get hashCode => Object.hash(
- runtimeType,
- userConfig,
- appConfig,
- upgradeConfig,
- adConfig,
- groups,
- const DeepCollectionEquality().hash(_ranks),
- const DeepCollectionEquality().hash(exData),
- nodesConfig,
- );
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- @pragma('vm:prefer-inline')
- _$$LaunchImplCopyWith<_$LaunchImpl> get copyWith =>
- __$$LaunchImplCopyWithImpl<_$LaunchImpl>(this, _$identity);
- @override
- Map<String, dynamic> toJson() {
- return _$$LaunchImplToJson(this);
- }
- }
- abstract class _Launch implements Launch {
- const factory _Launch({
- final User? userConfig,
- final AppConfig? appConfig,
- final Upgrade? upgradeConfig,
- final AdConfig? adConfig,
- final Groups? groups,
- final List<Ranks>? ranks,
- final dynamic exData,
- final NodesConfig? nodesConfig,
- }) = _$LaunchImpl;
- factory _Launch.fromJson(Map<String, dynamic> json) = _$LaunchImpl.fromJson;
- @override
- User? get userConfig;
- @override
- AppConfig? get appConfig;
- @override
- Upgrade? get upgradeConfig;
- @override
- AdConfig? get adConfig;
- @override
- Groups? get groups;
- @override
- List<Ranks>? get ranks;
- @override
- dynamic get exData;
- @override
- NodesConfig? get nodesConfig;
- /// Create a copy of Launch
- /// with the given fields replaced by the non-null parameter values.
- @override
- @JsonKey(includeFromJson: false, includeToJson: false)
- _$$LaunchImplCopyWith<_$LaunchImpl> get copyWith =>
- throw _privateConstructorUsedError;
- }
|