File class final
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)
- Implemented types
Constructors
Properties
- created → DateTime
-
final
- expiresAt → DateTime?
-
final
- filename → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the File.
final
- links → FileLinks?
-
FileResourceFileLinkList
final
- object → String
-
The resource's type.
final
- purpose → FilePurpose
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
final
- title → String?
-
final
- type → String?
-
final
- url → String?
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited