UserNotificationModel.fromJson constructor
Implementation
UserNotificationModel.fromJson(Map<String, dynamic> json) {
status = json['status'];
total = json['total'];
if (json['notificacoes'] != null) {
notificacoes = <Notificacao>[];
json['notificacoes'].forEach((v) {
notificacoes.add(Notificacao.fromJson(v));
});
}
}