File constructor

const File({
  1. required DateTime created,
  2. DateTime? expiresAt,
  3. String? filename,
  4. required String id,
  5. FileLinks? links,
  6. required FilePurpose purpose,
  7. required int size,
  8. String? title,
  9. String? type,
  10. String? url,
})

File

This object represents files hosted on Stripe's servers. You can upload files with the [create file](https://stripe.com/docs/api#create\_file) request (for example, when uploading dispute evidence). Stripe also creates files independently (for example, the results of a [Sigma scheduled query](#scheduled_queries)). Related guide: [File upload guide](https://stripe.com/docs/file-upload)

Implementation

const File({
  required this.created,
  this.expiresAt,
  this.filename,
  required this.id,
  this.links,
  required this.purpose,
  required this.size,
  this.title,
  this.type,
  this.url,
});