Updated to work with new Dart version.

Simple update.