unregister<T> method

void unregister<T>()

Implementation

void unregister<T>() {
  if (_permanentInstances[T] != true) {
    _log('Deleted instance of ${T.toString()}');
    _instances.remove(T);
  } else {
    _log('Attempted to delete permanent instance of ${T.toString()}');
  }
}