Strictly speaking it's not a doc. It's a snippet on the main page that tries to show case available language constructs. I do agree however that wrapping Fibonacci in a class looks a bit strange.
Web pages showing people how to do things are documentation. No inclination to contribute, Google have known that verbosity is a common reason for disliking Dart for 750+ days and haven't done much about it. I'm fine using JS and, when I want strong typing, know that Typescript is there.
Yeah, I think the Fibonacci class example is odd too.
I also would love to propose a self-imposed internet-wide ban on the recursive Fibonacci implementation as I'm pretty sure it causes brain rot and makes dynamic programming seem way more magical than it is.
Documentation that showcases features in the terse form is available at http://synonym.dartlang.org/
If you have better ideas you can file a bug or even submit a pull request for the site: https://github.com/dart-lang/dartlang.org