putAll<T> method
Stores every entry of entries in collection.
Implementation
@override
Future<void> putAll<T>(
String collection,
Map<String, T> entries,
) async {
_ensureInitialized();
await guardWrite('Failed to put ${entries.length} values in "$collection"',
() async {
final box = await _openBox(collection);
await box.putAll(entries);
});
}