// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'campaign_detail_item_model.dart';

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

CampaignDetailItemModel _$CampaignDetailItemModelFromJson(
  Map<String, dynamic> json,
) => CampaignDetailItemModel(
  contentCaption: json['content_caption'] as String?,
  contentText: json['content_text'] as String?,
  mediaType: json['media_type'] as String?,
  pages:
      (json['pages'] as List<dynamic>?)
          ?.map(
            (e) => CampaignItemPageModel.fromJson(e as Map<String, dynamic>),
          )
          .toList(),
);

Map<String, dynamic> _$CampaignDetailItemModelToJson(
  CampaignDetailItemModel instance,
) => <String, dynamic>{
  'content_caption': instance.contentCaption,
  'content_text': instance.contentText,
  'media_type': instance.mediaType,
  'pages': instance.pages,
};
