title: Flutter GetX Get.find() returning null in one class, but finding it in another?
body: <p>I have multiple controllers for my Webpage using GetX. The <code>authController</code> logs the user in and calls the database api to fetch the user from firebase firestore:</p>
  <pre><code>await Future.delayed(Duration(seconds: 1));
  btnController.value.success();
  UserCredential _authResult = await _auth.signInWithEmailAndPassword(email: email.trim(), password: password);
  Get.find&lt;UserController&gt;().user = await Database().getUser(_authResult.user!.uid);
  </code></pre>
  <p>The <code>userController</code> is a very simple controller:</p>
  <pre><code>class UserController extends GetxController {
    Rx&lt;UserModel&gt; _userModel = UserModel().obs;
  
    UserModel get user =&gt; _userModel.value;
  
    set user(UserModel value) =&gt; this._userModel.value = value;
  
    void clear() {
      _userModel.value = UserModel();
    }
  }
  
  </code></pre>
  <p>The <code>UserModel</code> itself has a constructor like this, with all the fields being indicated with <code>?</code> (null-safety)</p>
  <pre><code>UserModel.createUser({required final data}) {
      role = data[&quot;User_Role&quot;];
      firstName = data[&quot;firstName&quot;];
      lastName = data[&quot;lastName&quot;];
      age = data[&quot;age&quot;];
      privateAdress = Adress.fromLinkedMap(data: data[&quot;privateAdress&quot;]);
      dateOfBirth = data[&quot;dateOfBirth&quot;].toDate();
      driverCardNumber = data[&quot;driverCardNumber&quot;];
      driverLicenseNumber = data[&quot;driverLicenseNumber&quot;];
      email = data[&quot;email&quot;];
      id = data[&quot;employee_ID&quot;];
      lastLoginTime = data[&quot;lastLoginTime&quot;];
      mobilePhoneNumber = data[&quot;mobilePhoneNumber&quot;];
      photo = data[&quot;photo&quot;];
    }
  </code></pre>
  <p>Here is the Problem:</p>
  <p>When I try to access the User using Get.find().user in the <code>AuthClass</code>, I am able to get it. However, as soon as I try to access it anywhere else, I only get null as a result. I am also calling these methods right at the start of the webapp and all the other controllers work just fine:</p>
  <pre><code>Get.put(AuthController());
  Get.put(UserController());
  Get.put(DashboardController());
  </code></pre>
  <p>What could be the problem here?</p>