Fixed the sample to work

Dart is still moving fast, best to keep up with the new editor builds. Here is your sample working with on the following

```
Dart Editor version 0.4.0_r18915
Dart SDK version 0.4.0.0_r18915
```