title: Try {} catch(error) {} error when printing (error) in Dart/Flutter
body: <p>The <code>print(error)</code> component of my catches:
  <code>catch(error)</code>
  does not work in Flutter/Dart</p>
  
  <p>This is very odd.. it was working before, now I'm receiving an error telling me that my print statement is taking in too many arguments. </p>
  
  <p>Here's a typical example:</p>
  
  <pre><code>accessDB() async
     {
  
      try
      {
       io.Directory appDocDir = await getApplicationDocumentsDirectory();
       String databasePath = join(appDocDir.path, kDBName);
       this.db = await openDatabase(databasePath);
       initialized = true;
      }
      catch(error)
       {
         print(error);
         initialized = false;
       }
     }
  </code></pre>
  
  <p>The error message is:
  <code>Too many positional arguments: 0 expected, 1 found.</code></p>
  
  <p>but a print statement takes in 1 argument anyway: <code>print(error)</code>.</p>