$CategoriesClient class

Access to the categories of the recipes.

Constructors

$CategoriesClient($Client _rootClient)
Creates a new DynamiteClient for Categories requests.

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

$listCategories_Request() → Request
Get all known categories.
$listCategories_Serializer() → DynamiteSerializer<BuiltList<Category>, void>
Builds a serializer to parse the response of $listCategories_Request.
$recipesInCategory_Request({required String category}) → Request
Get all recipes of a certain category.
$recipesInCategory_Serializer() → DynamiteSerializer<BuiltList<RecipeStub>, void>
Builds a serializer to parse the response of $recipesInCategory_Request.
$renameCategory_Request({required String category, required RenameCategoryRequestApplicationJson $body}) → Request
Rename a category.
$renameCategory_Serializer() → DynamiteSerializer<String, void>
Builds a serializer to parse the response of $renameCategory_Request.
listCategories() Future<DynamiteResponse<BuiltList<Category>, void>>
Get all known categories.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recipesInCategory({required String category}) Future<DynamiteResponse<BuiltList<RecipeStub>, void>>
Get all recipes of a certain category.
renameCategory({required String category, required RenameCategoryRequestApplicationJson $body}) Future<DynamiteResponse<String, void>>
Rename a category.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited