| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- // 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>(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<String, dynamic> json) {
- return _ChannelPlanList.fromJson(json);
- }
- /// @nodoc
- mixin _$ChannelPlanList {
- List<ChannelPlan>? get list => throw _privateConstructorUsedError;
- /// Serializes this ChannelPlanList to a JSON map.
- Map<String, dynamic> 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<ChannelPlanList> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $ChannelPlanListCopyWith<$Res> {
- factory $ChannelPlanListCopyWith(
- ChannelPlanList value,
- $Res Function(ChannelPlanList) then,
- ) = _$ChannelPlanListCopyWithImpl<$Res, ChannelPlanList>;
- @useResult
- $Res call({List<ChannelPlan>? 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<ChannelPlan>?,
- )
- 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<ChannelPlan>? 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<ChannelPlan>?,
- ),
- );
- }
- }
- /// @nodoc
- @JsonSerializable()
- class _$ChannelPlanListImpl
- with DiagnosticableTreeMixin
- implements _ChannelPlanList {
- const _$ChannelPlanListImpl({final List<ChannelPlan>? list}) : _list = list;
- factory _$ChannelPlanListImpl.fromJson(Map<String, dynamic> json) =>
- _$$ChannelPlanListImplFromJson(json);
- final List<ChannelPlan>? _list;
- @override
- List<ChannelPlan>? 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<String, dynamic> toJson() {
- return _$$ChannelPlanListImplToJson(this);
- }
- }
- abstract class _ChannelPlanList implements ChannelPlanList {
- const factory _ChannelPlanList({final List<ChannelPlan>? list}) =
- _$ChannelPlanListImpl;
- factory _ChannelPlanList.fromJson(Map<String, dynamic> json) =
- _$ChannelPlanListImpl.fromJson;
- @override
- List<ChannelPlan>? 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<String, dynamic> 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<String, dynamic> 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<ChannelPlan> 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<String, dynamic> 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<String, dynamic> 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<String, dynamic> 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;
- }
|