BidiGenerateContentToolCall.fromJson constructor

BidiGenerateContentToolCall.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BidiGenerateContentToolCall.fromJson(Map<String, dynamic> json) {
  return BidiGenerateContentToolCall(
    functionCalls:
        decodeListMessage(json['functionCalls'], FunctionCall.fromJson) ?? [],
  );
}