PostEvictionCallbackRegistration class
Registration for a callback that should be called when a cache entry is evicted.
Constructors
- PostEvictionCallbackRegistration({required PostEvictionDelegate evictionCallback, Object? state})
- Creates a new instance of PostEvictionCallbackRegistration.
Properties
- evictionCallback → PostEvictionDelegate
-
Gets the callback to call after an entry is evicted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → Object?
-
Gets the state to pass to the evictionCallback.
final
Methods
-
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