Notifications.fromJson constructor

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

Implementation

Notifications.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  title = json['title'];
  description = json['description'];
  image = json['image'];
  status = json['status'];
  createdAt = json['created_at'];
  receiver = json['receiver'];
}