getValue method

dynamic getValue()

Converts this enum's values to String.

Implementation

dynamic getValue() {
  switch (this) {
    case ParticipantNotification.off:
      return false;
    case ParticipantNotification.on:
      return true;
    case ParticipantNotification.mentionsOnly:
      return 'MentionsOnly';
  }
}