sendToDatadog method
Send a log to the Datadog org, not to the customer's org. This feature is used mostly to track potential issues in the Datadog SDK. The rate at which data is sent to Datadog is set by DdSdkConfiguration.telemetrySampleRate
Implementation
void sendToDatadog(String message, StackTrace? stack, String? kind) {
DatadogSdkPlatform.instance
.sendTelemetryError(message, stack.toString(), kind);
}