dartdoc-viewer: finals and toStrings

R=alanknight@google.com

Review URL: https://codereview.chromium.org//184073003