toAssetType method

AssetType toAssetType()

Implementation

AssetType toAssetType() {
  switch (this) {
    case 'S3_SNAPSHOT':
      return AssetType.s3Snapshot;
  }
  throw Exception('$this is not known in enum AssetType');
}