of<T> static method
Implementation
static T of<T>(BuildContext context) {
final result =
context.dependOnInheritedWidgetOfExactType<ContainerBuilder<T>>();
assert(result != null, "No ContainerBuilder with type $T found");
return result!.instance;
}