CrashReportCallback typedef

CrashReportCallback = void Function(List<CrashReportSummary> summaries)

Used to receive reports on app crashing natively.

Typically, the summaries will have a size of 1, but if the app is crashing very early during startup, summaries could be more extensive.

This method will be scheduled natively on the main thread, so any long operations should be performed asynchronously.

AgentConfiguration.crashReportingEnabled must be true (default).

Implementation

typedef CrashReportCallback = void Function(List<CrashReportSummary> summaries);