of static method
Get instance of ImperativeProviderContract in scope of context
Implementation
static ImperativeProviderContract of(BuildContext context) => context
.getElementForInheritedWidgetOfExactType<ImperativeProvider>()!
.widget as ImperativeProviderContract;