maybeOf static method
Returns the closest ServiceScope that encloses the given context.
Implementation
static ServiceScope? maybeOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ServiceScope>();
}
Returns the closest ServiceScope that encloses the given context.
static ServiceScope? maybeOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ServiceScope>();
}