toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CodeContentType.plaintext:
      return 'PLAINTEXT';
    case CodeContentType.zipfile:
      return 'ZIPFILE';
  }
}