stopJSCoverage method
Returns a Future that resolves to the array of coverage reports for all scripts
url
: Script URLtext
: Script contentranges
: Script ranges that were executed. Ranges are sorted and non-overlapping.start
: A start offset in text, inclusiveend
: An end offset in text, exclusive
NOTE JavaScript Coverage doesn't include anonymous scripts by default. However, scripts with sourceURLs are reported.
Implementation
Future<List<CoverageEntry>> stopJSCoverage() {
return _jsCoverage.stop();
}