of<P extends Presenter<P> > static method
Implementation
static P of<P extends Presenter<P>>(BuildContext context) {
return (context.getElementForInheritedWidgetOfExactType<
PresenterProvider<P>>()! as _PresenterProviderElement<P>)
.presenter;
}