toCodeContentType method
Implementation
CodeContentType toCodeContentType() {
switch (this) {
case 'PLAINTEXT':
return CodeContentType.plaintext;
case 'ZIPFILE':
return CodeContentType.zipfile;
}
throw Exception('$this is not known in enum CodeContentType');
}