startChat method

Chat startChat({
  1. List<Content> history = const [],
})

Creates a chat instance which internally tracks the ongoing conversation with the model.

Implementation

Chat startChat({List<Content> history = const []}) {
  return Chat(this, history: history);
}