toS3MetadataDirective method
Implementation
S3MetadataDirective toS3MetadataDirective() {
switch (this) {
case 'COPY':
return S3MetadataDirective.copy;
case 'REPLACE':
return S3MetadataDirective.replace;
}
throw Exception('$this is not known in enum S3MetadataDirective');
}