update dartdocs and compiler warnings