I would like to port a very small example program from Python to Dart. Unfortunately, I have not succeeded so far.
Unlike the Python code, my Dart code on DartPad doe