isChapterAvailable method
章节能力是否可用
判断规则:
- 非 live/minimal 场景
- 章节数据非空
Implementation
bool isChapterAvailable() {
if (sceneType == SceneType.live || sceneType == SceneType.minimal) {
return false;
}
if (chapterInfoList.isNotEmpty) {
return true;
}
return false;
}