OpenAIFineTuneTrainingFilesModel class final

This class is used to represent an OpenAI fine-tune training file.

Annotations
  • @immutable

Constructors

OpenAIFineTuneTrainingFilesModel({required String id, required int bytes, required DateTime createdAt, required String filename, required String? purpose})
This class is used to represent an OpenAI fine-tune training file.
const
OpenAIFineTuneTrainingFilesModel.fromMap(Map<String, dynamic> json)
This class is used to represent an OpenAI fine-tune training file. This method is used to convert a Map<String, dynamic> object to a OpenAIFineTuneTrainingFilesModel object.
factory

Properties

bytes int
The number of bytes in the file.
final
createdAt DateTime
The time the file was created.
final
filename String
The name of the file.
final
hashCode int
The hash code for this object.
no setteroverride
id String
The id of the file.
final
purpose String?
The purpose of the file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant OpenAIFineTuneTrainingFilesModel other) bool
The equality operator.
override