foldings property

List<FoldRange> foldings
getter/setter pair

List of all fold ranges detected in the document.

This list is automatically populated based on code structure (braces, indentation, etc.) when folding is enabled.

Implementation

List<FoldRange> foldings = [];