toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'direction': direction,
      'timestamp': timestamp,
      'codecName': codecName,
      'rtt': rtt,
      'jitter': jitter,
      'width': width,
      'height': height,
      'fps': fps,
      'bps': bps,
      'bpf': bpf,
      'bytesTransferred': bytesTransferred,
      'packetsLost': packetsLost,
      'packetsTransferred': packetsTransferred,
      'networkLevel': networkLevel,
      'statisticsType': statisticsType,
      'avgLoss': avgLoss,
      'maxLoss': maxLoss,
      'bandwidth': bandwidth,
      'frameWidthInput': frameWidthInput,
      'frameHeightInput': frameHeightInput,
      'frameRateInput': frameRateInput,
      'totalPacketSendDelay': totalPacketSendDelay,
      'totalEncodeTime': totalEncodeTime,
      'framesEncoded': framesEncoded,
      'bytesReceived': bytesReceived,
      'packetsReceived': packetsReceived,
      'estimatedPlayoutTimestamp': estimatedPlayoutTimestamp,
      'totalDecodeTime': totalDecodeTime,
      'framesDecoded': framesDecoded,
      'jitterBufferDelay': jitterBufferDelay,
      'jitterBufferEmittedCount': jitterBufferEmittedCount,
      'headerBytesReceived': headerBytesReceived,
      'packetsDiscarded': packetsDiscarded,
      'fecPacketsReceived': fecPacketsReceived,
      'fecPacketsDiscarded': fecPacketsDiscarded,
      'jitterBufferTargetDelay': jitterBufferTargetDelay,
      'jitterBufferMinimumDelay': jitterBufferMinimumDelay,
      'totalSamplesReceived': totalSamplesReceived,
      'concealedSamples': concealedSamples,
      'silentConcealedSamples': silentConcealedSamples,
      'concealmentEvents': concealmentEvents,
      'insertedSamplesForDeceleration': insertedSamplesForDeceleration,
      'removedSamplesForAcceleration': removedSamplesForAcceleration,
      'totalSamplesDuration': totalSamplesDuration,
      'audioLevel': audioLevel,
      'totalAudioEnergy': totalAudioEnergy,
    };