skip<Event> function Null safety

EventTransformer<Event> skip<Event>(
  1. int count
)

Skips the first count events.

Example

on<ExampleEvent>(
  _handleEvent,
  transformer: skip(10),
)

Implementation

EventTransformer<Event> skip<Event>(int count) =>
    (events, mapper) => events.skip(count).switchMap(mapper);