markAsDirty<S> method
Mark instance as a dirty
Implementation
void markAsDirty<S>({String? tag, String? key}) {
final String newKey = key ?? _getKey(S, tag);
if (_singl.containsKey(newKey)) {
final _InstanceBuilderFactory<T> dep =
_singl[newKey]! as _InstanceBuilderFactory<T>;
if (!dep.permanent) {
dep.isDirty = true;
}
}
}