of static method
Implementation
static OriginScope of(BuildContext context) {
final scope = context.getInheritedWidgetOfExactType<OriginScope>();
assert(scope != null, 'No OriginDisplay found above this widget.');
return scope!;
}
static OriginScope of(BuildContext context) {
final scope = context.getInheritedWidgetOfExactType<OriginScope>();
assert(scope != null, 'No OriginDisplay found above this widget.');
return scope!;
}