Dart library changes.

Dart changes on the library. "List.reduce" no longer exists, and when an array is given the size, it is now fixed length.