toJson method

Map<String, dynamic> toJson()

Implementation

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