DescribeRecipeResponse.fromJson constructor

DescribeRecipeResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeRecipeResponse.fromJson(Map<String, dynamic> json) {
  return DescribeRecipeResponse(
    recipe: json['recipe'] != null
        ? Recipe.fromJson(json['recipe'] as Map<String, dynamic>)
        : null,
  );
}