dd static method
Dumps a message (with optional tag) to the console, then exits the app.
The exit is skipped on web, where dart:io's exit() is unavailable and
would throw UnsupportedError. On web this behaves like dump.
Implementation
static void dd(dynamic message, String? tag) {
dump(message, tag);
if (kIsWeb) return;
exit(0);
}