toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EncodingTypeValue.plain:
      return 'plain';
    case EncodingTypeValue.plainDictionary:
      return 'plain-dictionary';
    case EncodingTypeValue.rleDictionary:
      return 'rle-dictionary';
  }
}