A lot of time, you may use Get.find() inside Getx controller. We need that to reduce bipolerate code. We can do that by creating a static method which refers to the current class. All we have to do it is return Get.find().

We created a class name StorageService and extends GetxService. And inside that we used
static StorageService get to => Get.find();
You see that inside the controller we have used Get.find(). Using this we are creating a static object name. to. This object to would help to access the methods in this class from UI or from other controller or service.

See how we accessed getBool() of the StorageService in another controller.
Getx Firebase Chat App