replace abstract method

ObjectMetadata replace({
  1. Acl? acl,
  2. String? contentType,
  3. String? contentEncoding,
  4. String? cacheControl,
  5. String? contentDisposition,
  6. String? contentLanguage,
  7. Map<String, String>? custom,
})

Create a copy of this object with some values replaced.

Implementation

// TODO: This cannot be used to set values to null.
ObjectMetadata replace(
    {Acl? acl,
    String? contentType,
    String? contentEncoding,
    String? cacheControl,
    String? contentDisposition,
    String? contentLanguage,
    Map<String, String>? custom});