watch static method

DoughRecipeData watch(
  1. BuildContext context
)

Gets the inherited DoughRecipeData and listens to it. If no recipe is found, a default one will be returned instead.

Implementation

static DoughRecipeData watch(BuildContext context) {
  return of(context);
}