webcrypto.dart
webcrypto.dart copied to clipboard
Make dartdoc examples self-contained.
The code in dartdoc examples mixes imports and statement-level code.
Ideally it would contain self-contained code that one could copy and run for one-self. And that we could extract programmatically and format, analyze etc.
Yeah, adding Future<void> main() async {
around the actual statement-level code won't hurt readability.