Future parse(Stream<List<int>> body, Encoding encoding)

Source

Future parse(Stream<List<int>> body, Encoding encoding) async {
  return parseString(await body.map(encoding.decode).join('\n'));
}