put method
Creates or replaces key.
Implementation
@override
Future<void> put(String key, Uint8List bytes) async {
_objects[key] = bytes;
_stats = ObjectStoreStats(
gets: _stats.gets,
puts: _stats.puts + 1,
deletes: _stats.deletes,
lists: _stats.lists,
requestBytes: _stats.requestBytes + key.length + bytes.length,
responseBytes: _stats.responseBytes,
);
}