BlobMetadata constructor

BlobMetadata({
  1. String? storeKey,
  2. String? recordKey,
  3. Int64? size,
  4. Hint? hint,
  5. List<int>? md5,
  6. int? crc32c,
  7. bool? hasCrc32c_7,
  8. bool? chunked,
  9. Int64? chunkCount,
})

Implementation

factory BlobMetadata({
  $core.String? storeKey,
  $core.String? recordKey,
  $fixnum.Int64? size,
  Hint? hint,
  $core.List<$core.int>? md5,
  $core.int? crc32c,
  $core.bool? hasCrc32c_7,
  $core.bool? chunked,
  $fixnum.Int64? chunkCount,
}) {
  final _result = create();
  if (storeKey != null) {
    _result.storeKey = storeKey;
  }
  if (recordKey != null) {
    _result.recordKey = recordKey;
  }
  if (size != null) {
    _result.size = size;
  }
  if (hint != null) {
    _result.hint = hint;
  }
  if (md5 != null) {
    _result.md5 = md5;
  }
  if (crc32c != null) {
    _result.crc32c = crc32c;
  }
  if (hasCrc32c_7 != null) {
    _result.hasCrc32c_7 = hasCrc32c_7;
  }
  if (chunked != null) {
    _result.chunked = chunked;
  }
  if (chunkCount != null) {
    _result.chunkCount = chunkCount;
  }
  return _result;
}