UploadedFile class
The uploaded file of a form data request.
Constructors
-
UploadedFile(String name, ContentType contentType, Stream<
List< _byteStream)int> > -
The uploaded file of a form data request.
const
Properties
- contentType → ContentType
-
The type of the uploaded file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the uploaded file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openRead(
) → Stream< List< int> > - Open the content of the file as a stream of bytes.
-
readAsBytes(
) → Future< List< int> > - Read the content of the file as a list of bytes.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited