toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'frameIndex': frameIndex,
  'timestampMicros': timestampMicros,
  'cpuMicros': cpuMicros,
  'pipelineCacheSize': pipelineCacheSize,
  'counters': counters.toJson(),
  'views': [for (final view in views) view.toJson()],
};