How do I print a dart statement?

If you simlpy want to print text to the console you can use print(‘Text’) . But if you want to access the advanced fatures of the DevTools console you need to use the Console class from dart:html : Console. log(‘Text’) . It supports printing on different levels (info, warn, error, debug).

Sizin İçin Seçtik  Can you use JavaScript in Dart?

Leave a Reply

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