DataPart constructor

DataPart({
  1. dynamic text,
  2. dynamic media,
  3. dynamic toolRequest,
  4. dynamic toolResponse,
  5. dynamic data,
  6. dynamic metadata,
  7. Map<String, dynamic>? custom,
  8. dynamic reasoning,
  9. dynamic resource,
})

Implementation

DataPart({
  this.text,
  this.media,
  this.toolRequest,
  this.toolResponse,
  this.data,
  this.metadata,
  this.custom,
  this.reasoning,
  this.resource,
});