putMany<T> method

  1. @override
FutureOr<void> putMany<T>(
  1. Map<String, T> object, {
  2. Duration? ttl,
})
override

Stores all entries from object. The optional ttl applies uniformly to every entry; pass null to skip expiration.

Implementation

@override
FutureOr<void> putMany<T>(Map<String, T> object, {Duration? ttl}) {
  store.addAll(object);
}