title: Flutter get Object property Name
body: <p>I passed the following object:</p>
  
  <pre><code>var myVar = { typeA: { option1: "one", option2: "two" } }
  </code></pre>
  
  <p>I want to be able to pull out the key typeA from the above structure.</p>
  
  <p>This value can change each time so next time it could be typeB.</p>
  
  <p>So I would like to know if there is any way to do that</p>