PeekFormFile class final
One file part of a multipart body. Only metadata is kept: file contents are never captured.
- Annotations
Constructors
- PeekFormFile(String name, {String? filename, PeekMediaType? contentType, int? size})
-
Creates a file part.
const
Properties
- contentType → PeekMediaType?
-
The declared media type of the part, when any.
final
- filename → String?
-
The file name sent with the part, when any.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
The part name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
The size of the part in bytes, when known.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override