remove method
Remove the specified setting key or keys matching a pattern.
Use the wildcard * to remove all keys matching a pattern.
Parameters
key: The key or pattern to remove.
Returns
- The number of keys removed.
Also see:
- clear: to remove all settings.
Implementation
int remove(final String key) {
final OperationResult resultString = objectMethod(
pointerId,
'SettingsService',
'remove',
args: key,
);
return resultString['result'];
}