// 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 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 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? get ranks => throw _privateConstructorUsedError; dynamic get exData => throw _privateConstructorUsedError; NodesConfig? get nodesConfig => throw _privateConstructorUsedError; /// Serializes this Launch to a JSON map. Map 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 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, 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?, 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, 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?, 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, this.exData, this.nodesConfig, }) : _ranks = ranks; factory _$LaunchImpl.fromJson(Map 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; @override List? 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 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, final dynamic exData, final NodesConfig? nodesConfig, }) = _$LaunchImpl; factory _Launch.fromJson(Map 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? 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; }