StreamOnErrorListener typedef
StreamOnErrorListener =
void Function(dynamic error, StackTrace stackTrace)
Signature for the onError callback.
Implementation
typedef StreamOnErrorListener = void Function(
dynamic error,
StackTrace stackTrace,
);