// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'game_bundle_item_model.dart';

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

GameBundleItemModel _$GameBundleItemModelFromJson(Map<String, dynamic> json) =>
    GameBundleItemModel(
      id: json['id'] as String?,
      name: json['name'] as String?,
      icon: json['icon'] as String?,
      background: json['background'] as String?,
      description: json['description'] as String?,
      options:
          (json['options'] as List<dynamic>?)
              ?.map(
                (e) => GameCardItemModel.fromJson(e as Map<String, dynamic>),
              )
              .toList(),
      popup:
          json['popup'] == null
              ? null
              : PopupDataModel.fromJson(json['popup'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$GameBundleItemModelToJson(
  GameBundleItemModel instance,
) => <String, dynamic>{
  'id': instance.id,
  'name': instance.name,
  'icon': instance.icon,
  'background': instance.background,
  'description': instance.description,
  'options': instance.options,
  'popup': instance.popup,
};
