getNutritionById method
Gets the nutrition that matches an id.id:
Implementation
Future<Nutrition> getNutritionById(String id) async {
final response = await _context.client.get(
Uri.https(authority, '$path/nutritions/$id'),
);
ClientException.checkIsSuccessStatusCode(response);
return Nutrition.fromJson(json.decode(response.body));
}