putAll method

Future<void> putAll(
  1. Map<String, V> entries
)

批量存入

Implementation

Future<void> putAll(Map<String, V> entries) async {
  for (final entry in entries.entries) {
    await put(entry.key, entry.value);
  }
}