getDOMCountersForLeakDetection method
Retruns DOM object counters after preparing renderer for leak detection. Returns: DOM object counters.
Implementation
Future<List<DOMCounter>> getDOMCountersForLeakDetection() async {
var result = await _client.send('Memory.getDOMCountersForLeakDetection');
return (result['counters'] as List)
.map((e) => DOMCounter.fromJson(e as Map<String, dynamic>))
.toList();
}