toOpsItemDataType method

OpsItemDataType toOpsItemDataType()

Implementation

OpsItemDataType toOpsItemDataType() {
  switch (this) {
    case 'SearchableString':
      return OpsItemDataType.searchableString;
    case 'String':
      return OpsItemDataType.string;
  }
  throw Exception('$this is not known in enum OpsItemDataType');
}