exportSpans method
Forwards a batch of ended spans (serialized via ReadOnlySpan.toJson) to the native layer, which owns the single telemetry egress.
Implementation
@override
Future<void> exportSpans(List<Map<String, dynamic>> spans) async {
if (spans.isEmpty) {
return;
}
await exportChannel.invokeMethod('exportSpans', {'spans': spans});
}