remove static method
Removes all edges from the _offlineAdapterKey
for
current metadata, as well as callbacks from memory.
Implementation
static void remove(DataRequestLabel label, Adapter adapter) {
adapter.db.execute(
'DELETE FROM _offline_operations WHERE label = ?', [label.toString()]);
adapter.log(label, 'offline/remove ${label.requestId}');
adapter.ref.read(_offlineCallbackProvider).remove(label.requestId);
}