clearAllTraces static method
cancel all traces returns error or success message
Implementation
static Future<String?> clearAllTraces() async {
if (!_instance._countlyState.isInitialized) {
String message = '"initWithConfig" must be called before "clearAllTraces"';
log('clearAllTraces, $message', logLevel: LogLevel.ERROR);
return message;
}
log('Calling "clearAllTraces"');
final String? result = await _channel.invokeMethod('clearAllTraces');
return result;
}