// GENERATED CODE - DO NOT MODIFY BY HAND part of 'recipe_model.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$RecipeModelImpl _$$RecipeModelImplFromJson(Map json) => _$RecipeModelImpl( id: (json['id'] as num?)?.toInt(), ingredients: (json['ingredients'] as List) .map((e) => Ingredient.fromJson(e as Map)) .toList(), steps: (json['steps'] as List) .map((e) => Step.fromJson(e as Map)) .toList(), state: json['state'] as String, description: json['description'] as String, type: json['type'] as String, image: Image.fromJson(json['image'] as Map), video_url: json['video_url'] as String?, cooking_time: json['cooking_time'] as num?, ); Map _$$RecipeModelImplToJson(_$RecipeModelImpl instance) => { 'id': instance.id, 'ingredients': instance.ingredients, 'steps': instance.steps, 'state': instance.state, 'description': instance.description, 'type': instance.type, 'image': instance.image, 'video_url': instance.video_url, 'cooking_time': instance.cooking_time, };