of static method
Implementation
static InheritedTrinityScope of(BuildContext context) {
final scope = context
.dependOnInheritedWidgetOfExactType<InheritedTrinityScope>();
assert(
scope != null,
'Couldn\'t find a TrinityScope in the widget tree. Did you wrap your app with TrinityScope?',
);
return scope!;
}