FileLink constructor

const FileLink({
  1. required DateTime created,
  2. required bool expired,
  3. DateTime? expiresAt,
  4. required FileOrId file,
  5. required String id,
  6. required bool livemode,
  7. required Map<String, String> metadata,
  8. String? url,
})

FileLink

To share the contents of a `File` object with non-Stripe users, you can create a `FileLink`. `FileLink`s contain a URL that you can use to retrieve the contents of the file without authentication.

Implementation

const FileLink({
  required this.created,
  required this.expired,
  this.expiresAt,
  required this.file,
  required this.id,
  required this.livemode,
  required this.metadata,
  this.url,
});