OfflinePolicy constructor

const OfflinePolicy({
  1. bool staleReads = true,
  2. bool queueWrites = true,
  3. int failAfterAttempts = 3,
})

Creates a policy.

Implementation

const OfflinePolicy({
  this.staleReads = true,
  this.queueWrites = true,
  this.failAfterAttempts = 3,
});