title: Dart: NoSuchMethodError - method not found "h" on null
body: <p>I am using Flutter Web and when accessing a FutureBuilder I get the NoSuchMethodError - method not found &quot;h&quot; on null
  When inspecting the page, i see the following error:</p>
  <pre><code>core_patch.dart:195 Uncaught TypeError: Cannot read properties of undefined (reading 'h')
      at Object.bax (VM5 main.dart.js:25360:16)
      at VM5 main.dart.js:45250:25
      at aWT.a (VM5 main.dart.js:3607:62)
      at aWT.$2 (VM5 main.dart.js:39703:14)
      at aVB.$1 (VM5 main.dart.js:39697:21)
      at a8Y.nJ (VM5 main.dart.js:40765:32)
      at aN8.$0 (VM5 main.dart.js:40122:11)
      at Object.Ds (VM5 main.dart.js:3740:40)
      at ax.tk (VM5 main.dart.js:40054:3)
      at a3F.dm (VM5 main.dart.js:39692:8)
  </code></pre>
  <p>It looks like an error from Dart js.
  I have update my flutter version to 2.10, but previously I had the same error, except that instead of &quot;h&quot; I got &quot;i&quot; (NoSuchMethodError - method not found &quot;i&quot;)</p>
  <p><strong>P.S.</strong> I get this error ONLY in production(release) build, using debug build everything works just fine.</p>
  <p>Code Snipped</p>
  <pre><code>FutureBuilder(
   future: AlgoliaService().getEmployees(searchQuery),
   builder: (BuildContext context, 
      AsyncSnapshot&lt;AlgoliaQuerySnapshot&gt; snapshot) {
          if (snapshot.hasError) {
               return Text(&quot;Error:  ${snapshot.error}&quot;); // Error happens here
             }
      
          if (snapshot.connectionState == ConnectionState.waiting) {
              return Center(child: CircularProgressIndicator(),);}
  </code></pre>