PollOption constructor

PollOption({
  1. Map<String, Object> custom = const {},
  2. required String id,
  3. required String text,
})

Returns a new PollOption instance.

Implementation

PollOption({
  this.custom = const {},
  required this.id,
  required this.text,
});