DVHistory class

Whether a model keeps a change log, and for how long.

Opt-in, with retention declared beside it: a change log is a second copy of the data with a different lifetime, and keeping it for every model would double storage quietly and put values somewhere retention was never applied.

Constructors

DVHistory({Duration? keep})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
keep → Duration?
How long entries are kept; null keeps them until removed deliberately.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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