MichaelMarner / dart-redux-remote-devtools

Remote Devtools for Dart & Flutter
https://pub.dartlang.org/packages/redux_remote_devtools
MIT License
53 stars 10 forks source link

Prepare for Uint8List SDK breaking change #15

Closed tvolkert closed 5 years ago

tvolkert commented 5 years ago

A recent change to the Dart SDK updated HttpClientResponse to implement Stream<Uint8List> rather than implementing Stream<List<int>>.

This forwards-compatible change updates calls to Stream.transform(StreamTransformer) to instead call the functionally equivalent StreamTransformer.bind(Stream) API, which puts the stream in a covariant position and thus causes the SDK change to be non-breaking.

https://github.com/dart-lang/sdk/issues/36900

tvolkert commented 5 years ago

ping @MichaelMarner