PointsRulesModel.fromJson constructor
Implementation
PointsRulesModel.fromJson(Map<String, dynamic> json) {
status = json['status'];
mensagem = json['mensagem'];
if (json['regras'] != null) {
regras = <Regra>[];
json['regras'].forEach((v) {
regras!.add(Regra.fromJson(v));
});
}
}