toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (audioDurationSeconds != null)
    'audioDurationSeconds': audioDurationSeconds!,
  if (imageCount != null) 'imageCount': imageCount!,
  if (textCount != null) 'textCount': textCount!,
  if (totalTokenCount != null) 'totalTokenCount': totalTokenCount!,
  if (videoDurationSeconds != null)
    'videoDurationSeconds': videoDurationSeconds!,
};