decode method

Future<String> decode(
  1. Encoding encoding
)

Decodes the body using the given encoding.

Implementation

Future<String> decode(Encoding encoding) => encoding.decodeStream(bytes);