ByteResponse constructor

ByteResponse({
  1. List<int>? body,
  2. int statusCode = 200,
  3. Map<String, dynamic>? headers,
  4. String? mimeType,
  5. String? charset,
  6. List<Cookie>? cookies,
})

Implementation

ByteResponse({
  List<int>? body,
  int statusCode = 200,
  Map<String, dynamic>? headers,
  String? mimeType,
  String? charset,
  List<Cookie>? cookies,
}) : super._make(
          body: body,
          statusCode: statusCode,
          headers: headers,
          mimeType: mimeType,
          charset: charset,
          cookies: cookies);