Upload class

Constructors

Upload({required String id, required String object, required int bytes, required int createdAt, required String filename, required FilePurpose purpose, required String status, int? expiresAt, OpenAIFile? file})
const
Upload.fromJson(Map<String, dynamic> j)
factory

Properties

bytes → int
final
createdAt → int
final
expiresAt → int?
final
file → OpenAIFile?
final
filename → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
object → String
final
purpose → FilePurpose
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited