toIndexFieldType method

IndexFieldType toIndexFieldType()

Implementation

IndexFieldType toIndexFieldType() {
  switch (this) {
    case 'uint':
      return IndexFieldType.uint;
    case 'literal':
      return IndexFieldType.literal;
    case 'text':
      return IndexFieldType.text;
  }
  throw Exception('$this is not known in enum IndexFieldType');
}