customEvents static method

Stream<CustomEvent> customEvents()

Implementation

static Stream<CustomEvent> customEvents() {
  return _customEventChannel
      .receiveBroadcastStream()
      .map((dynamic event) => CustomEvent.fromJson(event));
}