collapseSection method
Implementation
void collapseSection(K sectionKey, {bool animate = true}) {
_checkNotDisposed();
_requireSection(sectionKey, "collapseSection");
_tree.collapse(key: SectionKey<K>(sectionKey), animate: animate);
}
void collapseSection(K sectionKey, {bool animate = true}) {
_checkNotDisposed();
_requireSection(sectionKey, "collapseSection");
_tree.collapse(key: SectionKey<K>(sectionKey), animate: animate);
}