delete method

Future<String?> delete(
  1. String id, {
  2. String? scope,
})

Deletes a memory entry by id. With no explicit scope, scans project then user storage. Returns the scope it was deleted from, or null when the id exists in neither.

Implementation

Future<String?> delete(String id, {String? scope}) =>
    _redirectPackagePrints(() => _deleteImpl(id, scope: scope));