AllergenService class

Constructors

AllergenService({required ApetitoProductApiClientContext context})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllergenById(String id) Future<Allergen>
Gets the allergen that matches an id.
getAllergens() Future<List<Allergen>>
Gets all the allergens.
getProductAllergensByAllergenId(String id) Future<List<ProductAllergen>>
Gets all the product allergen information of the allergen that matches an id.
getProductsByAllergenId(String id) Future<List<Product>>
Gets all the products of the allergen that matches an id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited