toggleExpand method

void toggleExpand()

Implementation

void toggleExpand() async {
if (!_isShow) await this._init();
if (this._histories.isEmpty) {
  this._forceHide();
  return;
}

this._clearFilter();
this.listOpen.sink.add(!_isShow);
this.listShow.add(!_isShow);
_isShow = !_isShow;
  }