tryAddCrashReport method
Adds a crash report to the event stream.
Implementation
void tryAddCrashReport(Future<void>? crashReport) {
if (crashReport != null) {
if (Loglytics._combineEvents) {
_combinedEvents.add(crashReport);
} else {
_crashReports.add(crashReport);
}
}
}