Delete an object at an index
Future<void> removeAt(int index) async { List<dynamic> list = await getAll(); if (index >= list.length) return; list.removeAt(index); await _saveList(list); }