startChat method

Future<String?> startChat(
  1. GenerativeModel generativeModel,
  2. String prompt, {
  3. List<ChatMessage>? history,
})

Generates a response from the backend with the provided text represented Content.

Implementation

Future<String?> startChat(
  GenerativeModel generativeModel,
  String prompt, {
  List<ChatMessage>? history,
}) async {
  throw UnimplementedError('startChat() has not been implemented.');
}