PollTypeRegular.fromJson constructor

PollTypeRegular.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory PollTypeRegular.fromJson(Map<String, dynamic> json) =>
    PollTypeRegular(
      allowMultipleAnswers: json['allow_multiple_answers'],
    );