toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IndexFieldType.uint:
      return 'uint';
    case IndexFieldType.literal:
      return 'literal';
    case IndexFieldType.text:
      return 'text';
  }
}