copyWith abstract method

  1. @useResult
CloudStorageDirectUploadEntry copyWith({
  1. int? id,
  2. String? storageId,
  3. String? path,
  4. DateTime? expiration,
  5. String? authKey,
  6. int? maxFileSize,
  7. int? contentLength,
  8. bool? preventOverwrite,
  9. String? contentType,
  10. String? cacheControl,
  11. String? contentDisposition,
  12. String? contentEncoding,
  13. String? customMetadata,
})

Returns a shallow copy of this CloudStorageDirectUploadEntry with some or all fields replaced by the given arguments.

Implementation

@_is.useResult
CloudStorageDirectUploadEntry copyWith({
  int? id,
  String? storageId,
  String? path,
  DateTime? expiration,
  String? authKey,
  int? maxFileSize,
  int? contentLength,
  bool? preventOverwrite,
  String? contentType,
  String? cacheControl,
  String? contentDisposition,
  String? contentEncoding,
  String? customMetadata,
});