ReplicatorDocument constructor

ReplicatorDocument({
  1. required String id,
  2. String? rev,
  3. Remote? source_,
  4. Remote? target,
  5. String? owner,
  6. bool? createTarget,
  7. bool? continuous,
  8. List<String> docIds = const [],
  9. String? replicationState,
  10. DateTime? replicationStateTime,
  11. ReplicationStats? replicationStats,
  12. int? errorCount,
})

Returns a new ReplicatorDocument instance.

Implementation

ReplicatorDocument({
  required this.id,
  this.rev,
  this.source_,
  this.target,
  this.owner,
  this.createTarget,
  this.continuous,
  this.docIds = const [],
  this.replicationState,
  this.replicationStateTime,
  this.replicationStats,
  this.errorCount,
});