randomReviewStream function

Stream<Review> randomReviewStream(
  1. {Duration period = const Duration(seconds: 10)}
)

Implementation

Stream<Review> randomReviewStream(
        {Duration period = const Duration(seconds: 10)}) =>
    Stream.periodic(period, directory.addRandomReview);