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