UploadChunkRequest constructor

UploadChunkRequest({
  1. ChunkMetadata? metadata,
  2. List<int>? content,
})

Implementation

factory UploadChunkRequest({
  ChunkMetadata? metadata,
  $core.List<$core.int>? content,
}) {
  final _result = create();
  if (metadata != null) {
    _result.metadata = metadata;
  }
  if (content != null) {
    _result.content = content;
  }
  return _result;
}