Progress constructor

Progress({
  1. int sent = 0,
  2. List<IpcMessage>? applied,
  3. bool resyncRequested = false,
  4. int snapshotsServed = 0,
  5. int peerAckedThrough = 0,
  6. int retained = 0,
})

Implementation

Progress({
  this.sent = 0,
  List<IpcMessage>? applied,
  this.resyncRequested = false,
  this.snapshotsServed = 0,
  this.peerAckedThrough = 0,
  this.retained = 0,
}) : applied = applied ?? [];