remoteConfigClearValues static method
- @Deprecated('This function is deprecated, please use "remoteConfigClearAllValues" instead')
- dynamic callback()
Clear all remote config values. returns the error or success message
Implementation
@Deprecated('This function is deprecated, please use "remoteConfigClearAllValues" instead')
static Future<String?> remoteConfigClearValues(Function(String?) callback) async {
if (!_instance._countlyState.isInitialized) {
String message = '"initWithConfig" must be called before "remoteConfigClearValues"';
log('remoteConfigClearValues, $message', logLevel: LogLevel.ERROR);
return message;
}
log('Calling "remoteConfigClearValues"');
final String? result = await _channel.invokeMethod('remoteConfigClearValues');
callback(result);
return result;
}