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