Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
update StreamSinkTransformer.fromHandlers error handler to have a non…
Browse files Browse the repository at this point in the history
…-nullable stack trace
  • Loading branch information
jakemac53 committed Mar 18, 2020
1 parent d4691d3 commit 7b9bcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/stream_sink_transformer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ abstract class StreamSinkTransformer<S, T> {
/// the event is passed through unaltered.
factory StreamSinkTransformer.fromHandlers(
{void Function(S, EventSink<T>)? handleData,
void Function(Object, StackTrace?, EventSink<T>)? handleError,
void Function(Object, StackTrace, EventSink<T>)? handleError,
void Function(EventSink<T>)? handleDone}) {
return HandlerTransformer<S, T>(handleData, handleError, handleDone);
}
Expand Down

0 comments on commit 7b9bcd6

Please sign in to comment.