【发布时间】:2019-07-03 02:09:20
【问题描述】:
问题
我收到来自HttpClientResponse 的回复,然后尝试执行如下监听:
//... your code
response.transform(utf8.decoder).listen( (data) {
//... your code
})
//... your code
错误
The argument type 'Utf8Decoder' can't be assigned to the parameter type 'StreamTransformer<Uint8List, dynamic>'
一些额外的细节
- 颤振提交
4cd12fc8b - 之前它运行良好。
【问题讨论】:
标签: http flutter dart httpclient