NotificationMessageModel.fromJson constructor

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

Implementation

factory NotificationMessageModel.fromJson(Map<String, dynamic> json) =>
    NotificationMessageModel(
      chatMessage: json["chatMessage"] == null
          ? null
          : ChatMessage.fromJson(json["chatMessage"]),
    );