setObjectType static method
attempts to retrieve the object type from the dictionary.Returns the input if no entry was found. ie: 'word' produces CMDString.SELECT_WORD
Implementation
static String setObjectType(String item) {
return _itemDictionary[item] ?? item;
}