delete method

Future<bool> delete(
  1. WorkerKey key
)

Implementation

Future<bool> delete(WorkerKey key) async {
  if (apiKeys.contains(key.apiKey)) {
    return _save(keys.whereNot((e) => e.apiKey == key.apiKey));
  }
  return false;
}