string method

Future<String> string()

Implementation

Future<String> string() async {
  Encoding encoding = EncodingUtil.encoding(contentType());
  return encoding.decode(await bytes());
//    return encoding.decodeStream(source());
}