type property

String get type

Implementation

String get type => switch (this) {
      PollType.QUIZ => 'quiz',
      PollType.REGULAR => 'regular',
    };