DVOffline class

How a model behaves while the device is disconnected.

Constructors

DVOffline({required DVConflict strategy, bool encrypt = false, int maxMutations = 10000, Duration maxAge = const Duration(days: 7), Duration maxClockSkew = const Duration(minutes: 5)})
const

Properties

encrypt → bool
Whether the whole model is encrypted at rest on the device.
final
hashCode → int
The hash code for this object.
no setterinherited
maxAge → Duration
How old the oldest queued mutation may be before the next write is refused.
final
maxClockSkew → Duration
How far the device clock may drift from the server's before it is reported (DV-OFFLINE-004).
final
maxMutations → int
The most mutations the log holds before the next write is refused.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strategy → DVConflict
How a replayed write that finds the server row moved is resolved.
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