StorageState constructor

const StorageState({
  1. bool isInitialized = false,
  2. bool isLoading = false,
  3. String? error,
  4. int secureDataCount = 0,
  5. int prefsDataCount = 0,
  6. int imageCacheCount = 0,
  7. int imageCacheSize = 0,
  8. DateTime? lastClearedAt,
  9. StorageType? lastClearedType,
  10. DateTime? lastImportedAt,
  11. DateTime? lastExportedAt,
})

Implementation

const StorageState({
  this.isInitialized = false,
  this.isLoading = false,
  this.error,
  this.secureDataCount = 0,
  this.prefsDataCount = 0,
  this.imageCacheCount = 0,
  this.imageCacheSize = 0,
  this.lastClearedAt,
  this.lastClearedType,
  this.lastImportedAt,
  this.lastExportedAt,
});