of static method

Implementation

static NumberPageService of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<NumberPageContainer>()!
      .pageService;
}