BodyData class abstract base

Implementers

Constructors

BodyData.new()

Properties

contentLength int?
The length of the body in bytes.
no setter
data → dynamic
no setter
encoding Encoding
The encoding of the body.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isNull bool
no setter
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(Headers? requestHeaders) Headers
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.
toString() String
A string representation of this object.
override

Operators

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