// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'channel_plan_list.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_$ChannelPlanListImpl _$$ChannelPlanListImplFromJson(
  Map<String, dynamic> json,
) => _$ChannelPlanListImpl(
  list: (json['list'] as List<dynamic>?)
      ?.map((e) => ChannelPlan.fromJson(e as Map<String, dynamic>))
      .toList(),
);

Map<String, dynamic> _$$ChannelPlanListImplToJson(
  _$ChannelPlanListImpl instance,
) => <String, dynamic>{'list': instance.list};

_$ChannelPlanImpl _$$ChannelPlanImplFromJson(Map<String, dynamic> json) =>
    _$ChannelPlanImpl(
      channelItemId: json['channelItemId'] as String?,
      title: json['title'] as String?,
      subTitle: json['subTitle'] as String?,
      introduce: json['introduce'] as String?,
      orgPrice: (json['orgPrice'] as num?)?.toDouble(),
      price: (json['price'] as num?)?.toDouble(),
      tag: json['tag'] as String?,
      tagType: (json['tagType'] as num?)?.toInt(),
      currency: (json['currency'] as num?)?.toInt(),
      recommend: json['recommend'] as bool?,
      isDefault: json['isDefault'] as bool?,
      sort: (json['sort'] as num?)?.toInt(),
      deviceLimit: (json['deviceLimit'] as num?)?.toInt(),
      isSubscribe: json['isSubscribe'] as bool?,
      subscribeType: (json['subscribeType'] as num?)?.toInt(),
      subscribePeriodValue: (json['subscribePeriodValue'] as num?)?.toInt(),
      payoutType: json['payoutType'] as String?,
      payoutData: json['payoutData'] as String?,
    );

Map<String, dynamic> _$$ChannelPlanImplToJson(_$ChannelPlanImpl instance) =>
    <String, dynamic>{
      'channelItemId': instance.channelItemId,
      'title': instance.title,
      'subTitle': instance.subTitle,
      'introduce': instance.introduce,
      'orgPrice': instance.orgPrice,
      'price': instance.price,
      'tag': instance.tag,
      'tagType': instance.tagType,
      'currency': instance.currency,
      'recommend': instance.recommend,
      'isDefault': instance.isDefault,
      'sort': instance.sort,
      'deviceLimit': instance.deviceLimit,
      'isSubscribe': instance.isSubscribe,
      'subscribeType': instance.subscribeType,
      'subscribePeriodValue': instance.subscribePeriodValue,
      'payoutType': instance.payoutType,
      'payoutData': instance.payoutData,
    };
