getBroadcastStream static method

Stream getBroadcastStream()

Implementation

static Stream<dynamic> getBroadcastStream() {
  return eventChannel
      .receiveBroadcastStream()
      .map((event) => event.toString())
      .asBroadcastStream();
}