ServingTypeService class
Constructors
- ServingTypeService({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
-
getProductsByServingTypeId(
String id) → Future< List< Product> > - Gets all the products of the serving type that matches an id.
-
getServingTypeById(
String id) → Future< ServingType> - Gets the serving type that matches an id.
-
getServingTypes(
) → Future< List< ServingType> > - Gets all the serving types.
-
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