toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final confidenceScores = this.confidenceScores;
  final groundingChunkIndices = this.groundingChunkIndices;
  final segment = this.segment;
  return {
    'confidenceScores': ?confidenceScores,
    'groundingChunkIndices': ?groundingChunkIndices,
    'segment': ?segment,
  };
}