clearAllTraces static method

Future<String?> clearAllTraces()

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;
}