remoteConfigClearValues static method
- @Deprecated('This function is deprecated, please use "remoteConfigClearAllValues" instead')
Future<String?>
remoteConfigClearValues(
- dynamic callback(
- String?
)
)
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;
}