of<T> static method

AnyMap? of<T>(
  1. BuildContext context
)

Implementation

static AnyMap? of<T>(BuildContext context) {
  RouterDataWidget? w = context.dependOnInheritedWidgetOfExactType();
  return w?.data;
}