of static method
Implementation
static DebugAppState of(BuildContext context) {
final state = context.findAncestorStateOfType<DebugAppState>();
assert(state != null, 'No DebugAppState found in context');
return state!;
}
static DebugAppState of(BuildContext context) {
final state = context.findAncestorStateOfType<DebugAppState>();
assert(state != null, 'No DebugAppState found in context');
return state!;
}