// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'popup_data_model.dart';

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

PopupDataModel _$PopupDataModelFromJson(Map<String, dynamic> json) =>
    PopupDataModel(
      urlHeaderImg: json['header_img'] as String?,
      title: json['title'] as String?,
      description: json['description'] as String?,
      value: json['value'] as String?,
      buttonConfirm:
          json['button_confirm'] == null
              ? null
              : ButtonConfigModel.fromJson(
                json['button_confirm'] as Map<String, dynamic>,
              ),
      buttonCancel:
          json['button_cancel'] == null
              ? null
              : ButtonConfigModel.fromJson(
                json['button_cancel'] as Map<String, dynamic>,
              ),
      localHeaderImg: json['local_img'] as String?,
    );

Map<String, dynamic> _$PopupDataModelToJson(PopupDataModel instance) =>
    <String, dynamic>{
      'header_img': instance.urlHeaderImg,
      'title': instance.title,
      'description': instance.description,
      'value': instance.value,
      'button_confirm': instance.buttonConfirm,
      'button_cancel': instance.buttonCancel,
      'local_img': instance.localHeaderImg,
    };
