SyncStatus constructor

const SyncStatus({
  1. bool connected = false,
  2. bool connecting = false,
  3. DateTime? lastSyncedAt,
  4. bool? hasSynced,
  5. bool downloading = false,
  6. bool uploading = false,
  7. Object? downloadError,
  8. Object? uploadError,
})

Implementation

const SyncStatus(
    {this.connected = false,
    this.connecting = false,
    this.lastSyncedAt,
    this.hasSynced,
    this.downloading = false,
    this.uploading = false,
    this.downloadError,
    this.uploadError});