getPrecautionaryAllergenStatementById method
Gets the precautionary allergen statement that matches an id.
Implementation
Future<PrecautionaryAllergenStatement> getPrecautionaryAllergenStatementById(
String id) async {
final response = await _context.client.get(
Uri.https(authority, '$path/precautionaryallergenstatements/$id'),
);
ClientException.checkIsSuccessStatusCode(response);
return PrecautionaryAllergenStatement.fromJson(json.decode(response.body));
}