ContentBlock constructor

const ContentBlock({
  1. required ContentBlockType type,
  2. String? text,
  3. String? id,
  4. String? name,
  5. String? toolUseId,
  6. dynamic input,
  7. dynamic content,
  8. bool? isError,
  9. String? thinking,
  10. String? data,
})

Implementation

const ContentBlock({
  required this.type,
  this.text,
  this.id,
  this.name,
  this.toolUseId,
  this.input,
  this.content,
  this.isError,
  this.thinking,
  this.data,
});