reset method

void reset({
  1. bool clearRouteBindings = true,
})

Resets the Get instance, clearing route bindings and translations by default.

Optionally, you can specify whether to clear route bindings. By default, it clears route bindings and translations.

Implementation

void reset({bool clearRouteBindings = true}) {
  Get.resetInstance(clearRouteBindings: clearRouteBindings);
  // Get.clearRouteTree();
  Get.clearTranslations();
  // Get.resetRootNavigator();
}