GoneBatch constructor

GoneBatch({
  1. required LSN lsn,
  2. required List<String> subscriptionIds,
  3. required List<DataChange> changes,
})

Implementation

GoneBatch({
  required this.lsn,
  required this.subscriptionIds,
  required this.changes,
}) : assert(
        changes.every((element) => element.type == DataChangeType.gone),
        'GoneBatch changes must be of type gone',
      );