// 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: MediaTypeItemCampaign.fromString(json['media_type'] as String?),
);

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