// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'campaign_7day_mission_model.dart';

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

Campaign7DayMissionModel _$Campaign7DayMissionModelFromJson(
  Map<String, dynamic> json,
) => Campaign7DayMissionModel(
  id: (json['id'] as num).toInt(),
  title: json['title'] as String?,
  description: json['description'] as String?,
  info: json['info'] as String?,
  avatar: json['avatar'] as String?,
  titleButtonAction: json['title_button_action'] as String?,
  type: json['type'] as String?,
  status: json['status'] as String?,
  reward:
      json['reward'] == null
          ? null
          : Campaign7DayRewardModel.fromJson(
            json['reward'] as Map<String, dynamic>,
          ),
  clickActionParam: json['click_action_param'] as String?,
  clickActionType: json['click_action_type'] as String?,
  popup:
      json['popup'] == null
          ? null
          : PopupDataModel.fromJson(json['popup'] as Map<String, dynamic>),
);

Map<String, dynamic> _$Campaign7DayMissionModelToJson(
  Campaign7DayMissionModel instance,
) => <String, dynamic>{
  'id': instance.id,
  'title': instance.title,
  'description': instance.description,
  'info': instance.info,
  'avatar': instance.avatar,
  'title_button_action': instance.titleButtonAction,
  'type': instance.type,
  'status': instance.status,
  'reward': instance.reward,
  'click_action_param': instance.clickActionParam,
  'click_action_type': instance.clickActionType,
  'popup': instance.popup,
};
