DietService class
Constructors
- DietService({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
-
getDietById(
String id) → Future< Diet> - Gets the diet that matches an id.
-
getDiets(
) → Future< List< Diet> > - Gets all the diets.
-
getProductDietsByDietId(
String id) → Future< List< ProductDiet> > - Gets all the product diet information of the diet that matches an id.
-
getProductsByDietId(
String id) → Future< List< Product> > - Gets all the products of the diet 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