isShared method
True when type gives the same instance every time.
Implementation
bool isShared(Type type) {
return _bindings[type]?.shared ?? false;
}
True when type gives the same instance every time.
bool isShared(Type type) {
return _bindings[type]?.shared ?? false;
}