DatumMetrics constructor

const DatumMetrics({
  1. int totalSyncOperations = 0,
  2. int successfulSyncs = 0,
  3. int failedSyncs = 0,
  4. int conflictsDetected = 0,
  5. int conflictsResolvedAutomatically = 0,
  6. int userSwitchCount = 0,
  7. Set<String> activeUsers = const {},
  8. int totalBytesPushed = 0,
  9. int totalBytesPulled = 0,
})

Creates a DatumMetrics snapshot.

Implementation

const DatumMetrics({
  this.totalSyncOperations = 0,
  this.successfulSyncs = 0,
  this.failedSyncs = 0,
  this.conflictsDetected = 0,
  this.conflictsResolvedAutomatically = 0,
  this.userSwitchCount = 0,
  this.activeUsers = const {},
  this.totalBytesPushed = 0,
  this.totalBytesPulled = 0,
});