title: Save IconData and Restore In Flutter
body: <p>I am building an app where I am creating Icons using the IconData class. I would like to store the icons in a format like string or int to the database and retrieve it then conviniently  convert back to an Icon.</p>
  
  <p>This is how I am creating the icons.</p>
  
  <pre><code>var iconData = IconData(58717, fontFamily: 'MaterialIcons')
  
  var icon = Icon(iconData)
  </code></pre>
  
  <p>Can someone suggest how to do this. The conversion can be done either at the IconData or Icon creation stage. Thanks.</p>