ProductService class
Constructors
- ProductService({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
-
getAllergensByProductId(
String id) → Future< List< Allergen> > - Gets all the allergens of the product that matches an id.
-
getChannelsByProductId(
String id) → Future< List< Channel> > - Gets all the channels of the product that matches an id.
-
getDietsByProductId(
String id) → Future< List< Diet> > - Gets all the diets of the product that matches an id.
-
getFreeFromsByProductId(
String id) → Future< List< FreeFrom> > - Gets all the free froms of the product that matches an id.
-
getMadeWithoutsByProductId(
String id) → Future< List< MadeWithout> > - Gets all the made withouts of the product that matches an id.
-
getMealTypesByProductId(
String id) → Future< List< MealType> > - Gets all the meal types of the product that matches an id.
-
getMicrowaveStagesByProductId(
String id) → Future< List< MicrowaveStage> > - Gets all the microwave stages of the product that matches an id.
-
getNodesByProductId(
String id) → Future< List< Node> > - Gets all the nodes of the product that matches an id.
-
getNutritionsByProductId(
String id) → Future< List< Nutrition> > - Gets all the nutritions of the product that matches an id.
-
getPrecautionaryAllergenStatementsByProductId(
String id) → Future< List< PrecautionaryAllergenStatement> > - Gets all the precautionary allergen statements of the product that matches an id.
-
getProductAllergensByProductId(
String id) → Future< List< ProductAllergen> > - Gets all the product allergen information of the product that matches an id.
-
getProductByCode(
String code) → Future< Product> - Gets the product that matches a code.
-
getProductById(
String id) → Future< Product> - Gets the product that matches an id.
-
getProductDietsByProductId(
String id) → Future< List< ProductDiet> > - Gets all the product diet information of the product that matches an id.
-
getProductFreeFromsByProductId(
String id) → Future< List< ProductFreeFrom> > - Gets all the product free from information of the product that matches an id.
-
getProductGroupsByProductId(
String id) → Future< List< ProductGroup> > - Gets all the product groups of the product that matches an id.
-
getProductMadeWithoutsByProductId(
String id) → Future< List< ProductMadeWithout> > - Gets all the product made without information of the product that matches an id.
-
getProductMealTypesByProductId(
String id) → Future< List< ProductMealType> > - Gets all the product meal type information of the product that matches an id.
-
getProductMicrowaveStagesByProductId(
String id) → Future< List< ProductMicrowaveStage> > - Gets all the product microwave stage information of the product that matches an id.
-
getProductNutritionsByProductId(
String id) → Future< List< ProductNutrition> > - Gets all the product nutrition information of the product that matches an id.
-
getProductPrecautionaryAllergenStatementsByProductId(
String id) → Future< List< ProductPrecautionaryAllergenStatement> > - Gets all the product precautionary allergen statement information of the product that matches an id.
-
getProducts(
{String? query, int? limit}) → Future< List< Product> > - Gets all the products.
-
getProductWarningsByProductId(
String id) → Future< List< ProductWarning> > - Gets all the product warning information of the product that matches an id.
-
getWarningsByProductId(
String id) → Future< List< Warning> > - Gets all the warnings of the product 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