reloadAll method

void reloadAll({
  1. bool force = false,
})

Implementation

void reloadAll({bool force = false}) {
  _singl.forEach((key, value) {
    if (value.permanent && !force) {
      Get.log('Instance "$key" is permanent. Skipping reload');
    } else {
      value.dependency = null;
      value.isInit = false;
      Get.log('Instance "$key" was reloaded.');
    }
  });
}