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