MealTypeService class
Constructors
- MealTypeService({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
-
getMealTypeById(
String id) → Future< MealType> - Gets the meal type that matches an id.id:
-
getMealTypes(
) → Future< List< MealType> > - Gets all the meal types.
-
getProductMealTypesByMealTypeId(
String id) → Future< List< ProductMealType> > - Gets all the product meal type information of the meal type that matches an id.
-
getProductsByMealTypeId(
String id) → Future< List< Product> > - Gets all the products of the meal type 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