toPublic method

Implementation

public_types.GenerateContentResponse toPublic() => public_types.GenerateContentResponse(
  candidates: candidates!.map((e) => e.toPublic()).toList()
);