currentThread property

List<ModeratorEntry> get currentThread

Implementation

List<ModeratorEntry> get currentThread {
  List<ModeratorEntry> _ll = [];
  Set<int> _i = {};
  if (currentThreadRoot == null) return _ll;
  _ll.add(currentThreadRoot!);
  _i.add(currentThreadRoot!.hint);
  childrenOf(currentThreadRoot!.keyHint).forEach((element) {
    if (!element.flags.isReply) return;
    //if (_i.contains(element.hint)) return;
    _ll.add(element);
    _i.add(element.hint);
  });
  return _ll;
}