next property

Future<NimbostratusDocumentSnapshot<T>?> get next
inherited

A Future that waits for the next value to be added to the StateBloc.

Implementation

Future<T?> get next {
  return _controller.stream.first.then((data) => data.current);
}