next method

  1. @override
void next()
override

Tries to advance to the next item, and returns it if possible.

Implementation

@override
void next() => onNext!();