maybeOf static method
Implementation
static Object? maybeOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<TMenuScope>()?.rootId;
}
static Object? maybeOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<TMenuScope>()?.rootId;
}