sortChildrenIndex method

  1. @override
void sortChildrenIndex(
  1. List<int> idIndexList
)
override

Implementation

@override
void sortChildrenIndex (List<int> idIndexList) {
  children.sort((a, b) => idIndexList.indexOf(a.id).compareTo(idIndexList.indexOf(b.id)));
}