How do I write to the chrome console using dart console object?


The dart console has a private constructor and is set to internal only. I’m looking for more functionality than just a standard print. Like the ability to print an object or JSON.


If you are using DDC (don’t know about dart2js)

you can use the console debug function, you should be able to inspect inside your object


Answered By – Hadrien Lejard

Answer Checked By – Robin (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *