Alternativas.fromJson constructor

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

Implementation

Alternativas.fromJson(Map<String, dynamic> json) {
  idPesquisaAlternativa = json['id_pesquisa_alternativa'];
  idPergunta = json['id_pergunta'];
  valor = json['valor'];
}