of<P extends Presenter<P> > static method
Implementation
static P of<P extends Presenter<P>>(BuildContext context) {
return context.findAncestorStateOfType<PresenterProviderStateBuilder<P>>()!.presenter;
}