Expirer class
- Implemented types
Properties
- core → ICore
-
final
-
created
→ Event<
ExpirationEvent> -
final
-
deleted
→ Event<
ExpirationEvent> -
final
-
expirations
↔ Map<
String, int> -
getter/setter pair
-
expired
→ Event<
ExpirationEvent> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageKey → String
-
no setteroverride
-
sync
→ Event<
EventArgs> -
final
Methods
-
checkExpiry(
String key, int expiry) → bool -
override
-
delete(
String key) → Future< void> -
Deletes the key from the keychain
override
-
expire(
String key) → void -
override
-
get(
String key) → int -
Gets the key associated with the provided tag
override
-
has(
String key) → bool -
Returns true if the keychain has the given tag
override
-
init(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
persist(
) → Future< void> -
override
-
restore(
) → Future< void> -
override
-
set(
String key, int value) → Future< void> -
Sets the value with the given key
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited