initRequest method

dynamic initRequest()

Implementation

initRequest(){
  final authController = Get.find<AuthenticationController>();
  if (authController.isProfileLoaded.value) {
    loadRequests();
    autoRefresh();
  } else {
    ever(
      authController.isProfileLoaded,
          (callback) async {
        loadRequests();
        autoRefresh();
      },
    );
  }
}