ResponseApplySnapshotChunk constructor

ResponseApplySnapshotChunk({
  1. ResponseApplySnapshotChunk_Result? result,
  2. Iterable<int>? refetchChunks,
  3. Iterable<String>? rejectSenders,
})

Implementation

factory ResponseApplySnapshotChunk({
  ResponseApplySnapshotChunk_Result? result,
  $core.Iterable<$core.int>? refetchChunks,
  $core.Iterable<$core.String>? rejectSenders,
}) {
  final _result = create();
  if (result != null) {
    _result.result = result;
  }
  if (refetchChunks != null) {
    _result.refetchChunks.addAll(refetchChunks);
  }
  if (rejectSenders != null) {
    _result.rejectSenders.addAll(rejectSenders);
  }
  return _result;
}