isExcludedSource function
Implementation
bool isExcludedSource(Stackframe frame) {
var excludeSource = false;
final path = frame.sourceFile.absolute.path;
for (final exclude in _excludedSource) {
if (path.startsWith(exclude)) {
excludeSource = true;
break;
}
}
return excludeSource;
}