title: dart FFI - Pointer to a Pointer
body: <p>In dart using the ffi library we can create a Pointer object two ways</p>
  <pre><code>Pointer&lt;NativeType&gt; foo = allocate();
  Pointer&lt;NativeType&gt; bar = Pointer.fromAddress(int address);
  </code></pre>
  <p>We can also get the Pointer objects address using <code>int address = foo.address();</code></p>
  <p>If we want to create a Pointer from another Pointer object doing <code>final bar = Pointer.fromAddress(foo.address);</code></p>
  <p>Will the resulting type of <code>bar</code> be <code>Pointer&lt;Pointer&lt;Double&gt;&gt;</code> or will <code>bar</code> just be a copy of foo where <code>foo.address == bar.address</code></p>
  <p>If it simply clones the Pointer, how can we create a Pointer to another Pointer?</p>