remove method

int remove(
  1. String key
)

Remove the specified setting key

Use '*' wildcard to remove all keys matching a pattern

Parameters

  • IN key The key to remove

Returns

  • The number of keys removed

Throws

  • An exception if it fails

Implementation

int remove(final String key) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'SettingsService',
    'remove',
    args: key,
  );

  return resultString['result'];
}