How can I print to stderr in Dart in a synchronous

2019-05-06 16:52发布

问题:

I'm trying to print a message to stderr. Is there a way to pass the stderr filehandle to print?

回答1:

Found it:

stderr.write("Message");


标签: dart dart-io