OfflineQueuePolicy constructor

const OfflineQueuePolicy({
  1. Duration? maxMutationAge,
  2. int? maxQueueLength,
  3. OverflowStrategy overflow = OverflowStrategy.rejectNew,
  4. FutureOr<ReplayDecision> onBeforeReplay(
    1. PendingMutation mutation
    )?,
  5. int? maxRetainedFailures = 20,
})

Implementation

const OfflineQueuePolicy({
  this.maxMutationAge,
  this.maxQueueLength,
  this.overflow = OverflowStrategy.rejectNew,
  this.onBeforeReplay,
  this.maxRetainedFailures = 20,
});