// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'search_product_response_model.dart';

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

SearchProductResponseModel _$SearchProductResponseModelFromJson(
  Map<String, dynamic> json,
) => SearchProductResponseModel(
  products:
      (json['products'] as List<dynamic>?)
          ?.map((e) => ProductModel.fromJson(e as Map<String, dynamic>))
          .toList(),
  total: (json['total'] as num?)?.toInt(),
);

Map<String, dynamic> _$SearchProductResponseModelToJson(
  SearchProductResponseModel instance,
) => <String, dynamic>{'products': instance.products, 'total': instance.total};
