// 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 'channel_plan_list.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', ); ChannelPlanList _$ChannelPlanListFromJson(Map json) { return _ChannelPlanList.fromJson(json); } /// @nodoc mixin _$ChannelPlanList { List? get list => throw _privateConstructorUsedError; /// Serializes this ChannelPlanList to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ChannelPlanList /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ChannelPlanListCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ChannelPlanListCopyWith<$Res> { factory $ChannelPlanListCopyWith( ChannelPlanList value, $Res Function(ChannelPlanList) then, ) = _$ChannelPlanListCopyWithImpl<$Res, ChannelPlanList>; @useResult $Res call({List? list}); } /// @nodoc class _$ChannelPlanListCopyWithImpl<$Res, $Val extends ChannelPlanList> implements $ChannelPlanListCopyWith<$Res> { _$ChannelPlanListCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ChannelPlanList /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? list = freezed}) { return _then( _value.copyWith( list: freezed == list ? _value.list : list // ignore: cast_nullable_to_non_nullable as List?, ) as $Val, ); } } /// @nodoc abstract class _$$ChannelPlanListImplCopyWith<$Res> implements $ChannelPlanListCopyWith<$Res> { factory _$$ChannelPlanListImplCopyWith( _$ChannelPlanListImpl value, $Res Function(_$ChannelPlanListImpl) then, ) = __$$ChannelPlanListImplCopyWithImpl<$Res>; @override @useResult $Res call({List? list}); } /// @nodoc class __$$ChannelPlanListImplCopyWithImpl<$Res> extends _$ChannelPlanListCopyWithImpl<$Res, _$ChannelPlanListImpl> implements _$$ChannelPlanListImplCopyWith<$Res> { __$$ChannelPlanListImplCopyWithImpl( _$ChannelPlanListImpl _value, $Res Function(_$ChannelPlanListImpl) _then, ) : super(_value, _then); /// Create a copy of ChannelPlanList /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? list = freezed}) { return _then( _$ChannelPlanListImpl( list: freezed == list ? _value._list : list // ignore: cast_nullable_to_non_nullable as List?, ), ); } } /// @nodoc @JsonSerializable() class _$ChannelPlanListImpl with DiagnosticableTreeMixin implements _ChannelPlanList { const _$ChannelPlanListImpl({final List? list}) : _list = list; factory _$ChannelPlanListImpl.fromJson(Map json) => _$$ChannelPlanListImplFromJson(json); final List? _list; @override List? get list { final value = _list; if (value == null) return null; if (_list is EqualUnmodifiableListView) return _list; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { return 'ChannelPlanList(list: $list)'; } @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { super.debugFillProperties(properties); properties ..add(DiagnosticsProperty('type', 'ChannelPlanList')) ..add(DiagnosticsProperty('list', list)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ChannelPlanListImpl && const DeepCollectionEquality().equals(other._list, _list)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, const DeepCollectionEquality().hash(_list)); /// Create a copy of ChannelPlanList /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ChannelPlanListImplCopyWith<_$ChannelPlanListImpl> get copyWith => __$$ChannelPlanListImplCopyWithImpl<_$ChannelPlanListImpl>( this, _$identity, ); @override Map toJson() { return _$$ChannelPlanListImplToJson(this); } } abstract class _ChannelPlanList implements ChannelPlanList { const factory _ChannelPlanList({final List? list}) = _$ChannelPlanListImpl; factory _ChannelPlanList.fromJson(Map json) = _$ChannelPlanListImpl.fromJson; @override List? get list; /// Create a copy of ChannelPlanList /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ChannelPlanListImplCopyWith<_$ChannelPlanListImpl> get copyWith => throw _privateConstructorUsedError; } ChannelPlan _$ChannelPlanFromJson(Map json) { return _ChannelPlan.fromJson(json); } /// @nodoc mixin _$ChannelPlan { String? get channelItemId => throw _privateConstructorUsedError; String? get title => throw _privateConstructorUsedError; String? get subTitle => throw _privateConstructorUsedError; String? get introduce => throw _privateConstructorUsedError; double? get orgPrice => throw _privateConstructorUsedError; double? get price => throw _privateConstructorUsedError; String? get tag => throw _privateConstructorUsedError; int? get tagType => throw _privateConstructorUsedError; int? get currency => throw _privateConstructorUsedError; bool? get recommend => throw _privateConstructorUsedError; bool? get isDefault => throw _privateConstructorUsedError; int? get sort => throw _privateConstructorUsedError; int? get deviceLimit => throw _privateConstructorUsedError; bool? get isSubscribe => throw _privateConstructorUsedError; int? get subscribeType => throw _privateConstructorUsedError; int? get subscribePeriodValue => throw _privateConstructorUsedError; String? get payoutType => throw _privateConstructorUsedError; String? get payoutData => throw _privateConstructorUsedError; /// Serializes this ChannelPlan to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ChannelPlan /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ChannelPlanCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ChannelPlanCopyWith<$Res> { factory $ChannelPlanCopyWith( ChannelPlan value, $Res Function(ChannelPlan) then, ) = _$ChannelPlanCopyWithImpl<$Res, ChannelPlan>; @useResult $Res call({ String? channelItemId, String? title, String? subTitle, String? introduce, double? orgPrice, double? price, String? tag, int? tagType, int? currency, bool? recommend, bool? isDefault, int? sort, int? deviceLimit, bool? isSubscribe, int? subscribeType, int? subscribePeriodValue, String? payoutType, String? payoutData, }); } /// @nodoc class _$ChannelPlanCopyWithImpl<$Res, $Val extends ChannelPlan> implements $ChannelPlanCopyWith<$Res> { _$ChannelPlanCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ChannelPlan /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? channelItemId = freezed, Object? title = freezed, Object? subTitle = freezed, Object? introduce = freezed, Object? orgPrice = freezed, Object? price = freezed, Object? tag = freezed, Object? tagType = freezed, Object? currency = freezed, Object? recommend = freezed, Object? isDefault = freezed, Object? sort = freezed, Object? deviceLimit = freezed, Object? isSubscribe = freezed, Object? subscribeType = freezed, Object? subscribePeriodValue = freezed, Object? payoutType = freezed, Object? payoutData = freezed, }) { return _then( _value.copyWith( channelItemId: freezed == channelItemId ? _value.channelItemId : channelItemId // ignore: cast_nullable_to_non_nullable as String?, title: freezed == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String?, subTitle: freezed == subTitle ? _value.subTitle : subTitle // ignore: cast_nullable_to_non_nullable as String?, introduce: freezed == introduce ? _value.introduce : introduce // ignore: cast_nullable_to_non_nullable as String?, orgPrice: freezed == orgPrice ? _value.orgPrice : orgPrice // ignore: cast_nullable_to_non_nullable as double?, price: freezed == price ? _value.price : price // ignore: cast_nullable_to_non_nullable as double?, tag: freezed == tag ? _value.tag : tag // ignore: cast_nullable_to_non_nullable as String?, tagType: freezed == tagType ? _value.tagType : tagType // ignore: cast_nullable_to_non_nullable as int?, currency: freezed == currency ? _value.currency : currency // ignore: cast_nullable_to_non_nullable as int?, recommend: freezed == recommend ? _value.recommend : recommend // ignore: cast_nullable_to_non_nullable as bool?, isDefault: freezed == isDefault ? _value.isDefault : isDefault // ignore: cast_nullable_to_non_nullable as bool?, sort: freezed == sort ? _value.sort : sort // ignore: cast_nullable_to_non_nullable as int?, deviceLimit: freezed == deviceLimit ? _value.deviceLimit : deviceLimit // ignore: cast_nullable_to_non_nullable as int?, isSubscribe: freezed == isSubscribe ? _value.isSubscribe : isSubscribe // ignore: cast_nullable_to_non_nullable as bool?, subscribeType: freezed == subscribeType ? _value.subscribeType : subscribeType // ignore: cast_nullable_to_non_nullable as int?, subscribePeriodValue: freezed == subscribePeriodValue ? _value.subscribePeriodValue : subscribePeriodValue // ignore: cast_nullable_to_non_nullable as int?, payoutType: freezed == payoutType ? _value.payoutType : payoutType // ignore: cast_nullable_to_non_nullable as String?, payoutData: freezed == payoutData ? _value.payoutData : payoutData // ignore: cast_nullable_to_non_nullable as String?, ) as $Val, ); } } /// @nodoc abstract class _$$ChannelPlanImplCopyWith<$Res> implements $ChannelPlanCopyWith<$Res> { factory _$$ChannelPlanImplCopyWith( _$ChannelPlanImpl value, $Res Function(_$ChannelPlanImpl) then, ) = __$$ChannelPlanImplCopyWithImpl<$Res>; @override @useResult $Res call({ String? channelItemId, String? title, String? subTitle, String? introduce, double? orgPrice, double? price, String? tag, int? tagType, int? currency, bool? recommend, bool? isDefault, int? sort, int? deviceLimit, bool? isSubscribe, int? subscribeType, int? subscribePeriodValue, String? payoutType, String? payoutData, }); } /// @nodoc class __$$ChannelPlanImplCopyWithImpl<$Res> extends _$ChannelPlanCopyWithImpl<$Res, _$ChannelPlanImpl> implements _$$ChannelPlanImplCopyWith<$Res> { __$$ChannelPlanImplCopyWithImpl( _$ChannelPlanImpl _value, $Res Function(_$ChannelPlanImpl) _then, ) : super(_value, _then); /// Create a copy of ChannelPlan /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? channelItemId = freezed, Object? title = freezed, Object? subTitle = freezed, Object? introduce = freezed, Object? orgPrice = freezed, Object? price = freezed, Object? tag = freezed, Object? tagType = freezed, Object? currency = freezed, Object? recommend = freezed, Object? isDefault = freezed, Object? sort = freezed, Object? deviceLimit = freezed, Object? isSubscribe = freezed, Object? subscribeType = freezed, Object? subscribePeriodValue = freezed, Object? payoutType = freezed, Object? payoutData = freezed, }) { return _then( _$ChannelPlanImpl( channelItemId: freezed == channelItemId ? _value.channelItemId : channelItemId // ignore: cast_nullable_to_non_nullable as String?, title: freezed == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String?, subTitle: freezed == subTitle ? _value.subTitle : subTitle // ignore: cast_nullable_to_non_nullable as String?, introduce: freezed == introduce ? _value.introduce : introduce // ignore: cast_nullable_to_non_nullable as String?, orgPrice: freezed == orgPrice ? _value.orgPrice : orgPrice // ignore: cast_nullable_to_non_nullable as double?, price: freezed == price ? _value.price : price // ignore: cast_nullable_to_non_nullable as double?, tag: freezed == tag ? _value.tag : tag // ignore: cast_nullable_to_non_nullable as String?, tagType: freezed == tagType ? _value.tagType : tagType // ignore: cast_nullable_to_non_nullable as int?, currency: freezed == currency ? _value.currency : currency // ignore: cast_nullable_to_non_nullable as int?, recommend: freezed == recommend ? _value.recommend : recommend // ignore: cast_nullable_to_non_nullable as bool?, isDefault: freezed == isDefault ? _value.isDefault : isDefault // ignore: cast_nullable_to_non_nullable as bool?, sort: freezed == sort ? _value.sort : sort // ignore: cast_nullable_to_non_nullable as int?, deviceLimit: freezed == deviceLimit ? _value.deviceLimit : deviceLimit // ignore: cast_nullable_to_non_nullable as int?, isSubscribe: freezed == isSubscribe ? _value.isSubscribe : isSubscribe // ignore: cast_nullable_to_non_nullable as bool?, subscribeType: freezed == subscribeType ? _value.subscribeType : subscribeType // ignore: cast_nullable_to_non_nullable as int?, subscribePeriodValue: freezed == subscribePeriodValue ? _value.subscribePeriodValue : subscribePeriodValue // ignore: cast_nullable_to_non_nullable as int?, payoutType: freezed == payoutType ? _value.payoutType : payoutType // ignore: cast_nullable_to_non_nullable as String?, payoutData: freezed == payoutData ? _value.payoutData : payoutData // ignore: cast_nullable_to_non_nullable as String?, ), ); } } /// @nodoc @JsonSerializable() class _$ChannelPlanImpl with DiagnosticableTreeMixin implements _ChannelPlan { const _$ChannelPlanImpl({ this.channelItemId, this.title, this.subTitle, this.introduce, this.orgPrice, this.price, this.tag, this.tagType, this.currency, this.recommend, this.isDefault, this.sort, this.deviceLimit, this.isSubscribe, this.subscribeType, this.subscribePeriodValue, this.payoutType, this.payoutData, }); factory _$ChannelPlanImpl.fromJson(Map json) => _$$ChannelPlanImplFromJson(json); @override final String? channelItemId; @override final String? title; @override final String? subTitle; @override final String? introduce; @override final double? orgPrice; @override final double? price; @override final String? tag; @override final int? tagType; @override final int? currency; @override final bool? recommend; @override final bool? isDefault; @override final int? sort; @override final int? deviceLimit; @override final bool? isSubscribe; @override final int? subscribeType; @override final int? subscribePeriodValue; @override final String? payoutType; @override final String? payoutData; @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { return 'ChannelPlan(channelItemId: $channelItemId, title: $title, subTitle: $subTitle, introduce: $introduce, orgPrice: $orgPrice, price: $price, tag: $tag, tagType: $tagType, currency: $currency, recommend: $recommend, isDefault: $isDefault, sort: $sort, deviceLimit: $deviceLimit, isSubscribe: $isSubscribe, subscribeType: $subscribeType, subscribePeriodValue: $subscribePeriodValue, payoutType: $payoutType, payoutData: $payoutData)'; } @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { super.debugFillProperties(properties); properties ..add(DiagnosticsProperty('type', 'ChannelPlan')) ..add(DiagnosticsProperty('channelItemId', channelItemId)) ..add(DiagnosticsProperty('title', title)) ..add(DiagnosticsProperty('subTitle', subTitle)) ..add(DiagnosticsProperty('introduce', introduce)) ..add(DiagnosticsProperty('orgPrice', orgPrice)) ..add(DiagnosticsProperty('price', price)) ..add(DiagnosticsProperty('tag', tag)) ..add(DiagnosticsProperty('tagType', tagType)) ..add(DiagnosticsProperty('currency', currency)) ..add(DiagnosticsProperty('recommend', recommend)) ..add(DiagnosticsProperty('isDefault', isDefault)) ..add(DiagnosticsProperty('sort', sort)) ..add(DiagnosticsProperty('deviceLimit', deviceLimit)) ..add(DiagnosticsProperty('isSubscribe', isSubscribe)) ..add(DiagnosticsProperty('subscribeType', subscribeType)) ..add(DiagnosticsProperty('subscribePeriodValue', subscribePeriodValue)) ..add(DiagnosticsProperty('payoutType', payoutType)) ..add(DiagnosticsProperty('payoutData', payoutData)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ChannelPlanImpl && (identical(other.channelItemId, channelItemId) || other.channelItemId == channelItemId) && (identical(other.title, title) || other.title == title) && (identical(other.subTitle, subTitle) || other.subTitle == subTitle) && (identical(other.introduce, introduce) || other.introduce == introduce) && (identical(other.orgPrice, orgPrice) || other.orgPrice == orgPrice) && (identical(other.price, price) || other.price == price) && (identical(other.tag, tag) || other.tag == tag) && (identical(other.tagType, tagType) || other.tagType == tagType) && (identical(other.currency, currency) || other.currency == currency) && (identical(other.recommend, recommend) || other.recommend == recommend) && (identical(other.isDefault, isDefault) || other.isDefault == isDefault) && (identical(other.sort, sort) || other.sort == sort) && (identical(other.deviceLimit, deviceLimit) || other.deviceLimit == deviceLimit) && (identical(other.isSubscribe, isSubscribe) || other.isSubscribe == isSubscribe) && (identical(other.subscribeType, subscribeType) || other.subscribeType == subscribeType) && (identical(other.subscribePeriodValue, subscribePeriodValue) || other.subscribePeriodValue == subscribePeriodValue) && (identical(other.payoutType, payoutType) || other.payoutType == payoutType) && (identical(other.payoutData, payoutData) || other.payoutData == payoutData)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, channelItemId, title, subTitle, introduce, orgPrice, price, tag, tagType, currency, recommend, isDefault, sort, deviceLimit, isSubscribe, subscribeType, subscribePeriodValue, payoutType, payoutData, ); /// Create a copy of ChannelPlan /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ChannelPlanImplCopyWith<_$ChannelPlanImpl> get copyWith => __$$ChannelPlanImplCopyWithImpl<_$ChannelPlanImpl>(this, _$identity); @override Map toJson() { return _$$ChannelPlanImplToJson(this); } } abstract class _ChannelPlan implements ChannelPlan { const factory _ChannelPlan({ final String? channelItemId, final String? title, final String? subTitle, final String? introduce, final double? orgPrice, final double? price, final String? tag, final int? tagType, final int? currency, final bool? recommend, final bool? isDefault, final int? sort, final int? deviceLimit, final bool? isSubscribe, final int? subscribeType, final int? subscribePeriodValue, final String? payoutType, final String? payoutData, }) = _$ChannelPlanImpl; factory _ChannelPlan.fromJson(Map json) = _$ChannelPlanImpl.fromJson; @override String? get channelItemId; @override String? get title; @override String? get subTitle; @override String? get introduce; @override double? get orgPrice; @override double? get price; @override String? get tag; @override int? get tagType; @override int? get currency; @override bool? get recommend; @override bool? get isDefault; @override int? get sort; @override int? get deviceLimit; @override bool? get isSubscribe; @override int? get subscribeType; @override int? get subscribePeriodValue; @override String? get payoutType; @override String? get payoutData; /// Create a copy of ChannelPlan /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ChannelPlanImplCopyWith<_$ChannelPlanImpl> get copyWith => throw _privateConstructorUsedError; }