scoped<T> method

Scoped scoped<T>(
  1. String scopeName,
  2. T createInstance()
)

Implementation

Scoped scoped<T>(final String scopeName, final T Function() createInstance) {
  return Scoped<T>(scopeName, createInstance);
}