toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CompressionType.none:
      return 'None';
    case CompressionType.gzip:
      return 'Gzip';
  }
}