remove method

Future<void> remove(
  1. String path
)

Remove video from history

Implementation

Future<void> remove(String path) async {
  for (int i = 0; i < _box!.values.length; i++) {
    if (_box!.get(i).path == path) {
      await _box!.delete(i);
    }
  }
}