OpenAIFile constructor

OpenAIFile({
  1. required String id,
  2. required String object,
  3. required int bytes,
  4. required int createdAt,
  5. required String filename,
  6. required String purpose,
  7. String? status,
  8. Object? statusDetails,
})

Returns a new OpenAIFile instance.

Implementation

OpenAIFile({
  required this.id,
  required this.object,
  required this.bytes,
  required this.createdAt,
  required this.filename,
  required this.purpose,
  this.status,
  this.statusDetails,
});