getInstanceInfo<S> method
Get instance info
Implementation
InstanceInfo getInstanceInfo<S>({String? tag}) {
final _InstanceBuilderFactory<T>? build = _getDependency<S>(tag: tag);
return InstanceInfo(
isPermanent: build?.permanent,
isSingleton: build?.isSingleton,
isRegistered: isRegistered<S>(tag: tag),
isPrepared: !(build?.isInit ?? true),
isInit: build?.isInit,
);
}