scoped method

ScopedProvider<T> scoped()

Creates a scoped version of this provider.

Implementation

ScopedProvider<T> scoped() {
  return ScopedProvider<T>(_creator, singleton: _singleton);
}