Examples from Learning Dart book