scoped method
Creates a scoped version of this provider.
Implementation
ScopedProvider<T> scoped() {
return ScopedProvider<T>(_creator, singleton: _singleton);
}
Creates a scoped version of this provider.
ScopedProvider<T> scoped() {
return ScopedProvider<T>(_creator, singleton: _singleton);
}