of<TState> static method
Implementation
static Context<TState> of<TState>(BuildContext context) {
final state = context.findAncestorStateOfType<FountainState<TState>>();
return state!.applicationContext;
}
static Context<TState> of<TState>(BuildContext context) {
final state = context.findAncestorStateOfType<FountainState<TState>>();
return state!.applicationContext;
}