listenBlocs method Null safety

void listenBlocs(
  1. Iterable<BlocBase> cubits,
  2. void update(
      )
    )

    Implementation

    void listenBlocs(Iterable<BlocBase> cubits, void Function() update) {
      listenStreams(cubits.map((e) => e.stream), update);
    }