forget method

Future<void> forget(
  1. int start
)

Removes the key of the service started at start (it was stopped) and its index entry.

Implementation

Future<void> forget(int start) async {
  await _delete(tomSecretsAdminKeyHandle(start));
  final starts = await _starts();
  if (starts.remove(start)) await _writeStarts(starts);
}