title: Firebase_db_web_unofficial dependency
body: <p>I am trying to enter data into a Firebase RealTime database from web flutter and found that the Firebase_db_web_unofficial dependency works fine for update and delete, but when I try to add a new record I am having trouble and I don't know how to add the registry key, to doing so presents an error.</p>
  <p>This is the code I am using</p>
  <pre><code>void save() {
      String _codeTMP = _codeController.text;
      FirebaseDatabaseWeb.instance
          .reference()
          .child(&quot;Admin&quot;)
          .child(&quot;Country&quot;)
          .child('$_codeTMP')
          .set({
        &quot;name&quot;: _nameController.text,
        &quot;currency_code&quot;: _currencyController.text,
        &quot;base_fare&quot;: _baseFareController.text,
        &quot;per_km&quot;: _perKmController.text,
        &quot;per_minute&quot;: _perMinuteController.text,
      });
    }
  </code></pre>
  <p>The variable _codeTMP contains the main key of the information that I am appending, that is, it does not exist yet and I am creating it together with the object</p>
  <p><a href="https://i.stack.imgur.com/xYH3N.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>the error it throws is the following.</p>
  <pre><code>NoSuchMethodError: method not found: 'a' on null
  js_primitives.dart:47     at a9E.$0 (http://localhost:56272/main.dart.js:67183:17)
  js_primitives.dart:47     at zj.Hk (http://localhost:56272/main.dart.js:39769:16)
  js_primitives.dart:47     at Object.eval (eval at akO (http://localhost:56272/main.dart.js:3127:8), &lt;anonymous&gt;:3:55)
  js_primitives.dart:47     at fo.MU (http://localhost:56272/main.dart.js:38004:9)
  js_primitives.dart:47     at fo.ew (http://localhost:56272/main.dart.js:38009:30)
  js_primitives.dart:47     at fo.MH (http://localhost:56272/main.dart.js:38160:14)
  js_primitives.dart:47     at fo.FC (http://localhost:56272/main.dart.js:38136:3)
  js_primitives.dart:47     at fo.MF (http://localhost:56272/main.dart.js:38099:3)
  js_primitives.dart:47     at fo.j7 (http://localhost:56272/main.dart.js:38064:16)
  js_primitives.dart:47     at Object.eval (eval at akO (http://localhost:56272/main.dart.js:3131:8), &lt;anonymous&gt;:3:37)
  </code></pre>
  <p>If anyone can help me with this error or has some other way to work web flutter with Firebase Database RealTime I appreciate your help.</p>