A handle to an uploaded file.
Properties
- bodyType → BodyType?
-
Content type reported for the uploaded file, if any.
no setter
- filename → String?
-
Original filename reported by the client, if any.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
Part headers associated with this 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 setter
Methods
-
dispose(
) → Future< void> - Releases resources associated with this uploaded file.
-
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.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited