onDisplay property

Stream<DisplayMessageCenterEvent> get onDisplay

Provides a stream of events for when the Message Center should be displayed.

This stream will only emit events if auto-launch is disabled via setAutoLaunchDefaultMessageCenter. Returns a Stream of DisplayMessageCenterEvent objects.

Implementation

Stream<DisplayMessageCenterEvent> get onDisplay {
  return _module
      .getEventStream("com.airship.flutter/event/display_message_center")
      .map((dynamic value) => DisplayMessageCenterEvent.fromJson(value));
}