You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that 'betamax' relies on an older version of the 'http' package. I also observed that there might not have been any updates to this package for approximately 17 months.
Given the absence of recent updates, I took the initiative to fork 'betamax' and tried to update the 'http' package myself.
I discovered that starting from version 1.1.0, the ByteStream in the 'http' package has become a final class and can no longer be extended like here:
classRepeatableByteStreamextendsByteStream {
RepeatableByteStream(Stream<List<int>> stream) :super(stream) {
// Set up a subscription on the inner stream, and rebroadcast all events// to the listeners.
_innerSubscription ??=super.listen(
(List<int> bytes) {
_innerStreamBytes.addAll(bytes);
_listenerControllers.addEvent(bytes);
},
onError: (Object e, [StackTrace? st]) {
_listenerControllers.addError(e, st);
},
onDone: () {
_innerStreamDone =true;
_listenerControllers.closeAll();
_listenerControllers.clear();
},
cancelOnError:false,
);
}
The text was updated successfully, but these errors were encountered:
I've noticed that 'betamax' relies on an older version of the 'http' package. I also observed that there might not have been any updates to this package for approximately 17 months.
Given the absence of recent updates, I took the initiative to fork 'betamax' and tried to update the 'http' package myself.
I discovered that starting from version 1.1.0, the ByteStream in the 'http' package has become a final class and can no longer be extended like here:
The text was updated successfully, but these errors were encountered: