maybeOf<T> static method
Implementation
static T? maybeOf<T>(BuildContext context) {
final nop = context.dependOnInheritedWidgetOfExactType<_NopScoop>();
return nop?.state.getType<T>();
}
static T? maybeOf<T>(BuildContext context) {
final nop = context.dependOnInheritedWidgetOfExactType<_NopScoop>();
return nop?.state.getType<T>();
}