onVisibilityChange property Null safety

  1. @SupportedBrowser(SupportedBrowser.CHROME)
  2. @SupportedBrowser(SupportedBrowser.FIREFOX)
  3. @SupportedBrowser(SupportedBrowser.IE, '10')
Stream<Event> onVisibilityChange

Implementation

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
Stream<Event> get onVisibilityChange => visibilityChangeEvent.forTarget(this);