NotificationTypeNewMessage.fromJson constructor

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

Parse from a json

Implementation

factory NotificationTypeNewMessage.fromJson(Map<String, dynamic> json) => NotificationTypeNewMessage(
  message: Message.fromJson(json['message']),
);