mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Add cast to prepare for package:file update (#33268)
This commit is contained in:
parent
bc7bc94083
commit
c6129b4e85
@ -46,7 +46,7 @@ abstract class DevFSContent {
|
||||
Stream<List<int>> contentsAsStream();
|
||||
|
||||
Stream<List<int>> contentsAsCompressedStream() {
|
||||
return contentsAsStream().transform<List<int>>(gzip.encoder);
|
||||
return contentsAsStream().cast<List<int>>().transform<List<int>>(gzip.encoder);
|
||||
}
|
||||
|
||||
/// Return the list of files this content depends on.
|
||||
|
Loading…
Reference in New Issue
Block a user