ExampleMessage constructor

const ExampleMessage({
  1. Input<List<ExampleMessageChunk>?>? chunks,
  2. Input<String?>? role,
})

Creates a new ExampleMessage. chunks Content of the message as a series of chunks. role The role within the conversation, e.g., user, agent.

Implementation

const ExampleMessage({
  this.chunks,
  this.role,
});