DatabaseSettings constructor

DatabaseSettings(
  1. bool enabled,
  2. Map<String, dynamic> configuration, {
  3. bool encrypt = false,
  4. bool syncToServer = false,
  5. Duration? syncInterval = const Duration(seconds: 30),
  6. Function? onSync,
  7. bool validateCache = true,
})

Implementation

DatabaseSettings(
  this.enabled,
  this.configuration, {
  this.encrypt = false,
  this.syncToServer = false,
  this.syncInterval = const Duration(seconds: 30),
  this.onSync,
  this.validateCache = true,
});