of<S extends AppService> static method

Services? of<S extends AppService>(
  1. BuildContext context
)

Implementation

static Services? of<S extends AppService>(BuildContext context) {
  var services = context.dependOnInheritedWidgetOfExactType<Services>();
  return services;
}