get method
Implementation
Future<T> get(int index) async {
if (!_isPageLoaded(index)) {
final pageNum = index ~/ bufferSize;
final page = await jumpToPage(pageNum);
return page.get(index % bufferSize)!;
} else {
return (await currentPage)!.get(index % bufferSize)!;
}
}