Uncaught Error: Unsupported operation: StdIOUtils._getStdioOutputStream
dartpad is an online editor or compiler which does not support dart:io or any other libraries by dart.
In simple, to use stdin or stdout use vscode or any editor with SDK.
Since, dart pad does not support this package/library.
sorry for any mistake, I am still a newbie and I found this info. on stackoverflow.