NotificationsModel.fromJson constructor

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

Implementation

factory NotificationsModel.fromJson(Map<String, dynamic> json) => NotificationsModel(
    data: json["data"] == null ? [] : List<Datum>.from(json["data"].map((x) => Datum.fromJson(x))),
);