StringResponse constructor

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

Implementation

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