streamOutputFormatter method

  1. @override
String? streamOutputFormatter(
  1. Map x
)
override

Implementation

@override
String? streamOutputFormatter(Map x) {
  return x['candidates']?[0]?['content']?['parts']?[0]?['text'];
}