Record constructor

Record({
  1. String? key,
  2. Int64? blobSize,
  3. Map<String, Property>? properties,
  4. String? ownerId,
  5. Iterable<String>? tags,
  6. Timestamp? createdAt,
  7. Timestamp? updatedAt,
  8. bool? chunked,
  9. Int64? chunkCount,
  10. String? opaqueString,
  11. List<int>? signature,
})

Implementation

factory Record({
  $core.String? key,
  $fixnum.Int64? blobSize,
  $core.Map<$core.String, Property>? properties,
  $core.String? ownerId,
  $core.Iterable<$core.String>? tags,
  $2.Timestamp? createdAt,
  $2.Timestamp? updatedAt,
  $core.bool? chunked,
  $fixnum.Int64? chunkCount,
  $core.String? opaqueString,
  $core.List<$core.int>? signature,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (blobSize != null) {
    _result.blobSize = blobSize;
  }
  if (properties != null) {
    _result.properties.addAll(properties);
  }
  if (ownerId != null) {
    _result.ownerId = ownerId;
  }
  if (tags != null) {
    _result.tags.addAll(tags);
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (updatedAt != null) {
    _result.updatedAt = updatedAt;
  }
  if (chunked != null) {
    _result.chunked = chunked;
  }
  if (chunkCount != null) {
    _result.chunkCount = chunkCount;
  }
  if (opaqueString != null) {
    _result.opaqueString = opaqueString;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  return _result;
}