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