title: How to initialize Map in a constructor in Dart/Flutter
body: <p>I'm trying to do something like this (code below) but the IDE flags it. Is there any possible way to do this?
  Thanks.</p>
  
  <pre><code>final Map userInfo;
  
  UserProfile({this.userInfo = {} });
  </code></pre>