Prettify Dart version

Just do some minor tweaks to make the Dart code look nicer.
Mostly just removing local variable type annotations.