toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.room:
      return 'ROOM';
    case ResourceType.equipment:
      return 'EQUIPMENT';
  }
}