storage property

Storage storage

Instance of Storage which will be used to manage persisting/restoring the Bloc state.

Implementation

static Storage get storage {
  if (_storage == null) throw const StorageNotFound();
  return _storage!;
}
void storage=(Storage? storage)

Setter for instance of Storage which will be used to manage persisting/restoring the Bloc state.

Implementation

static set storage(Storage? storage) => _storage = storage;