Type decodedType

The type of data bytes was decoded into.

Will throw an exception if bytes have not been decoded yet.

Source

Type get decodedType {
  if (!hasBeenDecoded) {
    throw new HTTPBodyDecoderException("decodedType invoked prior to decoding data");
  }

  return _decodedData.first.runtimeType;
}