remove method

Keyset? remove(
  1. String name
)

Removes a keyset from this store.

If this keyset was previously set as default, after removing this keyset the default will not be defined.

Implementation

Keyset? remove(String name) {
  if (name == _defaultName) {
    _defaultName = null;
  }

  if (_store.containsKey(name)) {
    return _store.remove(name);
  }

  return null;
}