Message constructor

Message({
  1. List<Part>? content,
  2. String? contextId,
  3. List<String>? extensions,
  4. String? messageId,
  5. Map<String, Object?>? metadata,
  6. String? role,
  7. String? taskId,
})

Implementation

Message({
  this.content,
  this.contextId,
  this.extensions,
  this.messageId,
  this.metadata,
  this.role,
  this.taskId,
});