Examples can be found in the top level of the build repository
[here](https://github.com/dart-lang/build/tree/master/example).

You can also find more general documentation in the
[docs](https://github.com/dart-lang/build/tree/master/docs) directory.