toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buckets != null)
        'buckets': buckets!.map((value) => value.toJson()).toList(),
      if (highInputLatencyCount != null)
        'highInputLatencyCount': highInputLatencyCount!,
      if (jankyFrames != null) 'jankyFrames': jankyFrames!,
      if (missedVsyncCount != null) 'missedVsyncCount': missedVsyncCount!,
      if (p50Millis != null) 'p50Millis': p50Millis!,
      if (p90Millis != null) 'p90Millis': p90Millis!,
      if (p95Millis != null) 'p95Millis': p95Millis!,
      if (p99Millis != null) 'p99Millis': p99Millis!,
      if (slowBitmapUploadCount != null)
        'slowBitmapUploadCount': slowBitmapUploadCount!,
      if (slowDrawCount != null) 'slowDrawCount': slowDrawCount!,
      if (slowUiThreadCount != null) 'slowUiThreadCount': slowUiThreadCount!,
      if (totalFrames != null) 'totalFrames': totalFrames!,
    };