You can use stdout : import "dart:io"; stdout. write("foo"); will print foo to the console but not place a \n after it.
You can use stdout
:
import "dart:io";
stdout.write("foo");
will print foo
to the console but not place a \n
after it.
You can also use stderr
. See:
How can I print to stderr in Dart in a synchronous way?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With