GptRunStep constructor

GptRunStep({
  1. required String id,
  2. String object = "thread.run.step",
  3. required String threadId,
  4. required String assistantId,
  5. required int createdAt,
  6. required Map<String, dynamic> metadata,
  7. required GptRunStatus status,
  8. int? cancelledAt,
  9. int? completedAt,
  10. int? expiresAt,
  11. int? failedAt,
  12. GptRunError? lastError,
  13. int? startedAt,
  14. required String runId,
  15. required GptRunStepType type,
  16. required AGptRunStepDetail stepDetails,
})

Implementation

GptRunStep({ required this.id, this.object = "thread.run.step", required this.threadId, required this.assistantId, required this.createdAt,  required this.metadata, required this.status, this.cancelledAt, this.completedAt, this.expiresAt, this.failedAt, this.lastError, this.startedAt, required this.runId, required this.type, required this.stepDetails});