StreamHandler<T> typedef
StreamHandler<T> =
void Function(Stream<T> )
A function-type alias takes a stream as argument and returns void
Implementation
typedef StreamHandler<T> = void Function(Stream<T>);