// GENERATED CODE - DO NOT MODIFY BY HAND part of 'ai_recipe_request.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** AiRecipeRequest _$AiRecipeRequestFromJson( Map json, ) => AiRecipeRequest( ingredients: (json['ingredients'] as List).map((e) => e as String).toList(), dietType: json['dietType'] as String?, allergies: (json['allergies'] as List?)?.map((e) => e as String).toList() ?? const [], mood: json['mood'] as String?, maxTimeMin: (json['maxTimeMin'] as num?)?.toInt(), servings: (json['servings'] as num?)?.toInt() ?? 4, skillLevel: json['skillLevel'] as String?, ); Map _$AiRecipeRequestToJson(AiRecipeRequest instance) => { 'ingredients': instance.ingredients, 'dietType': instance.dietType, 'allergies': instance.allergies, 'mood': instance.mood, 'maxTimeMin': instance.maxTimeMin, 'servings': instance.servings, 'skillLevel': instance.skillLevel, };