addDirectory method
Returns a Future that resolves to the CID of the added directoryContent.
When shardThreshold is greater than zero and a directory's entry count
exceeds it, the directory is written as a HAMT-sharded node.
Implementation
Future<String> addDirectory(
Map<String, dynamic> directoryContent, {
int shardThreshold = 0,
}) => _contentManager.addDirectory(
directoryContent,
shardThreshold: shardThreshold,
);