bodyBytesToString function

Future<String> bodyBytesToString(
  1. Stream<List<int>> bodyBytes,
  2. Map<String, String> headers
)

Implementation

Future<String> bodyBytesToString(
    Stream<List<int>> bodyBytes, Map<String, String> headers) {
  return bodyBytes.bytesToString(_encodingForHeaders(headers));
}