encode method
Implementation
String? encode() {
switch (this) {
case PropertyType.INTEGER:
return 'INTEGER';
case PropertyType.STRING:
return 'STRING';
case PropertyType.TIMESTAMPZ:
return 'TIMESTAMPZ';
case PropertyType.UNKNOWN:
return null;
}
}