commit | fc1e1bfabc3565e6c901130c7df507c5eef7bdca | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Jun 24 17:36:30 2019 -0700 |
committer | GitHub <noreply@github.com> | Mon Jun 24 17:36:30 2019 -0700 |
tree | 73c3f0eef8a38944c8d5488de88c0ef0976457b4 | |
parent | 79eb583bc59b119fc33951d608f7e4470f672e9f [diff] |
Prepare for upcoming change to File.openRead() (#125) An upcoming change to the Dart SDK will change the signature of `File.openRead()` from returning `Stream<List<int>>` to returning `Stream<Uint8List>`. This forwards-compatible change prepares for that SDK breaking change by casting the Stream to `List<int>` before transforming it. https://github.com/dart-lang/sdk/issues/36900