toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ItemType.object:
      return 'OBJECT';
    case ItemType.folder:
      return 'FOLDER';
  }
}