markAsDirty<S> method
Implementation
void markAsDirty<S>({String? tag, String? key}) {
final newKey = key ?? _getKey(S, tag);
if (_singleton.containsKey(newKey)) {
final dep = _singleton[newKey];
if (dep != null && !dep.permanent) {
dep.isDirty = true;
}
}
}