Reputation: 101
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.
Upvotes: 1
Views: 123
Reputation: 5894
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
window.console.debug(obj);
Upvotes: 2