title: How to convert object to map in flutter
body: <p>I have the following object, it needs to be converted into a map in dart for flutter:</p>
  <pre><code>{option1: {optionValue: 'Yes', optionId: `${match.id}`+ '333'+ `1`}, option2:{optionValue: 'No', optionId: `${match.id}`+ '333'+ `2` }}
  </code></pre>