toValue method
Implementation
String toValue() {
switch (this) {
case FieldType.number:
return 'Number';
case FieldType.string:
return 'String';
case FieldType.boolean:
return 'Boolean';
}
}
String toValue() {
switch (this) {
case FieldType.number:
return 'Number';
case FieldType.string:
return 'String';
case FieldType.boolean:
return 'Boolean';
}
}