parseAll static method
Parse all function calls from text (for parallel tool calls)
Implementation
static List<FunctionCallResponse> parseAll(String text, {ModelType? modelType}) {
if (text.trim().isEmpty) return [];
try {
return FunctionCallFormatFactory.create(modelType).parseAll(text);
} catch (e) {
debugPrint('FunctionCallParser: Error parsing function calls: $e');
return [];
}
}