parseChapters method

Future<List<EpubChapter>> parseChapters()

Implementation

Future<List<EpubChapter>> parseChapters() async {
  if (_chapters.isNotEmpty) return _chapters;
  final result = await _request('getChapters');
  _chapters = parseChapterList(result);
  return _chapters;
}