StreamFn typedef Null safety

StreamFn = FutureOr<Stream<List<int>>> Function()

A restartable input stream.

Implementation

typedef StreamFn = FutureOr<Stream<List<int>>> Function();