sendAnalyticEvent method
Send an analytic with the custom informate implement to all the diagnostic.
A DiagnosticAnalyticEvent extension can be create if you need a
custom information.
Implementation
@override
@mustCallSuper
FutureOr<void> sendAnalyticEvent({
required covariant DiagnosticAnalyticEvent event,
}) {
if (!options.mustSendAnalyticsEvents) return null;
for (Diagnostic diagnostic in _diagnostics) {
diagnostic.sendAnalyticEvent(
event: event,
);
}
}