Patrice Chalin d24ff43728 examples(lifecycle-hooks): update Dart sample to match TS ()
Make equivalent TS code changes to Dart sample.

This sync’s Dart with all  changes pertinent to Dart.

E2E tests pass now for Dart, Suites passed:
-  public/docs/_examples/lifecycle-hooks/ts
2016-09-08 08:38:25 -07:00
..