operator [] method

StoreDirectory operator [](
  1. String storeName
)

Get a StoreDirectory by name, and create it synchronously automatically

Prefer call/() wherever possible, as this method blocks the thread. Note that that method does not automatically create the store.

Implementation

StoreDirectory operator [](String storeName) => StoreDirectory._(
      storeName,
      autoCreate: true,
    );