DriverConfigContext class
Context provided to cache driver configuration builders.
Constructors
-
DriverConfigContext({required Map<
String, dynamic> userConfig, required Container container, required String driverName}) - Creates a new DriverConfigContext.
Properties
- container → Container
-
The application's service Container for looking up dependencies.
final
- driverName → String
-
The normalized identifier for the cache driver.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userConfig
→ Map<
String, dynamic> -
The original configuration supplied by the user or provider.
final
Methods
-
get<
T> () → T? -
Attempts to synchronously resolve a service of type
Tfrom the container. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited