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