eventCode method

String eventCode()

Implementation

String eventCode() {
  String method = this;

  if (method == DRESS_CODE) {
    return 'Dress Code';
  } else if (method == PERKS) {
    return 'Perks';
  } else if (method == RESTRICTIONS) {
    return 'Restrictions';
  }
  return this;
}