ProductGroupService class
Constructors
- ProductGroupService({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
-
getMarketVerticalsByProductGroupId(
int id) → Future< List< MarketVertical> > - Gets all the market verticals of the product group that matches an id.
-
getMealCategorisationsByProductGroupId(
int id) → Future< List< MealCategorisation> > - Gets all the meal categorisations of the product group that matches an id.
-
getProductGroupById(
int id) → Future< ProductGroup> - Gets the product group that matches an id.
-
getProductGroupMarketVerticalsByProductGroupId(
int id) → Future< List< ProductGroupMarketVertical> > - Gets all the product group market vertical information of the product that matches an id.
-
getProductGroupMealCategorisationsByProductGroupId(
int id) → Future< List< ProductGroupMealCategorisation> > - Gets all the product group meal categorisation information of the product that matches an id.
-
getProductGroupRankingsByProductGroupId(
int id) → Future< List< ProductGroupRanking> > - Gets all the product group ranking information of the product that matches an id.
-
getProductGroups(
) → Future< List< ProductGroup> > - Gets all the product groups.
-
getRankingsByProductGroupId(
int id) → Future< List< Ranking> > - Gets all the rankings of the product group 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