forked from LBRYCommunity/lbry-sdk
fix dart bug
fixes `The argument type 'Utf8Decoder' can't be assigned to the parameter type 'StreamTransformer<Uint8List, dynamic>'.` on `flutter run`
This commit is contained in:
parent
5bceb06fc5
commit
910999e7e4
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class LoadRequest {
|
|||
completer.future.whenComplete(() => timer.stop());
|
||||
try {
|
||||
Socket.connect(this.host, this.port).then((socket) {
|
||||
socket.transform(utf8.decoder).listen((r) {
|
||||
utf8.decoder.bind(socket).listen((r) {
|
||||
if (r.contains('"jsonrpc": "2.0", "result": ')) {
|
||||
socket.close();
|
||||
completer.complete();
|
||||
|
|
|
@ -136,7 +136,7 @@ packages:
|
|||
name: protobuf
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.13.14"
|
||||
version: "0.13.15"
|
||||
quiver:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue