next method

  1. @override
VideoDetail next()
override

Implementation

@override
VideoDetail next() {
  final _random = Random();
  return VideoDetail(url: videoList[_random.nextInt(videoList.length)]);
}