CatchUp constructor
CatchUp({
- CatchUpId? id,
- CatchUp_Request? request,
- Timestamp? whenLastRead,
- CatchUpStatus? status,
- int? totalShards,
- Iterable<
int> ? affectedShard,
Implementation
factory CatchUp({
CatchUpId? id,
CatchUp_Request? request,
$4.Timestamp? whenLastRead,
CatchUpStatus? status,
$core.int? totalShards,
$core.Iterable<$core.int>? affectedShard,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (request != null) {
_result.request = request;
}
if (whenLastRead != null) {
_result.whenLastRead = whenLastRead;
}
if (status != null) {
_result.status = status;
}
if (totalShards != null) {
_result.totalShards = totalShards;
}
if (affectedShard != null) {
_result.affectedShard.addAll(affectedShard);
}
return _result;
}