title: The instance member 'params' can't be accessed in an initializer
body: <pre><code>class LevelUp extends GetxController {
    Map&lt;String, String&gt; params = Get.arguments;
  
    var myTest = params.[comLevel];
  }
  </code></pre>
  <blockquote>
  <p>Error report--&quot;The instance member 'params' can't be accessed in an initializer.&quot; I am new to programming and this is being called directly from a widget. I checked the LevelUp map and it has contents. The error occurs where I am trying to assign the param value to myTest. It doesn't matter if I put the key in quotes or provide an integer. Any advice would be greatly appreciated.</p>
  </blockquote>