getCategories method
Gets supported tracing categories. Returns: A list of supported tracing categories.
Implementation
Future<List<String>> getCategories() async {
var result = await _client.send('Tracing.getCategories');
return (result['categories'] as List).map((e) => e as String).toList();
}