core.Map<core.String, core.dynamic> toJson() => { if (droppedFramesCount != null) 'droppedFramesCount': droppedFramesCount!, if (frame != null) 'frame': frame!, };