getInitialIndex function
Implementation
getInitialIndex(int storyNumber, List<StoryItem>? storiesMapList) {
int total = 0;
for (int i = 0; i < storyNumber; i++) {
total += storiesMapList![i].stories.length;
}
return total;
}
getInitialIndex(int storyNumber, List<StoryItem>? storiesMapList) {
int total = 0;
for (int i = 0; i < storyNumber; i++) {
total += storiesMapList![i].stories.length;
}
return total;
}