Dart breaking changes

The Dart sample up to date !

I'll try to simplify code by using the suitable librairies next time...