copyWith abstract method

  1. @useResult
CloudStorageEntry copyWith({
  1. int? id,
  2. String? storageId,
  3. String? path,
  4. DateTime? addedTime,
  5. DateTime? expiration,
  6. ByteData? byteData,
  7. bool? verified,
  8. String? contentType,
  9. String? cacheControl,
  10. String? contentDisposition,
  11. String? contentEncoding,
  12. String? customMetadata,
})

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

Implementation

@_is.useResult
CloudStorageEntry copyWith({
  int? id,
  String? storageId,
  String? path,
  DateTime? addedTime,
  DateTime? expiration,
  _idt.ByteData? byteData,
  bool? verified,
  String? contentType,
  String? cacheControl,
  String? contentDisposition,
  String? contentEncoding,
  String? customMetadata,
});