getValue method

dynamic getValue()

Converts this enum's values to String.

Implementation

dynamic getValue() => switch (this) {
  .Off => false,
  .On => true,
  .MentionsOnly => 'MentionsOnly',
};