Permissoes.fromJson constructor

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

Implementation

Permissoes.fromJson(Map<String, dynamic> json) {
  whatsapp = json['whatsapp'];
  pushnotification = json['push_notification'];
  inserirPontos = json['inserirPontos'];
  pedidoListar = json['pedidoListar'];
  produtoCadastrar = json['produtoCadastrar'];
  presenteDadoListar = json['presenteDadoListar'];
  validarVoucher = json['validarVoucher'];
}