withoutContext static method
throw a StateError when resolution is attempted without a context passed down
Implementation
static TypeDefinition withoutContext(String name) => throw StateError(
"Cannot resolve type $name in a context without a type resolver!",
);