of static method

Implementation

static TimetableCallbacks? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<DefaultTimetableCallbacks>()
      ?.callbacks;
}