CustomPart constructor

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

Implementation

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