NotificationUserData.fromMap constructor

NotificationUserData.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory NotificationUserData.fromMap(Map<String, dynamic> json) =>
    NotificationUserData(
      id: json["id"],
      type: json["type"],
      subject: json["subject"],
      message: json["message"],
      notificationType: json["notification-type"],
    );