PeekFormBody class final

A form body: URL-encoded fields, or multipart fields and files.

Inheritance

Constructors

PeekFormBody({List<PeekFormField> fields = const [], List<PeekFormFile> files = const [], PeekMediaType? contentType})
See PeekBody.form.

Properties

contentType → PeekMediaType?
The declared media type, when known.
final
fields → List<PeekFormField>
The plain fields, in order.
final
files → List<PeekFormFile>
The file parts, in order.
final
hashCode → int
The hash code for this object.
no setteroverride
isEmpty → bool
Whether there is nothing in the body.
no setteroverride
isTruncated → bool
Whether Peek holds fewer bytes than the body had.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int?
Unknown: the encoded form was never seen.
no setteroverride

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