Files
sdk/pkg/telemetry
Paul Berry 3fd2becefd Reformat some files owned by the developer experience team.
This will avoid some merge conflicts in a follow-up CL I'm working on
that will enable the lints `unnecessary_type_name_in_constructor` and
`unnecessary_const_in_enum_constructor` (and will fix declarations
accordingly).

Change-Id: Ib8be02dc241732a0eb50727618bb2dda6a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505043
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2026-05-22 10:33:08 -07:00
..

telemetry

A library to facilitate reporting crash reports.

Crash reporting

To use the crash reporting functionality, import crash_reporting.dart, and create a new CrashReportSender instance:

import 'package:telemetry/crash_reporting.dart';

void main() {
  Analytics analytics = ...;
  CrashReportSender sender = new CrashReportSender.prod(...);

  try {
    ...
  } catch (e, st) {
    sender.sendReport(e, st);
  }
}