promotionOrderList.g.dart 820 B

12345678910111213141516171819202122232425
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'promotionOrderList.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. PromotionOrderList _$PromotionOrderListFromJson(Map<String, dynamic> json) {
  7. return PromotionOrderList()
  8. ..child = (json['child'] as List)
  9. ?.map((e) => e == null
  10. ? null
  11. : PromotionOrder.fromJson(e as Map<String, dynamic>))
  12. ?.toList()
  13. ..count = json['count'] as num
  14. ..time = json['time'] as String;
  15. }
  16. Map<String, dynamic> _$PromotionOrderListToJson(PromotionOrderList instance) =>
  17. <String, dynamic>{
  18. 'child': instance.child,
  19. 'count': instance.count,
  20. 'time': instance.time
  21. };