remove method

  1. @override
Future<void> remove(
  1. int commitEntryIndex
)
override

Implementation

@override
Future<void> remove(int commitEntryIndex) async {
  CommitEntry? commitEntry = (getBox() as Box).get(commitEntryIndex);
  await super.remove(commitEntryIndex);
  // On removing the entry from commit log keystore, remove the stale entries from
  // commit log cache map
  if (commitEntry != null) {
    commitLogCache.remove(commitEntry.atKey!);
  }
}