toS3DataType method

S3DataType toS3DataType()

Implementation

S3DataType toS3DataType() {
  switch (this) {
    case 'ManifestFile':
      return S3DataType.manifestFile;
    case 'S3Prefix':
      return S3DataType.s3Prefix;
    case 'AugmentedManifestFile':
      return S3DataType.augmentedManifestFile;
  }
  throw Exception('$this is not known in enum S3DataType');
}