toValue method
Implementation
String toValue() {
switch (this) {
case CompressionType.none:
return 'NONE';
case CompressionType.gzip:
return 'GZIP';
case CompressionType.bzip2:
return 'BZIP2';
}
}
String toValue() {
switch (this) {
case CompressionType.none:
return 'NONE';
case CompressionType.gzip:
return 'GZIP';
case CompressionType.bzip2:
return 'BZIP2';
}
}