PrismSyncSnapshot constructor

const PrismSyncSnapshot({
  1. required PrismSyncPhase phase,
  2. int pendingChanges = 0,
  3. int completed = 0,
  4. int? total,
  5. DateTime? lastSyncedAt,
  6. Object? error,
})

Creates a snapshot.

Implementation

const PrismSyncSnapshot({
  required this.phase,
  this.pendingChanges = 0,
  this.completed = 0,
  this.total,
  this.lastSyncedAt,
  this.error,
});