scoped<T extends Object> static method
Create single instance for request.
Implementation
static Bind<T> scoped<T extends Object>(T Function(Injector i) inject,
{bool export = false, void Function(T)? onDispose}) {
return Bind<T>(inject,
isSingleton: true,
isLazy: true,
isScoped: true,
export: export,
onDispose: onDispose);
}