SdkProfile constructor

const SdkProfile({
  1. required bool offlineEnabled,
  2. required bool queueWritesWhenOffline,
  3. bool autoFlushQueue = false,
  4. Duration? flushInterval,
  5. @Deprecated('Use autoFlushQueue + flushInterval instead.') bool autoFlushOnInit = false,
})

Creates a runtime profile for offline and queueing behavior.

Implementation

const SdkProfile({
  required this.offlineEnabled,
  required this.queueWritesWhenOffline,
  this.autoFlushQueue = false,
  this.flushInterval,
  @Deprecated('Use autoFlushQueue + flushInterval instead.')
  this.autoFlushOnInit = false,
});