parseGenerateContentResponse function

GenerateContentResponse parseGenerateContentResponse(
  1. Object jsonObject
)

Parse to GenerateContentResponse from json object.

Implementation

GenerateContentResponse parseGenerateContentResponse(Object jsonObject) {
  google_ai.GenerateContentResponse response =
      google_ai_hooks.parseGenerateContentResponse(jsonObject);
  return response.toVertex();
}