ReaxEntry<T> class final

A key/value pair read from the database.

value is already decoded to the requested type; expiresAt is the absolute expiry instant of the entry, or null when it never expires.

Constructors

ReaxEntry({required String key, required T value, DateTime? expiresAt})
Creates an entry.
const

Properties

expiresAt → DateTime?
When the entry expires, or null when it does not.
final
hashCode → int
The hash code for this object.
no setteroverride
key → String
The entry key.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T
The decoded value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Redacted description: never includes the key or value content.
override

Operators

operator ==(Object other) → bool
The equality operator.
override