onFetch property

Stream<FetchEvent> onFetch

An event handler fired whenever a fetch event occurs — when a fetch() is called.

Implementation

Stream<FetchEvent> get onFetch =>
    _onFetch ??= callbackToStream(_delegate, 'onfetch', FetchEvent._);