From 9ef3a038231b8f319d906a94ce643e9f305b9286 Mon Sep 17 00:00:00 2001 From: Julian Bissekkou Date: Tue, 19 Aug 2025 08:38:27 +0200 Subject: [PATCH] bump dependencies --- ...tegration_test_android_option.freezed.dart | 722 ++++++------------ .../integration_test_ios_option.freezed.dart | 690 ++++++----------- pubspec.yaml | 4 +- 3 files changed, 493 insertions(+), 923 deletions(-) diff --git a/lib/src/integration_test/option/integration_test_android_option.freezed.dart b/lib/src/integration_test/option/integration_test_android_option.freezed.dart index e44be32..5802c8b 100644 --- a/lib/src/integration_test/option/integration_test_android_option.freezed.dart +++ b/lib/src/integration_test/option/integration_test_android_option.freezed.dart @@ -11,84 +11,47 @@ part of 'integration_test_android_option.dart'; // dart format off T _$identity(T value) => value; - /// @nodoc mixin _$IntegrationTestAndroidOption { - String get browserstackUsername; - String get browserstackAccessKey; - File get apk; - File get testSuite; - String? get customId; - List get devices; - bool get networkLogs; - bool get deviceLogs; - - /// Create a copy of IntegrationTestAndroidOption - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @pragma('vm:prefer-inline') - $IntegrationTestAndroidOptionCopyWith - get copyWith => _$IntegrationTestAndroidOptionCopyWithImpl< - IntegrationTestAndroidOption>( - this as IntegrationTestAndroidOption, _$identity); - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is IntegrationTestAndroidOption && - (identical(other.browserstackUsername, browserstackUsername) || - other.browserstackUsername == browserstackUsername) && - (identical(other.browserstackAccessKey, browserstackAccessKey) || - other.browserstackAccessKey == browserstackAccessKey) && - (identical(other.apk, apk) || other.apk == apk) && - (identical(other.testSuite, testSuite) || - other.testSuite == testSuite) && - (identical(other.customId, customId) || - other.customId == customId) && - const DeepCollectionEquality().equals(other.devices, devices) && - (identical(other.networkLogs, networkLogs) || - other.networkLogs == networkLogs) && - (identical(other.deviceLogs, deviceLogs) || - other.deviceLogs == deviceLogs)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - browserstackUsername, - browserstackAccessKey, - apk, - testSuite, - customId, - const DeepCollectionEquality().hash(devices), - networkLogs, - deviceLogs); - - @override - String toString() { - return 'IntegrationTestAndroidOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, apk: $apk, testSuite: $testSuite, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; - } + + String get browserstackUsername; String get browserstackAccessKey; File get apk; File get testSuite; String? get customId; List get devices; bool get networkLogs; bool get deviceLogs; +/// Create a copy of IntegrationTestAndroidOption +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$IntegrationTestAndroidOptionCopyWith get copyWith => _$IntegrationTestAndroidOptionCopyWithImpl(this as IntegrationTestAndroidOption, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is IntegrationTestAndroidOption&&(identical(other.browserstackUsername, browserstackUsername) || other.browserstackUsername == browserstackUsername)&&(identical(other.browserstackAccessKey, browserstackAccessKey) || other.browserstackAccessKey == browserstackAccessKey)&&(identical(other.apk, apk) || other.apk == apk)&&(identical(other.testSuite, testSuite) || other.testSuite == testSuite)&&(identical(other.customId, customId) || other.customId == customId)&&const DeepCollectionEquality().equals(other.devices, devices)&&(identical(other.networkLogs, networkLogs) || other.networkLogs == networkLogs)&&(identical(other.deviceLogs, deviceLogs) || other.deviceLogs == deviceLogs)); } -/// @nodoc -abstract mixin class $IntegrationTestAndroidOptionCopyWith<$Res> { - factory $IntegrationTestAndroidOptionCopyWith( - IntegrationTestAndroidOption value, - $Res Function(IntegrationTestAndroidOption) _then) = - _$IntegrationTestAndroidOptionCopyWithImpl; - @useResult - $Res call( - {String browserstackUsername, - String browserstackAccessKey, - File apk, - File testSuite, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs}); + +@override +int get hashCode => Object.hash(runtimeType,browserstackUsername,browserstackAccessKey,apk,testSuite,customId,const DeepCollectionEquality().hash(devices),networkLogs,deviceLogs); + +@override +String toString() { + return 'IntegrationTestAndroidOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, apk: $apk, testSuite: $testSuite, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; +} + + } +/// @nodoc +abstract mixin class $IntegrationTestAndroidOptionCopyWith<$Res> { + factory $IntegrationTestAndroidOptionCopyWith(IntegrationTestAndroidOption value, $Res Function(IntegrationTestAndroidOption) _then) = _$IntegrationTestAndroidOptionCopyWithImpl; +@useResult +$Res call({ + String browserstackUsername, String browserstackAccessKey, File apk, File testSuite, String? customId, List devices, bool networkLogs, bool deviceLogs +}); + + + + +} /// @nodoc class _$IntegrationTestAndroidOptionCopyWithImpl<$Res> implements $IntegrationTestAndroidOptionCopyWith<$Res> { @@ -97,373 +60,214 @@ class _$IntegrationTestAndroidOptionCopyWithImpl<$Res> final IntegrationTestAndroidOption _self; final $Res Function(IntegrationTestAndroidOption) _then; - /// Create a copy of IntegrationTestAndroidOption - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? browserstackUsername = null, - Object? browserstackAccessKey = null, - Object? apk = null, - Object? testSuite = null, - Object? customId = freezed, - Object? devices = null, - Object? networkLogs = null, - Object? deviceLogs = null, - }) { - return _then(_self.copyWith( - browserstackUsername: null == browserstackUsername - ? _self.browserstackUsername - : browserstackUsername // ignore: cast_nullable_to_non_nullable - as String, - browserstackAccessKey: null == browserstackAccessKey - ? _self.browserstackAccessKey - : browserstackAccessKey // ignore: cast_nullable_to_non_nullable - as String, - apk: null == apk - ? _self.apk - : apk // ignore: cast_nullable_to_non_nullable - as File, - testSuite: null == testSuite - ? _self.testSuite - : testSuite // ignore: cast_nullable_to_non_nullable - as File, - customId: freezed == customId - ? _self.customId - : customId // ignore: cast_nullable_to_non_nullable - as String?, - devices: null == devices - ? _self.devices - : devices // ignore: cast_nullable_to_non_nullable - as List, - networkLogs: null == networkLogs - ? _self.networkLogs - : networkLogs // ignore: cast_nullable_to_non_nullable - as bool, - deviceLogs: null == deviceLogs - ? _self.deviceLogs - : deviceLogs // ignore: cast_nullable_to_non_nullable - as bool, - )); - } +/// Create a copy of IntegrationTestAndroidOption +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? browserstackUsername = null,Object? browserstackAccessKey = null,Object? apk = null,Object? testSuite = null,Object? customId = freezed,Object? devices = null,Object? networkLogs = null,Object? deviceLogs = null,}) { + return _then(_self.copyWith( +browserstackUsername: null == browserstackUsername ? _self.browserstackUsername : browserstackUsername // ignore: cast_nullable_to_non_nullable +as String,browserstackAccessKey: null == browserstackAccessKey ? _self.browserstackAccessKey : browserstackAccessKey // ignore: cast_nullable_to_non_nullable +as String,apk: null == apk ? _self.apk : apk // ignore: cast_nullable_to_non_nullable +as File,testSuite: null == testSuite ? _self.testSuite : testSuite // ignore: cast_nullable_to_non_nullable +as File,customId: freezed == customId ? _self.customId : customId // ignore: cast_nullable_to_non_nullable +as String?,devices: null == devices ? _self.devices : devices // ignore: cast_nullable_to_non_nullable +as List,networkLogs: null == networkLogs ? _self.networkLogs : networkLogs // ignore: cast_nullable_to_non_nullable +as bool,deviceLogs: null == deviceLogs ? _self.deviceLogs : deviceLogs // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + } + /// Adds pattern-matching-related methods to [IntegrationTestAndroidOption]. extension IntegrationTestAndroidOptionPatterns on IntegrationTestAndroidOption { - /// 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(_IntegrationTestAndroidOption value)? $default, { - required TResult orElse(), - }) { - final _that = this; - switch (_that) { - case _IntegrationTestAndroidOption() 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(_IntegrationTestAndroidOption value) $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestAndroidOption(): - 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(_IntegrationTestAndroidOption value)? $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestAndroidOption() 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 browserstackUsername, - String browserstackAccessKey, - File apk, - File testSuite, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs)? - $default, { - required TResult orElse(), - }) { - final _that = this; - switch (_that) { - case _IntegrationTestAndroidOption() when $default != null: - return $default( - _that.browserstackUsername, - _that.browserstackAccessKey, - _that.apk, - _that.testSuite, - _that.customId, - _that.devices, - _that.networkLogs, - _that.deviceLogs); - 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 browserstackUsername, - String browserstackAccessKey, - File apk, - File testSuite, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs) - $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestAndroidOption(): - return $default( - _that.browserstackUsername, - _that.browserstackAccessKey, - _that.apk, - _that.testSuite, - _that.customId, - _that.devices, - _that.networkLogs, - _that.deviceLogs); - 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 browserstackUsername, - String browserstackAccessKey, - File apk, - File testSuite, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs)? - $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestAndroidOption() when $default != null: - return $default( - _that.browserstackUsername, - _that.browserstackAccessKey, - _that.apk, - _that.testSuite, - _that.customId, - _that.devices, - _that.networkLogs, - _that.deviceLogs); - case _: - return null; - } - } +/// 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( _IntegrationTestAndroidOption value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _IntegrationTestAndroidOption() 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( _IntegrationTestAndroidOption value) $default,){ +final _that = this; +switch (_that) { +case _IntegrationTestAndroidOption(): +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( _IntegrationTestAndroidOption value)? $default,){ +final _that = this; +switch (_that) { +case _IntegrationTestAndroidOption() 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 browserstackUsername, String browserstackAccessKey, File apk, File testSuite, String? customId, List devices, bool networkLogs, bool deviceLogs)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _IntegrationTestAndroidOption() when $default != null: +return $default(_that.browserstackUsername,_that.browserstackAccessKey,_that.apk,_that.testSuite,_that.customId,_that.devices,_that.networkLogs,_that.deviceLogs);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 browserstackUsername, String browserstackAccessKey, File apk, File testSuite, String? customId, List devices, bool networkLogs, bool deviceLogs) $default,) {final _that = this; +switch (_that) { +case _IntegrationTestAndroidOption(): +return $default(_that.browserstackUsername,_that.browserstackAccessKey,_that.apk,_that.testSuite,_that.customId,_that.devices,_that.networkLogs,_that.deviceLogs);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 browserstackUsername, String browserstackAccessKey, File apk, File testSuite, String? customId, List devices, bool networkLogs, bool deviceLogs)? $default,) {final _that = this; +switch (_that) { +case _IntegrationTestAndroidOption() when $default != null: +return $default(_that.browserstackUsername,_that.browserstackAccessKey,_that.apk,_that.testSuite,_that.customId,_that.devices,_that.networkLogs,_that.deviceLogs);case _: + return null; + +} +} + } /// @nodoc + class _IntegrationTestAndroidOption extends IntegrationTestAndroidOption { - const _IntegrationTestAndroidOption( - {required this.browserstackUsername, - required this.browserstackAccessKey, - required this.apk, - required this.testSuite, - this.customId, - required final List devices, - this.networkLogs = true, - this.deviceLogs = true}) - : _devices = devices, - super._(); - - @override - final String browserstackUsername; - @override - final String browserstackAccessKey; - @override - final File apk; - @override - final File testSuite; - @override - final String? customId; - final List _devices; - @override - List get devices { - if (_devices is EqualUnmodifiableListView) return _devices; - // ignore: implicit_dynamic_type - return EqualUnmodifiableListView(_devices); - } - - @override - @JsonKey() - final bool networkLogs; - @override - @JsonKey() - final bool deviceLogs; - - /// Create a copy of IntegrationTestAndroidOption - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - @pragma('vm:prefer-inline') - _$IntegrationTestAndroidOptionCopyWith<_IntegrationTestAndroidOption> - get copyWith => __$IntegrationTestAndroidOptionCopyWithImpl< - _IntegrationTestAndroidOption>(this, _$identity); - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _IntegrationTestAndroidOption && - (identical(other.browserstackUsername, browserstackUsername) || - other.browserstackUsername == browserstackUsername) && - (identical(other.browserstackAccessKey, browserstackAccessKey) || - other.browserstackAccessKey == browserstackAccessKey) && - (identical(other.apk, apk) || other.apk == apk) && - (identical(other.testSuite, testSuite) || - other.testSuite == testSuite) && - (identical(other.customId, customId) || - other.customId == customId) && - const DeepCollectionEquality().equals(other._devices, _devices) && - (identical(other.networkLogs, networkLogs) || - other.networkLogs == networkLogs) && - (identical(other.deviceLogs, deviceLogs) || - other.deviceLogs == deviceLogs)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - browserstackUsername, - browserstackAccessKey, - apk, - testSuite, - customId, - const DeepCollectionEquality().hash(_devices), - networkLogs, - deviceLogs); - - @override - String toString() { - return 'IntegrationTestAndroidOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, apk: $apk, testSuite: $testSuite, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; - } + const _IntegrationTestAndroidOption({required this.browserstackUsername, required this.browserstackAccessKey, required this.apk, required this.testSuite, this.customId, required final List devices, this.networkLogs = true, this.deviceLogs = true}): _devices = devices,super._(); + + +@override final String browserstackUsername; +@override final String browserstackAccessKey; +@override final File apk; +@override final File testSuite; +@override final String? customId; + final List _devices; +@override List get devices { + if (_devices is EqualUnmodifiableListView) return _devices; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_devices); } -/// @nodoc -abstract mixin class _$IntegrationTestAndroidOptionCopyWith<$Res> - implements $IntegrationTestAndroidOptionCopyWith<$Res> { - factory _$IntegrationTestAndroidOptionCopyWith( - _IntegrationTestAndroidOption value, - $Res Function(_IntegrationTestAndroidOption) _then) = - __$IntegrationTestAndroidOptionCopyWithImpl; - @override - @useResult - $Res call( - {String browserstackUsername, - String browserstackAccessKey, - File apk, - File testSuite, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs}); +@override@JsonKey() final bool networkLogs; +@override@JsonKey() final bool deviceLogs; + +/// Create a copy of IntegrationTestAndroidOption +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$IntegrationTestAndroidOptionCopyWith<_IntegrationTestAndroidOption> get copyWith => __$IntegrationTestAndroidOptionCopyWithImpl<_IntegrationTestAndroidOption>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _IntegrationTestAndroidOption&&(identical(other.browserstackUsername, browserstackUsername) || other.browserstackUsername == browserstackUsername)&&(identical(other.browserstackAccessKey, browserstackAccessKey) || other.browserstackAccessKey == browserstackAccessKey)&&(identical(other.apk, apk) || other.apk == apk)&&(identical(other.testSuite, testSuite) || other.testSuite == testSuite)&&(identical(other.customId, customId) || other.customId == customId)&&const DeepCollectionEquality().equals(other._devices, _devices)&&(identical(other.networkLogs, networkLogs) || other.networkLogs == networkLogs)&&(identical(other.deviceLogs, deviceLogs) || other.deviceLogs == deviceLogs)); +} + + +@override +int get hashCode => Object.hash(runtimeType,browserstackUsername,browserstackAccessKey,apk,testSuite,customId,const DeepCollectionEquality().hash(_devices),networkLogs,deviceLogs); + +@override +String toString() { + return 'IntegrationTestAndroidOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, apk: $apk, testSuite: $testSuite, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; +} + + } +/// @nodoc +abstract mixin class _$IntegrationTestAndroidOptionCopyWith<$Res> implements $IntegrationTestAndroidOptionCopyWith<$Res> { + factory _$IntegrationTestAndroidOptionCopyWith(_IntegrationTestAndroidOption value, $Res Function(_IntegrationTestAndroidOption) _then) = __$IntegrationTestAndroidOptionCopyWithImpl; +@override @useResult +$Res call({ + String browserstackUsername, String browserstackAccessKey, File apk, File testSuite, String? customId, List devices, bool networkLogs, bool deviceLogs +}); + + + + +} /// @nodoc class __$IntegrationTestAndroidOptionCopyWithImpl<$Res> implements _$IntegrationTestAndroidOptionCopyWith<$Res> { @@ -472,55 +276,23 @@ class __$IntegrationTestAndroidOptionCopyWithImpl<$Res> final _IntegrationTestAndroidOption _self; final $Res Function(_IntegrationTestAndroidOption) _then; - /// Create a copy of IntegrationTestAndroidOption - /// with the given fields replaced by the non-null parameter values. - @override - @pragma('vm:prefer-inline') - $Res call({ - Object? browserstackUsername = null, - Object? browserstackAccessKey = null, - Object? apk = null, - Object? testSuite = null, - Object? customId = freezed, - Object? devices = null, - Object? networkLogs = null, - Object? deviceLogs = null, - }) { - return _then(_IntegrationTestAndroidOption( - browserstackUsername: null == browserstackUsername - ? _self.browserstackUsername - : browserstackUsername // ignore: cast_nullable_to_non_nullable - as String, - browserstackAccessKey: null == browserstackAccessKey - ? _self.browserstackAccessKey - : browserstackAccessKey // ignore: cast_nullable_to_non_nullable - as String, - apk: null == apk - ? _self.apk - : apk // ignore: cast_nullable_to_non_nullable - as File, - testSuite: null == testSuite - ? _self.testSuite - : testSuite // ignore: cast_nullable_to_non_nullable - as File, - customId: freezed == customId - ? _self.customId - : customId // ignore: cast_nullable_to_non_nullable - as String?, - devices: null == devices - ? _self._devices - : devices // ignore: cast_nullable_to_non_nullable - as List, - networkLogs: null == networkLogs - ? _self.networkLogs - : networkLogs // ignore: cast_nullable_to_non_nullable - as bool, - deviceLogs: null == deviceLogs - ? _self.deviceLogs - : deviceLogs // ignore: cast_nullable_to_non_nullable - as bool, - )); - } +/// Create a copy of IntegrationTestAndroidOption +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? browserstackUsername = null,Object? browserstackAccessKey = null,Object? apk = null,Object? testSuite = null,Object? customId = freezed,Object? devices = null,Object? networkLogs = null,Object? deviceLogs = null,}) { + return _then(_IntegrationTestAndroidOption( +browserstackUsername: null == browserstackUsername ? _self.browserstackUsername : browserstackUsername // ignore: cast_nullable_to_non_nullable +as String,browserstackAccessKey: null == browserstackAccessKey ? _self.browserstackAccessKey : browserstackAccessKey // ignore: cast_nullable_to_non_nullable +as String,apk: null == apk ? _self.apk : apk // ignore: cast_nullable_to_non_nullable +as File,testSuite: null == testSuite ? _self.testSuite : testSuite // ignore: cast_nullable_to_non_nullable +as File,customId: freezed == customId ? _self.customId : customId // ignore: cast_nullable_to_non_nullable +as String?,devices: null == devices ? _self._devices : devices // ignore: cast_nullable_to_non_nullable +as List,networkLogs: null == networkLogs ? _self.networkLogs : networkLogs // ignore: cast_nullable_to_non_nullable +as bool,deviceLogs: null == deviceLogs ? _self.deviceLogs : deviceLogs // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + + } // dart format on diff --git a/lib/src/integration_test/option/integration_test_ios_option.freezed.dart b/lib/src/integration_test/option/integration_test_ios_option.freezed.dart index 88e96e0..7c3551d 100644 --- a/lib/src/integration_test/option/integration_test_ios_option.freezed.dart +++ b/lib/src/integration_test/option/integration_test_ios_option.freezed.dart @@ -11,78 +11,47 @@ part of 'integration_test_ios_option.dart'; // dart format off T _$identity(T value) => value; - /// @nodoc mixin _$IntegrationTestIosOption { - String get browserstackUsername; - String get browserstackAccessKey; - File get testPackage; - String? get customId; - List get devices; - bool get networkLogs; - bool get deviceLogs; - - /// Create a copy of IntegrationTestIosOption - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @pragma('vm:prefer-inline') - $IntegrationTestIosOptionCopyWith get copyWith => - _$IntegrationTestIosOptionCopyWithImpl( - this as IntegrationTestIosOption, _$identity); - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is IntegrationTestIosOption && - (identical(other.browserstackUsername, browserstackUsername) || - other.browserstackUsername == browserstackUsername) && - (identical(other.browserstackAccessKey, browserstackAccessKey) || - other.browserstackAccessKey == browserstackAccessKey) && - (identical(other.testPackage, testPackage) || - other.testPackage == testPackage) && - (identical(other.customId, customId) || - other.customId == customId) && - const DeepCollectionEquality().equals(other.devices, devices) && - (identical(other.networkLogs, networkLogs) || - other.networkLogs == networkLogs) && - (identical(other.deviceLogs, deviceLogs) || - other.deviceLogs == deviceLogs)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - browserstackUsername, - browserstackAccessKey, - testPackage, - customId, - const DeepCollectionEquality().hash(devices), - networkLogs, - deviceLogs); - - @override - String toString() { - return 'IntegrationTestIosOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, testPackage: $testPackage, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; - } + + String get browserstackUsername; String get browserstackAccessKey; File get testPackage; String? get customId; List get devices; bool get networkLogs; bool get deviceLogs; +/// Create a copy of IntegrationTestIosOption +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$IntegrationTestIosOptionCopyWith get copyWith => _$IntegrationTestIosOptionCopyWithImpl(this as IntegrationTestIosOption, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is IntegrationTestIosOption&&(identical(other.browserstackUsername, browserstackUsername) || other.browserstackUsername == browserstackUsername)&&(identical(other.browserstackAccessKey, browserstackAccessKey) || other.browserstackAccessKey == browserstackAccessKey)&&(identical(other.testPackage, testPackage) || other.testPackage == testPackage)&&(identical(other.customId, customId) || other.customId == customId)&&const DeepCollectionEquality().equals(other.devices, devices)&&(identical(other.networkLogs, networkLogs) || other.networkLogs == networkLogs)&&(identical(other.deviceLogs, deviceLogs) || other.deviceLogs == deviceLogs)); } -/// @nodoc -abstract mixin class $IntegrationTestIosOptionCopyWith<$Res> { - factory $IntegrationTestIosOptionCopyWith(IntegrationTestIosOption value, - $Res Function(IntegrationTestIosOption) _then) = - _$IntegrationTestIosOptionCopyWithImpl; - @useResult - $Res call( - {String browserstackUsername, - String browserstackAccessKey, - File testPackage, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs}); + +@override +int get hashCode => Object.hash(runtimeType,browserstackUsername,browserstackAccessKey,testPackage,customId,const DeepCollectionEquality().hash(devices),networkLogs,deviceLogs); + +@override +String toString() { + return 'IntegrationTestIosOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, testPackage: $testPackage, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; +} + + } +/// @nodoc +abstract mixin class $IntegrationTestIosOptionCopyWith<$Res> { + factory $IntegrationTestIosOptionCopyWith(IntegrationTestIosOption value, $Res Function(IntegrationTestIosOption) _then) = _$IntegrationTestIosOptionCopyWithImpl; +@useResult +$Res call({ + String browserstackUsername, String browserstackAccessKey, File testPackage, String? customId, List devices, bool networkLogs, bool deviceLogs +}); + + + + +} /// @nodoc class _$IntegrationTestIosOptionCopyWithImpl<$Res> implements $IntegrationTestIosOptionCopyWith<$Res> { @@ -91,355 +60,212 @@ class _$IntegrationTestIosOptionCopyWithImpl<$Res> final IntegrationTestIosOption _self; final $Res Function(IntegrationTestIosOption) _then; - /// Create a copy of IntegrationTestIosOption - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? browserstackUsername = null, - Object? browserstackAccessKey = null, - Object? testPackage = null, - Object? customId = freezed, - Object? devices = null, - Object? networkLogs = null, - Object? deviceLogs = null, - }) { - return _then(_self.copyWith( - browserstackUsername: null == browserstackUsername - ? _self.browserstackUsername - : browserstackUsername // ignore: cast_nullable_to_non_nullable - as String, - browserstackAccessKey: null == browserstackAccessKey - ? _self.browserstackAccessKey - : browserstackAccessKey // ignore: cast_nullable_to_non_nullable - as String, - testPackage: null == testPackage - ? _self.testPackage - : testPackage // ignore: cast_nullable_to_non_nullable - as File, - customId: freezed == customId - ? _self.customId - : customId // ignore: cast_nullable_to_non_nullable - as String?, - devices: null == devices - ? _self.devices - : devices // ignore: cast_nullable_to_non_nullable - as List, - networkLogs: null == networkLogs - ? _self.networkLogs - : networkLogs // ignore: cast_nullable_to_non_nullable - as bool, - deviceLogs: null == deviceLogs - ? _self.deviceLogs - : deviceLogs // ignore: cast_nullable_to_non_nullable - as bool, - )); - } +/// Create a copy of IntegrationTestIosOption +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? browserstackUsername = null,Object? browserstackAccessKey = null,Object? testPackage = null,Object? customId = freezed,Object? devices = null,Object? networkLogs = null,Object? deviceLogs = null,}) { + return _then(_self.copyWith( +browserstackUsername: null == browserstackUsername ? _self.browserstackUsername : browserstackUsername // ignore: cast_nullable_to_non_nullable +as String,browserstackAccessKey: null == browserstackAccessKey ? _self.browserstackAccessKey : browserstackAccessKey // ignore: cast_nullable_to_non_nullable +as String,testPackage: null == testPackage ? _self.testPackage : testPackage // ignore: cast_nullable_to_non_nullable +as File,customId: freezed == customId ? _self.customId : customId // ignore: cast_nullable_to_non_nullable +as String?,devices: null == devices ? _self.devices : devices // ignore: cast_nullable_to_non_nullable +as List,networkLogs: null == networkLogs ? _self.networkLogs : networkLogs // ignore: cast_nullable_to_non_nullable +as bool,deviceLogs: null == deviceLogs ? _self.deviceLogs : deviceLogs // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + } + /// Adds pattern-matching-related methods to [IntegrationTestIosOption]. extension IntegrationTestIosOptionPatterns on IntegrationTestIosOption { - /// 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(_IntegrationTestIosOption value)? $default, { - required TResult orElse(), - }) { - final _that = this; - switch (_that) { - case _IntegrationTestIosOption() 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(_IntegrationTestIosOption value) $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestIosOption(): - 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(_IntegrationTestIosOption value)? $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestIosOption() 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 browserstackUsername, - String browserstackAccessKey, - File testPackage, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs)? - $default, { - required TResult orElse(), - }) { - final _that = this; - switch (_that) { - case _IntegrationTestIosOption() when $default != null: - return $default( - _that.browserstackUsername, - _that.browserstackAccessKey, - _that.testPackage, - _that.customId, - _that.devices, - _that.networkLogs, - _that.deviceLogs); - 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 browserstackUsername, - String browserstackAccessKey, - File testPackage, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs) - $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestIosOption(): - return $default( - _that.browserstackUsername, - _that.browserstackAccessKey, - _that.testPackage, - _that.customId, - _that.devices, - _that.networkLogs, - _that.deviceLogs); - 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 browserstackUsername, - String browserstackAccessKey, - File testPackage, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs)? - $default, - ) { - final _that = this; - switch (_that) { - case _IntegrationTestIosOption() when $default != null: - return $default( - _that.browserstackUsername, - _that.browserstackAccessKey, - _that.testPackage, - _that.customId, - _that.devices, - _that.networkLogs, - _that.deviceLogs); - case _: - return null; - } - } +/// 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( _IntegrationTestIosOption value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _IntegrationTestIosOption() 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( _IntegrationTestIosOption value) $default,){ +final _that = this; +switch (_that) { +case _IntegrationTestIosOption(): +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( _IntegrationTestIosOption value)? $default,){ +final _that = this; +switch (_that) { +case _IntegrationTestIosOption() 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 browserstackUsername, String browserstackAccessKey, File testPackage, String? customId, List devices, bool networkLogs, bool deviceLogs)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _IntegrationTestIosOption() when $default != null: +return $default(_that.browserstackUsername,_that.browserstackAccessKey,_that.testPackage,_that.customId,_that.devices,_that.networkLogs,_that.deviceLogs);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 browserstackUsername, String browserstackAccessKey, File testPackage, String? customId, List devices, bool networkLogs, bool deviceLogs) $default,) {final _that = this; +switch (_that) { +case _IntegrationTestIosOption(): +return $default(_that.browserstackUsername,_that.browserstackAccessKey,_that.testPackage,_that.customId,_that.devices,_that.networkLogs,_that.deviceLogs);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 browserstackUsername, String browserstackAccessKey, File testPackage, String? customId, List devices, bool networkLogs, bool deviceLogs)? $default,) {final _that = this; +switch (_that) { +case _IntegrationTestIosOption() when $default != null: +return $default(_that.browserstackUsername,_that.browserstackAccessKey,_that.testPackage,_that.customId,_that.devices,_that.networkLogs,_that.deviceLogs);case _: + return null; + +} +} + } /// @nodoc + class _IntegrationTestIosOption extends IntegrationTestIosOption { - const _IntegrationTestIosOption( - {required this.browserstackUsername, - required this.browserstackAccessKey, - required this.testPackage, - this.customId, - required final List devices, - this.networkLogs = true, - this.deviceLogs = true}) - : _devices = devices, - super._(); - - @override - final String browserstackUsername; - @override - final String browserstackAccessKey; - @override - final File testPackage; - @override - final String? customId; - final List _devices; - @override - List get devices { - if (_devices is EqualUnmodifiableListView) return _devices; - // ignore: implicit_dynamic_type - return EqualUnmodifiableListView(_devices); - } - - @override - @JsonKey() - final bool networkLogs; - @override - @JsonKey() - final bool deviceLogs; - - /// Create a copy of IntegrationTestIosOption - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - @pragma('vm:prefer-inline') - _$IntegrationTestIosOptionCopyWith<_IntegrationTestIosOption> get copyWith => - __$IntegrationTestIosOptionCopyWithImpl<_IntegrationTestIosOption>( - this, _$identity); - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _IntegrationTestIosOption && - (identical(other.browserstackUsername, browserstackUsername) || - other.browserstackUsername == browserstackUsername) && - (identical(other.browserstackAccessKey, browserstackAccessKey) || - other.browserstackAccessKey == browserstackAccessKey) && - (identical(other.testPackage, testPackage) || - other.testPackage == testPackage) && - (identical(other.customId, customId) || - other.customId == customId) && - const DeepCollectionEquality().equals(other._devices, _devices) && - (identical(other.networkLogs, networkLogs) || - other.networkLogs == networkLogs) && - (identical(other.deviceLogs, deviceLogs) || - other.deviceLogs == deviceLogs)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - browserstackUsername, - browserstackAccessKey, - testPackage, - customId, - const DeepCollectionEquality().hash(_devices), - networkLogs, - deviceLogs); - - @override - String toString() { - return 'IntegrationTestIosOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, testPackage: $testPackage, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; - } + const _IntegrationTestIosOption({required this.browserstackUsername, required this.browserstackAccessKey, required this.testPackage, this.customId, required final List devices, this.networkLogs = true, this.deviceLogs = true}): _devices = devices,super._(); + + +@override final String browserstackUsername; +@override final String browserstackAccessKey; +@override final File testPackage; +@override final String? customId; + final List _devices; +@override List get devices { + if (_devices is EqualUnmodifiableListView) return _devices; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_devices); } -/// @nodoc -abstract mixin class _$IntegrationTestIosOptionCopyWith<$Res> - implements $IntegrationTestIosOptionCopyWith<$Res> { - factory _$IntegrationTestIosOptionCopyWith(_IntegrationTestIosOption value, - $Res Function(_IntegrationTestIosOption) _then) = - __$IntegrationTestIosOptionCopyWithImpl; - @override - @useResult - $Res call( - {String browserstackUsername, - String browserstackAccessKey, - File testPackage, - String? customId, - List devices, - bool networkLogs, - bool deviceLogs}); +@override@JsonKey() final bool networkLogs; +@override@JsonKey() final bool deviceLogs; + +/// Create a copy of IntegrationTestIosOption +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$IntegrationTestIosOptionCopyWith<_IntegrationTestIosOption> get copyWith => __$IntegrationTestIosOptionCopyWithImpl<_IntegrationTestIosOption>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _IntegrationTestIosOption&&(identical(other.browserstackUsername, browserstackUsername) || other.browserstackUsername == browserstackUsername)&&(identical(other.browserstackAccessKey, browserstackAccessKey) || other.browserstackAccessKey == browserstackAccessKey)&&(identical(other.testPackage, testPackage) || other.testPackage == testPackage)&&(identical(other.customId, customId) || other.customId == customId)&&const DeepCollectionEquality().equals(other._devices, _devices)&&(identical(other.networkLogs, networkLogs) || other.networkLogs == networkLogs)&&(identical(other.deviceLogs, deviceLogs) || other.deviceLogs == deviceLogs)); +} + + +@override +int get hashCode => Object.hash(runtimeType,browserstackUsername,browserstackAccessKey,testPackage,customId,const DeepCollectionEquality().hash(_devices),networkLogs,deviceLogs); + +@override +String toString() { + return 'IntegrationTestIosOption(browserstackUsername: $browserstackUsername, browserstackAccessKey: $browserstackAccessKey, testPackage: $testPackage, customId: $customId, devices: $devices, networkLogs: $networkLogs, deviceLogs: $deviceLogs)'; +} + + } +/// @nodoc +abstract mixin class _$IntegrationTestIosOptionCopyWith<$Res> implements $IntegrationTestIosOptionCopyWith<$Res> { + factory _$IntegrationTestIosOptionCopyWith(_IntegrationTestIosOption value, $Res Function(_IntegrationTestIosOption) _then) = __$IntegrationTestIosOptionCopyWithImpl; +@override @useResult +$Res call({ + String browserstackUsername, String browserstackAccessKey, File testPackage, String? customId, List devices, bool networkLogs, bool deviceLogs +}); + + + + +} /// @nodoc class __$IntegrationTestIosOptionCopyWithImpl<$Res> implements _$IntegrationTestIosOptionCopyWith<$Res> { @@ -448,50 +274,22 @@ class __$IntegrationTestIosOptionCopyWithImpl<$Res> final _IntegrationTestIosOption _self; final $Res Function(_IntegrationTestIosOption) _then; - /// Create a copy of IntegrationTestIosOption - /// with the given fields replaced by the non-null parameter values. - @override - @pragma('vm:prefer-inline') - $Res call({ - Object? browserstackUsername = null, - Object? browserstackAccessKey = null, - Object? testPackage = null, - Object? customId = freezed, - Object? devices = null, - Object? networkLogs = null, - Object? deviceLogs = null, - }) { - return _then(_IntegrationTestIosOption( - browserstackUsername: null == browserstackUsername - ? _self.browserstackUsername - : browserstackUsername // ignore: cast_nullable_to_non_nullable - as String, - browserstackAccessKey: null == browserstackAccessKey - ? _self.browserstackAccessKey - : browserstackAccessKey // ignore: cast_nullable_to_non_nullable - as String, - testPackage: null == testPackage - ? _self.testPackage - : testPackage // ignore: cast_nullable_to_non_nullable - as File, - customId: freezed == customId - ? _self.customId - : customId // ignore: cast_nullable_to_non_nullable - as String?, - devices: null == devices - ? _self._devices - : devices // ignore: cast_nullable_to_non_nullable - as List, - networkLogs: null == networkLogs - ? _self.networkLogs - : networkLogs // ignore: cast_nullable_to_non_nullable - as bool, - deviceLogs: null == deviceLogs - ? _self.deviceLogs - : deviceLogs // ignore: cast_nullable_to_non_nullable - as bool, - )); - } +/// Create a copy of IntegrationTestIosOption +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? browserstackUsername = null,Object? browserstackAccessKey = null,Object? testPackage = null,Object? customId = freezed,Object? devices = null,Object? networkLogs = null,Object? deviceLogs = null,}) { + return _then(_IntegrationTestIosOption( +browserstackUsername: null == browserstackUsername ? _self.browserstackUsername : browserstackUsername // ignore: cast_nullable_to_non_nullable +as String,browserstackAccessKey: null == browserstackAccessKey ? _self.browserstackAccessKey : browserstackAccessKey // ignore: cast_nullable_to_non_nullable +as String,testPackage: null == testPackage ? _self.testPackage : testPackage // ignore: cast_nullable_to_non_nullable +as File,customId: freezed == customId ? _self.customId : customId // ignore: cast_nullable_to_non_nullable +as String?,devices: null == devices ? _self._devices : devices // ignore: cast_nullable_to_non_nullable +as List,networkLogs: null == networkLogs ? _self.networkLogs : networkLogs // ignore: cast_nullable_to_non_nullable +as bool,deviceLogs: null == deviceLogs ? _self.deviceLogs : deviceLogs // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + + } // dart format on diff --git a/pubspec.yaml b/pubspec.yaml index b824c77..081a8a9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: args: ^2.7.0 - http: ^1.4.0 + http: ^1.5.0 freezed_annotation: ^3.1.0 json_annotation: ^4.9.0 path: ^1.9.1 @@ -19,7 +19,7 @@ dependencies: dev_dependencies: build_runner: ^2.5.4 flutter_lints: ^6.0.0 - freezed: ^3.1.0 + freezed: ^3.2.0 tapped_lints: git: url: https://github.com/tappeddev/tapped_lints.git