From a04dfb72a7a9047e76c5a0587305a20569934165 Mon Sep 17 00:00:00 2001 From: monsieurtanuki Date: Fri, 4 Oct 2024 11:01:59 +0200 Subject: [PATCH] Forgotten file --- lib/src/prices/price_total_stats.g.dart | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lib/src/prices/price_total_stats.g.dart diff --git a/lib/src/prices/price_total_stats.g.dart b/lib/src/prices/price_total_stats.g.dart new file mode 100644 index 000000000..21c6efc36 --- /dev/null +++ b/lib/src/prices/price_total_stats.g.dart @@ -0,0 +1,48 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'price_total_stats.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +PriceTotalStats _$PriceTotalStatsFromJson(Map json) => + PriceTotalStats() + ..priceCount = (json['price_count'] as num?)?.toInt() + ..priceTypeProductCodeCount = + (json['price_type_product_code_count'] as num?)?.toInt() + ..priceTypeCategoryTagCount = + (json['price_type_category_tag_count'] as num?)?.toInt() + ..productCount = (json['product_count'] as num?)?.toInt() + ..productWithPriceCount = + (json['product_with_price_count'] as num?)?.toInt() + ..locationCount = (json['location_count'] as num?)?.toInt() + ..locationWithPriceCount = + (json['location_with_price_count'] as num?)?.toInt() + ..proofCount = (json['proof_count'] as num?)?.toInt() + ..proofWithPriceCount = (json['proof_with_price_count'] as num?)?.toInt() + ..proofTypePriceTagCount = + (json['proof_type_price_tag_count'] as num?)?.toInt() + ..proofTypeReceiptCount = + (json['proof_type_receipt_count'] as num?)?.toInt() + ..userCount = (json['user_count'] as num?)?.toInt() + ..userWithPriceCount = (json['user_with_price_count'] as num?)?.toInt() + ..updated = JsonHelper.nullableStringTimestampToDate(json['updated']); + +Map _$PriceTotalStatsToJson(PriceTotalStats instance) => + { + 'price_count': instance.priceCount, + 'price_type_product_code_count': instance.priceTypeProductCodeCount, + 'price_type_category_tag_count': instance.priceTypeCategoryTagCount, + 'product_count': instance.productCount, + 'product_with_price_count': instance.productWithPriceCount, + 'location_count': instance.locationCount, + 'location_with_price_count': instance.locationWithPriceCount, + 'proof_count': instance.proofCount, + 'proof_with_price_count': instance.proofWithPriceCount, + 'proof_type_price_tag_count': instance.proofTypePriceTagCount, + 'proof_type_receipt_count': instance.proofTypeReceiptCount, + 'user_count': instance.userCount, + 'user_with_price_count': instance.userWithPriceCount, + 'updated': instance.updated?.toIso8601String(), + };