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