title: Too many positional arguments, 0 expected, but 3 found
body: <p>I made a class notification to initialise my data, but when I call it in my future function it shows me an error.</p>
  
  <pre class="lang-dart prettyprint-override"><code>Future &lt;List&lt;Notification&gt;&gt; _getNotification() async {
      var data = await http.get("$baseUrl/efficience001_webservice/notification.php");
      var jsonData = json.decode(data.body);
      List&lt;Notification&gt; notifs = [];
      for (var u in jsonData){
        Notification notif = Notification(u["description"],u["nom_ligne"], u["created_at"]);
        notifs.add(notif);
      }
      print(notifs.length);
      return notifs;
  }
  
  class Notification {
    final String description;
    final String nom_ligne;
    final DateTime created_at;
  
    const Notification({this.description, this.nom_ligne, this.created_at});
  }
  </code></pre>
  
  <pre><code>error: Too many positional arguments , 0 expected, but 3 found.
  </code></pre>