// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'interested_categories_model.dart';

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

InterestedCategoriesResponse _$InterestedCategoriesResponseFromJson(
  Map<String, dynamic> json,
) => InterestedCategoriesResponse(
  listItems:
      (json['list_items'] as List<dynamic>?)
          ?.map(
            (e) => InterestedCategoryItem.fromJson(e as Map<String, dynamic>),
          )
          .toList(),
);

Map<String, dynamic> _$InterestedCategoriesResponseToJson(
  InterestedCategoriesResponse instance,
) => <String, dynamic>{'list_items': instance.listItems};

InterestedCategoryItem _$InterestedCategoryItemFromJson(
  Map<String, dynamic> json,
) => InterestedCategoryItem(
  id: json['id'] as String?,
  subscribed: json['subscribed'] as String?,
  categoryCode: json['category_code'] as String?,
  categoryName: json['category_name'] as String?,
  imageUrl: json['image_url'] as String?,
);

Map<String, dynamic> _$InterestedCategoryItemToJson(
  InterestedCategoryItem instance,
) => <String, dynamic>{
  'id': instance.id,
  'subscribed': instance.subscribed,
  'category_code': instance.categoryCode,
  'category_name': instance.categoryName,
  'image_url': instance.imageUrl,
};
