InstanceProvider<T> constructor
InstanceProvider<T> ({})
Implementation
InstanceProvider({required Type type, Type? host, bool eager = true, this.replace = false, String scope = "singleton"})
: _type = type, _eager = eager, _scope = scope {
_host = host ?? runtimeType;
}