Fix example for Dart 1.0