TempUploadedFile class final
Uploaded file backed by a temp file on disk.
- Implemented types
Properties
- bodyType → BodyType?
-
Content type reported for the uploaded file, if any.
final
- filename → String?
-
Original filename reported by the client, if any.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
Part headers associated with this upload.
final
- path → String
-
The path of the temp file that holds the upload.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
Uploaded file size in bytes, if known.
no setteroverride
Methods
-
dispose(
) → Future< void> -
Releases resources associated with this uploaded file.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Stream< Uint8List> -
Reads the uploaded file as a stream of bytes.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited