DispatchSettings.nonPersistent constructor

const DispatchSettings.nonPersistent({
  1. Duration dequeueInterval = defaultDequeueInterval,
})

Uses a non persistent dispatch queue.

This means that if the app terminates while there are still undispatched actions, those actions are lost.

Implementation

const DispatchSettings.nonPersistent({
  Duration dequeueInterval = defaultDequeueInterval,
}) : this._(
        dequeueInterval,
        false,
        null,
      );