send method

void send(
  1. dynamic data, {
  2. String? eventName,
})

Records an outgoing frame sent to the server. Safe to call.

Implementation

void send(dynamic data, {String? eventName}) {
  if (_isClosed || !_shouldCapture) return;
  guardCapture(
      () => _record(data, FrameDirection.outgoing, eventName: eventName));
}