fromJson static method
Creates a object from a json
Implementation
static PollAnswer fromJson(Map<String, dynamic> json) {
return PollAnswer(
pollId: json['poll_id']!,
user: json['user']!,
optionIds: json['option_ids']!,
);
}
Creates a object from a json
static PollAnswer fromJson(Map<String, dynamic> json) {
return PollAnswer(
pollId: json['poll_id']!,
user: json['user']!,
optionIds: json['option_ids']!,
);
}