What is proper usage of stdout() function from package io in dart? I wrote such a script:
#import('dart:io');
void main() {
print("Hello World");
stdout();
}
and I get following output:
firen@firen-VirtualBox:~/Downloads$ ./dart/dart-sdk/bin/dart ./dart/workspace/test/text.dart Hello world Unhandled exception: Object is not closure 0. Function: '::main' url: '/home/firen/Downloads/dart/workspace/test/text.dart' line:6 col:7