of static method
Implementation
static SurveyStateProvider of(BuildContext context) {
final result =
context.dependOnInheritedWidgetOfExactType<SurveyStateProvider>();
assert(result != null, 'No SurveyPresenterInherited found in context');
return result!;
}