File constructor

const File({
  1. String? id,
  2. String? object,
  3. int? bytes,
  4. @JsonKey(name: "created_at") int? createdAt,
  5. String? filename,
  6. String? purpose,
})

Contains the file object.

More here.

Implementation

const factory File({
  final String? id,
  final String? object,
  final int? bytes,
  @JsonKey(name: "created_at") final int? createdAt,
  final String? filename,
  final String? purpose,
}) = _File;