removeSecret method

Future<bool> removeSecret(
  1. String namespace,
  2. String name
)

Implementation

Future<bool> removeSecret(String namespace, String name) async {
  final removed = _secrets.remove(_key(namespace, name)) != null;
  if (removed) {
    await persistence?.save(listSecrets());
  }
  return removed;
}