JsSdkCacheImportResult constructor

const JsSdkCacheImportResult({
  1. required JsSdkCacheImportStatus status,
  2. required String databaseName,
  3. int users = 0,
  4. int batches = 0,
  5. int documents = 0,
  6. List<String> skipped = const <String>[],
})

The counts default to zero and skipped to empty, the result of a run that found nothing.

Implementation

const JsSdkCacheImportResult({
  required this.status,
  required this.databaseName,
  this.users = 0,
  this.batches = 0,
  this.documents = 0,
  this.skipped = const <String>[],
});