setTimeDomain method
- @Deprecated('This command is deprecated')
- @Enum(['timeTicks', 'threadTicks']) String timeDomain
Sets time domain to use for collecting and reporting duration metrics.
Note that this must be called before enabling metrics collection. Calling
this method while metrics collection is enabled returns an error.
timeDomain
Time domain
Implementation
@Deprecated('This command is deprecated')
Future<void> setTimeDomain(
@Enum(['timeTicks', 'threadTicks']) String timeDomain) async {
assert(const ['timeTicks', 'threadTicks'].contains(timeDomain));
await _client.send('Performance.setTimeDomain', {
'timeDomain': timeDomain,
});
}