addDefaultStackFilter static method
- StackFilter filter
Adds a stack filtering function to defaultStackFilter.
For example, the framework adds common patterns of element building to elide tree-walking patterns in the stack trace.
Added filters are checked in order of addition. The first matching filter wins, and subsequent filters will not be checked.
Implementation
static void addDefaultStackFilter(StackFilter filter) {
_stackFilters.add(filter);
}