StorageDriverContext class

Context for a storage driver, providing necessary dependencies and configuration.

Constructors

StorageDriverContext({required Container container, required StorageManager manager, required String diskName, required Map<String, dynamic> configuration, String? storageRoot})
Creates a new StorageDriverContext.

Properties

configuration Map<String, dynamic>
The configuration map for the driver.
final
container Container
The dependency injection container.
final
diskName String
The name of the storage disk.
final
hashCode int
The hash code for this object.
no setterinherited
manager StorageManager
The storage manager instance.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageRoot String?
The optional root path for storage.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
option<T>(String key) → T?
Retrieves the value of type T associated with the given key in the configuration.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited