putAll method
Implementation
@override
Future putAll(
List<T>? items, {
bool delete = true,
Map? args,
}) async {
await db!.transaction((txn) async {
if (delete) {
await store.delete(txn);
}
if (items != null) {
for (var item in items) {
await store.record(item.id).put(txn, item.toJson());
}
}
});
}