toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'finishReason': finishReason,
    'index': index,
    'content': content,
    'safetyRatings': safetyRatings,
  };
}