// 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(), tags: (json['tags'] as List?)?.map((e) => e as String).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?, totalCookingTime: (json['totalCookingTime'] as num?)?.toInt(), activeCookTime: (json['activeCookTime'] as num?)?.toInt(), servings: (json['servings'] as num?)?.toInt(), energyPerServing: (json['energyPerServing'] as num?)?.toInt(), ); Map _$$RecipeModelImplToJson(_$RecipeModelImpl instance) => { 'ingredients': instance.ingredients, 'steps': instance.steps, 'tags': instance.tags, 'type': instance.type, 'state': instance.state, 'title': instance.title, 'description': instance.description, 'video_url': instance.video_url, 'image': instance.image, 'totalCookingTime': instance.totalCookingTime, 'activeCookTime': instance.activeCookTime, 'servings': instance.servings, 'energyPerServing': instance.energyPerServing, };