skip<Event> function
Null safety
- 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);