BodyData class abstract base

Inheritance
Implementers

Constructors

BodyData()

Properties

contentLength int?
The length of the body in bytes.
no setter
data → dynamic
no setterinherited
encoding Encoding
The encoding of the body.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isNull bool
no setterinherited
mimeType String?
The mime type of the body.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

headers(ReadOnlyHeaders? requestHeaders) ReadOnlyHeaders
Resolves the headers based on the body.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() Stream<List<int>>?
Reads the body as a stream of bytes.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited