getPictures method

List<Picture> getPictures(
  1. int start,
  2. int end,
  3. int num
)

Implementation

List<Picture> getPictures(int start, int end, int num) => List.generate(
      num,
      (index) => Picture(
        name: index.toString(),
        urlImage: urlImages[index + start],
      ),
    );