copyObject abstract method

Future copyObject(
  1. String src,
  2. String dest, {
  3. ObjectMetadata? metadata,
})

Copy an object.

Copy object src to object dest.

The names of src and dest must be absolute.

metadata can be used to overwrite metadata properties.

Implementation

Future copyObject(String src, String dest, {ObjectMetadata? metadata});