gotoLastReadingSection method
void
gotoLastReadingSection()
Implementation
void gotoLastReadingSection() {
final lastReadedSectionId =
boxLastReadedSectionId.get(book.assetFolder, defaultValue: -1);
if (lastReadedSectionId != -1) {
add(SectionTapped(
title: book.sections[lastReadedSectionId].title ?? '',
book: book,
sectionIndex: lastReadedSectionId));
}
}