of<C extends IController> static method

C of<C extends IController>(
  1. BuildContext context
)

Implementation

static C of<C extends IController>(BuildContext context) {
  return LocatorProvider.of(context).get<C>();
}