Stream<int> getCodeStream() => Stream<int>.periodic(const Duration(seconds: 0), (val) => getCurrentCode) .asBroadcastStream();