ByteStreamResponse class
- Inheritance
-
- Object
- ApiResponse
- ByteStreamResponse
- Implementers
Constructors
-
ByteStreamResponse(Stream<
List< _dataStream, int? length, {int statusCode = 200, String contentType = 'application/octet-stream', String? fileName, ContentDisposition disposition = ContentDisposition.inline})int> >
Properties
- contentType → String
-
final
- disposition → ContentDisposition
-
final
- fileName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode ↔ int
-
getter/setter pairinherited
Methods
-
getData(
) → Stream< List< int> > -
override
-
getHeaders(
) → Map< String, List< String> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHttpResponse(
Uri requestUrl) → HttpResponse -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited