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