toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SelectionStatus.selected:
      return 'SELECTED';
    case SelectionStatus.notSelected:
      return 'NOT_SELECTED';
  }
}