SdkProfile.offlineFirstSecure constructor

SdkProfile.offlineFirstSecure()

Creates a profile that enables offline caching and offline write queueing.

Because autoFlushQueue is true and flushInterval is null, the current implementation flushes the queue once during initialization.

Implementation

factory SdkProfile.offlineFirstSecure() => const SdkProfile(
      offlineEnabled: true,
      queueWritesWhenOffline: true,
      autoFlushQueue: true,
      flushInterval: null,
    );