setTocList method
update current _tocList
, it's not recommended to call this method
Implementation
bool setTocList(LinkedHashMap<int, Toc>? tocList) {
if (this._tocList == tocList) return false;
this._tocList = tocList;
scrollController = ItemScrollController();
return true;
}