getBestEffortCoverage method
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. Returns: Coverage data for the current isolate.
Implementation
Future<List<ScriptCoverage>> getBestEffortCoverage() async {
var result = await _client.send('Profiler.getBestEffortCoverage');
return (result['result'] as List)
.map((e) => ScriptCoverage.fromJson(e as Map<String, dynamic>))
.toList();
}